kinnero.blogg.se

Range of piecewise function
Range of piecewise function











TimeInterp (const LevelData &a_old_coarse_data, const LevelData &a_new_coarse_data, Real a_time_interp_coef, int a_src_comp, int a_dest_comp, int a_num_comp)įillConstantInterp ( LevelData &a_fine_data, int a_src_comp, int a_dest_comp, int a_num_comp) constĬomputeSlopes (int a_src_comp, int a_num_comp)ĬomputeSimpleSlopesFab ( FArrayBox &a_slopeFab, const int &a_src_comp, const int &a_num_comp, const int &a_dir, const FArrayBox &a_dataFab, const IntVectSet &a_local_centered_interp, const IntVectSet &a_local_lo_interp, const IntVectSet &a_local_hi_interp)ĬomputeMultiDimSlopes ( FArrayBox &a_slopes0, FArrayBox &a_slopes1, FArrayBox &a_slopes2, const FArrayBox &a_dataFab, const int &a_src_comp, const int &a_num_comp, const Box &a_slopeBox) Coarse cells marked V and &a_fine_data, const LevelData &a_old_coarse_data, const LevelData &a_new_coarse_data, Real a_time_interp_coef, int a_src_comp, int a_dest_comp, int a_num_comp)įillInterpPWConstSpace ( LevelData &a_fine_data, const LevelData &a_coarse_data, int a_src_comp, int a_dest_comp, int a_num_comp) Van Leer slopes in both directions are used at coarse cells marked X.

range of piecewise function

The coarse grid is shown, and the projection of the fine grid onto the coarse index space (on which slopes are computed). The picture below shows the locations of the types of slopes. All of this changes in the presence of periodic boundary conditions - in periodic directions, all cells are considered to be within the domain. are not interpolated to because they are outside the problem domain. Cells marked ^ are not interpolated to because they are in the valid domain of another fine grid. Cells marked X are interpolated to from the coarse level. It drops order and uses first-order one-sided differences otherwise.īelow is a picture of a fine level, with a_interp_radius = 1. The slopes are computed using van leer limiting if there is enough room for the stencil. It uses piecewise linear interpolation from the coarse level.

range of piecewise function

This class fills the first a_interp_radius layers of fine level ghost cells that are not part of other fine level grids. If this is all that is required, define with 'a_pwconst_interp_only = true' to save memory and expense.

range of piecewise function

This class also presents an interface for performing piecewise constant interpolation in space. PiecewiseLinearFillPatch Class Reference #include įills ghost cells by linear interpolation in space and time.įills some fine level ghost cells by piecewise linear interpolation from the coarse level.













Range of piecewise function