34 #include "preprocessor/PreprocessorContainer.h" 35 #include "utility/actor/actor/MovableObject.h" 36 #include "MapSetBase.h" 54 map_ent_mdlr entities;
60 bool is_open(
const std::string &)
const;
61 Set *create_set(
const std::string &);
62 Set *alloc_set(
const Set &);
63 SetBase *broke_set(
const std::string &,
const std::string &);
65 SetBase *find_set(
const std::string &nmb);
66 SetEstruct *find_struct_set(
const std::string &nmb);
67 void setup_total(
void);
75 void abre_set(
const std::string &nmb);
76 void cierra_set(
const std::string &nmb);
102 Set *get_set_total(
void)
104 const Set *get_set_total(
void)
const 106 inline const map_sets &get_open_sets(
void)
const 107 {
return open_sets; }
108 inline map_sets &get_open_sets(
void)
109 {
return open_sets; }
122 const SetBase *find_set(
const std::string &nmb)
const;
127 boost::python::dict
getPyDict(
void)
const;
128 void setPyDict(
const boost::python::dict &);
void setPyDict(const boost::python::dict &)
Set the values of the object members from a Python dictionary.
Definition: MapSet.cc:581
boost::python::list get_sets_containing_node_py(const int &)
Return the a Python list with the sets that contain the pointer to the node whose identifier is being...
Definition: MapSet.cc:282
virtual ~MapSet(void)
Destructor.
Definition: MapSet.cc:329
int recvSelf(const Communicator &)
Receives object through the communicator argument.
Definition: MapSet.cc:532
void removeNode(Node *)
Remove the given node from the sets.
Definition: MapSet.cc:333
DbTagData & getDbTagData(void) const
Returns a vector to store the dbTags of the class members.
Definition: MapSet.cc:357
Sets container.
Definition: MapSet.h:48
Communication parameters between processes.
Definition: Communicator.h:66
std::map< std::string, EntMdlr * > map_ent_mdlr
dbTags para the sets.
Definition: MapSet.h:52
Finite element model generation tools.
Definition: Preprocessor.h:59
int sendSelf(Communicator &)
Sends object through the communicator argument.
Definition: MapSet.cc:517
boost::python::dict getPyDict(void) const
Return a Python dictionary with the object members values.
Definition: MapSet.cc:554
Object that can move between processes.
Definition: MovableObject.h:100
Model geometry manager.
Definition: MultiBlockTopology.h:68
int sendData(Communicator &)
Send members through the communicator argument.
Definition: MapSet.cc:489
int recvData(const Communicator &)
Receives members through the communicator argument.
Definition: MapSet.cc:503
SetBase & getSet(const std::string &nmb)
Return the set which name is being passed as parameter.
Definition: MapSet.cc:66
boost::python::list get_sets_containing_element_py(const int &)
Return the a Python list with the sets that contain the pointer to the element whose identifier is be...
Definition: MapSet.cc:314
Vector that stores the dbTags of the class members.
Definition: DbTagData.h:44
Vector of integers.
Definition: ID.h:95
Sets container.
Definition: MapSetBase.h:58
Base de las clases Set y SetEstruct.
Definition: SetBase.h:51
void removeConstraint(Constraint *)
Remove the given element from the sets.
Definition: MapSet.cc:348
int receiveSetsClassNames(int pDbTg, int sz, const Communicator &comm)
Receives the class names of the sets through the communicator argument.
Definition: MapSet.cc:410
Base class for the finite elements.
Definition: Element.h:112
Set of mesh components (nodes, elements and constraints).
Definition: SetMeshComp.h:59
Object set.
Definition: Set.h:57
EntMdlr * insert_ent_mdlr(EntMdlr *ent_mdlr)
Inserts, as a set, a preprocessor entity.
Definition: MapSet.cc:169
Set * defSet(const std::string &)
Creates a new set with the name which is passed as a parameter.
Definition: MapSet.cc:226
std::set< SetBase * > get_sets_containing_element(const int &)
Return the sets that contain the pointer to the element whose identifier is being passed as parameter...
Definition: MapSet.cc:298
std::set< SetBase * > get_sets_containing_node(const int &)
Return the sets that contain the pointer to the node whose identifier is being passed as parameter...
Definition: MapSet.cc:266
Multiblock topology object (point, line, face, block,...).
Definition: EntMdlr.h:55
void removeSet(const std::string &)
Deletes the set and removes it from the sets map.
Definition: MapSet.cc:230
Base class for preprocessor containers i.
Definition: PreprocessorContainer.h:44
structured set, i.
Definition: SetEstruct.h:47
int receiveOpenSets(int posDbTag1, int posDbTag2, const Communicator &comm)
Receives members through the communicator argument.
Definition: MapSet.cc:474
int sendSets(int posDbTag1, int posDbTag2, int posDbTag3, Communicator &comm)
Send the sets through the communicator argument.
Definition: MapSet.cc:423
int receiveSets(int posDbTag1, int posDbTag2, int posDbTag3, const int &, const Communicator &comm)
Receives the sets through the communicator argument.
Definition: MapSet.cc:440
Open source finite element program for structural analysis.
Definition: ContinuaReprComponent.h:35
void removeElement(Element *)
Remove the given element from the sets.
Definition: MapSet.cc:340
Base class for model constraints.
Definition: Constraint.h:48
int sendOpenSets(int posDbTag1, int posDbTag2, Communicator &comm)
Send members through the communicator argument.
Definition: MapSet.cc:460
int sendSetsClassNames(int posDbTag, Communicator &comm)
Send the names of the classes of the sets through the communicator argument.
Definition: MapSet.cc:381
Mesh node.
Definition: Node.h:111
int receiveSetsDbTags(int posDbTag, int size, const Communicator &comm)
Receives the dbTags of the sets through the communicator argument.
Definition: MapSet.cc:397
int sendSetsDbTags(int posDbTag, Communicator &comm)
Send the dbTags of the sets through the communicator argument.
Definition: MapSet.cc:364
Object set.
Definition: SetEntities.h:77