OGS
ProcessLib::GMatrixPolicyType< ShapeFunction, DisplacementDim > Class Template Reference

Detailed Description

template<typename ShapeFunction, int DisplacementDim>
class ProcessLib::GMatrixPolicyType< ShapeFunction, DisplacementDim >

An implementation of G-Matrix policy using same matrix and vector types (fixed size or dynamic) as in the ShapeMatrixPolicyType.

Definition at line 21 of file GMatrixPolicy.h.

#include <GMatrixPolicy.h>

Public Types

using GradientMatrixType
 
using GradientVectorType
 

Private Types

template<int N>
using VectorTypeFixedSize
 
template<int N, int M>
using MatrixType
 Reusing the ShapeMatrixPolicy matrix type.
 

Static Private Attributes

static int const _number_of_dof = ShapeFunction::NPOINTS * DisplacementDim
 

Member Typedef Documentation

◆ GradientMatrixType

template<typename ShapeFunction , int DisplacementDim>
using ProcessLib::GMatrixPolicyType< ShapeFunction, DisplacementDim >::GradientMatrixType
Initial value:
static int const _number_of_dof
typename ShapeMatrixPolicyType< ShapeFunction, DisplacementDim >::template MatrixType< N, M > MatrixType
Reusing the ShapeMatrixPolicy matrix type.
constexpr int size(int const displacement_dim)
Vectorized tensor size for given displacement dimension.

Definition at line 41 of file GMatrixPolicy.h.

◆ GradientVectorType

template<typename ShapeFunction , int DisplacementDim>
using ProcessLib::GMatrixPolicyType< ShapeFunction, DisplacementDim >::GradientVectorType
Initial value:
typename EigenFixedShapeMatrixPolicy< ShapeFunction, DisplacementDim >::template VectorType< N > VectorTypeFixedSize

Definition at line 44 of file GMatrixPolicy.h.

◆ MatrixType

template<typename ShapeFunction , int DisplacementDim>
template<int N, int M>
using ProcessLib::GMatrixPolicyType< ShapeFunction, DisplacementDim >::MatrixType
private
Initial value:
ShapeFunction, DisplacementDim>::template MatrixType<N, M>

Reusing the ShapeMatrixPolicy matrix type.

Definition at line 32 of file GMatrixPolicy.h.

◆ VectorTypeFixedSize

template<typename ShapeFunction , int DisplacementDim>
template<int N>
using ProcessLib::GMatrixPolicyType< ShapeFunction, DisplacementDim >::VectorTypeFixedSize
private
Initial value:
ShapeFunction, DisplacementDim>::template VectorType<N>

Fixed size vector type independent of the ShapeMatrixPolicy needed for storage of gradient vector in the MPL VariableArray.

Definition at line 27 of file GMatrixPolicy.h.

Member Data Documentation

◆ _number_of_dof

template<typename ShapeFunction , int DisplacementDim>
int const ProcessLib::GMatrixPolicyType< ShapeFunction, DisplacementDim >::_number_of_dof = ShapeFunction::NPOINTS * DisplacementDim
staticprivate

Definition at line 36 of file GMatrixPolicy.h.


The documentation for this class was generated from the following file: