Sundance::PartialElementDOFMap Class Reference

Inheritance diagram for Sundance::PartialElementDOFMap:

Sundance::DOFMapBase Playa::Printable

List of all members.

Public Member Functions

 PartialElementDOFMap (const Mesh &mesh, const CellFilter &subdomain, int nFuncs, int setupVerb)
virtual ~PartialElementDOFMap ()
RCP< const MapStructuregetDOFsForCellBatch (int cellDim, const Array< int > &cellLID, const Set< int > &requestedFuncSet, Array< Array< int > > &dofs, Array< int > &nNodes, int verbosity) const
RCP< const Set< int > > allowedFuncsOnCellBatch (int cellDim, const Array< int > &cellLID) const
const Array< CellFilter > & funcDomains () const
virtual void print (std::ostream &os) const

Protected Member Functions

void init ()
void computeOffsets (int localCount)
void shareRemoteDOFs (const Array< Array< int > > &remoteElems)

Protected Attributes

int dim_
int nFuncs_
int nElems_
CellFilter subdomain_
Array< CellFilterfuncDomains_
Array< int > elemDofs_
RCP< MapStructurestructure_
RCP< const Set< int > > allFuncs_


Detailed Description

PartialElementDOFMap is a DOF map specialized to the case of element-based DOFs on a subset of cells in the domain. All elements must have the same set of functions.

Definition at line 51 of file SundancePartialElementDOFMap.hpp.


Constructor & Destructor Documentation

PartialElementDOFMap::PartialElementDOFMap ( const Mesh mesh,
const CellFilter subdomain,
int  nFuncs,
int  setupVerb 
)

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

Definition at line 61 of file SundancePartialElementDOFMap.hpp.


Member Function Documentation

RCP< const Set< int > > PartialElementDOFMap::allowedFuncsOnCellBatch ( int  cellDim,
const Array< int > &  cellLID 
) const [virtual]

Implements Sundance::DOFMapBase.

Definition at line 177 of file SundancePartialElementDOFMap.cpp.

void PartialElementDOFMap::computeOffsets ( int  localCount  )  [protected]

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

Implements Sundance::DOFMapBase.

Definition at line 78 of file SundancePartialElementDOFMap.hpp.

References funcDomains_.

RCP< const MapStructure > PartialElementDOFMap::getDOFsForCellBatch ( int  cellDim,
const Array< int > &  cellLID,
const Set< int > &  requestedFuncSet,
Array< Array< int > > &  dofs,
Array< int > &  nNodes,
int  verbosity 
) const [virtual]

void PartialElementDOFMap::init (  )  [protected]

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

Implements Sundance::DOFMapBase.

Definition at line 314 of file SundancePartialElementDOFMap.cpp.

References elemDofs_.

void PartialElementDOFMap::shareRemoteDOFs ( const Array< Array< int > > &  remoteElems  )  [protected]


Member Data Documentation

RCP<const Set<int> > Sundance::PartialElementDOFMap::allFuncs_ [protected]

Definition at line 99 of file SundancePartialElementDOFMap.hpp.

Referenced by PartialElementDOFMap().

Definition at line 92 of file SundancePartialElementDOFMap.hpp.

Referenced by getDOFsForCellBatch().

Definition at line 96 of file SundancePartialElementDOFMap.hpp.

Referenced by funcDomains().

Definition at line 94 of file SundancePartialElementDOFMap.hpp.

Referenced by computeOffsets().

Definition at line 98 of file SundancePartialElementDOFMap.hpp.

Referenced by getDOFsForCellBatch().

Definition at line 95 of file SundancePartialElementDOFMap.hpp.

Referenced by init().

Site Contact