version 0.4.1
Ikarus::PS::AssumedStressVariant< ASFunction, GEO > Struct Template Reference

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

#include <ikarus/finiteelements/mechanics/assumedstress/asvariants.hh>

Inheritance diagram for Ikarus::PS::AssumedStressVariant< ASFunction, GEO >:
[legend]

Public Types

using Variant = Impl::AssumedStressType< GEO, myDim, ASFunction >::type
 

Public Member Functions

template<typename F >
void operator() (F &&f) const
 Executes a function F on the variant. More...
 
auto numberOfInternalVariables () const
 A helper function to get the number of AssumedStress parameters. More...
 
void setAssumedStressType (int numberOfInternalVariables)
 
void bind (const GEO &geometry)
 

Static Public Attributes

static constexpr int myDim = GEO::mydimension
 

Detailed Description

template<typename ASFunction, typename GEO>
struct Ikarus::PS::AssumedStressVariant< ASFunction, GEO >
Template Parameters
GEOthe Geometry type of the udderlying grid element
ASFunctionthe assumed stress function

Member Typedef Documentation

◆ Variant

template<typename ASFunction , typename GEO >
using Ikarus::PS::AssumedStressVariant< ASFunction, GEO >::Variant = Impl::AssumedStressType<GEO, myDim, ASFunction>::type

Member Function Documentation

◆ bind()

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

◆ numberOfInternalVariables()

template<typename ASFunction , typename GEO >
auto Ikarus::PS::AssumedStressVariant< ASFunction, GEO >::numberOfInternalVariables ( ) const
inline
Returns
Number of AssumedStress parameters.
Here is the caller graph for this function:

◆ operator()()

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

◆ setAssumedStressType()

template<typename ASFunction , typename GEO >
void Ikarus::PS::AssumedStressVariant< ASFunction, GEO >::setAssumedStressType ( int  numberOfInternalVariables)
inline
Here is the caller graph for this function:

Member Data Documentation

◆ myDim

template<typename ASFunction , typename GEO >
constexpr int Ikarus::PS::AssumedStressVariant< ASFunction, GEO >::myDim = GEO::mydimension
staticconstexpr

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