FEI
Version of the Day
|
#include <fei_SharedIDs.hpp>
Public Types | |
typedef std::map< T, std::set < int > > | map_type |
Public Member Functions | |
SharedIDs () | |
SharedIDs (const SharedIDs< T > &src) | |
virtual | ~SharedIDs () |
void | addSharedID (const T &ID, size_t numSharingProcs, const int *sharingProcs) |
map_type & | getSharedIDs () |
const map_type & | getSharedIDs () const |
std::vector< int > & | getOwningProcs () |
const std::vector< int > & | getOwningProcs () const |
Simple container for IDs that are shared among multiple processors.
Definition at line 22 of file fei_SharedIDs.hpp.
typedef std::map<T,std::set<int> > fei::SharedIDs< T >::map_type |
typedef for the type of the internal data container
Definition at line 38 of file fei_SharedIDs.hpp.
|
inline |
constructor
Definition at line 25 of file fei_SharedIDs.hpp.
|
inline |
Copy Constructor
Definition at line 30 of file fei_SharedIDs.hpp.
|
inlinevirtual |
destructor
Definition at line 35 of file fei_SharedIDs.hpp.
|
inline |
Associate ID with specified sharing processors. If ID is already present in the sharedIDs table, then this method simply adds the specified sharing processors to that ID's set of sharing processors (if they are not already present).
Definition at line 45 of file fei_SharedIDs.hpp.
|
inline |
Retrieve the internal container holding shared-ID data.
Definition at line 57 of file fei_SharedIDs.hpp.
|
inline |
Retrieve the internal container holding shared-ID data.
Definition at line 60 of file fei_SharedIDs.hpp.
|
inline |
Retrieve a vector holding the owning-processors for the stored shared IDs.
Definition at line 64 of file fei_SharedIDs.hpp.
|
inline |
Retrieve a vector holding the owning-processors for the stored shared IDs.
Definition at line 68 of file fei_SharedIDs.hpp.