modifier changing the basis of the tensorial values computed by an evaluator, in the direction for which the given rotation matrix is defined
More...
#include </home/runner/work/MFrontGenericInterfaceSupport/MFrontGenericInterfaceSupport/include/MGIS/Function/TFEL/Tensors.hxx>
|
| using | CallableType |
| | type of the callable object performing the rotation
|
|
| constexpr auto | operator() (const tfel::math::tmatrix< 3, 3, real > &R) const |
| | create a modifier rotating the values computed by an evaluator into the basis given by a rotation matrix
|
template<typename SecondEvaluatorType>
requires (EvaluatorConcept<std::decay_t<SecondEvaluatorType>>) |
| constexpr auto | operator() (SecondEvaluatorType &&e2) const |
| | partially apply the rotation to the evaluator of the second argument, i.e. the evaluator providing the rotation matrix
|
template<typename FirstEvaluatorType, typename SecondEvaluatorType>
requires ((EvaluatorConcept<std::decay_t<FirstEvaluatorType>>)&& // (EvaluatorConcept<std::decay_t<SecondEvaluatorType>>)&& // (std::invocable< CallableType, evaluator_result<std::decay_t<FirstEvaluatorType>>, evaluator_result<std::decay_t<SecondEvaluatorType>>>)) |
| constexpr auto | operator() (FirstEvaluatorType &&e1, SecondEvaluatorType &&e2) const |
| | build the evaluator of the rotated tensorial values
|
modifier changing the basis of the tensorial values computed by an evaluator, in the direction for which the given rotation matrix is defined
The rotation matrix can be given either as a tfel::math::tmatrix, as another evaluator providing the rotation matrix, or directly together with the evaluator to rotate, through the associated operator|.
◆ CallableType
Initial value: decltype(
const tfel::math::tmatrix<3, 3, real>& R)
requires((tfel::math::TensorConcept<TensorType>) ||
(tfel::math::StensorConcept<TensorType>) ||
(tfel::math::ST2toST2Concept<TensorType>)) {
return tfel::math::change_basis(t, R);
})
TensorType
type of tensor that are supported
Definition TensorOperations.hxx:50
type of the callable object performing the rotation
◆ operator()() [1/3]
| auto mgis::function::internals::RotateModifier::operator() |
( |
const tfel::math::tmatrix< 3, 3, real > & | R | ) |
const |
|
inlineconstexpr |
create a modifier rotating the values computed by an evaluator into the basis given by a rotation matrix
- Parameters
-
| [in] | R | rotation matrix, whose columns are the basis vectors expressed in the initial basis |
- Returns
- a unary operation modifier computing tfel::math::change_basis(t, R)
◆ operator()() [2/3]
template<typename FirstEvaluatorType, typename SecondEvaluatorType>
requires ((EvaluatorConcept<std::decay_t<FirstEvaluatorType>>)&& // (EvaluatorConcept<std::decay_t<SecondEvaluatorType>>)&& // (std::invocable<
CallableType,
evaluator_result<std::decay_t<FirstEvaluatorType>>,
evaluator_result<std::decay_t<SecondEvaluatorType>>>))
| auto mgis::function::internals::RotateModifier::operator() |
( |
FirstEvaluatorType && | e1, |
|
|
SecondEvaluatorType && | e2 ) const |
|
inlineconstexpr |
build the evaluator of the rotated tensorial values
- Template Parameters
-
| FirstEvaluatorType | type of the evaluator providing the tensorial values to rotate, which may be a qualified type |
| SecondEvaluatorType | type of the evaluator providing the rotation matrix, which may be a qualified type |
- Parameters
-
| [in] | e1 | evaluator used to compute the tensorial values to rotate |
| [in] | e2 | evaluator used to compute the rotation matrix |
- Returns
- a BinaryOperationModifier2 object returning the rotated values
◆ operator()() [3/3]
template<typename SecondEvaluatorType>
requires (EvaluatorConcept<std::decay_t<SecondEvaluatorType>>)
| auto mgis::function::internals::RotateModifier::operator() |
( |
SecondEvaluatorType && | e2 | ) |
const |
|
inlineconstexpr |
partially apply the rotation to the evaluator of the second argument, i.e. the evaluator providing the rotation matrix
- Template Parameters
-
| SecondEvaluatorType | type of the evaluator providing the rotation matrix, which may be a qualified type |
- Parameters
-
| [in] | e2 | evaluator used to compute the rotation matrix |
- Returns
- a BinaryOperatorCurrying2 object, which can be applied to the evaluator of the first argument using operator|
The documentation for this struct was generated from the following file: