|
MGIS 3.1.0
|
modifier exposing the values computed by an evaluator, or the values of a function, as a tensorial object of type TensorType More...
#include </home/runner/work/MFrontGenericInterfaceSupport/MFrontGenericInterfaceSupport/include/MGIS/Function/TFEL/Tensors.hxx>
Public Types | |
| using | Tag = ::mgis::function::EvaluatorModifierTag |
| this alias allows to match the Evaluator Modifier concept | |
Public Member Functions | |
| template<ViewableFunctionArgumentConcept QualifiedFunctionArgumentType> requires (internals::checkNumberOfComponentsCompatibility< QualifiedFunctionArgumentType, compile_time_size<TensorType>>()) | |
| constexpr auto | operator() (QualifiedFunctionArgumentType &&) const |
| expose the values of a function argument as a tensorial object | |
| template<EvaluatorConcept EvaluatorType> requires ( (areTensorModifierRequirementsSatisfied<TensorType, std::decay_t<EvaluatorType>>)) | |
| constexpr auto | operator() (const EvaluatorType &) const |
| expose the values computed by an evaluator as a tensorial object | |
modifier exposing the values computed by an evaluator, or the values of a function, as a tensorial object of type TensorType
This is the modifier behind the as_stensor, as_tensor, ... variables defined below. It is stateless, which allows those variables to be defined as constexpr global variables.
| TensorType | type of the tensorial object to be exposed, which must match the TensorConcept concept |
|
constexpr |
expose the values computed by an evaluator as a tensorial object
| EvaluatorType | type of the underlying evaluator |
| [in] | e | evaluator whose values are exposed |
| TensorType | type of the tensorial object to be exposed |
| EvaluatorType | type of the underlying evaluator |
| [in] | e | evaluator whose values are exposed |
|
constexpr |
expose the values of a function argument as a tensorial object
| QualifiedFunctionArgumentType | type of the function argument, which may be a qualified type |
| [in] | f | function argument whose values are exposed |
| TensorType | type of the tensorial object to be exposed |
| QualifiedFunctionArgumentType | type of the function argument, which may be a qualified type |
| [in] | f | function argument whose values are exposed |