Public Member Functions | |
LocalDOFMap (int numBlocks, int verb) | |
void | setCells (int cellDim, int maxCellDim, const RCP< const Array< int > > &cellLID) |
int | nCells () const |
bool | isUsed (int b) const |
bool | isUnused (int b) const |
bool | isUnused () const |
void | markAsUnused () |
bool | hasCells () const |
const RCP< const Array< int > > & | cellLIDs () const |
void | markAsUsed (int b) |
int | numBlocks () const |
const Array< int > & | nLocalNodesPerChunk (int b) const |
const RCP< const MapStructure > & | mapStruct (int b) const |
const Array< Array< int > > & | localDOFs (int b) const |
std::ostream & | print (std::ostream &os) const |
void | fillBlock (int b, const RCP< DOFMapBase > &globalMap, const Array< Set< int > > &requiredFunc) |
void | setVerb (int v) const |
Private Member Functions | |
Array< int > & | nLocalNodesPerChunk (int b) |
RCP< const MapStructure > & | mapStruct (int b) |
Array< Array< int > > & | localDOFs (int b) |
void | verifyValidBlock (int b) const |
Private Attributes | |
int | verb_ |
Array< int > | isUsed_ |
bool | hasCells_ |
RCP< Array< Array< int > > > | nLocalNodesPerChunk_ |
RCP< Array< RCP< const MapStructure > > > | mapStruct_ |
RCP< Array< Array< Array< int > > > > | localDOFs_ |
RCP< const Array< int > > | cellLID_ |
int | activeCellDim_ |
int | maxCellDim_ |
Related Functions | |
(Note that these are not member functions.) | |
std::ostream & | operator<< (std::ostream &os, const LocalDOFMap &m) |
Definition at line 47 of file SundanceLocalDOFMap.hpp.
LocalDOFMap::LocalDOFMap | ( | int | numBlocks, | |
int | verb | |||
) |
Definition at line 47 of file SundanceLocalDOFMap.cpp.
const RCP<const Array<int> >& Sundance::LocalDOFMap::cellLIDs | ( | ) | const [inline] |
void LocalDOFMap::fillBlock | ( | int | b, | |
const RCP< DOFMapBase > & | globalMap, | |||
const Array< Set< int > > & | requiredFunc | |||
) |
Definition at line 103 of file SundanceLocalDOFMap.cpp.
References activeCellDim_, cellLID_, localDOFs(), mapStruct(), nLocalNodesPerChunk(), SUNDANCE_MSG2, verb_, and verifyValidBlock().
bool Sundance::LocalDOFMap::hasCells | ( | ) | const [inline] |
Definition at line 73 of file SundanceLocalDOFMap.hpp.
References hasCells_.
Referenced by nCells().
bool LocalDOFMap::isUnused | ( | ) | const |
bool Sundance::LocalDOFMap::isUnused | ( | int | b | ) | const [inline] |
bool Sundance::LocalDOFMap::isUsed | ( | int | b | ) | const [inline] |
Definition at line 61 of file SundanceLocalDOFMap.hpp.
References isUsed_.
Referenced by isUnused(), and print().
Array<Array<int> >& Sundance::LocalDOFMap::localDOFs | ( | int | b | ) | [inline, private] |
const Array<Array<int> >& Sundance::LocalDOFMap::localDOFs | ( | int | b | ) | const [inline] |
Definition at line 93 of file SundanceLocalDOFMap.hpp.
References localDOFs_.
Referenced by fillBlock(), and print().
RCP<const MapStructure>& Sundance::LocalDOFMap::mapStruct | ( | int | b | ) | [inline, private] |
const RCP<const MapStructure>& Sundance::LocalDOFMap::mapStruct | ( | int | b | ) | const [inline] |
Definition at line 89 of file SundanceLocalDOFMap.hpp.
References mapStruct_.
Referenced by fillBlock(), and print().
void LocalDOFMap::markAsUnused | ( | ) |
Definition at line 66 of file SundanceLocalDOFMap.cpp.
References hasCells_, isUsed_, and numBlocks().
void Sundance::LocalDOFMap::markAsUsed | ( | int | b | ) | [inline] |
int LocalDOFMap::nCells | ( | ) | const |
Array<int>& Sundance::LocalDOFMap::nLocalNodesPerChunk | ( | int | b | ) | [inline, private] |
const Array<int>& Sundance::LocalDOFMap::nLocalNodesPerChunk | ( | int | b | ) | const [inline] |
Definition at line 85 of file SundanceLocalDOFMap.hpp.
References nLocalNodesPerChunk_.
Referenced by fillBlock(), and print().
int Sundance::LocalDOFMap::numBlocks | ( | ) | const [inline] |
Definition at line 82 of file SundanceLocalDOFMap.hpp.
References mapStruct_.
Referenced by isUnused(), markAsUnused(), print(), and verifyValidBlock().
std::ostream & LocalDOFMap::print | ( | std::ostream & | os | ) | const |
Definition at line 122 of file SundanceLocalDOFMap.cpp.
References activeCellDim_, cellLID_, isUsed(), localDOFs(), mapStruct(), maxCellDim_, nLocalNodesPerChunk(), and numBlocks().
Referenced by operator<<().
void LocalDOFMap::setCells | ( | int | cellDim, | |
int | maxCellDim, | |||
const RCP< const Array< int > > & | cellLID | |||
) |
Definition at line 91 of file SundanceLocalDOFMap.cpp.
References activeCellDim_, cellLID_, hasCells_, and maxCellDim_.
void Sundance::LocalDOFMap::setVerb | ( | int | v | ) | const [inline] |
void LocalDOFMap::verifyValidBlock | ( | int | b | ) | const [private] |
Definition at line 85 of file SundanceLocalDOFMap.cpp.
References numBlocks().
Referenced by fillBlock().
std::ostream & operator<< | ( | std::ostream & | os, | |
const LocalDOFMap & | m | |||
) | [related] |
int Sundance::LocalDOFMap::activeCellDim_ [private] |
Definition at line 132 of file SundanceLocalDOFMap.hpp.
Referenced by fillBlock(), print(), and setCells().
RCP<const Array<int> > Sundance::LocalDOFMap::cellLID_ [private] |
Definition at line 131 of file SundanceLocalDOFMap.hpp.
Referenced by cellLIDs(), fillBlock(), nCells(), print(), and setCells().
bool Sundance::LocalDOFMap::hasCells_ [private] |
Definition at line 127 of file SundanceLocalDOFMap.hpp.
Referenced by hasCells(), markAsUnused(), and setCells().
Array<int> Sundance::LocalDOFMap::isUsed_ [private] |
Definition at line 126 of file SundanceLocalDOFMap.hpp.
Referenced by isUnused(), isUsed(), markAsUnused(), and markAsUsed().
RCP<Array<Array<Array<int> > > > Sundance::LocalDOFMap::localDOFs_ [private] |
RCP<Array<RCP<const MapStructure> > > Sundance::LocalDOFMap::mapStruct_ [private] |
int Sundance::LocalDOFMap::maxCellDim_ [private] |
RCP<Array<Array<int> > > Sundance::LocalDOFMap::nLocalNodesPerChunk_ [private] |
int Sundance::LocalDOFMap::verb_ [mutable, private] |