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

Classes

class  tfel::math::TensorTag
 an helper class to characterize tensors. More...
struct  tfel::math::TensorInvalidIndexException
 exception thrown if invalid index is given More...
struct  tfel::math::TensorInvalidIndexesException
 exception thrown if invalid indexes were given More...
struct  tfel::math::TensorInvalidInitializerListSizeException
 exception thrown if an std::initializer_list with no appropriate size is affected to a tensor. More...
struct  tfel::math::TensorConceptBase< T >
 base class which implements the tensor concept More...
struct  tfel::math::ConceptRebind< TensorTag, Type >
 partial specialisation for 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::TensorConcept
 definition of the StensorConcept a class matching the stensor concept must expose the StensorTag and have access operators.
concept  tfel::math::NoUnitTensorConcept
 refinement of the TensorConcept concept matched by tensor which hold value types without unit
concept  tfel::math::StressTensorConcept
 refinement of the TensorConcept concept matched by tensor which hold value types compatible with a stress

Functions

TFEL_HOST_DEVICE constexpr auto tfel::math::abs (const TensorConcept auto &) noexcept
TFEL_HOST_DEVICE constexpr auto tfel::math::trace (const TensorConcept auto &) noexcept
TFEL_HOST_DEVICE constexpr auto tfel::math::syme (const TensorConcept auto &) noexcept
TFEL_HOST_DEVICE constexpr auto tfel::math::computeRightCauchyGreenTensor (const TensorConcept auto &) noexcept
TFEL_HOST_DEVICE constexpr auto tfel::math::computeLeftCauchyGreenTensor (const TensorConcept auto &) noexcept
TFEL_HOST_DEVICE constexpr auto tfel::math::computeGreenLagrangeTensor (const TensorConcept auto &) noexcept
TFEL_HOST_DEVICE constexpr auto tfel::math::pushForward (const StensorConcept auto &, const TensorConcept auto &) noexcept
TFEL_HOST_DEVICE constexpr auto tfel::math::push_forward (const StensorConcept auto &, const TensorConcept auto &) noexcept
TFEL_HOST_DEVICE constexpr auto tfel::math::convertCauchyStressToSecondPiolaKirchhoffStress (const StensorConcept auto &, const TensorConcept auto &) noexcept
 convert the Cauchy stress to the second Piola-Kirchhoff stress
TFEL_HOST_DEVICE constexpr auto tfel::math::convertSecondPiolaKirchhoffStressToCauchyStress (const StensorConcept auto &, const TensorConcept auto &) noexcept
 convert the second Piola-Kirchhoff stress to the Cauchy stress
TFEL_HOST_DEVICE constexpr auto tfel::math::det (const TensorConcept auto &) noexcept
TFEL_HOST_DEVICE constexpr auto tfel::math::computeDeterminantDerivative (TensorConcept auto &, const TensorConcept auto &) noexcept
 compute the derivative of the determinant with respect to its argument.
TFEL_HOST_DEVICE constexpr auto tfel::math::computeAdjugateDeterminantDerivative (TensorConcept auto &, const TensorConcept auto &) noexcept
 compute the adjugate of a tensor, \(\det\left(F\right)\,F^{-1}\), i.e. the transpose of the derivative of the determinant with respect to its argument.
TFEL_HOST void tfel::math::polar_decomposition (TensorConcept auto &, StensorConcept auto &, const TensorConcept auto &)
 provide the polar decomposition of a tensor
template<TensorConcept TensorType>
TFEL_HOST_DEVICE constexpr auto tfel::math::matrix_view (TensorType &&t) noexcept
template<TensorConcept TensorType>
TFEL_HOST_DEVICE constexpr auto tfel::math::transpose (TensorType &&) noexcept
template<typename TensorType>
TFEL_HOST_DEVICE constexpr bool tfel::math::implementsTensorConcept ()
 an helper function which returns if the given type implements the TensorConcept.

Detailed Description

Author
Thomas Helfer
Date
01/12/2013