version 0.4
Ikarus::ResultEvaluators::PrincipalStress Struct Reference

Struct for calculating principal stresses. More...

#include <ikarus/io/resultevaluators.hh>

Public Member Functions

template<typename ElementType , typename FERequirements , int size, typename ScalarType >
requires (size == 2)
double operator() (const ElementType &fe, const ResultRequirements< FERequirements > &req, const Dune::FieldVector< ScalarType, size > &pos, int comp) const
 

Static Public Member Functions

static std::string name ()
 Get the name of the result type (PrincipalStress) More...
 
static int ncomps ()
 Get the number of components in the result (always 2 for PrincipalStress) More...
 

Detailed Description

The PrincipalStress struct provides a function call operator to calculate principal stresses.

Remarks
Only 2D stresses are supported
Template Parameters
ElementTypeType of the finite element
FERequirementsType representing the requirements for finite element calculations
sizeSize of the stress vector
ScalarTypeScalar type for numerical calculations

Member Function Documentation

◆ name()

static std::string Ikarus::ResultEvaluators::PrincipalStress::name ( )
inlinestatic
Returns
String representing the name

◆ ncomps()

static int Ikarus::ResultEvaluators::PrincipalStress::ncomps ( )
inlinestatic
Returns
Number of components

◆ operator()()

template<typename ElementType , typename FERequirements , int size, typename ScalarType >
requires (size == 2)
double Ikarus::ResultEvaluators::PrincipalStress::operator() ( const ElementType &  fe,
const ResultRequirements< FERequirements > &  req,
const Dune::FieldVector< ScalarType, size > &  pos,
int  comp 
) const
inline

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