|
MGIS 3.1.0
|
This file declares the BinaryOperationEvaluatorBase class, a base class used to build an evaluator by applying a binary operation to the values returned by two evaluators. More...
#include "MGIS/AbstractErrorHandler.hxx"#include "MGIS/Function/SpaceConcept.hxx"#include "MGIS/Function/EvaluatorConcept.hxx"#include "MGIS/Function/BinaryOperationEvaluatorBase.ixx"Classes | |
| struct | mgis::function::BinaryOperationEvaluatorBase< Child, FirstEvaluatorType, SecondEvaluatorType > |
| a base class to construct an evaluator by applying a binary operation on the results of two evaluators More... | |
Namespaces | |
| namespace | mgis |
| the namespace mgis encloses all the MGIS project. | |
Functions | |
| template<typename Child, EvaluatorConcept FirstEvaluatorType, EvaluatorConcept SecondEvaluatorType> | |
| constexpr decltype(auto) | mgis::function::getSpace (const BinaryOperationEvaluatorBase< Child, FirstEvaluatorType, SecondEvaluatorType > &) |
| return the underlying space | |
| template<typename Child, EvaluatorConcept FirstEvaluatorType, EvaluatorConcept SecondEvaluatorType> | |
| constexpr bool | mgis::function::check (AbstractErrorHandler &, const BinaryOperationEvaluatorBase< Child, FirstEvaluatorType, SecondEvaluatorType > &) |
| perform consistency checks | |
Variables | |
| template<EvaluatorConcept FirstEvaluatorType, EvaluatorConcept SecondEvaluatorType> | |
| constexpr auto | mgis::function::BinaryOperationEvaluatorBaseRequirement |
| the set of requirements that must be satisfied by both operands of a binary operation on evaluators | |
This file declares the BinaryOperationEvaluatorBase class, a base class used to build an evaluator by applying a binary operation to the values returned by two evaluators.
|
nodiscardconstexpr |
perform consistency checks
forwards the call to the check member function
| Child | type of the class deriving from this base class |
| FirstEvaluatorType | evaluator used to compute the first argument of the binary operation |
| SecondEvaluatorType | evaluator used to compute the second argument of the binary operation |
| [in] | eh | error handler used to report the errors |
| [in] | e | evaluator of the result of the binary operation |
|
nodiscardconstexpr |
return the underlying space
forwards the call to the getSpace member function
| Child | type of the class deriving from this base class |
| FirstEvaluatorType | evaluator used to compute the first argument of the binary operation |
| SecondEvaluatorType | evaluator used to compute the second argument of the binary operation |
| [in] | e | evaluator of the result of the binary operation |
|
inlineconstexpr |
the set of requirements that must be satisfied by both operands of a binary operation on evaluators
The two evaluators must be defined on the same space and must either both match the ElementEvaluatorConcept concept or both the QuadratureEvaluatorConcept concept: the values of the two operands are always computed at the same integration point.
| FirstEvaluatorType | evaluator used to compute the first argument of the binary operation |
| SecondEvaluatorType | evaluator used to compute the second argument of the binary operation |