version 0.4.1
Ikarus::EAS::EASVariant< ES, GEO > Struct Template Reference

Wrapper around the EAS variant, contains helper functions. More...

#include <ikarus/finiteelements/mechanics/strainenhancements/easvariants.hh>

Inheritance diagram for Ikarus::EAS::EASVariant< ES, GEO >:
[legend]

Public Types

using Variant = Impl::EASType< GEO, myDim, ES >::type
 

Public Member Functions

template<typename F >
void operator() (F &&f) const
 Executes a function F on the variant, if enhancedStrainSize is not zero. More...
 
auto numberOfEASParameters () const
 A helper function to get the number of EAS parameters. More...
 
bool isDisplacmentBased () const
 A helper function to identify if the formulation is purely displacement-based, i.e., number of EAS parameters is zero. More...
 
void setEASType (int numberOfEASParameters)
 
void bind (const GEO &geometry)
 

Static Public Attributes

static constexpr int myDim = GEO::mydimension
 

Detailed Description

template<typename ES, typename GEO>
struct Ikarus::EAS::EASVariant< ES, GEO >
Template Parameters
GEOthe Geometry type of the udderlying grid element

Member Typedef Documentation

◆ Variant

template<typename ES , typename GEO >
using Ikarus::EAS::EASVariant< ES, GEO >::Variant = Impl::EASType<GEO, myDim, ES>::type

Member Function Documentation

◆ bind()

template<typename ES , typename GEO >
void Ikarus::EAS::EASVariant< ES, GEO >::bind ( const GEO &  geometry)
inline
Here is the caller graph for this function:

◆ isDisplacmentBased()

template<typename ES , typename GEO >
bool Ikarus::EAS::EASVariant< ES, GEO >::isDisplacmentBased ( ) const
inline
Returns
A bool indicating if the formulation is displacement-based or not.
Here is the caller graph for this function:

◆ numberOfEASParameters()

template<typename ES , typename GEO >
auto Ikarus::EAS::EASVariant< ES, GEO >::numberOfEASParameters ( ) const
inline
Returns
Number of EAS parameters.
Here is the caller graph for this function:

◆ operator()()

template<typename ES , typename GEO >
template<typename F >
void Ikarus::EAS::EASVariant< ES, GEO >::operator() ( F &&  f) const
inline
Template Parameters
Fthe Type of the function F
Parameters
fthe function, which takes the eas element as an argument

◆ setEASType()

template<typename ES , typename GEO >
void Ikarus::EAS::EASVariant< ES, GEO >::setEASType ( int  numberOfEASParameters)
inline
Here is the caller graph for this function:

Member Data Documentation

◆ myDim

template<typename ES , typename GEO >
constexpr int Ikarus::EAS::EASVariant< ES, GEO >::myDim = GEO::mydimension
staticconstexpr

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