32 #include <domain/mesh/element/Element1D.h> 69 ProtoTruss(
int tag,
int classTag,
int Nd1,
int Nd2,
int ndof,
int dimSpace);
73 virtual const Material *getMaterial(
void)
const= 0;
74 virtual Material *getMaterial(
void)= 0;
76 virtual double getRho(
void)
const= 0;
int recvData(const CommParameters &cp)
Receives members through the channel being passed as parameter.
Definition: ProtoTruss.cc:142
Base class for materials.
Definition: Material.h:85
void setup_matrix_vector_ptrs(int dofNd1)
Set the number of dof for element and set matrix and vector pointers.
Definition: ProtoTruss.cc:86
int sendData(CommParameters &cp)
Send members through the channel being passed as parameter.
Definition: ProtoTruss.cc:132
int getNumDOF(void) const
Returns the number of DOFs.
Definition: ProtoTruss.cc:69
ProtoTruss(int tag, int classTag, int Nd1, int Nd2, int ndof, int dimSpace)
Default constructor.
Definition: ProtoTruss.cc:47
Base class for one-dimensional elements (beam,truss,...)
Definition: Element1D.h:51
int dimSpace
truss in 2 or 3d domain
Definition: ProtoTruss.h:48
int getNumDIM(void) const
Return the dimension of the space on which the element is defined (2D or 3D).
Definition: ProtoTruss.cc:74
Base class for truss elements.
Definition: ProtoTruss.h:44
Matrix * theMatrix
pointer to objects matrix (a class wide Matrix)
Definition: ProtoTruss.h:49
ProtoTruss & operator=(const ProtoTruss &)
Assignment operator.
Definition: ProtoTruss.cc:58
Material & getMaterialRef(void)
Returns a reference to element's material.
Definition: ProtoTruss.cc:78
Communication parameters between processes.
Definition: CommParameters.h:65
Vector * theVector
pointer to objects vector (a class wide Vector)
Definition: ProtoTruss.h:50
================================================================================
Definition: ContinuaReprComponent.h:34
int numDOF
number of dof for truss
Definition: ProtoTruss.h:47