![]() |
Block-Structured AMR Software Framework
|
[Bi|Tri]linear interpolation on cell centered data. More...
#include <AMReX_MFInterpolater.H>
Public Member Functions | |
| Box | CoarseBox (Box const &fine, int ratio) override |
Return the coarsened box bounding fine for scalar refinement ratio ratio. | |
| Box | CoarseBox (Box const &fine, IntVect const &ratio) override |
Same as CoarseBox above but accepts per-direction ratios ratio. | |
| void | interp (MultiFab const &crsemf, int ccomp, MultiFab &finemf, int fcomp, int ncomp, IntVect const &ng, Geometry const &cgeom, Geometry const &fgeom, Box const &dest_domain, IntVect const &ratio, Vector< BCRec > const &bcs, int bcscomp) override |
| Interpolate coarse MultiFab data onto a fine MultiFab region. | |
Public Member Functions inherited from amrex::InterpBase | |
| InterpBase ()=default | |
| virtual | ~InterpBase ()=default |
| InterpBase (InterpBase const &) noexcept=default | |
| InterpBase (InterpBase &&) noexcept=default | |
| InterpBase & | operator= (InterpBase const &) noexcept=default |
| InterpBase & | operator= (InterpBase &&) noexcept=default |
| InterpolaterBoxCoarsener | BoxCoarsener (const IntVect &ratio) |
| Convenience helper that returns a BoxConverter bound to this interpolater. | |
Additional Inherited Members | |
Static Public Member Functions inherited from amrex::InterpBase | |
| static Vector< int > | GetBCArray (const Vector< BCRec > &bcr) |
| Convert BCRec entries to an integer array that interpolaters can consume. | |
[Bi|Tri]linear interpolation on cell centered data.
Return the coarsened box bounding fine for scalar refinement ratio ratio.
Implements amrex::InterpBase.
Same as CoarseBox above but accepts per-direction ratios ratio.
Implements amrex::InterpBase.
|
overridevirtual |
Interpolate coarse MultiFab data onto a fine MultiFab region.
| crsemf | Source coarse MultiFab. |
| ccomp | Starting component in the coarse MF. |
| finemf | Destination fine MultiFab. |
| fcomp | Starting component in the fine MF. |
| ncomp | Number of components to interpolate. |
| ng | Number of grow cells to fill on the fine MF. |
| cgeom | Coarse Geometry. |
| fgeom | Fine Geometry. |
| dest_domain | Region of the fine domain that should be filled. |
| ratio | Refinement ratio. |
| bcs | Boundary-condition records per component. |
| bcscomp | Starting component offset inside the BC array. |
Implements amrex::MFInterpolater.