34 #include "DqPtrsKDTree.h" 35 #include "domain/mesh/element/utils/KDTreeElements.h" 36 #include "utility/geom/GeomObj.h" 57 explicit DqPtrsElem(
const std::deque<Element *> &ts);
58 explicit DqPtrsElem(
const std::set<const Element *> &ts);
66 std::set<int>
getTags(
void)
const;
74 std::deque<Polyline3d>
getContours(
const double &factor= 0.0)
const;
81 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:473
void numerate(void)
Set indices to the objects to allow its use in VTK.
Definition: DqPtrsElem.cc:136
std::set< int > getTags(void) const
Returns the tags of the elements.
Definition: DqPtrsElem.cc:341
Base class for position lists.
Definition: PolyPos.h:35
DqPtrsElem & operator=(const DqPtrsElem &)
Assignment operator.
Definition: DqPtrsElem.cc:59
Element * findElement(const int &)
Returns (if it exists) a pointer to the element identified by the tag being passed as parameter...
Definition: DqPtrsElem.cc:67
boost::python::list getDimensionsPy(void) const
Return the dimensions of the elements.
Definition: DqPtrsElem.cc:550
DqPtrsElem pickElemsOfDimension(const size_t &)
Return a container with the elements of the specified dimension.
Definition: DqPtrsElem.cc:624
std::set< size_t > getDimensions(void) const
Return the dimensions of the elements.
Definition: DqPtrsElem.cc:537
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:441
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
void createInertiaLoads(const Vector &)
Creates the inertia load that corresponds to the acceleration argument.
Definition: DqPtrsElem.cc:176
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:359
std::set< const Element * > getConstPtrSet(void) const
Returns the element pointers in a set.
Definition: DqPtrsElem.cc:350
void alive_elements(void)
Activates the elements.
Definition: DqPtrsElem.cc:317
void vector3dPointLoadGlobal(const Vector &, const Vector &)
Define an elemental concentrated load at position p with value v expressed in global coordinates...
Definition: DqPtrsElem.cc:250
Matrix getTotalMass(void) const
Return the total mass matrix.
Definition: DqPtrsElem.cc:277
double getAverageSize(bool initialGeometry=true) const
Return the average size of the elements.
Definition: DqPtrsElem.cc:147
void vector3dPointLoadLocal(const Vector &, const Vector &)
Define an elemental concentrated load at position p with value v expressed in local (element) coordin...
Definition: DqPtrsElem.cc:265
void vector2dPointLoadGlobal(const Vector &, const Vector &)
Define an elemental concentrated load at position p with value v expressed in global coordinates...
Definition: DqPtrsElem.cc:220
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:563
std::set< std::string > getTypes(void) const
Return the types (class names) of the elements.
Definition: DqPtrsElem.cc:513
void vector2dPointLoadLocal(const Vector &, const Vector &)
Define an elemental concentrated load at position p with value v expressed in local (element) coordin...
Definition: DqPtrsElem.cc:235
"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:329
size_t getNumLiveElements(void) const
Returns the number of elements of the set which are active.
Definition: DqPtrsElem.cc:108
DqPtrsElem(CommandEntity *owr=nullptr)
Constructor.
Definition: DqPtrsElem.cc:40
void kill_elements(void)
Deactivates the elements.
Definition: DqPtrsElem.cc:305
boost::python::list getTypesPy(void) const
Return the types (class names) of the elements.
Definition: DqPtrsElem.cc:526
boost::python::list getMaterialNamesPy(void) const
Return the names of the materials in a python list.
Definition: DqPtrsElem.cc:503
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:292
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:122
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:488
Matrix of floats.
Definition: Matrix.h:111
std::deque< Polyline3d > getContours(const double &factor=0.0) const
Returns the element set contour.
Definition: DqPtrsElem.cc:379
Pointer to element container.
Definition: DqPtrsElem.h:51
DqPtrsElem pickElemsOfType(const std::string &)
Return a container with the elements whose class name contains the string.
Definition: DqPtrsElem.cc:606
DqPtrsElem pickElemsInside(const GeomObj3d &, const double &tol=0.0)
Return a container with the elements that lie inside the geometric object.
Definition: DqPtrsElem.cc:405
Clase base para los objetos en tres dimensiones.
Definition: GeomObj3d.h:43