version 0.4.1
Ikarus::ResultEvaluators::PolarStress Struct Reference

Struct for calculating the 2d polar stress. The center of the coordinate system is to be passed to the evaluator.

#include <ikarus/io/resultevaluators.hh>

Public Member Functions

 PolarStress (const Dune::FieldVector< double, 2 > &origin)
 
template<typename R >
double operator() (const R &resultArray, const auto &pos, const auto &fe, const int comp) const
 Calculate the result quantity (von Mises stress) More...
 

Static Public Member Functions

static constexpr std::string name ()
 Get the name of the result type. More...
 
static constexpr int ncomps ()
 Get the number of components in the result. More...
 

Constructor & Destructor Documentation

◆ PolarStress()

Ikarus::ResultEvaluators::PolarStress::PolarStress ( const Dune::FieldVector< double, 2 > &  origin)
inline

Member Function Documentation

◆ name()

static constexpr std::string Ikarus::ResultEvaluators::PolarStress::name ( )
inlinestaticconstexpr
Returns
String representing the name

◆ ncomps()

static constexpr int Ikarus::ResultEvaluators::PolarStress::ncomps ( )
inlinestaticconstexpr
Returns
Number of components

◆ operator()()

template<typename R >
double Ikarus::ResultEvaluators::PolarStress::operator() ( const R &  resultArray,
const auto &  pos,
const auto &  fe,
const int  comp 
) const
inline
Parameters
resultArrayEigenVector containing the stress state in Voigt notation
compcomponent of result
Template Parameters
RType of the matrix
Returns
von Mises stress

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