
Public Member Functions | |
| SpatiallyHomogeneousDOFMapBase (const Mesh &mesh, int nTotalFuncs, int setupVerb) | |
| virtual | ~SpatiallyHomogeneousDOFMapBase () |
| virtual RCP< const MapStructure > | mapStruct () 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< CellFilter > | funcDomains_ |
Definition at line 45 of file SundanceSpatiallyHomogeneousDOFMapBase.hpp.
| 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.
| 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.
| 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.
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] |
Implemented in Sundance::MixedDOFMap, Sundance::MixedDOFMapHN, Sundance::NodalDOFMap, and Sundance::NodalDOFMapHN.
Referenced by print().
| void SpatiallyHomogeneousDOFMapBase::print | ( | std::ostream & | os | ) | const [virtual] |
Print the DOF map.
ToDo: Replace this with override of Teuchos::Describable::describe().
Implements Sundance::DOFMapBase.
Definition at line 54 of file SundanceSpatiallyHomogeneousDOFMapBase.cpp.
References Sundance::Mesh::comm(), Sundance::DOFMapBase::getDOFsForCell(), Sundance::Mesh::getFacetArray(), Playa::MPIComm::getNProc(), Playa::MPIComm::getRank(), Sundance::DOFMapBase::isLocalDOF(), Sundance::Mesh::mapLIDToGID(), mapStruct(), Sundance::DOFMapBase::mesh(), Sundance::Mesh::nodePosition(), Sundance::Mesh::numCells(), Sundance::Mesh::spatialDim(), and Playa::MPIComm::synchronize().
RCP<const Set<int> > Sundance::SpatiallyHomogeneousDOFMapBase::allowedFuncs_ [private] |
Definition at line 75 of file SundanceSpatiallyHomogeneousDOFMapBase.hpp.
Referenced by allowedFuncsOnCellBatch().
Array<CellFilter> Sundance::SpatiallyHomogeneousDOFMapBase::funcDomains_ [private] |
Definition at line 76 of file SundanceSpatiallyHomogeneousDOFMapBase.hpp.
Referenced by funcDomains().