#include <source/patchdata/index/IndexVariable.h>
Inheritance diagram for SAMRAI::pdat::IndexVariable< DIM, TYPE, BOX_GEOMETRY >:
Public Member Functions | |
IndexVariable (const std::string &name) | |
virtual | ~IndexVariable () |
bool | fineBoundaryRepresentsVariable () const |
bool | dataLivesOnPatchBorder () const |
Please consult the README file in the index data source directory for instructions on using this class to provide other irregular index set types.
pdat::Variable
SAMRAI::pdat::IndexVariable< DIM, TYPE, BOX_GEOMETRY >::IndexVariable | ( | const std::string & | name | ) |
Create an index variable object with the specified name.
SAMRAI::pdat::IndexVariable< DIM, TYPE, BOX_GEOMETRY >::~IndexVariable | ( | ) | [virtual] |
Virtual destructor for index variable objects.
bool SAMRAI::pdat::IndexVariable< DIM, TYPE, BOX_GEOMETRY >::fineBoundaryRepresentsVariable | ( | ) | const [inline, virtual] |
Return true so that the index data quantities will always be treated as cell- centered quantities as far as communication is concerned. Note that this is really artificial since the cell data index space matches the cell-centered index space for AMR patches. Thus, cell data does not live on patch borders and so there is no ambiguity reagrding coarse-fine interface values.
Implements SAMRAI::hier::Variable< DIM >.
bool SAMRAI::pdat::IndexVariable< DIM, TYPE, BOX_GEOMETRY >::dataLivesOnPatchBorder | ( | ) | const [inline, virtual] |
Return false since the index data index space matches the cell-centered index space for AMR patches. Thus, index data does not live on patch borders.
Implements SAMRAI::hier::Variable< DIM >.