version 0.4.1
Ikarus::ResultEvaluators::PrincipalStress< dim > Struct Template Reference

Struct for calculating principal stresses. More...

#include <ikarus/io/resultevaluators.hh>

Public Member Functions

double operator() (const auto &resultArray, const int comp) const
 Calculate the result quantity (principal stress) More...
 

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. More...
 

Detailed Description

template<int dim>
requires (dim == 2 or dim == 3)
struct Ikarus::ResultEvaluators::PrincipalStress< dim >

The PrincipalStress struct provides a function call operator to calculate principal stresses. The components are ordered in a descending manner ($\sigma_1 > \sigma_2$)

Template Parameters
dimdimension of stress state

Member Function Documentation

◆ name()

template<int dim>
static std::string Ikarus::ResultEvaluators::PrincipalStress< dim >::name ( )
inlinestatic
Returns
String representing the name

◆ ncomps()

template<int dim>
static int Ikarus::ResultEvaluators::PrincipalStress< dim >::ncomps ( )
inlinestatic
Returns
Number of components

◆ operator()()

template<int dim>
double Ikarus::ResultEvaluators::PrincipalStress< dim >::operator() ( const auto &  resultArray,
const int  comp 
) const
inline
Parameters
resultArrayEigenMatrix containing the stress state
compcomponent of result
Returns
principal stress

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