snl_fei::RecordCollection Class Reference

#include <snl_fei_RecordCollection.hpp>

List of all members.

Public Types

typedef std::map< int, fei::Record * > map_type

Public Member Functions

 RecordCollection (int localProc)
 RecordCollection (const RecordCollection &src)
virtual ~RecordCollection ()
void initRecords (int numIDs, const int *IDs, std::vector< fei::FieldMask * > &fieldMasks, fei::Record **records=NULL)
void initRecords (int fieldID, int fieldSize, int numInstances, int numIDs, const int *IDs, std::vector< fei::FieldMask * > &fieldMasks, bool skipIDsWithThisField=true)
void initRecords (int fieldID, int fieldSize, int numInstances, int numIDs, const int *IDs, std::vector< fei::FieldMask * > &fieldMasks, fei::Record **records, bool skipIDsWithThisField=true)
void setOwners_lowestSharing (fei::SharedIDs *sharedIDs)
size_t getNumRecords ()
map_typegetRecords ()
const map_typegetRecords () const
fei::RecordgetRecordWithID (int ID)
int getGlobalIndex (int ID, int fieldID, int fieldSize, int fieldOffset, int whichComponentOfField, const int *eqnNumbers)
int getGlobalBlkIndex (int ID, int &globalBlkIndex)
void setDebugOutput (FEI_OSTREAM *dbgOut)


Detailed Description

container for Record objects

Definition at line 31 of file snl_fei_RecordCollection.hpp.


Member Typedef Documentation

typedef std::map<int,fei::Record*> snl_fei::RecordCollection::map_type

alias for map container

Definition at line 43 of file snl_fei_RecordCollection.hpp.


Constructor & Destructor Documentation

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 31 of file snl_fei_RecordCollection.cpp.

snl_fei::RecordCollection::~RecordCollection (  )  [virtual]

Destructor

Definition at line 61 of file snl_fei_RecordCollection.cpp.


Member Function Documentation

void snl_fei::RecordCollection::initRecords ( int  numIDs,
const int *  IDs,
std::vector< fei::FieldMask * > &  fieldMasks,
fei::Record **  records = NULL 
)

initialize records for specified IDs

Definition at line 66 of file snl_fei_RecordCollection.cpp.

void snl_fei::RecordCollection::initRecords ( int  fieldID,
int  fieldSize,
int  numInstances,
int  numIDs,
const int *  IDs,
std::vector< fei::FieldMask * > &  fieldMasks,
bool  skipIDsWithThisField = true 
)

initialize records for specified IDs with specified fieldID

Definition at line 125 of file snl_fei_RecordCollection.cpp.

void snl_fei::RecordCollection::initRecords ( int  fieldID,
int  fieldSize,
int  numInstances,
int  numIDs,
const int *  IDs,
std::vector< fei::FieldMask * > &  fieldMasks,
fei::Record **  records,
bool  skipIDsWithThisField = true 
)

initialize records for specified IDs with specified fieldID

Definition at line 223 of file snl_fei_RecordCollection.cpp.

void snl_fei::RecordCollection::setOwners_lowestSharing ( fei::SharedIDs sharedIDs  ) 

set owner-proc attribute for specified IDs, to be the lowest-numbered sharing processor

Definition at line 334 of file snl_fei_RecordCollection.cpp.

size_t snl_fei::RecordCollection::getNumRecords (  )  [inline]

Query the number of records in this collection

Definition at line 75 of file snl_fei_RecordCollection.hpp.

map_type& snl_fei::RecordCollection::getRecords (  )  [inline]

Get the map containing the records

Definition at line 81 of file snl_fei_RecordCollection.hpp.

const map_type& snl_fei::RecordCollection::getRecords (  )  const [inline]

Get the map containing the records

Definition at line 87 of file snl_fei_RecordCollection.hpp.

fei::Record * snl_fei::RecordCollection::getRecordWithID ( int  ID  ) 

Get record with the specified ID. Returns NULL if not found.

Definition at line 365 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 390 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 377 of file snl_fei_RecordCollection.cpp.

void snl_fei::RecordCollection::setDebugOutput ( FEI_OSTREAM *  dbgOut  )  [inline]

specify an output-stream for debug information

Definition at line 107 of file snl_fei_RecordCollection.hpp.


The documentation for this class was generated from the following files:
Generated on Wed May 12 01:33:54 2010 for FEI by  doxygen 1.4.7