File which contains the implementation of the QuantityModifier class declared in MGIS/Function/TFEL/QuantityModifier.hxx.
More...
|
| namespace | mgis |
| | the namespace mgis encloses all the MGIS project.
|
File which contains the implementation of the QuantityModifier class declared in MGIS/Function/TFEL/QuantityModifier.hxx.
- Author
- Thomas Helfer
- Date
- 16/08/2026
- Copyright
- (C) Copyright Thomas Helfer 2018. Use, modification and distribution are subject to one of the following licences:
- GNU Lesser General Public License (LGPL), Version 3.0. (See accompanying file LGPL-3.0.txt)
- CECILL-C, Version 1.0 (See accompanying files CeCILL-C_V1-en.txt and CeCILL-C_V1-fr.txt).
◆ check()
template<EvaluatorConcept EvaluatorType, ::tfel::math::unit::UnitConcept UnitType>
perform consistency checks
- Template Parameters
-
| EvaluatorType | type of the underlying evaluator |
| UnitType | unit of the quantities returned by the modifier |
- Parameters
-
| [in] | eh | error handler used to report the errors |
| [in] | e | quantity modifier |
- Returns
- true if the values computed by the modifier are valid
◆ getNumberOfComponents()
template<EvaluatorConcept EvaluatorType, ::tfel::math::unit::UnitConcept UnitType>
| size_type mgis::function::getNumberOfComponents |
( |
const QuantityModifier< EvaluatorType, UnitType > & | e | ) |
|
|
nodiscardconstexpr |
return the number of components
- Template Parameters
-
| EvaluatorType | type of the underlying evaluator |
| UnitType | unit of the quantities returned by the modifier |
- Parameters
-
- Returns
- the number of components of the modifier, which is one
◆ getSpace()
template<EvaluatorConcept EvaluatorType, ::tfel::math::unit::UnitConcept UnitType>
| decltype(auto) mgis::function::getSpace |
( |
const QuantityModifier< EvaluatorType, UnitType > & | e | ) |
|
|
nodiscardconstexpr |
return the underlying space
- Template Parameters
-
| EvaluatorType | type of the underlying evaluator |
| UnitType | unit of the quantities returned by the modifier |
- Parameters
-
- Returns
- the space on which the modifier is defined