FEI Package Browser (Single Doxygen Collection)
Version of the Day
|
#include <fei_Lookup_Impl.hpp>
Public Member Functions | |
Lookup_Impl (fei::SharedPtr< fei::MatrixGraph > matGraph, int nodeIDType) | |
virtual | ~Lookup_Impl () |
int | getNumFields () |
int | getFieldSize (int fieldID) |
const int * | getFieldIDsPtr () |
const int * | getFieldSizesPtr () |
int | getNumElemBlocks () |
const GlobalID * | getElemBlockIDs () |
void | getElemBlockInfo (GlobalID blockID, int &interleaveStrategy, int &lumpingStrategy, int &numElemDOF, int &numElements, int &numNodesPerElem, int &numEqnsPerElem) |
const int * | getNumFieldsPerNode (GlobalID blockID) |
const int *const * | getFieldIDsTable (GlobalID blockID) |
int | getEqnNumber (int nodeNumber, int fieldID) |
int | getAssociatedNodeNumber (int eqnNumber) |
int | getAssociatedNodeID (int eqnNumber) |
int | getAssociatedFieldID (int eqnNumber) |
bool | isInLocalElement (int nodeNumber) |
int | getNumSubdomains (int nodeNumber) |
int * | getSubdomainList (int nodeNumber) |
int | getNumSharedNodes () |
const int * | getSharedNodeNumbers () |
const int * | getSharedNodeProcs (int nodeNumber) |
int | getNumSharingProcs (int nodeNumber) |
bool | isExactlyBlkEqn (int ptEqn) |
int | ptEqnToBlkEqn (int ptEqn) |
int | getOffsetIntoBlkEqn (int blkEqn, int ptEqn) |
int | getBlkEqnSize (int blkEqn) |
Public Member Functions inherited from Lookup | |
virtual | ~Lookup () |
Private Member Functions | |
int | buildDatabases () |
Private Attributes | |
fei::SharedPtr< fei::MatrixGraph > | matGraph_ |
snl_fei::PointBlockMap * | ptBlkMap_ |
fei::SharedPtr< fei::VectorSpace > | vspace_ |
int | nodeIDType_ |
std::map< int, fei::Record < int > * > | nodenumPairs_ |
std::map< int, fei::Record < int > * > | eqnnumPairs_ |
std::map< int, std::vector < int > * > | nodenumSubdomainDB_ |
bool | databasesBuilt_ |
std::vector< int > | fieldIDs_ |
std::vector< int > | fieldSizes_ |
std::vector< GlobalID > | elemBlockIDs_ |
std::vector< const int * > | fieldIDs_2D_ |
std::vector< int > | workspace_ |
An implementation of the Lookup interface.
Definition at line 27 of file fei_Lookup_Impl.hpp.
fei::Lookup_Impl::Lookup_Impl | ( | fei::SharedPtr< fei::MatrixGraph > | matGraph, |
int | nodeIDType | ||
) |
Constructor
Definition at line 28 of file fei_Lookup_Impl.cpp.
References buildDatabases(), fei::VectorSpace::getPointBlockMap(), fei::MatrixGraph::getRowSpace(), matGraph_, ptBlkMap_, voidERReturn, and vspace_.
|
virtual |
|
inlinevirtual |
Implementation of Lookup:: method
Implements Lookup.
Definition at line 37 of file fei_Lookup_Impl.hpp.
References fei::VectorSpace::getNumFields(), and vspace_.
Referenced by getFieldIDsPtr().
|
inlinevirtual |
Implementation of Lookup:: method
Implements Lookup.
Definition at line 43 of file fei_Lookup_Impl.hpp.
References fei::VectorSpace::getFieldSize(), and vspace_.
|
inlinevirtual |
Implementation of Lookup:: method
Implements Lookup.
Definition at line 49 of file fei_Lookup_Impl.hpp.
References fieldIDs_, fei::VectorSpace::getFields(), getNumFields(), and vspace_.
Referenced by getFieldSizesPtr().
|
inlinevirtual |
Implementation of Lookup:: method
Implements Lookup.
Definition at line 59 of file fei_Lookup_Impl.hpp.
References fieldIDs_, fieldSizes_, getFieldIDsPtr(), fei::VectorSpace::getFieldSize(), and vspace_.
|
inlinevirtual |
Implementation of Lookup:: method
Implements Lookup.
Definition at line 74 of file fei_Lookup_Impl.hpp.
References fei::MatrixGraph::getConnectivityBlocks(), and matGraph_.
|
inlinevirtual |
Implementation of Lookup:: method
Implements Lookup.
Definition at line 78 of file fei_Lookup_Impl.hpp.
References elemBlockIDs_, fei::MatrixGraph::getConnectivityBlockIDs(), and matGraph_.
|
inlinevirtual |
Implementation of Lookup:: method
Implements Lookup.
Definition at line 85 of file fei_Lookup_Impl.hpp.
References fei::MatrixGraph::getConnectivityBlock(), fei::ConnectivityBlock::getConnectivityIDs(), fei::Pattern::getNumIDs(), fei::Pattern::getNumIndices(), fei::ConnectivityBlock::getRowPattern(), and matGraph_.
|
inlinevirtual |
Implementation of Lookup:: method
Implements Lookup.
Definition at line 100 of file fei_Lookup_Impl.hpp.
References fei::MatrixGraph::getConnectivityBlock(), fei::Pattern::getNumFieldsPerID(), fei::ConnectivityBlock::getRowPattern(), and matGraph_.
|
inlinevirtual |
Implementation of Lookup:: method
Implements Lookup.
Definition at line 108 of file fei_Lookup_Impl.hpp.
References fieldIDs_2D_, fei::MatrixGraph::getConnectivityBlock(), fei::Pattern::getFieldIDs(), fei::Pattern::getNumFieldsPerID(), fei::Pattern::getNumIDs(), fei::ConnectivityBlock::getRowPattern(), and matGraph_.
|
virtual |
Implementation of Lookup:: method
Implements Lookup.
Definition at line 61 of file fei_Lookup_Impl.cpp.
References fei::FieldMask::getFieldEqnOffset(), fei::Record< GlobalIDType >::getFieldMask(), and fei::Record< GlobalIDType >::getOffsetIntoEqnNumbers().
|
virtual |
Implementation of Lookup:: method
Implements Lookup.
Definition at line 86 of file fei_Lookup_Impl.cpp.
References fei::Record< GlobalIDType >::getNumber().
int fei::Lookup_Impl::getAssociatedNodeID | ( | int | eqnNumber | ) |
Definition at line 99 of file fei_Lookup_Impl.cpp.
References fei::Record< GlobalIDType >::getID().
|
virtual |
Implementation of Lookup:: method
Implements Lookup.
Definition at line 112 of file fei_Lookup_Impl.cpp.
References fei::FieldMask::getFieldIDs(), fei::Record< GlobalIDType >::getFieldMask(), fei::FieldMask::getFieldSizes(), fei::FieldMask::getNumIndices(), and fei::Record< GlobalIDType >::getOffsetIntoEqnNumbers().
|
virtual |
Implementation of Lookup:: method
Implements Lookup.
Definition at line 156 of file fei_Lookup_Impl.cpp.
|
inlinevirtual |
Implementation of Lookup:: method
Implements Lookup.
Definition at line 140 of file fei_Lookup_Impl.hpp.
References nodenumSubdomainDB_.
|
inlinevirtual |
Implementation of Lookup:: method
Implements Lookup.
Definition at line 150 of file fei_Lookup_Impl.hpp.
References nodenumSubdomainDB_.
|
inlinevirtual |
Implementation of Lookup:: method
Implements Lookup.
Definition at line 161 of file fei_Lookup_Impl.hpp.
References fei::VectorSpace::getNumSharedIDs(), nodeIDType_, and vspace_.
|
inlinevirtual |
Implementation of Lookup:: method
Implements Lookup.
Definition at line 169 of file fei_Lookup_Impl.hpp.
References fei::copyKeysToArray(), fei::Record< GlobalIDType >::getNumber(), fei::VectorSpace::getRecordCollection(), fei::SharedIDs< T >::getSharedIDs(), fei::VectorSpace::getSharedIDs(), nodeIDType_, vspace_, and workspace_.
|
inlinevirtual |
Implementation of Lookup:: method
Implements Lookup.
Definition at line 191 of file fei_Lookup_Impl.hpp.
References fei::copySetToVector(), fei::Record< GlobalIDType >::getID(), fei::SharedIDs< T >::getSharedIDs(), fei::VectorSpace::getSharedIDs(), nodeIDType_, nodenumPairs_, vspace_, and workspace_.
|
inlinevirtual |
Implementation of Lookup:: method
Implements Lookup.
Definition at line 215 of file fei_Lookup_Impl.hpp.
References fei::Record< GlobalIDType >::getID(), fei::SharedIDs< T >::getSharedIDs(), fei::VectorSpace::getSharedIDs(), nodeIDType_, nodenumPairs_, and vspace_.
|
inlinevirtual |
Implementation of Lookup:: method
Implements Lookup.
Definition at line 237 of file fei_Lookup_Impl.hpp.
References snl_fei::PointBlockMap::isExactlyBlkEqn(), and ptBlkMap_.
|
inlinevirtual |
Implementation of Lookup:: method
Implements Lookup.
Definition at line 241 of file fei_Lookup_Impl.hpp.
References snl_fei::PointBlockMap::eqnToBlkEqn(), and ptBlkMap_.
|
virtual |
Implementation of Lookup:: method
Implements Lookup.
Definition at line 171 of file fei_Lookup_Impl.cpp.
References fei::Record< GlobalIDType >::getOffsetIntoEqnNumbers().
|
inlinevirtual |
Implementation of Lookup:: method
Implements Lookup.
Definition at line 248 of file fei_Lookup_Impl.hpp.
References snl_fei::PointBlockMap::getBlkEqnSize(), and ptBlkMap_.
|
private |
Definition at line 186 of file fei_Lookup_Impl.cpp.
References CHK_ERR, ERReturn, fei::exchange(), fei::Record< GlobalIDType >::getFieldMask(), fei::Record< GlobalIDType >::getNumber(), fei::FieldMask::getNumIndices(), fei::Record< GlobalIDType >::getOffsetIntoEqnNumbers(), snl_fei::RecordCollection::getRecords(), snl_fei::RecordCollection::getRecordWithID(), fei::SharedIDs< T >::getSharedIDs(), fei::GlobalSum(), fei::Record< GlobalIDType >::isInLocalSubdomain_, fei::localProc(), MPI_Comm, snl_fei::SubdMsgHandler::setRecvPattern(), snl_fei::SubdMsgHandler::setSendPattern(), and fei::sortedListInsert().
Referenced by Lookup_Impl().
|
private |
Definition at line 256 of file fei_Lookup_Impl.hpp.
Referenced by getElemBlockIDs(), getElemBlockInfo(), getFieldIDsTable(), getNumElemBlocks(), getNumFieldsPerNode(), and Lookup_Impl().
|
private |
Definition at line 257 of file fei_Lookup_Impl.hpp.
Referenced by getBlkEqnSize(), isExactlyBlkEqn(), Lookup_Impl(), and ptEqnToBlkEqn().
|
private |
Definition at line 258 of file fei_Lookup_Impl.hpp.
Referenced by getFieldIDsPtr(), getFieldSize(), getFieldSizesPtr(), getNumFields(), getNumSharedNodes(), getNumSharingProcs(), getSharedNodeNumbers(), getSharedNodeProcs(), and Lookup_Impl().
|
private |
Definition at line 259 of file fei_Lookup_Impl.hpp.
Referenced by getNumSharedNodes(), getNumSharingProcs(), getSharedNodeNumbers(), and getSharedNodeProcs().
|
private |
Definition at line 261 of file fei_Lookup_Impl.hpp.
Referenced by getNumSharingProcs(), and getSharedNodeProcs().
|
private |
Definition at line 262 of file fei_Lookup_Impl.hpp.
|
private |
Definition at line 264 of file fei_Lookup_Impl.hpp.
Referenced by getNumSubdomains(), and getSubdomainList().
|
private |
Definition at line 266 of file fei_Lookup_Impl.hpp.
|
private |
Definition at line 268 of file fei_Lookup_Impl.hpp.
Referenced by getFieldIDsPtr(), and getFieldSizesPtr().
|
private |
Definition at line 269 of file fei_Lookup_Impl.hpp.
Referenced by getFieldSizesPtr().
|
private |
Definition at line 270 of file fei_Lookup_Impl.hpp.
Referenced by getElemBlockIDs().
|
private |
Definition at line 271 of file fei_Lookup_Impl.hpp.
Referenced by getFieldIDsTable().
|
private |
Definition at line 272 of file fei_Lookup_Impl.hpp.
Referenced by getSharedNodeNumbers(), and getSharedNodeProcs().