|
IBAMR
IBAMR version 0.19.
|
#include <ibamr/StokesSecondOrderWaveBcCoef.h>

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. More... | |
| virtual | ~CellVariable () |
| Virtual destructor for cell variable objects. More... | |
| 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. More... | |
| bool | dataLivesOnPatchBorder () const |
| Return false indicating that cell data on a patch interior does not exist on the patch boundary. More... | |
| int | getInstanceIdentifier () const |
| const std::string & | getName () const |
| void | setPatchDataFactory (tbox::Pointer< PatchDataFactory< DIM > > factory) |
| tbox::Pointer< PatchDataFactory< DIM > > | getPatchDataFactory () const |
Static Public Member Functions | |
| static int | getCurrentMaximumInstanceNumber () |
Private Member Functions | |
| CellVariable (const CellVariable< DIM, TYPE > &) | |
| void | operator= (const CellVariable< DIM, TYPE > &) |
Private Attributes | |
| std::string | d_name |
| int | d_instance |
| tbox::Pointer< PatchDataFactory< DIM > > | d_factory |
Static Private Attributes | |
| static int | s_instance_counter |
Class CellVariable<DIM> is a templated variable class used to define cell-centered quantities on an AMR mesh. It is a subclass of hier::Variable and is templated on the type of the underlying data (e.g., double, int, bool, etc.).
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 |
||
| ) |
|
virtual |
|
private |
|
inlinevirtual |
Implements SAMRAI::hier::Variable< DIM >.
|
inlinevirtual |
Implements SAMRAI::hier::Variable< DIM >.
|
private |
|
staticinherited |
Return the current maximum instance number over all variable objects. The instance identifier returned from each variable objhect is guaranteed to be between 0 and this number minus one. Note that this number changes as new variable instances are created.
|
inherited |
Return the instance identifier for this particular variable object. The instance identifiers are unique integers numbered starting from zero.
|
inherited |
Return the name assigned to this variable.
|
inherited |
Set the patch data factory object. Normally, the factory is set in the constructor, but this member function enables the factory to be changed later in the lifetime of the variable.
|
inherited |
Return a non-const pointer to a patch data factory that will be used to instantiate instances of this variable on the patches. The factory returned will have been set by the variable subclasses.
|
privateinherited |
|
privateinherited |
|
privateinherited |
|
staticprivateinherited |
1.8.17