XC Open source finite element analysis program
Public Types | Public Member Functions | Protected Member Functions | Friends | List of all members
XC::MapSet Class Reference

Sets container. More...

#include <MapSet.h>

Inheritance diagram for XC::MapSet:
XC::MovableObject XC::DistributedBase

Public Types

typedef std::map< std::string, SetBase * > map_sets
 sets class names.
 
typedef map_sets::iterator iterator
 
typedef map_sets::const_iterator const_iterator
 
typedef std::map< std::string, EntMdlr * > map_ent_mdlr
 

Public Member Functions

virtual ~MapSet (void)
 Destructor.
 
EntMdlrinserta_ent_mdlr (EntMdlr *ent_mdlr)
 Inserts, as a set, a preprocessor entity.
 
Setget_set_total (void)
 
const Setget_set_total (void) const
 
const map_setsget_sets_abiertos (void) const
 
map_setsget_sets_abiertos (void)
 
SetdefSet (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 SetBasebusca_set (const std::string &nmb) const
 Returns a pointer to the set which name is being passed as parameter.
 
SetBasegetSet (const std::string &nmb)
 Returns the set which name is being passed as parameter.
 
const_iterator begin (void) const
 
const_iterator end (void) const
 
std::set< SetBase * > get_sets (const Node *)
 Returns the sets que contienen the pointer a nodo being passed as parameter.
 
std::set< SetBase * > get_sets (const Element *)
 Returns the sets that containt the element pointer being passed as parameter.
 
std::set< SetBase * > get_sets (const Pnt *)
 Returns the sets que contienen the pointer a punto being passed as parameter.
 
std::set< SetBase * > get_sets (const Edge *)
 Returns the sets que contienen the pointer a «edge» being passed as parameter.
 
std::set< SetBase * > get_sets (const Face *)
 Returns the sets than contain a pointer to the face being passed as parameter.
 
std::set< SetBase * > get_sets (const Body *)
 Returns the sets que contienen the pointer a cuerpo being passed as parameter.
 
std::set< SetBase * > get_sets (const UniformGrid *)
 Returns the sets que contienen the pointer a «uniform grid» 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.
 
- Public Member Functions inherited from XC::MovableObject
 MovableObject (int classTag, int dbTag)
 Constructor.
 
 MovableObject (int classTag)
 Constructor.
 
 MovableObject (const MovableObject &otro)
 Copy constructor.
 
MovableObjectoperator= (const MovableObject &otro)
 Operacdor asignación.
 
int getClassTag (void) const
 Returns the tag de la clase.
 
int getDbTag (void) const
 Returns the tag para la database.
 
int getDbTag (CommParameters &)
 Returns the tag para la database.
 
void setDbTag (int dbTag)
 Asigna el tag para la database.
 
void setDbTag (CommParameters &)
 Asigna, sólo si es preciso, el tag para la database.
 
virtual int setParameter (const std::vector< std::string > &argv, Parameter &param)
 
virtual int updateParameter (int parameterID, Information &info)
 
virtual int activateParameter (int parameterID)
 
virtual int setVariable (const std::string &variable, Information &)
 Returns the identificador de la variable cuyo nombre being passed as parameter.
 
virtual int getVariable (const std::string &variable, Information &)
 
- Public Member Functions inherited from XC::DistributedBase
 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.
 

Protected Member Functions

const IDgetSetsDBTags (CommParameters &cp)
 Returns the DBTags of the sets.
 
const std::deque< std::string > & getSetsClassNames (void)
 Returns the nombres de clase of the sets.
 
DbTagDatagetDbTagData (void) const
 Returns a vector para almacenar los dbTags de los miembros de la clase.
 
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)
 Envía the sets definidos through the channel being passed as parameter.
 
int receiveSets (int posDbTag1, int posDbTag2, int posDbTag3, const int &, const CommParameters &cp)
 Recibe the sets definidos through the channel being passed as parameter.
 
int sendAbiertos (int posDbTag1, int posDbTag2, CommParameters &cp)
 Send members through the channel being passed as parameter.
 
int receiveAbiertos (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.
 

Friends

class EntMdlr
 
class Cad
 
class SetMeshComp
 
class Set
 
class Preprocessor
 

Detailed Description

Sets container.


The documentation for this class was generated from the following files: