|
| constexpr | QuantityView (ConstructorArgumentType) |
| | constructor, checking the preconditions
|
| template<bool doPreconditionsCheck> |
| constexpr | QuantityView (const PreconditionsCheck< doPreconditionsCheck > &, ConstructorArgumentType) |
| | constructor
|
| constexpr bool | check (AbstractErrorHandler &) const |
| | perform consistency checks
|
| constexpr decltype(auto) | getSpace () const |
| | return the underlying space
|
| constexpr size_type | getNumberOfComponents () const MGIS_NOEXCEPT |
| 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
|
| constexpr auto | operator() (const element_index< Space > &) |
| | call operator returning mutable values
|
| constexpr auto | operator() (const element_workspace< Space > &, const element_index< Space > &) |
| | call operator returning mutable values
|
| constexpr auto | operator() (const cell_index< Space > &, const quadrature_point_index< Space > &) |
| | call operator returning mutable values
|
| constexpr auto | operator() (const cell_workspace< Space > &, const cell_index< Space > &, const quadrature_point_index< Space > &) |
| | call operator returning mutable values
|
template<FunctionConcept FunctionType, ::tfel::math::unit::UnitConcept UnitType>
struct mgis::function::QuantityView< FunctionType, UnitType >
a view returning the values of a function as quantities
A quantity is a scalar value associated with a physical unit. The view is built from a function with exactly one component. Its call operators return the value of the function at a given integration point:
- a mutable quantity (a qt_ref object of TFEL/Math), referencing the value of the function, for the non constant call operators,
- a read-only quantity (a const_qt_ref object of TFEL/Math), referencing the value of the function, for the constant call operators.
Only the call operators which match the way the underlying function can be called are available.
- Template Parameters
-
| FunctionType | type of the underlying function |
| UnitType | unit of the quantities returned by the view |