version 0.4.1
Ikarus::ResultEvaluators::VonMises Struct Reference

Struct for calculating von Mises stress. More...

#include <ikarus/io/resultevaluators.hh>

Public Member Functions

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 (always 1 for VonMises) More...
 

Detailed Description

The VonMises struct provides a function call operator to calculate von Mises stress. In 2D, this assumes a plane stress state

Member Function Documentation

◆ name()

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

◆ ncomps()

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

◆ operator()()

template<typename R >
double Ikarus::ResultEvaluators::VonMises::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 (not used here)
Template Parameters
RType of the matrix
Returns
von Mises stress

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