![]() |
OGS
|
Coordinates mapping matrices at particular location.
| T_N | Vector type for shape functions |
| T_DNDR | Matrix type for gradient of shape functions in natural coordinates |
| T_J | Jacobian matrix type |
| T_DNDX | Matrix type for gradient of shape functions in physical coordinates |
Definition at line 44 of file ShapeMatrices.h.
#include <ShapeMatrices.h>
Public Types | |
| using | ShapeType = T_N |
| using | DrShapeType = T_DNDR |
| using | JacobianType = T_J |
| using | DxShapeType = T_DNDX |
Public Member Functions | |
| ShapeMatrices ()=delete | |
| ShapeMatrices (std::size_t local_dim, std::size_t global_dim, std::size_t n_nodes) | |
| void | setZero () |
| reset all data with zero | |
| template<ShapeMatrixType T_SHAPE_MATRIX_TYPE> | |
| void | setZero () |
| void | write (std::ostream &out) const |
Public Attributes | |
| ShapeType | N |
| Vector of shape functions, N(r) | |
| DrShapeType | dNdr |
| JacobianType | J |
| Jacobian matrix, J=dx/dr. | |
| double | detJ |
| Determinant of the Jacobian. | |
| JacobianType | invJ |
| Inverse matrix of the Jacobian. | |
| DxShapeType | dNdx |
| double | integralMeasure |
| EIGEN_MAKE_ALIGNED_OPERATOR_NEW | |
| using NumLib::ShapeMatrices< T_N, T_DNDR, T_J, T_DNDX >::DrShapeType = T_DNDR |
Definition at line 47 of file ShapeMatrices.h.
| using NumLib::ShapeMatrices< T_N, T_DNDR, T_J, T_DNDX >::DxShapeType = T_DNDX |
Definition at line 49 of file ShapeMatrices.h.
| using NumLib::ShapeMatrices< T_N, T_DNDR, T_J, T_DNDX >::JacobianType = T_J |
Definition at line 48 of file ShapeMatrices.h.
| using NumLib::ShapeMatrices< T_N, T_DNDR, T_J, T_DNDX >::ShapeType = T_N |
Definition at line 46 of file ShapeMatrices.h.
|
delete |
Not default constructible, dimensions always must be given.
The default constructor has been deleted explicitly, because with dynamically allocated matrices it is rather easy to forget the required resize() call. Note: the resize() member is also deleted now.
|
inline |
Initialize matrices and vectors
| local_dim | Spatial dimension of the element e.g. 1 for line, 2 for quad, and 3 hex etc. |
| global_dim | Spatial dimension of the element's exterior space e.g. 3 for a quad representing a boundary of a hex element. |
| n_nodes | The number of element nodes |
Definition at line 79 of file ShapeMatrices.h.
|
inline |
reset all data with zero
Definition at line 105 of file ShapeMatrices-impl.h.
References NumLib::detail::setZero().
Referenced by NumLib::ShapeMatrices< NodalRowVectorType, DimNodalMatrixType, DimMatrixType, GlobalDimNodalMatrixType >::ShapeMatrices().
|
inline |
reset specified data with zero
| T_SHAPE_MATRIX_TYPE | shape matrix types to be initialized |
Definition at line 112 of file ShapeMatrices-impl.h.
References NumLib::detail::setZero().
| void NumLib::ShapeMatrices< T_N, T_DNDR, T_J, T_DNDX >::write | ( | std::ostream & | out | ) | const |
writes the matrix entries into the output stream
| out | the output stream |
Definition at line 118 of file ShapeMatrices-impl.h.
References detJ, dNdr, dNdx, invJ, J, and N.
Referenced by NumLib::operator<<().
| double NumLib::ShapeMatrices< T_N, T_DNDR, T_J, T_DNDX >::detJ |
Determinant of the Jacobian.
Definition at line 55 of file ShapeMatrices.h.
Referenced by NumLib::detail::setZero(), and write().
| DrShapeType NumLib::ShapeMatrices< T_N, T_DNDR, T_J, T_DNDX >::dNdr |
Matrix of gradient of shape functions in natural coordinates, dN(r)/dr
Definition at line 52 of file ShapeMatrices.h.
Referenced by NumLib::detail::setZero(), and write().
| DxShapeType NumLib::ShapeMatrices< T_N, T_DNDR, T_J, T_DNDX >::dNdx |
Matrix of gradient of shape functions in physical coordinates, dN(r)/dx
Definition at line 57 of file ShapeMatrices.h.
Referenced by NumLib::detail::setZero(), and write().
| NumLib::ShapeMatrices< T_N, T_DNDR, T_J, T_DNDX >::EIGEN_MAKE_ALIGNED_OPERATOR_NEW |
Definition at line 109 of file ShapeMatrices.h.
| double NumLib::ShapeMatrices< T_N, T_DNDR, T_J, T_DNDX >::integralMeasure |
Definition at line 59 of file ShapeMatrices.h.
Referenced by NumLib::detail::setZero().
| JacobianType NumLib::ShapeMatrices< T_N, T_DNDR, T_J, T_DNDX >::invJ |
Inverse matrix of the Jacobian.
Definition at line 56 of file ShapeMatrices.h.
Referenced by NumLib::detail::setZero(), and write().
| JacobianType NumLib::ShapeMatrices< T_N, T_DNDR, T_J, T_DNDX >::J |
Jacobian matrix, J=dx/dr.
Definition at line 54 of file ShapeMatrices.h.
Referenced by NumLib::detail::setZero(), and write().
| ShapeType NumLib::ShapeMatrices< T_N, T_DNDR, T_J, T_DNDX >::N |
Vector of shape functions, N(r)
Definition at line 51 of file ShapeMatrices.h.
Referenced by NumLib::detail::setZero(), and write().