version 0.4
Ikarus::FETraits< GridElement, useRef > Struct Template Reference

Template structure defining traits for a given grid element entity type. More...

#include <ikarus/finiteelements/fetraits.hh>

Public Types

using ctype = double
 Type used for coordinates. More...
 
using GlobalCoordinates = Eigen::Matrix< ctype, worlddim, 1 >
 Type of the coordinate. More...
 
using ParameterSpaceType = Eigen::Matrix< ctype, mydim, 1 >
 Type of the ParameterSpace coordinate. More...
 
using VectorType = std::conditional_t< useRef, Eigen::Ref< Eigen::VectorXd >, Eigen::VectorXd >
 Type of the internal forces. More...
 
using ScalarType = ctype
 Type of the internal forces. More...
 
using MatrixType = std::conditional_t< useRef, Eigen::Ref< Eigen::MatrixXd >, Eigen::MatrixXd >
 Type of the stiffness matrix. More...
 

Static Public Attributes

static constexpr int worlddim = GridElement::Geometry::coorddimension
 Dimension of the world space. More...
 
static constexpr int mydim = GridElement::mydimension
 Dimension of the geometry. More...
 
static constexpr int dimension = GridElement::dimension
 Dimension of the grid. More...
 

Detailed Description

template<typename GridElement, bool useRef = false>
struct Ikarus::FETraits< GridElement, useRef >
Template Parameters
GridElementType of the grid element entity.
useRefBoolean indicating whether to use Eigen::Ref for VectorType and MatrixType.

Member Typedef Documentation

◆ ctype

template<typename GridElement , bool useRef = false>
using Ikarus::FETraits< GridElement, useRef >::ctype = double

◆ GlobalCoordinates

template<typename GridElement , bool useRef = false>
using Ikarus::FETraits< GridElement, useRef >::GlobalCoordinates = Eigen::Matrix<ctype, worlddim, 1>

◆ MatrixType

template<typename GridElement , bool useRef = false>
using Ikarus::FETraits< GridElement, useRef >::MatrixType = std::conditional_t<useRef, Eigen::Ref<Eigen::MatrixXd>, Eigen::MatrixXd>

◆ ParameterSpaceType

template<typename GridElement , bool useRef = false>
using Ikarus::FETraits< GridElement, useRef >::ParameterSpaceType = Eigen::Matrix<ctype, mydim, 1>

◆ ScalarType

template<typename GridElement , bool useRef = false>
using Ikarus::FETraits< GridElement, useRef >::ScalarType = ctype

◆ VectorType

template<typename GridElement , bool useRef = false>
using Ikarus::FETraits< GridElement, useRef >::VectorType = std::conditional_t<useRef, Eigen::Ref<Eigen::VectorXd>, Eigen::VectorXd>

Member Data Documentation

◆ dimension

template<typename GridElement , bool useRef = false>
constexpr int Ikarus::FETraits< GridElement, useRef >::dimension = GridElement::dimension
staticconstexpr

◆ mydim

template<typename GridElement , bool useRef = false>
constexpr int Ikarus::FETraits< GridElement, useRef >::mydim = GridElement::mydimension
staticconstexpr

◆ worlddim

template<typename GridElement , bool useRef = false>
constexpr int Ikarus::FETraits< GridElement, useRef >::worlddim = GridElement::Geometry::coorddimension
staticconstexpr

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