32 #include "preprocessor/set_mgmt/SetMeshComp.h" 33 #include "preprocessor/set_mgmt/SetEntities.h" 38 class SFreedom_Constraint;
68 void create_copy(
const std::string &,
const Vector3d &v);
75 void mueve(
const Vector3d &);
79 inline void setDescription(
const std::string &d)
81 const std::string &getDescription(
void)
const 96 bool In(
const Pnt *)
const;
109 bool In(
const Edge *)
const;
122 bool In(
const Face *)
const;
134 bool In(
const Body *)
const;
145 BND3d
Bnd(
const double &)
const;
virtual SetEntities::lst_ptr_uniform_grids & getUniformGrids(void)
Return a reference to the UniformGrids container.
Definition: Set.h:141
void sel_surfaces_lst(const ID &)
Selects the surfaces with the identifiers being passed as parameter.
Definition: Set.cc:329
virtual const lst_ptr_points & getPoints(void) const
Returns a const reference to the point container.
Definition: SetEntities.h:117
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:230
void setSurfaces(const lst_surface_ptrs &sfs)
Assigns the surface set.
Definition: SetEntities.h:149
virtual const lst_line_pointers & getLines(void) const
Return a const reference to the line container.
Definition: SetEntities.h:130
virtual const SetEntities::lst_ptr_points & getPoints(void) const
Returns a const reference to the entities container.
Definition: Set.h:87
~Set(void)
Destructor.
Definition: Set.cc:358
Base class for one-dimensional geometry objects.
Definition: Edge.h:46
virtual const SetEntities::lst_ptr_uniform_grids & getUniformGrids(void) const
Return a const reference to the UniformGrids container.
Definition: Set.h:138
DbTagData & getDbTagData(void) const
Returns a vector to store the dbTags of the class members.
Definition: Set.cc:334
void genMesh(meshing_dir dm)
Triggers mesh generation from set components.
Definition: Set.cc:200
void sel_lines_list(const ID &)
Select the lines identified by the tags in the parameter.
Definition: Set.cc:325
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:292
virtual const lst_ptr_cuerpos & getBodies(void) const
Return a const reference to the body container.
Definition: SetEntities.h:156
void numera(void)
Set indices for the set objects (nodes,elements,points...) to its use in VTK.
Definition: Set.cc:132
Finite element model generation tools.
Definition: Preprocessor.h:58
void sel_points_lista(const ID &)
Select the points identified by the tags in the parameter.
Definition: Set.cc:319
void setBodies(const lst_ptr_cuerpos &bds)
Assigns the bodies set.
Definition: SetEntities.h:162
void clearAll(void)
Clears all the objects of the set.
Definition: Set.cc:125
Vector that stores the dbTags of the class members.
Definition: DbTagData.h:43
Vector of integers.
Definition: ID.h:93
int sendData(CommParameters &)
Send members through the channel being passed as parameter.
Definition: Set.cc:341
std::string description
set description.
Definition: Set.h:64
void setSurfaces(const SetEntities::lst_surface_ptrs &sfs)
Assigns the surface set.
Definition: Set.h:119
void setPoints(const SetEntities::lst_ptr_points &pts)
Assigns the points set.
Definition: Set.h:93
virtual const SetEntities::lst_ptr_cuerpos & getBodies(void) const
Return a const reference to the body container.
Definition: Set.h:126
Set & operator+(const Set &) const
Addition (union) operator.
Definition: Set.cc:87
virtual int recvSelf(const CommParameters &)
Receives object through the channel being passed as parameter.
Definition: Set.cc:376
virtual int sendSelf(CommParameters &)
Sends object through the channel being passed as parameter.
Definition: Set.cc:362
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:213
Set & operator-(const Set &) const
Difference operator.
Definition: Set.cc:98
Set of mesh components (nodes, elements and constraints).
Definition: SetMeshComp.h:58
Set & operator*(const Set &) const
Intersection operator.
Definition: Set.cc:109
virtual const lst_surface_ptrs & getSurfaces(void) const
Returns a const reference to the surface container.
Definition: SetEntities.h:143
Object set.
Definition: Set.h:56
void setBodies(const SetEntities::lst_ptr_cuerpos &bds)
Assigns the bodies set.
Definition: Set.h:132
void setPoints(const lst_ptr_points &pts)
Assigns the points set.
Definition: SetEntities.h:123
void clear(void)
Clears the set.
Definition: Set.cc:118
Set & operator+=(const Set &)
Addition assignment operator.
Definition: Set.cc:57
virtual SetEntities::lst_ptr_cuerpos & getBodies(void)
Return a reference to the body container.
Definition: Set.h:129
int recvData(const CommParameters &)
Receives members through the channel being passed as parameter.
Definition: Set.cc:349
Point (KPoint).
Definition: Pnt.h:49
SetEntities entities
points, lines, surfaces, bodies, ...
Definition: Set.h:65
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:264
virtual const SetEntities::lst_line_pointers & getLines(void) const
Return a const reference to the line container.
Definition: Set.h:100
BND3d Bnd(const double &) const
Return the set boundary.
Definition: Set.cc:279
void mueve(const Vector3d &)
Moves the objects of the set.
Definition: Set.cc:142
Geometric transformation that can be applied to the components of a set.
Definition: TrfGeom.h:49
bool In(const Pnt *) const
Returns true if the point belongs to the set.
Definition: Set.cc:204
void setLines(const SetEntities::lst_line_pointers &lns)
Assigns the edge set.
Definition: Set.h:106
Open source finite element program for structural analysis.
Definition: ContinuaReprComponent.h:34
Communication parameters between processes.
Definition: CommParameters.h:65
Six-faced solid.
Definition: Body.h:64
Set & operator*=(const Set &)
*= operator (intersection).
Definition: Set.cc:75
virtual SetEntities::lst_line_pointers & getLines(void)
Return a reference to the line container.
Definition: Set.h:103
void Transforma(const TrfGeom &trf)
Applies the transformation to the elements of the set.
Definition: Set.cc:149
void setLines(const lst_line_pointers &lns)
Assigns the edge set.
Definition: SetEntities.h:136
void fillDownwards(void)
Appends to the set being passed as parameter the elements that intervene on the definition of those e...
Definition: Set.cc:302
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:310
virtual SetEntities::lst_ptr_points & getPoints(void)
Return a reference to the the point container.
Definition: Set.h:90
Set(const std::string &nmb="", Preprocessor *preprocessor=nullptr)
Constructor.
Definition: Set.cc:50
Set & operator-=(const Set &)
-= operator.
Definition: Set.cc:66
Surface.
Definition: Face.h:41
virtual const lst_ptr_uniform_grids & getUniformGrids(void) const
Return a const reference to the UniformGrids container.
Definition: SetEntities.h:168
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:247
virtual SetEntities::lst_surface_ptrs & getSurfaces(void)
Returns a reference to the surface container.
Definition: Set.h:116
Object set.
Definition: SetEntities.h:63
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:179
virtual const SetEntities::lst_surface_ptrs & getSurfaces(void) const
Returns a const reference to the surface container.
Definition: Set.h:113