File which contains the implementation of the QuantityView class declared in MGIS/Function/TFEL/QuantityView.hxx.
More...
|
| namespace | mgis |
| | the namespace mgis encloses all the MGIS project.
|
File which contains the implementation of the QuantityView class declared in MGIS/Function/TFEL/QuantityView.hxx.
- Author
- Thomas Helfer
- Date
- 15/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<FunctionConcept FunctionType, ::tfel::math::unit::UnitConcept UnitType>
perform consistency checks
- Template Parameters
-
| FunctionType | type of the underlying function |
| UnitType | unit of the quantities returned by the view |
- Parameters
-
| [in] | eh | error handler used to report the errors |
| [in] | v | quantity view |
- Returns
- true if the values returned by the view are valid
◆ getNumberOfComponents()
template<FunctionConcept FunctionType, ::tfel::math::unit::UnitConcept UnitType>
return the number of components
- Template Parameters
-
| FunctionType | type of the underlying function |
| UnitType | unit of the quantities returned by the view |
- Parameters
-
- Returns
- the number of components of the view, which is one
◆ getSpace()
template<FunctionConcept FunctionType, ::tfel::math::unit::UnitConcept UnitType>
| decltype(auto) mgis::function::getSpace |
( |
const QuantityView< FunctionType, UnitType > & | v | ) |
|
|
nodiscardconstexpr |
return the underlying space
- Template Parameters
-
| FunctionType | type of the underlying function |
| UnitType | unit of the quantities returned by the view |
- Parameters
-
- Returns
- the space on which the view is defined