SAMRAI::pdat::OuternodeVariable< DIM, TYPE > Class Template Reference

Class OuternodeVariable<DIM> is a templated variable class used to define node-centered data quantities only on patch boundaries. It is a subclass of hier::Variable and is templated on the type of the underlying data (e.g., double, int, bool, etc.). More...

#include <source/patchdata/outernode/OuternodeVariable.h>

Inheritance diagram for SAMRAI::pdat::OuternodeVariable< DIM, TYPE >:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 OuternodeVariable (const std::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.
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
 Return true indicating that outernode data exists on the patch boundary.

Detailed Description

template<int DIM, class TYPE>
class SAMRAI::pdat::OuternodeVariable< DIM, TYPE >

Class OuternodeVariable<DIM> is a templated variable class used to define node-centered data quantities only on patch boundaries. It is a subclass of hier::Variable and is templated on the type of the underlying data (e.g., double, int, bool, etc.).

Note that the data layout in the outernode data arrays matches the corresponding array sections provided by the node data implementation. See header file for the OuternodeData<DIM> class for a more detailed description of the data layout.

See also:
NodeData<DIM>

OuternodeData<DIM>

OuternodeDataFactory<DIM>

hier::Variable<DIM>


Constructor & Destructor Documentation

template<int DIM, class TYPE>
SAMRAI::pdat::OuternodeVariable< DIM, TYPE >::OuternodeVariable ( const std::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.

Note that The ghost cell width for all outernode data is currently fixed at zero; this may be changed in the future if needed.

template<int DIM, class TYPE>
SAMRAI::pdat::OuternodeVariable< DIM, TYPE >::~OuternodeVariable (  )  [virtual]

Virtual destructor for outernode variable objects.


Member Function Documentation

template<int DIM, class TYPE>
bool SAMRAI::pdat::OuternodeVariable< DIM, TYPE >::fineBoundaryRepresentsVariable (  )  const [inline, virtual]

Return a boolean true value indicating that fine patch values take precedence on coarse-fine interfaces.

Implements SAMRAI::hier::Variable< DIM >.

template<int DIM, class TYPE>
bool SAMRAI::pdat::OuternodeVariable< DIM, TYPE >::dataLivesOnPatchBorder (  )  const [inline, virtual]

Return true indicating that outernode data exists on the patch boundary.

Implements SAMRAI::hier::Variable< DIM >.


The documentation for this class was generated from the following files:
Generated on Thu Jun 18 11:28:54 2009 for SAMRAI by  doxygen 1.5.1