xc
|
Sets container. More...
#include <MapSet.h>
Public Types | |
typedef std::map< std::string, EntMdlr * > | map_ent_mdlr |
dbTags para the sets. | |
![]() | |
typedef std::map< std::string, SetBase * > | map_sets |
Public Member Functions | |
virtual | ~MapSet (void) |
Destructor. | |
EntMdlr * | insert_ent_mdlr (EntMdlr *ent_mdlr) |
Inserts, as a set, a preprocessor entity. | |
Set * | get_set_total (void) |
const Set * | get_set_total (void) const |
const map_sets & | get_open_sets (void) const |
map_sets & | get_open_sets (void) |
Set * | defSet (const std::string &) |
Creates a new set with the name which is passed as a parameter. | |
void | removeSet (const std::string &) |
Deletes the set and removes it from the sets map. | |
const SetBase * | busca_set (const std::string &nmb) const |
Returns a pointer to the set which name is being passed as parameter. | |
SetBase & | getSet (const std::string &nmb) |
Return the set which name is being passed as parameter. | |
int | sendSelf (CommParameters &) |
Sends object through the channel being passed as parameter. | |
int | recvSelf (const CommParameters &) |
Receives object through the channel being passed as parameter. | |
![]() | |
PreprocessorContainer (Preprocessor *owr) | |
Default constructor. | |
const Domain * | getDomain (void) const |
Returns the domain. | |
Domain * | getDomain (void) |
Returns the domain. | |
Preprocessor * | getPreprocessor (void) |
Returns a pointer to the object preprocessor. | |
const Preprocessor * | getPreprocessor (void) const |
Returns a pointer to the object preprocessor. | |
void | checkPreprocessor (void) |
![]() | |
MovableObject (int classTag, int dbTag) | |
Constructor. More... | |
MovableObject (int classTag) | |
Constructor. More... | |
MovableObject (const MovableObject &) | |
Copy constructor. Doesn't copy the dbTag. | |
MovableObject & | operator= (const MovableObject &) |
Assignment operator. Doesn't copy the dbTag. | |
int | getClassTag (void) const |
Return the class identifier. | |
int | getDbTag (void) const |
Return the object identifier in the database. | |
int | getDbTag (CommParameters &) |
Return the object identifier in the database. | |
void | setDbTag (int dbTag) |
Sets the object identifier in the database. | |
void | setDbTag (CommParameters &) |
Sets the object identifier in the database if not already set. More... | |
virtual int | setParameter (const std::vector< std::string > &argv, Parameter ¶m) |
Sets the value param to the parameter argv . | |
virtual int | updateParameter (int parameterID, Information &info) |
Updates the parameter identified by parameterID with info . | |
virtual int | activateParameter (int parameterID) |
Activates the parameter identified by parameterID . | |
virtual int | setVariable (const std::string &variable, Information &) |
Set the value of the variable idenfified by var . | |
virtual int | getVariable (const std::string &variable, Information &) |
Return the value of the variable idenfified by var . | |
![]() | |
DistributedBase (void) | |
Constructor. | |
const int & | getDbTagDataPos (const int &i) const |
Returns the data at the i-th position. | |
void | setDbTagDataPos (const int &i, const int &v) |
Sets the data at the i-th position. | |
void | inicComm (const int &dataSize) const |
Initializes communication. | |
![]() | |
virtual | ~MapSetBase (void) |
Destructor. | |
bool | exists (const std::string &nmb) const |
Return true if the sets already exists. | |
void | removeSet (const std::string &) |
Deletes the set and removes it from the sets map. | |
std::set< SetBase * > | get_sets (const Node *) |
Return the sets that contain the pointer to node being passed as parameter. More... | |
std::set< SetBase * > | get_sets (const Element *) |
Return the sets that contain the element pointer being passed as parameter. More... | |
std::set< SetBase * > | get_sets (const Pnt *) |
Return the sets that contain the pointer to the ponint being passed as parameter. More... | |
std::set< SetBase * > | get_sets (const Edge *) |
Return the sets that contain the pointer to edge being passed as parameter. More... | |
std::set< SetBase * > | get_sets (const Face *) |
Return the sets than contain a pointer to face being passed as parameter. More... | |
std::set< SetBase * > | get_sets (const Body *) |
Return the sets that contain the pointer to body being passed as parameter. More... | |
std::set< SetBase * > | get_sets (const UniformGrid *) |
Return the sets that contain the pointer to uniform grid being passed as parameter. More... | |
Protected Member Functions | |
DbTagData & | getDbTagData (void) const |
Returns a vector to store the dbTags of the class members. More... | |
int | sendSetsDbTags (int posDbTag, CommParameters &cp) |
Envía los dbTags of the sets través del canal being passed as parameter. | |
int | sendSetsClassNames (int posDbTag, CommParameters &cp) |
Envía los nombres de clase of the sets través del canal being passed as parameter. | |
int | receiveSetsDbTags (int posDbTag, int size, const CommParameters &cp) |
Recibe los dbTags of the sets through the channel being passed as parameter. | |
int | receiveSetsClassNames (int pDbTg, int sz, const CommParameters &cp) |
Recibe los nombres de clase of the sets through the channel being passed as parameter. | |
int | sendSets (int posDbTag1, int posDbTag2, int posDbTag3, CommParameters &cp) |
Send the sets through the channel being passed as parameter. | |
int | receiveSets (int posDbTag1, int posDbTag2, int posDbTag3, const int &, const CommParameters &cp) |
Receives the sets through the channel being passed as parameter. | |
int | sendOpenSets (int posDbTag1, int posDbTag2, CommParameters &cp) |
Send members through the channel being passed as parameter. | |
int | receiveOpenSets (int posDbTag1, int posDbTag2, const CommParameters &cp) |
Receives members through the channel being passed as parameter. | |
int | sendData (CommParameters &) |
Send members through the channel being passed as parameter. | |
int | recvData (const CommParameters &) |
Receives members through the channel being passed as parameter. | |
MapSet (Preprocessor *preprocessor=nullptr) | |
Default constructor. | |
![]() | |
SetEstruct * | create_set_estruct (const SetEstruct &) |
Returns a copy of the argument. | |
SetBase * | find (const std::string &nmb) const |
Returns a pointer to the set which name is being passed as parameter. | |
SetEstruct * | find_set_estruct (const std::string &nmb) |
Returns a pointer to the structured set named as the parameter. | |
void | clearSets (void) |
Clears all defined sets. | |
MapSetBase (const MapSetBase &) | |
Copy constructor (DOESN'T COPY SETS). | |
MapSetBase & | operator= (const MapSetBase &) |
Assignment operator (DOESN'T COPY SETS). | |
const std::deque< std::string > & | getSetsClassNames (void) |
Return the class names of the sets. | |
const std::deque< std::string > & | getSetsNames (void) |
Return the class names of the sets. | |
DbTagData & | getDbTagData (void) const |
const ID & | getSetsDBTags (CommParameters &cp) |
Return the DBTags of the sets. | |
Friends | |
class | EntMdlr |
class | MultiBlockTopology |
class | SetMeshComp |
class | SetEntities |
class | Set |
class | Preprocessor |
Additional Inherited Members | |
![]() | |
static std::deque< std::string > | setsClassNames |
Sets container.
|
protectedvirtual |
Returns a vector to store the dbTags of the class members.
Reimplemented from XC::DistributedBase.