37 #include "preprocessor/EntMdlrBase.h" 38 #include "preprocessor/MeshingParams.h" 39 #include "utility/matrix/Vector.h" 43 class SFreedom_Constraint;
56 inline virtual ~
SetBase(
void) {}
61 virtual void genMesh(meshing_dir dm);
64 virtual std::set<int> getNodeTags(
void)
const= 0;
65 virtual std::set<int> getElementTags(
void)
const= 0;
73 virtual bool In(
const Node *)
const= 0;
74 virtual bool remove(
Node *);
75 virtual bool In(
const Element *)
const= 0;
78 virtual bool In(
const Pnt *)
const;
79 virtual bool In(
const Edge *)
const;
80 virtual bool In(
const Face *)
const;
81 virtual bool In(
const Body *)
const;
90 virtual size_t getNumberOfNodes(
void)
const= 0;
91 virtual size_t getNumberOfElements(
void)
const= 0;
94 boost::python::dict
getPyDict(
void)
const;
95 void setPyDict(
const boost::python::dict &);
bool checkTributaries(void) const
Check if the interior nodes of the set have already a tributary area and warns the user about this ci...
Definition: SetBase.cc:284
Float vector abstraction.
Definition: Vector.h:94
void computeTributaryVolumes(bool initialGeometry=true) const
Computes the tributary volumes that correspond to each node of the element set.
Definition: SetBase.cc:384
Base class for one-dimensional geometry objects.
Definition: Edge.h:48
boost::python::list getNodeTagsPy(void) const
Returns the tags of the nodes in a Python list.
Definition: SetBase.cc:146
Finite element model generation tools.
Definition: Preprocessor.h:59
Base class of the preprocessor objects.
Definition: EntMdlrBase.h:46
void setColor(const Vector &)
Set the color of the object [red,green,blue] as integers from 0 to 255.
Definition: SetBase.cc:70
void setPyDict(const boost::python::dict &)
Set the values of the object members from a Python dictionary.
Definition: SetBase.cc:422
Vector of integers.
Definition: ID.h:95
const ID & getIdElementTags(void) const
Returns the tags of the elements en un vector de enteros.
Definition: SetBase.cc:130
virtual void createInertiaLoads(const Vector &)
Creates the inertia load that corresponds to the acceleration argument.
Definition: SetBase.cc:96
Base de las clases Set y SetEstruct.
Definition: SetBase.h:51
Base class for the finite elements.
Definition: Element.h:112
boost::python::list getElementTagsPy(void) const
Returns the tags of the elements in a Python list.
Definition: SetBase.cc:160
const Vector & getColor(void) const
Return the color of the object [red,green,blue] as integers from 0 to 255.
Definition: SetBase.cc:82
void computeTributaryAreas(bool initialGeometry=true) const
Computes the tributary areas that correspond to each node of the element set.
Definition: SetBase.cc:354
SetBase(const std::string &nmb="", Preprocessor *preprocessor=nullptr)
Constructor.
Definition: SetBase.cc:44
Single freedom constraint.
Definition: SFreedom_Constraint.h:85
void resetTributaries(void) const
Reset tributary areas (or lengths, or volumes) for the nodes that are connected to the set elements...
Definition: SetBase.cc:255
void computeTributaryLengths(bool initialGeometry=true) const
Computes the tributary lengths that correspond to each node of the element set.
Definition: SetBase.cc:324
Point (KPoint).
Definition: Pnt.h:50
bool interiorNode(const Node *) const
Returns true if the all the elements connected to the given node belong to the set.
Definition: SetBase.cc:175
void setColorComponents(const double &, const double &, const double &)
Set the color of the object (red,green,blue) as integers from 0 to 255.
Definition: SetBase.cc:65
const ID & getIdNodeTags(void) const
Returns the tags of the nodes en un vector de enteros.
Definition: SetBase.cc:114
Open source finite element program for structural analysis.
Definition: ContinuaReprComponent.h:35
virtual void genMesh(meshing_dir dm)
Generates a finite element mesh from the set components.
Definition: SetBase.cc:86
boost::python::dict getPyDict(void) const
Return a Python dictionary containing the object members values.
Definition: SetBase.cc:413
Six-faced solid.
Definition: Body.h:71
Base class for model constraints.
Definition: Constraint.h:48
Mesh node.
Definition: Node.h:111
virtual void fix(const SFreedom_Constraint &)
Impone desplazamiento nulo for all the nodes of this set.
Definition: SetBase.cc:105
virtual bool operator==(const SetBase &) const
Comparison operator.
Definition: SetBase.cc:49
Surface.
Definition: Face.h:45