33 #include "preprocessor/set_mgmt/SetMeshComp.h" 34 #include "preprocessor/set_mgmt/SetEntities.h" 39 class SFreedom_Constraint;
81 inline void setDescription(
const std::string &d)
83 const std::string &getDescription(
void)
const 87 bool empty(
void)
const;
92 bool In(
const Node *)
const;
133 bool In(
const Pnt *)
const;
148 bool In(
const Edge *)
const;
163 bool In(
const Face *)
const;
178 bool In(
const Body *)
const;
224 boost::python::dict
getPyDict(
void)
const;
225 void setPyDict(
const boost::python::dict &);
virtual SetEntities::lst_ptr_uniform_grids & getUniformGrids(void)
Return a reference to the UniformGrids container.
Definition: Set.h:186
virtual int sendSelf(Communicator &)
Sends object through the communicator argument.
Definition: Set.cc:731
virtual const lst_ptr_points & getPoints(void) const
Returns a const reference to the point container.
Definition: SetEntities.h:145
void setPyDict(const boost::python::dict &)
Set the values of the object members from a Python dictionary.
Definition: Set.cc:779
Set pickLinesInside(const std::string &, const GeomObj3d &, const double &tol=0.0)
Return a new set that contains the lines that lie insiof the geometric object.
Definition: Set.cc:496
virtual const SetEntities::lst_body_pointers & getBodies(void) const
Return a const reference to the body container.
Definition: Set.h:168
void setSurfaces(const lst_surface_ptrs &sfs)
Assigns the surface set.
Definition: SetEntities.h:190
virtual const lst_line_pointers & getLines(void) const
Return a const reference to the line container.
Definition: SetEntities.h:165
virtual const SetEntities::lst_ptr_points & getPoints(void) const
Returns a const reference to the points container.
Definition: Set.h:123
bool getUseGmsh(void) const
Get the value of the useGmsh member.
Definition: Set.cc:244
~Set(void)
Destructor.
Definition: Set.cc:55
Set getEntitiesSet(void) const
Return a set with the entities of this one.
Definition: Set.cc:324
Base class for one-dimensional geometry objects.
Definition: Edge.h:48
bool empty(void) const
Return true if the set is empty.
Definition: Set.cc:160
virtual const SetEntities::lst_ptr_uniform_grids & getUniformGrids(void) const
Return a const reference to the UniformGrids container.
Definition: Set.h:183
Set pickNodesInside(const std::string &, const GeomObj3d &, const double &tol=0.0)
Return a new set that contains the nodes that lie insiof the geometric object.
Definition: Set.cc:349
DbTagData & getDbTagData(void) const
Returns a vector to store the dbTags of the class members.
Definition: Set.cc:707
void genMesh(meshing_dir dm)
Triggers mesh generation from set components.
Definition: Set.cc:303
Communication parameters between processes.
Definition: Communicator.h:66
void setBodies(const lst_body_pointers &bds)
Assigns the bodies set.
Definition: SetEntities.h:205
Set pickEntitiesInside(const std::string &, const GeomObj3d &, const double &tol=0.0)
Return a new set that contains the entities that lie insiof the geometric object. ...
Definition: Set.cc:627
void extend(const SetEntities::lst_ptr_points &)
Extend this set with the points of the argument.
Definition: Set.cc:59
Finite element model generation tools.
Definition: Preprocessor.h:59
virtual int recvSelf(const Communicator &)
Receives object through the communicator argument.
Definition: Set.cc:747
void selBodiesFromListPy(const boost::python::list &)
Select the bodies identified by the given tags.
Definition: Set.cc:692
void setUseGmsh(const bool &)
Set the value of the useGmsh member.
Definition: Set.cc:240
void clearAll(void)
Clears all the objects of the set.
Definition: Set.cc:169
void sel_surfaces_from_list(const ID &)
Selects the surfaces with the identifiers being passed as parameter.
Definition: Set.cc:676
Vector that stores the dbTags of the class members.
Definition: DbTagData.h:44
Vector of integers.
Definition: ID.h:95
void sel_lines_from_list(const ID &)
Select the lines identified by the tags in the parameter.
Definition: Set.cc:666
std::string description
set description.
Definition: Set.h:65
int recvData(const Communicator &)
Receives members through the communicator argument.
Definition: Set.cc:722
boost::python::dict getPyDict(void) const
Return a Python dictionary with the object members values.
Definition: Set.cc:770
void setSurfaces(const SetEntities::lst_surface_ptrs &sfs)
Assigns the surface set.
Definition: Set.h:159
void sel_points_from_list(const ID &)
Select the points identified by the tags in the parameter.
Definition: Set.cc:654
void setPoints(const SetEntities::lst_ptr_points &pts)
Assigns the points set.
Definition: Set.h:129
Set & operator+(const Set &) const
Addition (union) operator.
Definition: Set.cc:122
Set pickElemsOfDimension(const std::string &, const size_t &)
Return a new set that contains the elements of the specified dimension.
Definition: Set.cc:445
Base class for the finite elements.
Definition: Element.h:112
Set pickPointsInside(const std::string &, const GeomObj3d &, const double &tol=0.0)
Return a new set that contains the points that lie insiof the geometric object.
Definition: Set.cc:459
Set & operator-(const Set &) const
Difference operator.
Definition: Set.cc:133
Set of mesh components (nodes, elements and constraints).
Definition: SetMeshComp.h:59
Base class for the two-dimensional geometric objects.
Definition: GeomObj2d.h:37
Set & operator*(const Set &) const
Intersection operator.
Definition: Set.cc:144
bool In(const Node *) const
Returns true if the node belongs to the set.
Definition: Set.cc:248
void selUgridsFromListPy(const boost::python::list &)
Select the ugrids identified by the given tags.
Definition: Set.cc:702
virtual const lst_body_pointers & getBodies(void) const
Return a const reference to the body container.
Definition: SetEntities.h:199
virtual const lst_surface_ptrs & getSurfaces(void) const
Returns a const reference to the surface container.
Definition: SetEntities.h:184
Container for preprocessor faces.
Definition: DqPtrsFaces.h:41
void Transform(const TrfGeom &trf)
Applies the transformation to the elements of the set.
Definition: Set.cc:193
Object set.
Definition: Set.h:57
void numerate(void)
Set indices for the set objects (nodes,elements,points...) to its use in VTK.
Definition: Set.cc:176
void selPointsFromListPy(const boost::python::list &)
Select the points identified by the given tags.
Definition: Set.cc:660
virtual const SetMeshComp & getMeshComp(void) const
Return a reference to the mesh components container.
Definition: Set.h:116
void setPoints(const lst_ptr_points &pts)
Assigns the points set.
Definition: SetEntities.h:151
void clear(void)
Clears the set.
Definition: Set.cc:153
Set & operator+=(const Set &)
Addition assignment operator.
Definition: Set.cc:89
"boundary" en tres dimensiones.
Definition: BND3d.h:34
void setBodies(const SetEntities::lst_body_pointers &bds)
Assigns the bodies set.
Definition: Set.h:174
virtual const SetEntities & getEntities(void) const
Return a reference to the entities container.
Definition: Set.h:110
Point (KPoint).
Definition: Pnt.h:50
void selLinesFromListPy(const boost::python::list &)
Select the lines identified by the given tags.
Definition: Set.cc:672
SetEntities entities
points, lines, surfaces, bodies, ...
Definition: Set.h:66
Set pickBodiesInside(const std::string &, const GeomObj3d &, const double &tol=0.0)
Return a new set that contains the bodies that lie insiof the geometric object.
Definition: Set.cc:570
virtual SetEntities::lst_body_pointers & getBodies(void)
Return a reference to the body container.
Definition: Set.h:171
virtual const SetEntities::lst_line_pointers & getLines(void) const
Return a const reference to the line container.
Definition: Set.h:138
virtual SetEntities & getEntities(void)
Return a reference to the entities container.
Definition: Set.h:113
BND3d Bnd(const double &) const
Return the set boundary.
Definition: Set.cc:598
Geometric transformation that can be applied to the components of a set.
Definition: TrfGeom.h:48
int sendData(Communicator &)
Send members through the communicator argument.
Definition: Set.cc:714
Posición en tres dimensiones.
Definition: Pos3d.h:44
Set pickElemsOfType(const std::string &, const std::string &)
Return a new set that contains the elements that match the type.
Definition: Set.cc:432
void setLines(const SetEntities::lst_line_pointers &lns)
Assigns the edge set.
Definition: Set.h:144
Set getMeshComponentsSet(void) const
Return a set with the mesh components of this one.
Definition: Set.cc:334
virtual SetMeshComp & getMeshComp(void)
Return a reference to the entities container.
Definition: Set.h:119
Open source finite element program for structural analysis.
Definition: ContinuaReprComponent.h:35
void selSurfacesFromListPy(const boost::python::list &)
Select the surfaces identified by the given tags.
Definition: Set.cc:682
Six-faced solid.
Definition: Body.h:71
Set & operator*=(const Set &)
*= operator (intersection).
Definition: Set.cc:109
virtual SetEntities::lst_line_pointers & getLines(void)
Return a reference to the line container.
Definition: Set.h:141
void conciliaNDivs(void)
Conciliate number of divisions of the lines shared by faces.
Definition: Set.cc:236
void sel_bodies_from_list(const ID &)
Selects the bodies with the identifiers being passed as parameter.
Definition: Set.cc:686
Base class for model constraints.
Definition: Constraint.h:48
void setLines(const lst_line_pointers &lns)
Assigns the edge set.
Definition: SetEntities.h:171
void fillDownwards(void)
Appends to the set being passed as parameter the elements that intervene on the definition of those e...
Definition: Set.cc:637
Mesh node.
Definition: Node.h:111
void fillUpwards(void)
Appends to this set the objects that make reference to one or more of the objects that already make p...
Definition: Set.cc:645
virtual SetEntities::lst_ptr_points & getPoints(void)
Return a reference to the the point container.
Definition: Set.h:126
Set(const std::string &nmb="", Preprocessor *preprocessor=nullptr)
Constructor.
Definition: Set.cc:51
Set & operator-=(const Set &)
-= operator.
Definition: Set.cc:99
Surface.
Definition: Face.h:45
virtual const lst_ptr_uniform_grids & getUniformGrids(void) const
Return a const reference to the UniformGrids container.
Definition: SetEntities.h:214
Set pickSurfacesInside(const std::string &, const GeomObj3d &, const double &tol=0.0)
Return a new set that contains the surfaces that lie insiof the geometric object. ...
Definition: Set.cc:533
virtual SetEntities::lst_surface_ptrs & getSurfaces(void)
Returns a reference to the surface container.
Definition: Set.h:156
Vector en tres dimensiones.
Definition: Vector3d.h:39
void sel_ugrids_from_list(const ID &)
Selects the ugrids with the identifiers being passed as parameter.
Definition: Set.cc:696
Object set.
Definition: SetEntities.h:77
Set pickElemsInside(const std::string &, const GeomObj3d &, const double &tol=0.0)
Return a new set that contains the elements that lie inside of the geometric object.
Definition: Set.cc:377
void create_copy(const std::string &, const Vector3d &v)
Creates a copy of the elements of the set and put them in another set with the name is being passed a...
Definition: Set.cc:215
void move(const Vector3d &)
Moves the objects of the set.
Definition: Set.cc:186
Set pickElemsCrossing(const std::string &, const GeomObj3d &, const double &tol=0.0)
Return a new set with the elements that cross (i.e.
Definition: Set.cc:405
Clase base para los objetos en tres dimensiones.
Definition: GeomObj3d.h:43
bool isCloserThan(const Node &, const double &) const
Return true if the distance to the given node is smaller than the given one.
Definition: Set.cc:255
virtual const SetEntities::lst_surface_ptrs & getSurfaces(void) const
Returns a const reference to the surface container.
Definition: Set.h:153