Public Member Functions | Private Member Functions | Private Attributes | Related Functions
Sundance::LocalDOFMap Class Reference

List of all members.

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)

Detailed Description

LocalDOFMap bundles several compact tables used for fast lookup of local DOFs.

Definition at line 58 of file SundanceLocalDOFMap.hpp.


Constructor & Destructor Documentation

LocalDOFMap::LocalDOFMap ( int  numBlocks,
int  verb 
)

Definition at line 58 of file SundanceLocalDOFMap.cpp.


Member Function Documentation

const RCP<const Array<int> >& Sundance::LocalDOFMap::cellLIDs ( ) const [inline]

Definition at line 87 of file SundanceLocalDOFMap.hpp.

References cellLID_.

void LocalDOFMap::fillBlock ( int  b,
const RCP< DOFMapBase > &  globalMap,
const Array< Set< int > > &  requiredFunc 
)
bool Sundance::LocalDOFMap::hasCells ( ) const [inline]

Definition at line 84 of file SundanceLocalDOFMap.hpp.

References hasCells_.

Referenced by nCells().

bool Sundance::LocalDOFMap::isUnused ( int  b) const [inline]

Definition at line 75 of file SundanceLocalDOFMap.hpp.

References isUsed().

bool LocalDOFMap::isUnused ( ) const

Definition at line 87 of file SundanceLocalDOFMap.cpp.

References isUsed_, and numBlocks().

bool Sundance::LocalDOFMap::isUsed ( int  b) const [inline]

Definition at line 72 of file SundanceLocalDOFMap.hpp.

References isUsed_.

Referenced by isUnused(), and print().

const Array<Array<int> >& Sundance::LocalDOFMap::localDOFs ( int  b) const [inline]

Definition at line 104 of file SundanceLocalDOFMap.hpp.

References localDOFs_.

Referenced by fillBlock(), and print().

Array<Array<int> >& Sundance::LocalDOFMap::localDOFs ( int  b) [inline, private]

Definition at line 129 of file SundanceLocalDOFMap.hpp.

References localDOFs_.

const RCP<const MapStructure>& Sundance::LocalDOFMap::mapStruct ( int  b) const [inline]

Definition at line 100 of file SundanceLocalDOFMap.hpp.

References mapStruct_.

Referenced by fillBlock(), and print().

RCP<const MapStructure>& Sundance::LocalDOFMap::mapStruct ( int  b) [inline, private]

Definition at line 125 of file SundanceLocalDOFMap.hpp.

References mapStruct_.

Definition at line 77 of file SundanceLocalDOFMap.cpp.

References hasCells_, isUsed_, and numBlocks().

void Sundance::LocalDOFMap::markAsUsed ( int  b) [inline]

Definition at line 90 of file SundanceLocalDOFMap.hpp.

References isUsed_.

int LocalDOFMap::nCells ( ) const

Definition at line 70 of file SundanceLocalDOFMap.cpp.

References cellLID_, and hasCells().

const Array<int>& Sundance::LocalDOFMap::nLocalNodesPerChunk ( int  b) const [inline]

Definition at line 96 of file SundanceLocalDOFMap.hpp.

References nLocalNodesPerChunk_.

Referenced by fillBlock(), and print().

Array<int>& Sundance::LocalDOFMap::nLocalNodesPerChunk ( int  b) [inline, private]

Definition at line 121 of file SundanceLocalDOFMap.hpp.

References nLocalNodesPerChunk_.

int Sundance::LocalDOFMap::numBlocks ( ) const [inline]

Definition at line 93 of file SundanceLocalDOFMap.hpp.

References mapStruct_.

Referenced by isUnused(), markAsUnused(), print(), and verifyValidBlock().

std::ostream & LocalDOFMap::print ( std::ostream &  os) const
void LocalDOFMap::setCells ( int  cellDim,
int  maxCellDim,
const RCP< const Array< int > > &  cellLID 
)

Definition at line 102 of file SundanceLocalDOFMap.cpp.

References activeCellDim_, cellLID_, hasCells_, and maxCellDim_.

void Sundance::LocalDOFMap::setVerb ( int  v) const [inline]

Definition at line 115 of file SundanceLocalDOFMap.hpp.

References verb_.

void LocalDOFMap::verifyValidBlock ( int  b) const [private]

Definition at line 96 of file SundanceLocalDOFMap.cpp.

References numBlocks().

Referenced by fillBlock().


Friends And Related Function Documentation

std::ostream & operator<< ( std::ostream &  os,
const LocalDOFMap m 
) [related]

Definition at line 149 of file SundanceLocalDOFMap.hpp.

References print().


Member Data Documentation

Definition at line 143 of file SundanceLocalDOFMap.hpp.

Referenced by fillBlock(), print(), and setCells().

RCP<const Array<int> > Sundance::LocalDOFMap::cellLID_ [private]

Definition at line 142 of file SundanceLocalDOFMap.hpp.

Referenced by cellLIDs(), fillBlock(), nCells(), print(), and setCells().

Definition at line 138 of file SundanceLocalDOFMap.hpp.

Referenced by hasCells(), markAsUnused(), and setCells().

Array<int> Sundance::LocalDOFMap::isUsed_ [private]

Definition at line 137 of file SundanceLocalDOFMap.hpp.

Referenced by isUnused(), isUsed(), markAsUnused(), and markAsUsed().

RCP<Array<Array<Array<int> > > > Sundance::LocalDOFMap::localDOFs_ [private]

Definition at line 141 of file SundanceLocalDOFMap.hpp.

Referenced by localDOFs().

RCP<Array<RCP<const MapStructure> > > Sundance::LocalDOFMap::mapStruct_ [private]

Definition at line 140 of file SundanceLocalDOFMap.hpp.

Referenced by mapStruct(), and numBlocks().

Definition at line 144 of file SundanceLocalDOFMap.hpp.

Referenced by print(), and setCells().

RCP<Array<Array<int> > > Sundance::LocalDOFMap::nLocalNodesPerChunk_ [private]

Definition at line 139 of file SundanceLocalDOFMap.hpp.

Referenced by nLocalNodesPerChunk().

int Sundance::LocalDOFMap::verb_ [mutable, private]

Definition at line 136 of file SundanceLocalDOFMap.hpp.

Referenced by fillBlock(), and setVerb().

Site Contact