MGIS 3.1.0
Loading...
Searching...
No Matches
mgis::function::internals::HydrostaticStressOperator Struct Reference

callable object computing the hydrostatic stress, i.e. the mean normal stress, of a symmetric tensor, defined as trace(s) / 3 More...

#include </home/runner/work/MFrontGenericInterfaceSupport/MFrontGenericInterfaceSupport/include/MGIS/Function/TFEL/Mechanics.hxx>

Public Member Functions

MGIS_HOST_DEVICE constexpr auto operator() (const tfel::math::StensorConcept auto &s) const MGIS_NOEXCEPT
 compute the hydrostatic stress of a symmetric tensor

Detailed Description

callable object computing the hydrostatic stress, i.e. the mean normal stress, of a symmetric tensor, defined as trace(s) / 3

Member Function Documentation

◆ operator()()

MGIS_HOST_DEVICE constexpr auto mgis::function::internals::HydrostaticStressOperator::operator() ( const tfel::math::StensorConcept auto & s) const
inlinenodiscardconstexpr

compute the hydrostatic stress of a symmetric tensor

Parameters
[in]ssymmetric tensor considered
Returns
trace(s) / 3

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