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;
111 void checkDirection(
ID &dir)
const;
113 void setUp(
int Nd1,
int Nd2,
const Vector &x,
const Vector &y);
114 void setTran1d ( Etype e,
int n );
115 double computeCurrentStrain1d(
int mat,
const Vector& diff )
const;
120 static Matrix ZeroLengthM2;
121 static Matrix ZeroLengthM4;
122 static Matrix ZeroLengthM6;
123 static Matrix ZeroLengthM12;
124 static Vector ZeroLengthV2;
125 static Vector ZeroLengthV4;
126 static Vector ZeroLengthV6;
127 static Vector ZeroLengthV12;
147 inline void clearMaterials(
void)
148 { theMaterial1d.
clear(); }
149 void setMaterial(
const int &,
const std::string &);
150 void setMaterials(
const std::deque<int> &,
const std::vector<std::string> &);
152 {
return theMaterial1d; }
160 std::string getElementType(
void)
const;
175 void Print(std::ostream &s,
int flag =0);
const Matrix & getDamp(void) const
Return the element damping matrix.
Definition: ZeroLength.cpp:503
int commitState(void)
Commit state of element.
Definition: ZeroLength.cpp:357
Float vector abstraction.
Definition: Vector.h:93
A ZeroLengthElement is defined by two nodes with the same coordinate.
Definition: ZeroLengthMaterials.h:53
ZeroLength(void)
Default constructor:
Definition: ZeroLength.cpp:154
int sendData(CommParameters &)
Send members through the channel being passed as parameter.
Definition: ZeroLength.cpp:594
Definition: Response.h:71
void clear(void)
Free memory.
Definition: ZeroLengthMaterials.cc:72
const Matrix & getInitialStiff(void) const
Return initial stiffness matrix.
Definition: ZeroLength.cpp:465
const Vector & getResistingForceIncInertia(void) const
Return resisting force vector with inertia included.
Definition: ZeroLength.cpp:587
Base class for uniaxial materials.
Definition: UniaxialMaterial.h:92
int recvData(const CommParameters &)
Receives members through the channel being passed as parameter.
Definition: ZeroLength.cpp:606
Base class for materials.
Definition: Material.h:91
int getResponse(int responseID, Information &eleInformation)
Get response information for responseID.
Definition: ZeroLength.cpp:707
Vector of integers.
Definition: ID.h:93
int addInertiaLoadToUnbalance(const Vector &accel)
The element has no mass, so this operation has no effect and returns 0.
Definition: ZeroLength.cpp:557
Response * setResponse(const std::vector< std::string > &argv, Information &eleInformation)
Set response quantities as "force", "deformation", "material", or "stiff".
Definition: ZeroLength.cpp:678
Base class for the finite elements.
Definition: Element.h:109
Pointers to UniaxialMaterial container.
Definition: DqUniaxialMaterial.h:44
const Matrix & getMass(void) const
Return a zero mass matrix.
Definition: ZeroLength.cpp:537
int dimension
= 2 or 3 dimensions
Definition: Element0D.h:59
int sendSelf(CommParameters &)
Sends object through the channel being passed as parameter.
Definition: ZeroLength.cpp:620
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:247
void setDomain(Domain *theDomain)
Set the elemento domain.
Definition: ZeroLength.cpp:300
~ZeroLength(void)
Destructor: delete must be invoked on any objects created by the object and on the matertial object...
Definition: ZeroLength.cpp:236
int recvSelf(const CommParameters &)
Receives object through the channel being passed as parameter.
Definition: ZeroLength.cpp:635
int revertToStart(void)
Revert state of element to initial.
Definition: ZeroLength.cpp:381
Element * getCopy(void) const
Virtual constructor.
Definition: ZeroLength.cpp:230
const Matrix & getTangentStiff(void) const
Return tangent stiffness matrix for element.
Definition: ZeroLength.cpp:427
int addLoad(ElementalLoad *theLoad, double loadFactor)
The element has no loads, so this operation has no effect and returns 0.
Definition: ZeroLength.cpp:547
int update(void)
Updates the element state.
Definition: ZeroLength.cpp:385
Open source finite element program for structural analysis.
Definition: ContinuaReprComponent.h:34
Communication parameters between processes.
Definition: CommParameters.h:65
Matrix of floats.
Definition: Matrix.h:108
void Print(std::ostream &s, int flag=0)
Print information about element.
Definition: ZeroLength.cpp:650
const Vector & getResistingForce(void) const
Return resisting force vector.
Definition: ZeroLength.cpp:564
Base class for loads over elements.
Definition: ElementalLoad.h:77
Zero length element.
Definition: ZeroLength.h:99
Domain (mesh and boundary conditions) of the finite element model.
Definition: Domain.h:116
int revertToLastCommit(void)
Revert state of element to last commit.
Definition: ZeroLength.cpp:374
Element of dimension 0 (both nodes have the same position).
Definition: Element0D.h:43