|
MGIS 3.1.0
|
an evaluator returning the values computed by an evaluator as TFEL's tensorial objects More...
#include </home/runner/work/MFrontGenericInterfaceSupport/MFrontGenericInterfaceSupport/include/MGIS/Function/TFEL/TensorModifier.hxx>
Public Member Functions | |
| constexpr bool | check (AbstractErrorHandler &) const |
| perform consistency checks | |
| constexpr size_type | getNumberOfComponents () const MGIS_NOEXCEPT |
| constexpr auto | apply (const evaluator_result< EvaluatorType > &) const |
| transform the value computed by the underlying evaluator at a given integration point into a tensorial object | |
| Public Member Functions inherited from mgis::function::EvaluatorModifierBase< TensorModifier< TensorType, EvaluatorType >, EvaluatorType > | |
| constexpr | EvaluatorModifierBase (const EvaluatorType &) |
| constructor | |
| constexpr decltype(auto) | getSpace () const |
| return the underlying space | |
| constexpr bool | check (AbstractErrorHandler &) const |
| perform consistency checks | |
| constexpr auto | operator() (const element_index< Space > &) const |
| call operator: the value computed by the underlying evaluator is passed to the apply member function of the derived class | |
Additional Inherited Members | |
| Public Types inherited from mgis::function::EvaluatorModifierBase< TensorModifier< TensorType, EvaluatorType >, EvaluatorType > | |
| using | Space |
| type of the space on which the underlying evaluator is defined | |
| Protected Attributes inherited from mgis::function::EvaluatorModifierBase< TensorModifier< TensorType, EvaluatorType >, EvaluatorType > | |
| EvaluatorType | evaluator |
| underlying evaluator | |
an evaluator returning the values computed by an evaluator as TFEL's tensorial objects
The modifier is built from an evaluator whose number of components must be compatible with the tensorial type TensorType. Its call operators pass the value computed by the evaluator at a given integration point to the apply member function, which returns it as a tensorial object: a read-only tensor viewing the computed values if they are stored in memory owned by another object, a tensor owning a copy of these values otherwise.
Only the call operators which match the way the underlying evaluator can be called are available.
| TensorType | type of the tensorial object to be exposed, which must match the TensorConcept concept |
| EvaluatorType | type of the underlying evaluator |
|
constexpr |
transform the value computed by the underlying evaluator at a given integration point into a tensorial object
| [in] | values | value computed by the underlying evaluator at the given integration point |
|
nodiscardconstexpr |
perform consistency checks
| [in] | eh | error handler the detected errors are reported to |
|
constexpr |