|
MGIS 3.1.0
|
an evaluator returning the values of a function view as a fixed size span or a scalar More...
#include </home/runner/work/MFrontGenericInterfaceSupport/MFrontGenericInterfaceSupport/include/MGIS/Function/FixedSizeModifier.hxx>
Public Types | |
| using | Space = evaluator_space<EvaluatorType> |
| type of the space on which the underlying evaluator is defined | |
Public Member Functions | |
| constexpr | FixedSizeModifier (const EvaluatorType &) |
| constructor, checking the preconditions | |
| template<bool doPreconditionsCheck> requires (N > 0) | |
| constexpr | FixedSizeModifier (const PreconditionsCheck< doPreconditionsCheck > &, const EvaluatorType &) |
| constructor | |
| constexpr bool | check (AbstractErrorHandler &) const |
| perform consistency checks | |
| constexpr decltype(auto) | getSpace () const |
| return the underlying space | |
| constexpr size_type | getNumberOfComponents () const |
| constexpr auto | operator() (const element_index< Space > &) const |
| call operator | |
| constexpr auto | operator() (const element_workspace< Space > &, const element_index< Space > &) const |
| call operator | |
| constexpr auto | operator() (const cell_index< Space > &, const quadrature_point_index< Space > &) const |
| call operator | |
| constexpr auto | operator() (const cell_workspace< Space > &, const cell_index< Space > &, const quadrature_point_index< Space > &) const |
| call operator | |
Static Public Member Functions | |
| static constexpr bool | checkPreconditions (AbstractErrorHandler &, const EvaluatorType &) |
| method checking that the preconditions of the constructor are met | |
an evaluator returning the values of a function view as a fixed size span or a scalar
The modifier is built from an evaluator with exactly N components. Its call operators return the values computed by the evaluator at a given integration point:
Only the call operators which match the way the underlying evaluator can be called are available.
| EvaluatorType | type of the underlying evaluator |
| N | number of components of the values returned by the modifier, which must be strictly positive |
|
constexpr |
constructor, checking the preconditions
| [in] | values | evaluator used to build the modifier |
|
constexpr |
constructor
| doPreconditionsCheck | boolean stating if the preconditions must be checked |
| [in] | pcheck | object stating if preconditions must be checked |
| [in] | values | evaluator used to build the modifier |
|
nodiscardconstexpr |
perform consistency checks
| [in] | ctx | error handler used to report the errors |
|
staticconstexpr |
method checking that the preconditions of the constructor are met
| [in] | eh | error handler used to report the errors |
| [in] | e | evaluator used to build the modifier |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
return the underlying space
|
nodiscardconstexpr |
call operator
| [in] | e | cell index |
| [in] | i | quadrature point index |
|
nodiscardconstexpr |
call operator
| [in] | wk | cell workspace |
| [in] | e | cell index |
| [in] | i | quadrature point index |
|
nodiscardconstexpr |
call operator
| [in] | i | integration point index |
|
nodiscardconstexpr |
call operator
| [in] | wk | element workspace |
| [in] | i | integration point index |