|
MGIS
|
#include <span>#include <array>#include <utility>#include <concepts>#include <type_traits>#include "MGIS/Config.hxx"#include "MGIS/Function/CompileTimeSize.hxx"#include "MGIS/Function/SpaceConcept.hxx"#include "MGIS/Function/EvaluatorConcept.hxx"#include "MGIS/Function/FunctionConcept.ixx"#include "MGIS/Function/FixedSizeView.hxx"#include "MGIS/Function/FixedSizeModifier.hxx"Namespaces | |
| namespace | mgis |
the namespace mgis encloses all the MGIS project. | |
Concepts | |
| concept | mgis::function::internals::mutable_return_value |
| concept | mgis::function::LightweightViewConcept |
| concept | mgis::function::FunctionConcept |
| a concept that must satisfy a function | |
| concept | mgis::function::LightweightFunctionConcept |
| concept | mgis::function::NonLightweightFunctionConcept |
| concept | mgis::function::ViewableFunctionArgumentConcept |
| concept | mgis::function::ElementFunctionConcept |
| concept defining evaluators working on an element space | |
| concept | mgis::function::QuadratureFunctionConcept |
| concept defining evaluators working on a quadrature space | |
Typedefs | |
| template<FunctionConcept FunctionType> | |
| using | mgis::function::function_view = std::conditional_t< LightweightViewConcept< FunctionType >, FunctionType, typename internals::ViewResultType< LightweightViewConcept< FunctionType >, FunctionType >::type > |
| an alias which returns a view corresponding to the given function type | |
| template<FunctionConcept FunctionType> | |
| using | mgis::function::function_space = std::decay_t< decltype(getSpace(std::declval< FunctionType >()))> |
| template<FunctionConcept FunctionType> | |
| using | mgis::function::function_result = typename internals::FunctionResultQuery< FunctionType >::result_type |
| type of the result of an function | |
| template<FunctionConcept FunctionType> | |
| using | mgis::function::function_const_result = typename internals::FunctionResultQuery< FunctionType >::const_result_type |
| type of the result of an function | |
Functions | |
| template<ViewableFunctionArgumentConcept FunctionType> | |
| constexpr function_view< std::decay_t< FunctionType > > | mgis::function::make_view (FunctionType &&f) |
| an helper function to create a view when required | |
| template<FunctionConcept FunctionType> requires (!EvaluatorConcept<FunctionType>) | |
| constexpr decltype(auto) | mgis::function::internals::disambiguateGetSpace (const FunctionType &) |
| template<FunctionConcept FunctionType> requires (!EvaluatorConcept<FunctionType>) | |
| constexpr mgis::size_type | mgis::function::internals::disambiguateGetNumberOfComponents (const FunctionType &) |
| template<ViewableFunctionArgumentConcept QualifiedFunctionArgumentType, size_type N> | |
| constexpr bool | mgis::function::internals::checkNumberOfComponentsCompatibility () noexcept |
| template<EvaluatorConcept EvaluatorType, ViewableFunctionArgumentConcept FunctionType> requires ( std::same_as<evaluator_space<EvaluatorType>, function_space<std::decay_t<FunctionType>>>) | |
| bool | mgis::function::operator| (EvaluatorType, FunctionType &&) |
| assign an evaluator to a mutable function view | |
|
template<ViewableFunctionArgumentConcept QualifiedFunctionArgumentType, size_type N> requires (internals::checkNumberOfComponentsCompatibility< QualifiedFunctionArgumentType, N>()) | |
| constexpr auto | mgis::function::operator| (QualifiedFunctionArgumentType &&f, const internals::fixed_size_modifier< N > &m) |
Variables | |
| template<FunctionConcept FunctionType> | |
| constexpr auto | mgis::function::isFunctionResultTypeMappable |
| template<FunctionConcept FunctionType> | |
| constexpr auto | mgis::function::isFunctionConstResultTypeMappable |
| template<size_type N> | |
| constexpr auto | mgis::function::as_array = internals::fixed_size_modifier<N>{} |
| constexpr auto | mgis::function::as_scalar = internals::fixed_size_modifier<1>{} |
|
constexpr |
This helper function allows to disambiguate the call to the getNumberOfComponents function
|
constexpr |
This helper function allows to disambiguate the call to the getSpace function
| bool mgis::function::operator| | ( | EvaluatorType | e, |
| FunctionType && | f | ||
| ) |
assign an evaluator to a mutable function view
| [in] | ctx | execution context |
| [in] | e | evaluator |
| [in] | f | function |
|
inlineconstexpr |
|
inlineconstexpr |