16 #ifndef SURGSIM_PHYSICS_FEMELEMENT_H 17 #define SURGSIM_PHYSICS_FEMELEMENT_H 57 size_t getNumDofPerNode()
const;
61 size_t getNumNodes()
const;
65 size_t getNodeId(
size_t elementNodeId)
const;
69 const std::vector<size_t>& getNodeIds()
const;
73 void setYoungModulus(
double E);
76 double getYoungModulus()
const;
80 void setPoissonRatio(
double nu);
83 double getPoissonRatio()
const;
87 void setMassDensity(
double rho);
90 double getMassDensity()
const;
129 double scale = 1.0) = 0;
140 double scale = 1.0) = 0;
202 void setNumDofPerNode(
size_t numDofPerNode);
224 #endif // SURGSIM_PHYSICS_FEMELEMENT_H Definition: DriveElementFromInputBehavior.cpp:27
size_t m_numDofPerNode
Number of degree of freedom per node for this element.
Definition: FemElement.h:205
Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic > Matrix
A dynamic size matrix.
Definition: Matrix.h:65
double m_nu
Poisson ratio (unitless)
Definition: FemElement.h:217
OdeState defines the state y of an ode of 2nd order of the form M(x,v).a = F(x, v) with boundary cond...
Definition: OdeState.h:34
Base class for all Fem Element (1D, 2D, 3D) It handles the node ids to which it is connected and requ...
Definition: FemElement.h:42
double m_rho
Mass density (in Kg.m-3)
Definition: FemElement.h:211
Eigen::Matrix< double, Eigen::Dynamic, 1 > Vector
A dynamic size column vector.
Definition: Vector.h:67
double m_E
Young modulus (in N.m-2)
Definition: FemElement.h:214
Definitions of small fixed-size square matrix types.
Definitions of small fixed-size vector types.
std::vector< size_t > m_nodeIds
Node ids connected by this element.
Definition: FemElement.h:208