OGS
NumLib::NaturalCoordinatesMapping< T_SHAPE_FUNC, T_SHAPE_MATRICES > Struct Template Reference

Detailed Description

template<class T_SHAPE_FUNC, class T_SHAPE_MATRICES>
struct NumLib::NaturalCoordinatesMapping< T_SHAPE_FUNC, T_SHAPE_MATRICES >

Coordinates mapping tools for natural coordinates

This class also supports coordinates mapping of mixed dimensional elements, e.g. line elements in 2D space. Details of the mapping method can be found in [23] .

Template Parameters
T_SHAPE_FUNCShape function class
T_SHAPE_MATRICESShape matrices class

Definition at line 47 of file NaturalCoordinatesMapping.h.

#include <NaturalCoordinatesMapping.h>

Static Public Member Functions

static void computeShapeMatrices (const MeshLib::Element &ele, const double *natural_pt, T_SHAPE_MATRICES &shapemat, const unsigned global_dim)
 
template<ShapeMatrixType T_SHAPE_MATRIX_TYPE>
static void computeShapeMatrices (const MeshLib::Element &ele, const double *natural_pt, T_SHAPE_MATRICES &shapemat, const unsigned global_dim)
 

Member Function Documentation

◆ computeShapeMatrices() [1/2]

template<class T_SHAPE_FUNC , class T_SHAPE_MATRICES >
static void NumLib::NaturalCoordinatesMapping< T_SHAPE_FUNC, T_SHAPE_MATRICES >::computeShapeMatrices ( const MeshLib::Element & ele,
const double * natural_pt,
T_SHAPE_MATRICES & shapemat,
const unsigned global_dim )
inlinestatic

compute all mapping matrices at the given location in natural coordinates

Parameters
eleMesh element object
natural_ptLocation in natural coordinates (r,s,t)
shapematShape matrix data where calculated shape functions are stored
global_dimGlobal dimension

Definition at line 58 of file NaturalCoordinatesMapping.h.

62 {
63 computeShapeMatrices<ShapeMatrixType::ALL>(
64 ele, natural_pt, shapemat, global_dim);
65 }

Referenced by NumLib::TemplateIsoparametric< ShapeFunctionType_, ShapeMatrixTypes_ >::computeShapeFunctions().

◆ computeShapeMatrices() [2/2]

template<class T_SHAPE_FUNC , class T_SHAPE_MATRICES >
template<ShapeMatrixType T_SHAPE_MATRIX_TYPE>
static void NumLib::NaturalCoordinatesMapping< T_SHAPE_FUNC, T_SHAPE_MATRICES >::computeShapeMatrices ( const MeshLib::Element & ele,
const double * natural_pt,
T_SHAPE_MATRICES & shapemat,
const unsigned global_dim )
inlinestatic

compute specified mapping matrices at the given location in natural coordinates

Template Parameters
T_SHAPE_MATRIX_TYPEMapping matrix types to be calculated
Parameters
eleMesh element object
natural_ptLocation in natural coordinates (r,s,t)
shapematShape matrix data where calculated shape functions are stored
global_dimGlobal dimension

Definition at line 79 of file NaturalCoordinatesMapping.h.

83 {
85 T_SHAPE_FUNC,
86 T_SHAPE_MATRICES,
87 T_SHAPE_MATRIX_TYPE>(ele, natural_pt, shapemat, global_dim);
88 }
void naturalCoordinatesMappingComputeShapeMatrices(const MeshLib::Element &ele, const double *natural_pt, T_SHAPE_MATRICES &shapemat, const unsigned global_dim)
Used to explicitly instantiate the NaturalCoordinatesMapping class template.

References NumLib::detail::naturalCoordinatesMappingComputeShapeMatrices().


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