|
MGIS 3.1.0
|
File which defines the FixedSizeModifier class, a modifier returning the values computed by an evaluator with a fixed number of components as a fixed size span or as a scalar. More...
#include "MGIS/Contract.hxx"#include "MGIS/Function/SpaceConcept.hxx"#include "MGIS/Function/Evaluator.hxx"#include "MGIS/Function/Function.hxx"#include "MGIS/Function/FixedSizeModifier.ixx"Classes | |
| struct | mgis::function::FixedSizeModifier< EvaluatorType, N > |
| an evaluator returning the values of a function view as a fixed size span or a scalar More... | |
Namespaces | |
| namespace | mgis |
| the namespace mgis encloses all the MGIS project. | |
Functions | |
| template<size_type N, typename EvaluatorType> requires ( (N > 0) && (N != dynamic_extent) && // (EvaluatorConcept<std::decay_t<EvaluatorType>>)) | |
| constexpr auto | mgis::function::view (const EvaluatorType &) |
| create a fixed size view from an evaluator | |
| template<EvaluatorConcept EvaluatorType, size_type N> | |
| constexpr decltype(auto) | mgis::function::getSpace (const FixedSizeModifier< EvaluatorType, N > &) |
| return the underlying space | |
| template<EvaluatorConcept EvaluatorType, size_type N> | |
| constexpr bool | mgis::function::check (AbstractErrorHandler &, const FixedSizeModifier< EvaluatorType, N > &) |
| perform consistency checks | |
| template<EvaluatorConcept EvaluatorType, size_type N> | |
| constexpr size_type | mgis::function::getNumberOfComponents (const FixedSizeModifier< EvaluatorType, N > &) |
| return the number of components | |
File which defines the FixedSizeModifier class, a modifier returning the values computed by an evaluator with a fixed number of components as a fixed size span or as a scalar.
|
nodiscardconstexpr |
perform consistency checks
| EvaluatorType | type of the underlying evaluator |
| N | number of components of the modifier |
| [in] | eh | error handler used to report the errors |
| [in] | e | fixed size modifier |
|
nodiscardconstexpr |
return the number of components
| EvaluatorType | type of the underlying evaluator |
| N | number of components of the modifier |
| [in] | e | fixed size modifier |
|
nodiscardconstexpr |
return the underlying space
| EvaluatorType | type of the underlying evaluator |
| N | number of components of the modifier |
| [in] | e | fixed size modifier |
|
nodiscardconstexpr |
create a fixed size view from an evaluator
| N | number of components of the view |
| EvaluatorType | type of the evaluator, which may be a qualified type |
| [in] | f | evaluator |