modifier changing the basis of the tensorial values computed by an evaluator in the backwards direction, i.e. using the transpose of the given rotation matrix
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 using the transpose of 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 backwards direction, i.e. using the transpose of the given rotation matrix
This is the counterpart of RotateModifier: where the latter gives the components of the values in the basis whose vectors are the columns of the rotation matrix, the former gives their components in the initial basis knowing their components in that basis.
◆ 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, tfel::math::transpose(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::RotateBackwardsModifier::operator() |
( |
const tfel::math::tmatrix< 3, 3, real > & | R | ) |
const |
|
inlineconstexpr |
create a modifier rotating the values computed by an evaluator using the transpose of a rotation matrix
- Parameters
-
| [in] | R | rotation matrix, whose columns are the basis vectors expressed in the initial basis; its transpose is used |
- Returns
- a unary operation modifier computing tfel::math::change_basis(t, tfel::math::transpose(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::RotateBackwardsModifier::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::RotateBackwardsModifier::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: