|
|
| TFEL_MATH_FIXED_SIZE_ARRAY_DEFAULT_METHODS (st2tost2, GenericFixedSizeArrayBase) |
template<std::size_t... d>
requires ((sizeof...(d) == StensorDimeToSize<N>::value) && ((d == StensorDimeToSize<N>::value) && ...)) |
| TFEL_HOST_DEVICE constexpr | st2tost2 (ValueType const (&... arrays)[d]) |
| | constructors from arrays to implement class template argument deduction.
|
|
TFEL_HOST_DEVICE constexpr void | import (const base_type< ValueType > *const) noexcept |
| | import values from an external memory location
|
| TFEL_HOST_DEVICE constexpr void | copy (const auto) noexcept |
| | copy the values from a range
|
|
TFEL_HOST_DEVICE constexpr | GenericFixedSizeArray () noexcept |
| | default constructor
|
|
TFEL_HOST_DEVICE constexpr | GenericFixedSizeArray (const GenericFixedSizeArray &) noexcept |
| | copy constructor
|
|
TFEL_HOST_DEVICE constexpr | GenericFixedSizeArray (GenericFixedSizeArray &&) noexcept |
| | move constructor
|
| TFEL_HOST_DEVICE constexpr | GenericFixedSizeArray (const ValueType &) noexcept |
| | constructor from a value
|
| TFEL_HOST_DEVICE constexpr | GenericFixedSizeArray (const std::initializer_list< ValueType2 > &values) noexcept |
| | constructor from an initializer list
|
| TFEL_HOST_DEVICE constexpr | GenericFixedSizeArray (const InputIterator) noexcept |
| | default donstructor.
|
| TFEL_HOST_DEVICE constexpr | GenericFixedSizeArray (const OtherArray &) noexcept |
| | copy constructor from an object assignable to the Child class.
|
| TFEL_HOST_DEVICE constexpr GenericFixedSizeArray< st2tost2< N, ValueType >, FixedSizeRowMajorMatrixPolicy< StensorDimeToSize< N >::value, StensorDimeToSize< N >::value, ValueType >, getArrayPolicySize< FixedSizeRowMajorMatrixPolicy< StensorDimeToSize< N >::value, StensorDimeToSize< N >::value, ValueType > >() >::size_type | getContainerSize () const noexcept |
| TFEL_HOST_DEVICE constexpr st2tost2< N, ValueType > & | operator= (const OtherArray &) noexcept |
| | assign values values from an other array
|
|
TFEL_HOST_DEVICE constexpr st2tost2< N, ValueType > & | operator+= (const OtherArray &) noexcept |
|
TFEL_HOST_DEVICE constexpr st2tost2< N, ValueType > & | operator-= (const OtherArray &) noexcept |
|
TFEL_HOST_DEVICE constexpr st2tost2< N, ValueType > & | operator*= (const ValueType2 &) noexcept |
|
TFEL_HOST_DEVICE constexpr st2tost2< N, ValueType > & | operator/= (const ValueType2 &) noexcept |
| TFEL_HOST_DEVICE constexpr GenericFixedSizeArray< st2tost2< N, ValueType >, FixedSizeRowMajorMatrixPolicy< StensorDimeToSize< N >::value, StensorDimeToSize< N >::value, ValueType >, getArrayPolicySize< FixedSizeRowMajorMatrixPolicy< StensorDimeToSize< N >::value, StensorDimeToSize< N >::value, ValueType > >() >::pointer | data () noexcept |
| TFEL_HOST_DEVICE constexpr GenericFixedSizeArray< st2tost2< N, ValueType >, FixedSizeRowMajorMatrixPolicy< StensorDimeToSize< N >::value, StensorDimeToSize< N >::value, ValueType >, getArrayPolicySize< FixedSizeRowMajorMatrixPolicy< StensorDimeToSize< N >::value, StensorDimeToSize< N >::value, ValueType > >() >::const_pointer | data () const noexcept |
|
TFEL_HOST_DEVICE constexpr | GenericFixedSizeArray (const std::initializer_list< ValueType > &values) noexcept |
|
template<StensorConcept StensorType>
requires (getSpaceDimension<StensorType>() == N && isAssignableTo<numeric_type<StensorType>, ValueType>()) |
| static TFEL_HOST_DEVICE constexpr auto | dsquare (const StensorType &) noexcept |
template<StensorConcept StensorType, ST2toST2Concept ST2toST2Type>
requires ( getSpaceDimension<StensorType>() == N && getSpaceDimension<ST2toST2Type>() == N && isAssignableTo<BinaryOperationResult<numeric_type<StensorType>, numeric_type<ST2toST2Type>, OpMult>, ValueType>()) |
| static TFEL_HOST_DEVICE constexpr auto | dsquare (const StensorType &, const ST2toST2Type &) noexcept |
template<T2toST2Concept T2toST2Type>
requires (getSpaceDimension<T2toST2Type>() == N && isAssignableTo<numeric_type<T2toST2Type>, ValueType>()) |
| static TFEL_HOST_DEVICE constexpr auto | convert (const T2toST2Type &) noexcept |
| static TFEL_HOST_DEVICE constexpr auto | fromRotationMatrix (const rotation_matrix< ValueType > &) noexcept |
template<StensorConcept StensorType>
requires (getSpaceDimension<StensorType>() == N && isAssignableTo<numeric_type<StensorType>, ValueType>()) |
| static TFEL_HOST_DEVICE constexpr auto | stpd (const StensorType &) noexcept |
| | compute the derivative of the symmetric tensor product:
|
|
static TFEL_HOST_DEVICE constexpr st2tost2 | Id () noexcept |
|
static TFEL_HOST_DEVICE constexpr st2tost2 | IxI () noexcept |
|
static TFEL_HOST_DEVICE constexpr st2tost2 | K () noexcept |
|
static TFEL_HOST_DEVICE constexpr st2tost2 | M () noexcept |
|
static TFEL_HOST_DEVICE constexpr st2tost2 | J () noexcept |
| static TFEL_HOST_DEVICE constexpr base_type< ValueType > | Id (const typename st2tost2< N, ValueType >::size_type, const typename st2tost2< N, ValueType >::size_type) noexcept |
| static TFEL_HOST_DEVICE constexpr base_type< ValueType > | IxI (const typename st2tost2< N, ValueType >::size_type, const typename st2tost2< N, ValueType >::size_type) noexcept |
| static TFEL_HOST_DEVICE constexpr base_type< ValueType > | K (const typename st2tost2< N, ValueType >::size_type, const typename st2tost2< N, ValueType >::size_type) noexcept |
| static TFEL_HOST_DEVICE constexpr base_type< ValueType > | M (const typename st2tost2< N, ValueType >::size_type, const typename st2tost2< N, ValueType >::size_type) noexcept |
| static TFEL_HOST_DEVICE constexpr base_type< ValueType > | J (const typename st2tost2< N, ValueType >::size_type, const typename st2tost2< N, ValueType >::size_type) noexcept |
| static TFEL_HOST_DEVICE constexpr st2tost2< N, ValueType > | zero () |
template<unsigned short N, typename ValueType>
class tfel::math::st2tost2< N, ValueType >
linear operator on symmetric tensors.
- Template Parameters
-
| N | the spatial dimension, see StensorDimeToSize for details. |
| T | numerical type used, by default, double |
- Precondition
- This class is only defined for N=1u,2u and 3u.
- See also
- StensorDimeToSize and StensorSizeToDime.