tfel
Loading...
Searching...
No Matches
StensorConcept.hxx File Reference

Classes

class  tfel::math::StensorTag
 Helper class to characterise stensors. More...
struct  tfel::math::StensorConceptBase< T >
 an helper class that simply exposes publically a member named ConceptTag as an alias to StensorTag. More...
struct  tfel::math::ConceptRebind< StensorTag, Type >
 partial specialisation for symmetric tensors More...

Namespaces

namespace  tfel
 the namespace tfel encloses all the TFEL project. This namespace is empty.
namespace  tfel::math
 This namespace contains various classes and functions défining mathematical objects and numerical algorithms.

Concepts

concept  tfel::math::StensorConcept
 definition of the StensorConcept a class matching the stensor concept must expose the StensorTag and have access operators.
concept  tfel::math::NoUnitStensorConcept
 refinement of the StensorConcept concept matched by symmetric tensors which hold value types without unit
concept  tfel::math::StressStensorConcept
 refinement of the StensorConcept concept matched by symmetric tensors which hold value types compatible with a stress

Typedefs

template<typename StensorType>
using tfel::math::StensorTraits
 a simple alias for backward compatibility with versions prior to 4.0
template<typename StensorType>
using tfel::math::StensorNumType
 a simple alias for backward compatibility with versions prior to 4.0

Functions

TFEL_HOST_DEVICE constexpr auto tfel::math::abs (const StensorConcept auto &) noexcept
TFEL_HOST_DEVICE constexpr auto tfel::math::trace (const StensorConcept auto &) noexcept
TFEL_HOST_DEVICE constexpr auto tfel::math::sigmaeq (const StensorConcept auto &) noexcept
TFEL_HOST_DEVICE constexpr auto tfel::math::deviator (const StensorConcept auto &) noexcept
TFEL_HOST_DEVICE constexpr auto tfel::math::computeDeterminantDerivative (StensorConcept auto &, const StensorConcept auto &) noexcept
 compute the derivative of the determinant with respect to its argument.
TFEL_HOST_DEVICE constexpr auto tfel::math::computeDeviatorDeterminantDerivative (StensorConcept auto &, const StensorConcept auto &) noexcept
 compute the derivative of the determinant with respect to its argument.
TFELMATH_VISIBILITY_EXPORT unsigned short tfel::math::getStensorSize (const unsigned short)
 return the size of a symmetric tensor for the given dimension
template<unsigned short N>
TFEL_HOST_DEVICE constexpr unsigned short tfel::math::VoigtIndex (const unsigned short, const unsigned short)
 This function returns the Voigt index of two indices (beginning from 0). Hence, the correspondence is, in 3d:
template<typename StensorType>
TFEL_HOST_DEVICE constexpr bool tfel::math::implementsStensorConcept ()
 an helper function which returns if the given type implements the StensorConcept.

Detailed Description

Author
Thomas Helfer