FEI
Version of the Day
|
#include <snl_fei_RecordCollection.hpp>
Public Member Functions | |
RecordCollection (int localProc) | |
RecordCollection (const RecordCollection &src) | |
virtual | ~RecordCollection () |
void | initRecords (int numIDs, const int *IDs, std::vector< fei::FieldMask * > &fieldMasks, int *recordLocalIDs=NULL) |
void | initRecords (int fieldID, int fieldSize, int numIDs, const int *IDs, std::vector< fei::FieldMask * > &fieldMasks, int *recordLocalIDs=NULL) |
void | setOwners_lowestSharing (fei::SharedIDs< int > &sharedIDs) |
size_t | getNumRecords () const |
std::map< int, int > & | getGlobalToLocalMap () |
std::vector< fei::Record< int > > & | getRecords () |
const std::vector< fei::Record < int > > & | getRecords () const |
fei::Record< int > * | getRecordWithID (int ID) |
const fei::Record< int > * | getRecordWithID (int ID) const |
int | getGlobalIndex (int ID, int fieldID, int fieldSize, int fieldOffset, int whichComponentOfField, const int *eqnNumbers) |
int | getGlobalIndexLocalID (int localID, int fieldID, int fieldSize, int fieldOffset, int whichComponentOfField, const int *eqnNumbers) |
int | getGlobalBlkIndex (int ID, int &globalBlkIndex) |
void | setDebugOutput (FEI_OSTREAM *dbgOut) |
container for Record objects
Definition at line 32 of file snl_fei_RecordCollection.hpp.
snl_fei::RecordCollection::RecordCollection | ( | int | localProc | ) |
Constructor
Definition at line 21 of file snl_fei_RecordCollection.cpp.
snl_fei::RecordCollection::RecordCollection | ( | const RecordCollection & | src | ) |
Copy constructor
Definition at line 34 of file snl_fei_RecordCollection.cpp.
|
virtual |
Destructor
Definition at line 46 of file snl_fei_RecordCollection.cpp.
void snl_fei::RecordCollection::initRecords | ( | int | numIDs, |
const int * | IDs, | ||
std::vector< fei::FieldMask * > & | fieldMasks, | ||
int * | recordLocalIDs = NULL |
||
) |
initialize records for specified IDs
Definition at line 73 of file snl_fei_RecordCollection.cpp.
void snl_fei::RecordCollection::initRecords | ( | int | fieldID, |
int | fieldSize, | ||
int | numIDs, | ||
const int * | IDs, | ||
std::vector< fei::FieldMask * > & | fieldMasks, | ||
int * | recordLocalIDs = NULL |
||
) |
initialize records for specified IDs with specified fieldID
Definition at line 116 of file snl_fei_RecordCollection.cpp.
void snl_fei::RecordCollection::setOwners_lowestSharing | ( | fei::SharedIDs< int > & | sharedIDs | ) |
set owner-proc attribute for specified IDs, to be the lowest-numbered sharing processor
Definition at line 220 of file snl_fei_RecordCollection.cpp.
|
inline |
Query the number of records in this collection
Definition at line 66 of file snl_fei_RecordCollection.hpp.
|
inline |
Get the map of global-to-local ids
Definition at line 72 of file snl_fei_RecordCollection.hpp.
|
inline |
Get the vector containing the records
Definition at line 79 of file snl_fei_RecordCollection.hpp.
|
inline |
Get the vector containing the records
Definition at line 85 of file snl_fei_RecordCollection.hpp.
fei::Record< int > * snl_fei::RecordCollection::getRecordWithID | ( | int | ID | ) |
Get record with the specified ID. Returns NULL if not found.
Definition at line 254 of file snl_fei_RecordCollection.cpp.
const fei::Record< int > * snl_fei::RecordCollection::getRecordWithID | ( | int | ID | ) | const |
Get record with the specified ID. Returns NULL if not found.
Definition at line 265 of file snl_fei_RecordCollection.cpp.
int snl_fei::RecordCollection::getGlobalIndex | ( | int | ID, |
int | fieldID, | ||
int | fieldSize, | ||
int | fieldOffset, | ||
int | whichComponentOfField, | ||
const int * | eqnNumbers | ||
) |
Get global equation index for specified ID
Definition at line 289 of file snl_fei_RecordCollection.cpp.
int snl_fei::RecordCollection::getGlobalIndexLocalID | ( | int | localID, |
int | fieldID, | ||
int | fieldSize, | ||
int | fieldOffset, | ||
int | whichComponentOfField, | ||
const int * | eqnNumbers | ||
) |
Get global equation index for specified local ID
Definition at line 328 of file snl_fei_RecordCollection.cpp.
int snl_fei::RecordCollection::getGlobalBlkIndex | ( | int | ID, |
int & | globalBlkIndex | ||
) |
Get global block-equation index for specified ID
Definition at line 276 of file snl_fei_RecordCollection.cpp.
|
inline |
specify an output-stream for debug information
Definition at line 131 of file snl_fei_RecordCollection.hpp.