32 #include <domain/mesh/element/ElementBase.h> 43 class DeformationPlane;
55 mutable std::vector<double> tributaryLengths;
68 Element1D(
int tag,
int classTag,
int Nd1,
int Nd2);
78 double getDist2(
const Pos2d &p,
bool initialGeometry=
true)
const;
79 double getDist(
const Pos2d &p,
bool initialGeometry=
true)
const;
80 double getDist2(
const Pos3d &p,
bool initialGeometry=
true)
const;
81 double getDist(
const Pos3d &p,
bool initialGeometry=
true)
const;
89 void vector2dUniformLoadGlobal(
const Vector &);
90 void vector2dUniformLoadLocal(
const Vector &);
91 void vector2dPointByRelDistLoadGlobal(
const double &,
const Vector &);
92 void vector2dPointByRelDistLoadLocal(
const double &,
const Vector &);
93 void vector2dPointLoadGlobal(
const Vector &,
const Vector &);
94 void vector2dPointLoadLocal(
const Vector &,
const Vector &);
95 void vector3dUniformLoadGlobal(
const Vector &);
96 void vector3dUniformLoadLocal(
const Vector &);
97 void vector3dPointByRelDistLoadGlobal(
const double &,
const Vector &);
98 void vector3dPointByRelDistLoadLocal(
const double &,
const Vector &);
99 void vector3dPointLoadGlobal(
const Vector &,
const Vector &);
100 void vector3dPointLoadLocal(
const Vector &,
const Vector &);
Segment3d getLineSegment(bool initialGeometry=true) const
Return the segment defined by the element.
Definition: Element1D.cc:583
Float vector abstraction.
Definition: Vector.h:93
void setDomain(Domain *theDomain)
Sets the domain for the element.
Definition: Element1D.cc:473
double getDist(const Pos2d &p, bool initialGeometry=true) const
Return the the distance from the element to the point being passed as parameter.
Definition: Element1D.cc:598
CrdTransf provides the abstraction of a frame coordinate transformation.
Definition: CrdTransf.h:87
virtual CrdTransf * getCoordTransf(void)
Returns (if possible) a pointer to the coordinate transformation.
Definition: Element1D.cc:479
virtual CrdTransf * checkCoordTransf(void)
Returns (and checks that it exists) a const pointer to the coordinate transformation.
Definition: Element1D.cc:487
double getTributaryLength(const Node *) const
Return the tributary length corresponding to the node being passed as parameter.
Definition: Element1D.cc:716
Three-dimensional array of pointers to elements.
Definition: ElemPtrArray3d.h:43
size_t getDimension(void) const
Return the element dimension (0, 1, 2 or 3).
Definition: Element1D.cc:313
Matrix getLocalAxes(bool) const
Returs a matrix with the axes of the element as matrix rows [[x1,y1,z1],[x2,y2,z2],...·].
Definition: Element1D.cc:511
Base class for one-dimensional elements (beam,truss,...)
Definition: Element1D.h:51
virtual const Vector & getCooPoint(const double &xrel) const
Return the point that correspond to the relative coordinate 0<=xrel<=1.
Definition: Element1D.cc:562
Base class for 2D coordinate transformation.
Definition: CrdTransf2d.h:77
ElemPtrArray3d put_on_mesh(const NodePtrArray3d &, meshing_dir dm) const
Places the element on the mesh.
Definition: Element1D.cc:380
double getDist2(const Pos2d &p, bool initialGeometry=true) const
Return the squared distance from the element to the point que is being passed as parameter.
Definition: Element1D.cc:593
Element1D(int tag, int classTag)
Constructor.
Definition: Element1D.cc:55
virtual void computeTributaryLengths(bool initialGeometry=true) const
Calcula the tributary lengths that corresponds to each node of the element.
Definition: Element1D.cc:706
CrdTransf2d * recvCoordTransf2d(int posFlag, const int &, const int &, const CommParameters &)
Recibe una coordinate transformation 2d through the channel being passed as parameter.
Definition: Element1D.cc:662
virtual const Matrix & getCooPoints(const size_t &ndiv) const
Return points distributed between the nodes as a matrix with the coordinates as rows.
Definition: Element1D.cc:537
structured set, i.
Definition: SetEstruct.h:45
Three-dimensional array of pointers to nodes.
Definition: NodePtrArray3d.h:50
Open source finite element program for structural analysis.
Definition: ContinuaReprComponent.h:34
Base class for finite element with pointer to nodes container.
Definition: ElementBase.h:46
Communication parameters between processes.
Definition: CommParameters.h:65
Matrix of floats.
Definition: Matrix.h:108
CrdTransf * recvCoordTransf(int posFlag, const int &, const int &, const CommParameters &)
Recibe la coordinate transformation through the channel being passed as parameter.
Definition: Element1D.cc:635
Domain (mesh and boundary conditions) of the finite element model.
Definition: Domain.h:116
int getVtkCellType(void) const
Interfaz con VTK.
Definition: Element1D.cc:701
Mesh node.
Definition: Node.h:110
int sendCoordTransf(int posFlag, const int &, const int &, CommParameters &)
Envía la coordinate transformation through the channel being passed as parameter. ...
Definition: Element1D.cc:618
Base class for 3D coordinate transformation.
Definition: CrdTransf3d.h:80
CrdTransf3d * recvCoordTransf3d(int posFlag, const int &, const int &, const CommParameters &)
Recibe una coordinate transformation 3d through the channel being passed as parameter.
Definition: Element1D.cc:681