34 #include "DqPtrsKDTree.h" 35 #include "domain/mesh/element/utils/KDTreeElements.h" 36 #include "utility/geom/GeomObj.h" 58 explicit DqPtrsElem(
const std::deque<Element *> &ts);
59 explicit DqPtrsElem(
const std::set<const Element *> &ts);
67 std::set<int>
getTags(
void)
const;
76 std::deque<Polyline3d>
getContours(
const double &factor= 0.0)
const;
84 std::set<std::string>
getTypes(
void)
const;
Float vector abstraction.
Definition: Vector.h:94
std::set< std::string > getMaterialNames(void) const
Return the names of the materials.
Definition: DqPtrsElem.cc:518
void numerate(void)
Set indices to the objects to allow its use in VTK.
Definition: DqPtrsElem.cc:138
std::set< int > getTags(void) const
Returns the tags of the elements.
Definition: DqPtrsElem.cc:361
DqPtrsElem & operator=(const DqPtrsElem &)
Assignment operator.
Definition: DqPtrsElem.cc:61
Element * findElement(const int &)
Returns (if it exists) a pointer to the element identified by the tag being passed as parameter...
Definition: DqPtrsElem.cc:69
ElementalLoad * vector3dPointLoadGlobal(const Vector &, const Vector &)
Define an elemental concentrated load at position p with value v expressed in global coordinates...
Definition: DqPtrsElem.cc:266
boost::python::list createInertiaLoads(const Vector &)
Creates the inertia load that corresponds to the acceleration argument.
Definition: DqPtrsElem.cc:178
boost::python::list getDimensionsPy(void) const
Return the dimensions of the elements.
Definition: DqPtrsElem.cc:595
MeshEdges getEdgesContour(void) const
Returns edges that form the element set contour.
Definition: DqPtrsElem.cc:399
DqPtrsElem pickElemsOfDimension(const size_t &)
Return a container with the elements of the specified dimension.
Definition: DqPtrsElem.cc:669
std::set< size_t > getDimensions(void) const
Return the dimensions of the elements.
Definition: DqPtrsElem.cc:582
Polyline in a three-dimensional space.
Definition: Polyline3d.h:37
DqPtrsElem pickElemsCrossing(const GeomObj3d &, const double &tol=0.0)
Return a container with the elements that cross (i.e.
Definition: DqPtrsElem.cc:486
ElementalLoad * vector3dPointLoadLocal(const Vector &, const Vector &)
Define an elemental concentrated load at position p with value v expressed in local (element) coordin...
Definition: DqPtrsElem.cc:283
Base class for the finite elements.
Definition: Element.h:112
FiberSet operator+(const FiberSet &, const FiberSet &)
Return the union of both containers.
Definition: FiberSet.cc:65
Base class for one-dimensional elements (beam,truss,...)
Definition: Element1D.h:52
Base class for the two-dimensional geometric objects.
Definition: GeomObj2d.h:37
BND3d Bnd(const double &) const
Returns the boundary of the element set.
Definition: DqPtrsElem.cc:379
std::set< const Element * > getConstPtrSet(void) const
Returns the element pointers in a set.
Definition: DqPtrsElem.cc:370
void alive_elements(void)
Activates the elements.
Definition: DqPtrsElem.cc:337
ElementalLoad * vector2dPointLoadLocal(const Vector &, const Vector &)
Define an elemental concentrated load at position p with value v expressed in local (element) coordin...
Definition: DqPtrsElem.cc:249
Matrix getTotalMass(void) const
Return the total mass matrix.
Definition: DqPtrsElem.cc:297
double getAverageSize(bool initialGeometry=true) const
Return the average size of the elements.
Definition: DqPtrsElem.cc:149
Objet that can execute python scripts.
Definition: CommandEntity.h:40
bool isCloserThan(const Pos3d &, const double &) const
Return true if the distance to the given point is smaller than the given one.
Definition: DqPtrsElem.cc:608
std::set< std::string > getTypes(void) const
Return the types (class names) of the elements.
Definition: DqPtrsElem.cc:558
"boundary" en tres dimensiones.
Definition: BND3d.h:34
void calc_resisting_force(void)
Calcula los esfuerzos on each uno of the elements.
Definition: DqPtrsElem.cc:349
size_t getNumLiveElements(void) const
Returns the number of elements of the set which are active.
Definition: DqPtrsElem.cc:110
DqPtrsElem(CommandEntity *owr=nullptr)
Constructor.
Definition: DqPtrsElem.cc:42
void kill_elements(void)
Deactivates the elements.
Definition: DqPtrsElem.cc:325
boost::python::list getTypesPy(void) const
Return the types (class names) of the elements.
Definition: DqPtrsElem.cc:571
boost::python::list getMaterialNamesPy(void) const
Return the names of the materials in a python list.
Definition: DqPtrsElem.cc:548
boost::python::list getContoursNodeSequences(void) const
Returns the node sequences of the element set contour.
Definition: DqPtrsElem.cc:433
Container with a KDTree.
Definition: DqPtrsKDTree.h:48
double getTotalMassComponent(const int &) const
Return the total mass matrix component for the DOF argument.
Definition: DqPtrsElem.cc:312
Posición en tres dimensiones.
Definition: Pos3d.h:44
size_t getNumDeadElements(void) const
Returns the number of elements of the set which are inactive.
Definition: DqPtrsElem.cc:124
Open source finite element program for structural analysis.
Definition: ContinuaReprComponent.h:35
FiberSet operator-(const FiberSet &, const FiberSet &)
Return the fibers in a that are not in b.
Definition: FiberSet.cc:73
DqPtrsElem pickElemsOfMaterial(const std::string &)
Return a container with the elements whose material(s) name(s) contains the string.
Definition: DqPtrsElem.cc:533
Element edge container.
Definition: MeshEdges.h:49
Matrix of floats.
Definition: Matrix.h:111
Base class for loads over elements.
Definition: ElementalLoad.h:79
ElementalLoad * vector2dPointLoadGlobal(const Vector &, const Vector &)
Define an elemental concentrated load at position p with value v expressed in global coordinates...
Definition: DqPtrsElem.cc:232
std::deque< Polyline3d > getContours(const double &factor=0.0) const
Returns the element set contour.
Definition: DqPtrsElem.cc:421
Pointer to element container.
Definition: DqPtrsElem.h:52
DqPtrsElem pickElemsOfType(const std::string &)
Return a container with the elements whose class name contains the string.
Definition: DqPtrsElem.cc:651
DqPtrsElem pickElemsInside(const GeomObj3d &, const double &tol=0.0)
Return a container with the elements that lie inside the geometric object.
Definition: DqPtrsElem.cc:450
Clase base para los objetos en tres dimensiones.
Definition: GeomObj3d.h:43