Block-Structured AMR Software Framework
Loading...
Searching...
No Matches
amrex::InterpolaterBoxCoarsener Class Referencefinal

#include <AMReX_InterpBase.H>

Inheritance diagram for amrex::InterpolaterBoxCoarsener:
amrex::BoxConverter

Public Member Functions

 InterpolaterBoxCoarsener (InterpBase *mapper_, const IntVect &ratio_)
 Construct a BoxConverter that delegates to mapper_ with refinement ratio ratio_.
 
Box doit (const Box &fine) const override
 Apply the coarse-box logic to the supplied fine box.
 
BoxConverterclone () const override
 Clone this converter (used by FAB factory code).
 
- Public Member Functions inherited from amrex::BoxConverter
virtual ~BoxConverter ()=default
 

Constructor & Destructor Documentation

◆ InterpolaterBoxCoarsener()

amrex::InterpolaterBoxCoarsener::InterpolaterBoxCoarsener ( InterpBase mapper_,
const IntVect ratio_ 
)

Construct a BoxConverter that delegates to mapper_ with refinement ratio ratio_.

Member Function Documentation

◆ clone()

BoxConverter * amrex::InterpolaterBoxCoarsener::clone ( ) const
overridevirtual

Clone this converter (used by FAB factory code).

Implements amrex::BoxConverter.

◆ doit()

Box amrex::InterpolaterBoxCoarsener::doit ( const Box fine) const
overridevirtual

Apply the coarse-box logic to the supplied fine box.

Implements amrex::BoxConverter.


The documentation for this class was generated from the following files: