59 #ifndef UpdatedLagrangianElement2D 60 #define UpdatedLagrangianElement2D 64 #include <domain/mesh/node/Node.h> 65 #include <utility/matrix/Matrix.h> 66 #include <utility/matrix/Vector.h> 67 #include <domain/mesh/element/Element1D.h> 81 mutable double sn,
cs;
85 const Node *end1Ptr(
void)
const;
87 const Node *end2Ptr(
void)
const;
88 double L_hist, cs_hist, sn_hist;
93 int nodeRecord, dofRecord;
112 static Vector end1IncrDisp;
113 static Vector end2IncrDisp;
115 virtual void getLocalStiff(
Matrix &K)
const=0;
116 virtual void getLocalMass(
Matrix &M)
const=0;
119 void getIncrLocalDisp(
Vector &localDisp)
const;
120 void getTrialNaturalDisp(
Vector &localDisp);
121 void getIncrNaturalDisp(
Vector &nDisp)
const;
122 void getConvLocalDisp(
Vector &lDisp);
123 void getTrialLocalDisp(
Vector &lDisp)
const;
124 void getTrialLocalForce(
Vector &force)
const;
128 void addInternalGeomStiff(
Matrix &K)
const;
129 void addExternalGeomStiff(
Matrix &K)
const;
131 void transformToGlobal(
Matrix &K)
const;
145 int getNumDOF(
void)
const;
149 virtual int revertToLastCommit(
void);
153 virtual const Matrix &getTangentStiff(
void)
const;
154 virtual const Matrix &getInitialStiff(
void)
const;
158 virtual Vector &getUVLoadVector(
double q1,
double q2);
162 int addInertiaLoadToUnbalance(
const Vector &accel)
165 virtual const Vector &getResistingForce(
void)
const;
168 virtual Response *setResponse(
const std::vector<std::string> &argv,
170 virtual int getResponse(
int responseID,
Information &eleInformation);
175 #endif // !defined(UpdatedLagrangianElement2D) virtual int commitState(void)
Consuma el estado of the element.
Definition: UpdatedLagrangianBeam2D.cpp:169
Vector load
vector for applying loads
Definition: Element.h:129
virtual int update(void)
Actualiza el estado of the element.
Definition: UpdatedLagrangianBeam2D.cpp:163
Domain (mesh and boundary conditions) of the finite element model.
Definition: Domain.h:98
virtual const Matrix & getMass(void) const
Returns the mass matrix.
Definition: UpdatedLagrangianBeam2D.cpp:383
Mesh node.
Definition: Node.h:99
Lagrangian 2D beam element.
Definition: UpdatedLagrangianBeam2D.h:75
Base class for loads over elements.
Definition: ElementalLoad.h:73
Base class for one-dimensional elements (beam,truss,...)
Definition: Element1D.h:51
virtual void updateState(void) const
Updates the values of element length and direction.
Definition: UpdatedLagrangianBeam2D.cpp:204
double cs
Element direction.
Definition: UpdatedLagrangianBeam2D.h:81
virtual void setDomain(Domain *theDomain)
Sets the domain for the element.
Definition: UpdatedLagrangianBeam2D.cpp:118
double L
Element length.
Definition: UpdatedLagrangianBeam2D.h:80
const Vector & getResistingForceIncInertia(void) const
Returns the action of the element over its attached nodes. Computes damping matrix.
Definition: UpdatedLagrangianBeam2D.cpp:538
================================================================================
Definition: ContinuaReprComponent.h:34
Definition: Response.h:71