MGIS 3.1.0
Loading...
Searching...
No Matches
UniformEvaluator.ixx File Reference

Inline implementation of the classes declared in MGIS/Function/UniformEvaluator.hxx, which includes this file at its end. More...

#include <utility>

Namespaces

namespace  mgis
 the namespace mgis encloses all the MGIS project.

Functions

template<SpaceConcept Space, std::size_t N>
constexpr bool mgis::function::check (AbstractErrorHandler &, const UniformEvaluator< Space, N > &) MGIS_NOEXCEPT
 checks that a uniform evaluator is consistent with the space on which it is defined
template<SpaceConcept Space, std::size_t N>
constexpr const Space & mgis::function::getSpace (const UniformEvaluator< Space, N > &) MGIS_NOEXCEPT
 return the space on which a uniform evaluator is defined
template<SpaceConcept Space, std::size_t N>
constexpr mgis::size_type mgis::function::getNumberOfComponents (const UniformEvaluator< Space, N > &) MGIS_NOEXCEPT
 return the number of components of a uniform evaluator

Detailed Description

Inline implementation of the classes declared in MGIS/Function/UniformEvaluator.hxx, which includes this file at its end.

Author
Thomas Helfer
Date
06/10/2025

Function Documentation

◆ check()

template<SpaceConcept Space, std::size_t N>
bool mgis::function::check ( AbstractErrorHandler & ,
const UniformEvaluator< Space, N > &  )
constexpr

checks that a uniform evaluator is consistent with the space on which it is defined

Template Parameters
Spacetype of the space on which the evaluator is defined
Nnumber of components of the evaluator values
Parameters
[in]ehunused error handler
[in]euniform evaluator to be checked
Returns
always true: the values of a uniform evaluator are stored in the evaluator itself and are always valid

◆ getNumberOfComponents()

template<SpaceConcept Space, std::size_t N>
mgis::size_type mgis::function::getNumberOfComponents ( const UniformEvaluator< Space, N > & )
constexpr

return the number of components of a uniform evaluator

Template Parameters
Spacetype of the space on which the evaluator is defined
Nnumber of components of the evaluator values
Parameters
[in]euniform evaluator whose number of components is queried
Returns
N, the number of components of the evaluator values

◆ getSpace()

template<SpaceConcept Space, std::size_t N>
const Space & mgis::function::getSpace ( const UniformEvaluator< Space, N > & e)
constexpr

return the space on which a uniform evaluator is defined

Template Parameters
Spacetype of the space on which the evaluator is defined
Nnumber of components of the evaluator values
Parameters
[in]euniform evaluator
Returns
the space on which the evaluator is defined