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

Class OuterfaceVariable<DIM> is a templated variable class used to define face-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/outerface/OuterfaceVariable.h>

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

Inheritance graph
[legend]
List of all members.

Public Member Functions

 OuterfaceVariable (const std::string &name, int depth=1)
 Create an outerface 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 ~OuterfaceVariable ()
 Virtual destructor for outerface 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 outerface data exists on the patch boundary.

Detailed Description

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

Class OuterfaceVariable<DIM> is a templated variable class used to define face-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 outerface data arrays matches the corresponding array sections provided by the face data implementation. See header file for the OuterfaceData<DIM> class for a more detailed description of the data layout.

IMPORTANT: The class OutersideVariable<DIM> and associated "outerside data" classes define the same storage as this outerface variable class, except that the individual array indices are not permuted in the outerside data type.

See also:
pdat::FaceData

pdat::OuterfaceData

pdat::OuterfaceDataFactory

hier::Variable


Constructor & Destructor Documentation

template<int DIM, class TYPE>
SAMRAI::pdat::OuterfaceVariable< DIM, TYPE >::OuterfaceVariable ( const std::string &  name,
int  depth = 1 
)

Create an outerface 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 outerface data is currently fixed at zero; this may be changed in the future if needed.

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

Virtual destructor for outerface variable objects.


Member Function Documentation

template<int DIM, class TYPE>
bool SAMRAI::pdat::OuterfaceVariable< 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::OuterfaceVariable< DIM, TYPE >::dataLivesOnPatchBorder (  )  const [inline, virtual]

Return true indicating that outerface 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