33 #include "DqPtrsNode.h" 34 #include "DqPtrsElem.h" 35 #include "DqPtrsConstraint.h" 44 class SFreedom_Constraint;
81 lst_ptr_constraints constraints;
86 void extend_lists_cond(
const SetMeshComp &,
const std::string &);
95 void mueve(
const Vector3d &);
103 {
return nodes.size(); }
116 bool In(
const Node *)
const;
120 {
return elements.size(); }
137 {
return constraints; }
140 {
return constraints; }
155 nod_const_iterator
nodos_end(
void)
const;
167 elem_iterator elem_begin(
void);
168 elem_const_iterator elem_begin(
void)
const;
169 elem_iterator elem_end(
void);
170 elem_const_iterator elem_end(
void)
const;
194 virtual void Transforma(
const size_t &indice_trf);
196 SVD3d
getResistingSVD3d(
const Plano3d &,
const Pos3d &,
const double &,
const bool &)
const;
210 typedef typename L::iterator iterator;
211 typedef typename L::reference reference;
212 for(iterator i= l.begin();i!=l.end();i++,idx++)
215 ptr->set_indice(idx);
virtual DqPtrsConstraint & GetConstraints(void)
Return the constraints container.
Definition: SetMeshComp.h:139
size_t getNumLiveNodes(void) const
Returns the número de active nodes.
Definition: SetMeshComp.cc:290
DqPtrsElem::const_iterator elem_const_iterator
Iterator over the element set.
Definition: SetMeshComp.h:71
void clear(void)
Clears all the objectsof the lists.
Definition: SetMeshComp.cc:111
void clearAll(void)
Clears out the list of pointers and erases the properties of the object (if any). ...
Definition: DqPtrsElem.cc:100
void clearElements(void)
Clears out the elements.
Definition: SetMeshComp.h:130
DqPtrsNode::iterator nod_iterator
Iterator over the node set.
Definition: SetMeshComp.h:66
void clearAll(void)
Clears all objects from the set.
Definition: SetMeshComp.cc:120
std::set< int > getConstraintTags(void) const
Returns the tags de los constraints.
Definition: SetMeshComp.cc:395
Node * getNearestNode(const Pos3d &p)
Returns the node closest to the point being passed as parameter.
Definition: SetMeshComp.cc:368
constraint_iterator constraints_end(void)
Returns an iterator apuntando tras el final de la lista de constraints.
Definition: SetMeshComp.cc:223
bool InNodeTag(const int) const
Returns true if the node with the tag being passed as parameter, belongs to the set.
Definition: SetMeshComp.cc:355
Vector que almacena los dbTags de los miembros de la clase.
Definition: DbTagData.h:43
virtual int recvSelf(const CommParameters &)
Receives object through the channel being passed as parameter.
Definition: SetMeshComp.cc:537
void kill_elements(void)
Deactivates the elements.
Definition: SetMeshComp.cc:299
void CompletaHaciaArriba(void)
Appends to this set the objects that make reference to one or more of the objects that already are in...
Definition: SetMeshComp.cc:421
virtual DqPtrsElem & getElements(void)
Returns the elements container.
Definition: SetMeshComp.h:127
Constraint * buscaConstraint(const int &tag)
Returns, if it exists, a pointer to the constraint which tag is being passed as parameter.
Definition: SetMeshComp.cc:241
SVD3d getResistingSVD3d(const Plano3d &, const Pos3d &, const double &, const bool &) const
Return the resultant of the forces over the nodes near to the plane, of the elements behind the plane...
Definition: SetMeshComp.cc:312
void sel_nodes_from_list(const ID &)
Select the nodes identified by the tags being passed as parameters.
Definition: SetMeshComp.cc:428
Node * buscaNodo(const int &tag)
Returns (if it exists) a pointer to the node cuyo tag is being passed as parameter.
Definition: SetMeshComp.cc:195
size_t getNumberOfNodes(void) const
Returns the number of nodes.
Definition: SetMeshComp.h:102
Base class for model constraints.
Definition: Constraint.h:49
size_t getNumDeadElements(void) const
Returns the number of inactive elements.
Definition: SetMeshComp.cc:286
Mesh node.
Definition: Node.h:99
virtual const DqPtrsElem & getElements(void) const
Returns the element container.
Definition: SetMeshComp.h:124
void clearConstraints(void)
Clears out the constraints.
Definition: SetMeshComp.h:142
DqPtrsConstraint::iterator constraint_iterator
Iterator over the set de constraints.
Definition: SetMeshComp.h:75
std::set< int > getElementTags(void) const
Returns the tags de los elements.
Definition: SetMeshComp.cc:380
DqPtrsNode::const_iterator nod_const_iterator
Iterator over the node set.
Definition: SetMeshComp.h:67
void alive_elements(void)
Reactivates the elements.
Definition: SetMeshComp.cc:303
void extend_lists(const SetMeshComp &)
Appends to this set the objects from the set being passed as parameter.
Definition: SetMeshComp.cc:80
size_t getNumDeadNodes(void) const
Returns the number of inactive nodes.
Definition: SetMeshComp.cc:295
SetMeshComp(const std::string &nmb="", Preprocessor *preprocessor=nullptr)
Constructor.
Definition: SetMeshComp.cc:51
Base calass for the finite elements.
Definition: Element.h:104
bool InNodeTags(const ID &) const
Returns true if the nodes, with the tags being passed as parameter, belongs to the set...
Definition: SetMeshComp.cc:360
Finite element model generation tools.
Definition: Preprocessor.h:58
~SetMeshComp(void)
Destructor.
Definition: SetMeshComp.cc:519
DqPtrsConstraint::const_iterator constraint_const_iterator
Iterator over the set de constraints.
Definition: SetMeshComp.h:76
Element * findElement(const int &)
Returns (if it exists) a pointer to the node identified by the tag being passed as parameter...
Definition: SetMeshComp.cc:231
Constraint pointers deque.
Definition: DqPtrsConstraint.h:45
void sel_constraints_from_list(const ID &tags)
Selecciona las coacciones cuyos tags being passed as parameters.
Definition: SetMeshComp.cc:460
SetMeshComp & operator=(const SetMeshComp &otro)
Assignment operator.
Definition: SetMeshComp.cc:60
virtual const DqPtrsConstraint & GetConstraints(void) const
Return the constraints container.
Definition: SetMeshComp.h:136
virtual const DqPtrsNode & GetNodos(void) const
Return the node container.
Definition: SetMeshComp.h:107
void addElement(Element *ePtr)
Adds an element.
Definition: SetMeshComp.cc:133
Pointer to element container.
Definition: DqPtrsElem.h:45
bool In(const Node *) const
Returns true if the node belongs to the set.
Definition: SetMeshComp.cc:137
void clearAll(void)
Clears out the list of pointers and erases the properties of the object (if any). ...
Definition: DqPtrs.h:163
void appendFromGeomEntity(const SetBase &)
Appends to this set the objects the nodes and elements from the set being passed as parameter...
Definition: SetMeshComp.cc:89
void calc_resisting_force(void)
Calcula los esfuerzos en cada uno de los elements.
Definition: SetMeshComp.cc:307
Set of mesh components (nodes, elements and constraints).
Definition: SetMeshComp.h:58
void sel_elements_from_list(const ID &tags)
Selects the elements identified by the tags being passed as parameters.
Definition: SetMeshComp.cc:444
Contenedor de pointers to nodes.
Definition: DqPtrsNode.h:47
void fix(const SFreedom_Constraint &)
Applies the single freedom constraint being passed as parameter to the nodes.
Definition: SetMeshComp.cc:170
void numera(void)
Assigns index to each object in the set (nodes,elements,points...) to be able to use them in VTK...
Definition: SetMeshComp.cc:146
size_t getNumLiveElements(void) const
Returns the number of active elements.
Definition: SetMeshComp.cc:282
void mueve(const Vector3d &)
Moves the nodes.
Definition: SetMeshComp.cc:154
constraint_iterator constraints_begin(void)
Returns an iterator which points to principio de la lista de constraints.
Definition: SetMeshComp.cc:217
void clearNodos(void)
Clears out the nodes.
Definition: SetMeshComp.h:113
nod_const_iterator nodos_end(void) const
Returns an iterator that points to the past-the-end item in the node container.
Definition: SetMeshComp.cc:190
DbTagData & getDbTagData(void) const
Returns a vector para almacenar los dbTags de los miembros de la clase.
Definition: SetMeshComp.cc:488
virtual int sendSelf(CommParameters &)
Sends object through the channel being passed as parameter.
Definition: SetMeshComp.cc:523
nod_const_iterator nodos_begin(void) const
Returns an iterator that points to the first item of the node container.
Definition: SetMeshComp.cc:184
Single freedom constraint.
Definition: SFreedom_Constraint.h:79
int recvData(const CommParameters &)
Receives members through the channel being passed as parameter.
Definition: SetMeshComp.cc:505
void CompletaHaciaAbajo(void)
Appends to the set being passed as parameter the nodes that touch any of the elements of the set...
Definition: SetMeshComp.cc:406
Communication parameters between processes.
Definition: CommParameters.h:65
DqPtrsElem::iterator elem_iterator
Iterator over the element set.
Definition: SetMeshComp.h:70
int sendData(CommParameters &)
Send members through the channel being passed as parameter.
Definition: SetMeshComp.cc:495
================================================================================
Definition: ContinuaReprComponent.h:34
virtual void Transforma(const TrfGeom &trf)
Aplies the transformation to the positions of the nodes.
Definition: SetMeshComp.cc:158
void copia_listas(const SetMeshComp &)
Copy (into this set) the lists from the set being passed as parameter.
Definition: SetMeshComp.cc:68
virtual DqPtrsNode & GetNodos(void)
Return the nodes container.
Definition: SetMeshComp.h:110
static void numera_lista(L &l)
Set indices to the object to allow its use in VTK.
Definition: SetMeshComp.h:207
void clearAll(void)
Clears out the list of pointers and erases the properties of the object (if any). ...
Definition: DqPtrsNode.cc:98
void addNode(Node *nPtr)
Appends a node.
Definition: SetMeshComp.cc:129
std::set< int > getNodeTags(void) const
Returns node tags.
Definition: SetMeshComp.cc:364
Element * getNearestElement(const Pos3d &)
Returns the element closest to the point being passed as parameter.
Definition: SetMeshComp.cc:384
size_t getNumberOfElements(void) const
Returns the number of elements.
Definition: SetMeshComp.h:119
Base de las clases Set y SetEstruct.
Definition: SetBase.h:50
DqPtrsConstraint lst_ptr_constraints
Set of constraints.
Definition: SetMeshComp.h:74