69 #include <domain/mesh/element/Element0D.h> 70 #include "material/uniaxial/ZeroLengthMaterials.h" 71 #include <utility/matrix/Matrix.h> 72 #include <material/uniaxial/DqUniaxialMaterial.h> 77 enum Etype { D1N2, D2N4, D2N6, D3N6, D3N12 };
83 class UniaxialMaterial;
101 void checkDirection(
ID &dir)
const;
103 void setUp(
int Nd1,
int Nd2,
const Vector &x,
const Vector &y);
104 void setTran1d ( Etype e,
int n );
105 double computeCurrentStrain1d(
int mat,
const Vector& diff )
const;
110 static Matrix ZeroLengthM2;
111 static Matrix ZeroLengthM4;
112 static Matrix ZeroLengthM6;
113 static Matrix ZeroLengthM12;
114 static Vector ZeroLengthV2;
115 static Vector ZeroLengthV4;
116 static Vector ZeroLengthV6;
117 static Vector ZeroLengthV12;
137 inline void clearMaterials(
void)
138 { theMaterial1d.clear(); }
139 void setMaterial(
const int &,
const std::string &);
140 void setMaterials(
const std::deque<int> &,
const std::vector<std::string> &);
142 {
return theMaterial1d; }
145 int revertToLastCommit(
void);
146 int revertToStart(
void);
150 std::string getElementType(
void)
const;
151 const Matrix &getTangentStiff(
void)
const;
152 const Matrix &getInitialStiff(
void)
const;
157 int addInertiaLoadToUnbalance(
const Vector &accel);
159 const Vector &getResistingForce(
void)
const;
165 void Print(std::ostream &s,
int flag =0);
168 int getResponse(
int responseID,
Information &eleInformation);
int commitState(void)
Consuma el estado of the element.
Definition: ZeroLength.cpp:305
const Matrix & getDamp(void) const
Returns the matriz de amortiguamiento.
Definition: ZeroLength.cpp:437
void setUpType(const size_t &)
Sets the element type and matrix dimensions from element dimension and the number of DOF of the conne...
Definition: ZeroLength.cpp:204
const Matrix & getMass(void) const
Returns the mass matrix.
Definition: ZeroLength.cpp:471
Base class for materials.
Definition: Material.h:85
~ZeroLength(void)
Destructor: delete must be invoked on any objects created by the object and on the matertial object...
Definition: ZeroLength.cpp:193
Domain (mesh and boundary conditions) of the finite element model.
Definition: Domain.h:98
int dimension
= 2 or 3 dimensions
Definition: Element0D.h:61
int recvSelf(const CommParameters &)
Receives object through the channel being passed as parameter.
Definition: ZeroLength.cpp:562
Zero length material.
Definition: ZeroLength.h:89
int recvData(const CommParameters &)
Receives members through the channel being passed as parameter.
Definition: ZeroLength.cpp:534
A ZeroLengthElement is defined by two nodes with the same coordinate. One or more material objects ma...
Definition: ZeroLengthMaterials.h:47
Base calass for the finite elements.
Definition: Element.h:104
Base class for loads over elements.
Definition: ElementalLoad.h:73
Element of dimension 0 (both nodes have the same position).
Definition: Element0D.h:45
void setDomain(Domain *theDomain)
Sets the domain for the element.
Definition: ZeroLength.cpp:255
Contenedor de pointers to UniaxialMaterial.
Definition: DqUniaxialMaterial.h:44
Element * getCopy(void) const
Virtual constructor.
Definition: ZeroLength.cpp:187
int update(void)
Actualiza el estado of the element.
Definition: ZeroLength.cpp:327
int sendData(CommParameters &)
Send members through the channel being passed as parameter.
Definition: ZeroLength.cpp:522
void Print(std::ostream &s, int flag=0)
Imprime el objeto.
Definition: ZeroLength.cpp:576
const Vector & getResistingForceIncInertia(void) const
Returns the action of the element over its attached nodes. Computes damping matrix.
Definition: ZeroLength.cpp:515
Communication parameters between processes.
Definition: CommParameters.h:65
int sendSelf(CommParameters &)
Sends object through the channel being passed as parameter.
Definition: ZeroLength.cpp:548
================================================================================
Definition: ContinuaReprComponent.h:34
Definition: Response.h:71
Base class for uniaxial materials.
Definition: UniaxialMaterial.h:88