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 20 of file GMatrixPolicy.h.

#include <GMatrixPolicy.h>

Public Types

using GradientMatrixType = MatrixType< DisplacementDim *DisplacementDim+(DisplacementDim==2 ? 1 :0), _number_of_dof >
 
using GradientVectorType = VectorType< DisplacementDim *DisplacementDim+(DisplacementDim==2 ? 1 :0)>
 

Private Types

template<int N>
using VectorType = typename ShapeMatrixPolicyType< ShapeFunction, DisplacementDim >::template VectorType< N >
 Reusing the ShapeMatrixPolicy vector type. More...
 
template<int N, int M>
using MatrixType = typename ShapeMatrixPolicyType< ShapeFunction, DisplacementDim >::template MatrixType< N, M >
 Reusing the ShapeMatrixPolicy matrix type. More...
 

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 = MatrixType<DisplacementDim * DisplacementDim + (DisplacementDim == 2 ? 1 : 0), _number_of_dof>

Definition at line 40 of file GMatrixPolicy.h.

◆ GradientVectorType

template<typename ShapeFunction , int DisplacementDim>
using ProcessLib::GMatrixPolicyType< ShapeFunction, DisplacementDim >::GradientVectorType = VectorType<DisplacementDim * DisplacementDim + (DisplacementDim == 2 ? 1 : 0)>

Definition at line 43 of file GMatrixPolicy.h.

◆ MatrixType

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

Reusing the ShapeMatrixPolicy matrix type.

Definition at line 31 of file GMatrixPolicy.h.

◆ VectorType

template<typename ShapeFunction , int DisplacementDim>
template<int N>
using ProcessLib::GMatrixPolicyType< ShapeFunction, DisplacementDim >::VectorType = typename ShapeMatrixPolicyType<ShapeFunction, DisplacementDim>::template VectorType<N>
private

Reusing the ShapeMatrixPolicy vector type.

Definition at line 25 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 35 of file GMatrixPolicy.h.


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