43template <
class T_N,
class T_DNDR,
class T_J,
class T_DNDX>
82 dNdr(local_dim, n_nodes),
83 J(local_dim, local_dim),
85 invJ(local_dim, local_dim),
86 dNdx(global_dim, n_nodes),
100 template <ShapeMatrixType T_SHAPE_MATRIX_TYPE>
107 void write(std::ostream& out)
const;
ShapeMatrixType
Shape matrix type to be calculated.
@ N_J
calculates N, dNdr, J, and detJ
@ DNDR_J
calculates dNdr, J, and detJ
@ DNDX
calculates dNdr, J, detJ, invJ, and dNdx
Coordinates mapping matrices at particular location.
ShapeMatrices(std::size_t local_dim, std::size_t global_dim, std::size_t n_nodes)
JacobianType invJ
Inverse matrix of the Jacobian.
ShapeType N
Vector of shape functions, N(r)
double detJ
Determinant of the Jacobian.
JacobianType J
Jacobian matrix, J=dx/dr.
EIGEN_MAKE_ALIGNED_OPERATOR_NEW
void write(std::ostream &out) const
void setZero()
reset all data with zero