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.
BoxConverter * clone () const override
 Clone this converter (used by FAB factory code).
bool equals (const BoxConverter &other) const override
 True if other has the same interpolater class and ratio.
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
nodiscardoverridevirtual

Clone this converter (used by FAB factory code).

Implements amrex::BoxConverter.

◆ doit()

Box amrex::InterpolaterBoxCoarsener::doit ( const Box & fine) const
nodiscardoverridevirtual

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

Implements amrex::BoxConverter.

◆ equals()

bool amrex::InterpolaterBoxCoarsener::equals ( const BoxConverter & other) const
nodiscardoverridevirtual

True if other has the same interpolater class and ratio.

Implements amrex::BoxConverter.


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