Sundance::SpatiallyHomogeneousDOFMapBase Class Reference

Inheritance diagram for Sundance::SpatiallyHomogeneousDOFMapBase:

Sundance::DOFMapBase Playa::Printable Sundance::HNDoFMapBaseHomogeneous Sundance::MixedDOFMap Sundance::NodalDOFMap Sundance::MixedDOFMapHN Sundance::NodalDOFMapHN

List of all members.

Public Member Functions

 SpatiallyHomogeneousDOFMapBase (const Mesh &mesh, int nTotalFuncs, int setupVerb)
virtual ~SpatiallyHomogeneousDOFMapBase ()
virtual RCP< const MapStructuremapStruct () const =0
virtual RCP< const Set< int > > allowedFuncsOnCellBatch (int cellDim, const Array< int > &cellLID) const
 Return the set of a function IDs for a batch of cells for which DOFs can be obtained.
bool isHomogeneous () const
 Returns true if the map is homogeneous.
void print (std::ostream &os) const
 Print the DOF map.
const Array< CellFilter > & funcDomains () const
 Return an array of cell filters that gives, for each function ID, the cells that the function lives on.

Private Attributes

RCP< const Set< int > > allowedFuncs_
Array< CellFilterfuncDomains_


Detailed Description

Definition at line 45 of file SundanceSpatiallyHomogeneousDOFMapBase.hpp.


Constructor & Destructor Documentation

SpatiallyHomogeneousDOFMapBase::SpatiallyHomogeneousDOFMapBase ( const Mesh mesh,
int  nTotalFuncs,
int  setupVerb 
)

Definition at line 41 of file SundanceSpatiallyHomogeneousDOFMapBase.cpp.

virtual Sundance::SpatiallyHomogeneousDOFMapBase::~SpatiallyHomogeneousDOFMapBase (  )  [inline, virtual]

Definition at line 54 of file SundanceSpatiallyHomogeneousDOFMapBase.hpp.


Member Function Documentation

virtual RCP<const Set<int> > Sundance::SpatiallyHomogeneousDOFMapBase::allowedFuncsOnCellBatch ( int  cellDim,
const Array< int > &  cellLIDs 
) const [inline, virtual]

Return the set of a function IDs for a batch of cells for which DOFs can be obtained.

Parameters:
cellDim [in] The dimension of the cells in the batch of cells
cellLIDs [in] Local IDs (LIDs) for the batch of cells

Implements Sundance::DOFMapBase.

Definition at line 61 of file SundanceSpatiallyHomogeneousDOFMapBase.hpp.

References allowedFuncs_.

const Array<CellFilter>& Sundance::SpatiallyHomogeneousDOFMapBase::funcDomains (  )  const [inline, virtual]

Return an array of cell filters that gives, for each function ID, the cells that the function lives on.

Returns:
A reference to an array of size returnVal.size() == numTotalFunctcions where returnVal[funcID] gives a handle to a CellFilterBase object where the function funcID lives, where 0 <= funcID < numTotalFunctions.

Implements Sundance::DOFMapBase.

Definition at line 72 of file SundanceSpatiallyHomogeneousDOFMapBase.hpp.

References funcDomains_.

bool Sundance::SpatiallyHomogeneousDOFMapBase::isHomogeneous (  )  const [inline, virtual]

Returns true if the map is homogeneous.

See above defintion for a "Homogeneous" map.

Reimplemented from Sundance::DOFMapBase.

Definition at line 66 of file SundanceSpatiallyHomogeneousDOFMapBase.hpp.

virtual RCP<const MapStructure> Sundance::SpatiallyHomogeneousDOFMapBase::mapStruct (  )  const [pure virtual]

void SpatiallyHomogeneousDOFMapBase::print ( std::ostream &  os  )  const [virtual]


Member Data Documentation

Definition at line 75 of file SundanceSpatiallyHomogeneousDOFMapBase.hpp.

Referenced by allowedFuncsOnCellBatch().

Definition at line 76 of file SundanceSpatiallyHomogeneousDOFMapBase.hpp.

Referenced by funcDomains().

Site Contact