#include <source/patchdata/cell/CellVariable.h>
Inheritance diagram for SAMRAI::pdat::CellVariable< DIM, TYPE >:
Public Member Functions | |
CellVariable (const std::string &name, int depth=1) | |
Create a cell-centered variable object with the given name and depth (i.e., number of data values at each cell index location). A default depth of one is provided. | |
virtual | ~CellVariable () |
Virtual destructor for cell variable objects. | |
bool | fineBoundaryRepresentsVariable () const |
Return true indicating that cell data quantities will always be treated as though fine values take precedence on coarse-fine interfaces. Note that this is really artificial since the cell data index space matches the cell-centered index space for AMR patches. However, some value must be supplied for communication operations. | |
bool | dataLivesOnPatchBorder () const |
Return false indicating that cell data on a patch interior does not exist on the patch boundary. |
See header file for CellData<DIM> class for a more detailed description of the data layout.
SAMRAI::pdat::CellVariable< DIM, TYPE >::CellVariable | ( | const std::string & | name, | |
int | depth = 1 | |||
) |
Create a cell-centered variable object with the given name and depth (i.e., number of data values at each cell index location). A default depth of one is provided.
SAMRAI::pdat::CellVariable< DIM, TYPE >::~CellVariable | ( | ) | [virtual] |
Virtual destructor for cell variable objects.
bool SAMRAI::pdat::CellVariable< DIM, TYPE >::fineBoundaryRepresentsVariable | ( | ) | const [inline, virtual] |
Return true indicating that cell data quantities will always be treated as though fine values take precedence on coarse-fine interfaces. Note that this is really artificial since the cell data index space matches the cell-centered index space for AMR patches. However, some value must be supplied for communication operations.
Implements SAMRAI::hier::Variable< DIM >.
bool SAMRAI::pdat::CellVariable< DIM, TYPE >::dataLivesOnPatchBorder | ( | ) | const [inline, virtual] |
Return false indicating that cell data on a patch interior does not exist on the patch boundary.
Implements SAMRAI::hier::Variable< DIM >.