24 const std::size_t n = mat.rows() * mat.cols();
26 for (std::size_t i = 0; i < n; i++)
36 const std::size_t n = vec.size();
38 for (std::size_t i = 0; i < n; i++)
48template <ShapeMatrixType FIELD_TYPE>
53template <
class T_N,
class T_DNDR,
class T_J,
class T_DNDX>
60template <
class T_N,
class T_DNDR,
class T_J,
class T_DNDX>
67template <
class T_N,
class T_DNDR,
class T_J,
class T_DNDX>
77template <
class T_N,
class T_DNDR,
class T_J,
class T_DNDX>
85template <
class T_N,
class T_DNDR,
class T_J,
class T_DNDX>
94template <
class T_N,
class T_DNDR,
class T_J,
class T_DNDX>
104template <
class T_N,
class T_DNDR,
class T_J,
class T_DNDX>
110template <
class T_N,
class T_DNDR,
class T_J,
class T_DNDX>
111template <ShapeMatrixType T_SHAPE_MATRIX_TYPE>
117template <
class T_N,
class T_DNDR,
class T_J,
class T_DNDX>
120 out <<
"N :\n" <<
N <<
"\n";
121 out <<
"dNdr:\n" << dNdr <<
"\n";
122 out <<
"J :\n" << J <<
"\n";
123 out <<
"|J| : " << detJ <<
"\n";
124 out <<
"invJ:\n" << invJ <<
"\n";
125 out <<
"dNdx:\n" << dNdx <<
"\n";
128template <
class T_N,
class T_DNDR,
class T_J,
class T_DNDX>
void setMatrixZero(T &mat)
void setVectorZero(T &vec)
void setZero(ShapeMatrices< T_N, T_DNDR, T_J, T_DNDX > &shape, ShapeDataFieldType< ShapeMatrixType::N >)
std::ostream & operator<<(std::ostream &os, LocalToGlobalIndexMap const &map)
Coordinates mapping matrices at particular location.
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.
void write(std::ostream &out) const
void setZero()
reset all data with zero