SOFA API  a70f5653
Open source framework for multi-physics simuation
sofa::fem::FiniteElementHelper< ElementType, DataTypes > Struct Template Reference

#include <FiniteElement.h>

Static Public Attributes

static constexpr sofa::Size spatial_dimensions = FiniteElement::spatial_dimensions
 
static constexpr sofa::Size NumberOfNodesInElement = FiniteElement::NumberOfNodesInElement
 
static constexpr sofa::Size TopologicalDimension = FiniteElement::TopologicalDimension
 

Static Public Member Functions

static constexpr auto gradientShapeFunctionAtQuadraturePoints ()
 
static constexpr auto jacobianFromReferenceToPhysical (const std::array< Coord, NumberOfNodesInElement > &elementNodesCoordinates, const sofa::type::Mat< NumberOfNodesInElement, TopologicalDimension, Real > &gradientShapeFunctionInReferenceElement)
 

Attribute details

◆ NumberOfNodesInElement

template<class ElementType , class DataTypes >
constexpr sofa::Size sofa::fem::FiniteElementHelper< ElementType, DataTypes >::NumberOfNodesInElement = FiniteElement::NumberOfNodesInElement
staticconstexpr

◆ spatial_dimensions

template<class ElementType , class DataTypes >
constexpr sofa::Size sofa::fem::FiniteElementHelper< ElementType, DataTypes >::spatial_dimensions = FiniteElement::spatial_dimensions
staticconstexpr

◆ TopologicalDimension

template<class ElementType , class DataTypes >
constexpr sofa::Size sofa::fem::FiniteElementHelper< ElementType, DataTypes >::TopologicalDimension = FiniteElement::TopologicalDimension
staticconstexpr

Function details

◆ gradientShapeFunctionAtQuadraturePoints()

template<class ElementType , class DataTypes >
static constexpr auto sofa::fem::FiniteElementHelper< ElementType, DataTypes >::gradientShapeFunctionAtQuadraturePoints ( )
inlinestaticconstexpr

◆ jacobianFromReferenceToPhysical()

template<class ElementType , class DataTypes >
static constexpr auto sofa::fem::FiniteElementHelper< ElementType, DataTypes >::jacobianFromReferenceToPhysical ( const std::array< Coord, NumberOfNodesInElement > &  elementNodesCoordinates,
const sofa::type::Mat< NumberOfNodesInElement, TopologicalDimension, Real > &  gradientShapeFunctionInReferenceElement 
)
inlinestaticconstexpr