#include <source/patchdata/outernode/OuternodeVariable.h>
Inheritance diagram for SAMRAI::pdat::OuternodeVariable< DIM, TYPE >:
Public Member Functions | |
OuternodeVariable (const string &name, int depth=1) | |
Create an outernode variable object having properties specified by the name and depth (i.e., number of data values at each index location). The default depth is one. The ghost cell width for all outernode data is currently fixed at zero; this may be changed in the future if needed. | |
virtual | ~OuternodeVariable () |
Virtual destructor for outernode variable objects. | |
bool | fineBoundaryRepresentsVariable () const |
Return a boolean true value indicating that fine patch values take precedence on coarse-fine interfaces. | |
bool | dataLivesOnPatchBorder () const |
It is templated on the type of the underlying data (e.g., double, int, bool, etc.). Outernode variable data is associated with the nodes of cells. However, it differs from the NodeVariable<DIM> class in that outernode quantities reside only on the sides residing on the boundary of a patch. Outernode data is stored in 2*DIM arrays, each of which holds values for sides having the same outward normal vector. Where an outernode falls on more than one side (patch edges and corners), the outernode belongs to the higher dimensional direction. For example, a three-dimensional outernode variable can be used to create node-centered data arrays over a box [l0:u0,l1:u1,l2:u2] that can be dimensioned as:
* * [ l1+1 : u1-1 , * l2+1 : u2-1 , d ] , * * [ l0 : u0 , * l2+1 : u2-1 , d ] , * * [ l0 : u0 , * l1 : u1 , d ] , * *
OuternodeData<DIM>
OuternodeDataFactory<DIM>
hier::Variable<DIM>
|
Create an outernode variable object having properties specified by the name and depth (i.e., number of data values at each index location). The default depth is one. The ghost cell width for all outernode data is currently fixed at zero; this may be changed in the future if needed.
|
|
Virtual destructor for outernode variable objects.
|
|
Return a boolean true value indicating that fine patch values take precedence on coarse-fine interfaces.
Implements SAMRAI::hier::Variable< DIM >. |
|
Return true since the node data index space (and hence the outernode data index space) extends beyond the interior of patches. That is, outernode data lives on patch borders. Implements SAMRAI::hier::Variable< DIM >. |