Virtual base class for interpolaters. More...
#include <AMReX_Interpolater.H>
Public Member Functions | |
| virtual void | interp (const FArrayBox &crse, int crse_comp, FArrayBox &fine, int fine_comp, int ncomp, const Box &fine_region, const IntVect &ratio, const Geometry &crse_geom, const Geometry &fine_geom, Vector< BCRec > const &bcr, int actual_comp, int actual_state, RunOn runon)=0 |
| Coarse to fine interpolation in space. This is a pure virtual function and hence MUST be implemented by derived classes. | |
| virtual void | interp_face (const FArrayBox &, const int, FArrayBox &, const int, const int, const Box &, const IntVect &, const IArrayBox &, const Geometry &, const Geometry &, Vector< BCRec > const &, const int, RunOn) |
| Coarse to fine interpolation in space for face-based data. | |
| virtual void | interp_arr (Array< FArrayBox *, 3 > const &, const int, Array< FArrayBox *, 3 > const &, const int, const int, const Box &, const IntVect &, Array< IArrayBox *, 3 > const &, const Geometry &, const Geometry &, Vector< Array< BCRec, 3 > > const &, const int, const int, const RunOn) |
| Coarse to fine interpolation in space. Takes an Array of FArrayBox*s. | |
| virtual void | protect (const FArrayBox &, int, FArrayBox &, int, FArrayBox &, int, int, const Box &, const IntVect &, const Geometry &, const Geometry &, Vector< BCRec > &, RunOn) |
| Re-visit the interpolation to protect against under- or overshoots. | |
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 |
| virtual Box | CoarseBox (const Box &fine, int ratio)=0 |
| Returns coarsened box given fine box and refinement ratio. This is a pure virtual function and hence MUST be implemented by derived classes. | |
| virtual Box | CoarseBox (const Box &fine, const IntVect &ratio)=0 |
| Returns coarsened box given fine box and refinement ratio. This is a pure virtual function and hence MUST be implemented by derived classes. | |
| InterpolaterBoxCoarsener | BoxCoarsener (const IntVect &ratio) |
Additional Inherited Members | |
Static Public Member Functions inherited from amrex::InterpBase | |
| static Vector< int > | GetBCArray (const Vector< BCRec > &bcr) |
Virtual base class for interpolaters.
Specifies interpolater interface for coarse-to-fine interpolation in space.
|
pure virtual |
Coarse to fine interpolation in space. This is a pure virtual function and hence MUST be implemented by derived classes.
| crse | |
| crse_comp | |
| fine | |
| fine_comp | |
| ncomp | |
| fine_region | |
| ratio | |
| crse_geom | |
| fine_geom | |
| bcr | |
| actual_comp | |
| actual_state | |
| runon |
Implemented in amrex::NodeBilinear, amrex::CellBilinear, amrex::CellQuadratic, amrex::PCInterp, amrex::CellConservativeQuartic, amrex::FaceDivFree, amrex::FaceLinear, amrex::FaceConservativeLinear, amrex::CellQuartic, amrex::EBCellConservativeLinear, and amrex::CellConservativeLinear.
|
inlinevirtual |
Coarse to fine interpolation in space. Takes an Array of FArrayBox*s.
Reimplemented in amrex::FaceLinear, amrex::FaceConservativeLinear, and amrex::FaceDivFree.
|
inlinevirtual |
Coarse to fine interpolation in space for face-based data.
Reimplemented in amrex::FaceLinear, and amrex::FaceConservativeLinear.
|
inlinevirtual |
Re-visit the interpolation to protect against under- or overshoots.
Reimplemented in amrex::CellConservativeProtected.