MGIS
Loading...
Searching...
No Matches
EvaluatorConcept.hxx File Reference
#include <concepts>
#include <type_traits>
#include "MGIS/Config.hxx"
#include "MGIS/Function/CompileTimeSize.hxx"
#include "MGIS/Function/SpaceConcept.hxx"
#include "MGIS/Function/EvaluatorConcept.ixx"

Classes

struct  mgis::function::internals::EvaluatorResultQueryImplementation1< bool, EvaluatorType >
 
struct  mgis::function::internals::EvaluatorResultQueryImplementation1< true, EvaluatorType >
 
struct  mgis::function::internals::EvaluatorResultQueryImplementation2< bool, EvaluatorType >
 
struct  mgis::function::internals::EvaluatorResultQueryImplementation2< true, EvaluatorType >
 
struct  mgis::function::internals::EvaluatorResultQueryImplementation3< bool, EvaluatorType >
 
struct  mgis::function::internals::EvaluatorResultQueryImplementation3< true, EvaluatorType >
 
struct  mgis::function::internals::EvaluatorResultQueryImplementation4< bool, EvaluatorType >
 
struct  mgis::function::internals::EvaluatorResultQueryImplementation4< true, EvaluatorType >
 
struct  mgis::function::internals::EvaluatorResultQueryImplementation< bool, EvaluatorType >
 
struct  mgis::function::internals::EvaluatorResultQueryImplementation< true, EvaluatorType >
 
struct  mgis::function::internals::EvaluatorResultQuery< EvaluatorType >
 
struct  mgis::function::internals::NumberOfComponents< EvaluatorType >
 number of components of a type when known at compile-time, dynamic_extent otherwise More...
 

Namespaces

namespace  mgis
 the namespace mgis encloses all the MGIS project.
 

Concepts

concept  mgis::function::EvaluatorConcept
 a concept that must satisfy an evaluator
 
concept  mgis::function::ElementEvaluatorConcept
 concept defining evaluators working on an element space
 
concept  mgis::function::QuadratureEvaluatorConcept
 concept defining evaluators working on a quadrature space
 
concept  mgis::function::internals::is_pointer_to_real
 

Typedefs

template<EvaluatorConcept EvaluatorType>
using mgis::function::evaluator_space = std::decay_t< decltype(getSpace(std::declval< EvaluatorType >()))>
 
template<EvaluatorConcept EvaluatorType>
using mgis::function::evaluator_result = typename internals::EvaluatorResultQuery< EvaluatorType >::type
 type of the result of an evaluator
 

Functions

template<EvaluatorConcept EvaluatorType>
constexpr decltype(automgis::function::internals::disambiguateGetSpace (const EvaluatorType &)
 
template<EvaluatorConcept EvaluatorType>
constexpr bool mgis::function::internals::disambiguateCheck (AbstractErrorHandler &, const EvaluatorType &)
 
template<EvaluatorConcept EvaluatorType>
constexpr mgis::size_type mgis::function::internals::disambiguateGetNumberOfComponents (EvaluatorType &)
 

Variables

template<EvaluatorConcept EvaluatorType>
constexpr auto mgis::function::isEvaluatorResultTypeMappable
 

Detailed Description

Author
Thomas Helfer
Date
14/05/2025

Function Documentation

◆ disambiguateCheck()

template<EvaluatorConcept EvaluatorType>
constexpr bool mgis::function::internals::disambiguateCheck ( AbstractErrorHandler ctx,
const EvaluatorType &  e 
)
constexpr

This helper function allows to disambiguate the call to the check function

◆ disambiguateGetNumberOfComponents()

template<EvaluatorConcept EvaluatorType>
constexpr mgis::size_type mgis::function::internals::disambiguateGetNumberOfComponents ( EvaluatorType &  )
constexpr

This helper function allows to disambiguate the call to the getNumberOfComponents function

◆ disambiguateGetSpace()

template<EvaluatorConcept EvaluatorType>
constexpr decltype(auto) mgis::function::internals::disambiguateGetSpace ( const EvaluatorType &  e)
constexpr

This helper function allows to disambiguate the call to the getSpace function

Variable Documentation

◆ isEvaluatorResultTypeMappable

template<EvaluatorConcept EvaluatorType>
constexpr auto mgis::function::isEvaluatorResultTypeMappable
inlineconstexpr
Initial value:
=
requires(evaluator_result<EvaluatorType> rf) {
}
Definition EvaluatorConcept.hxx:226