template<typename FunctionType>
std::decay_t<decltype(getSpace(std::declval<FunctionType>()))>>)&&
(requires(const FunctionType& e) {
}) &&
? std::same_as<typename internals::FunctionResultQuery<
FunctionType>::result_type1,
typename internals::FunctionResultQuery<
FunctionType>::result_type>
: true) &&
? std::same_as<typename internals::FunctionResultQuery<
FunctionType>::result_type2,
typename internals::FunctionResultQuery<
FunctionType>::result_type>
: true) &&
(internals::FunctionResultQuery<FunctionType>::b3
?
std::same_as<typename internals::FunctionResultQuery<
FunctionType>::result_type3,
typename internals::FunctionResultQuery<
FunctionType>::result_type>
: true) &&
(internals::FunctionResultQuery<FunctionType>::b4
?
std::same_as<typename internals::FunctionResultQuery<
FunctionType>::result_type4,
typename internals::FunctionResultQuery<
FunctionType>::result_type>
: true) &&
(internals::FunctionResultQuery<FunctionType>::b1
?
std::same_as<typename internals::FunctionResultQuery<
FunctionType>::const_result_type1,
typename internals::FunctionResultQuery<
FunctionType>::const_result_type>
: true) &&
(internals::FunctionResultQuery<FunctionType>::b2
?
std::same_as<typename internals::FunctionResultQuery<
FunctionType>::const_result_type2,
typename internals::FunctionResultQuery<
FunctionType>::const_result_type>
: true) &&
(internals::FunctionResultQuery<FunctionType>::b3
?
std::same_as<typename internals::FunctionResultQuery<
FunctionType>::const_result_type3,
typename internals::FunctionResultQuery<
FunctionType>::const_result_type>
: true) &&
(internals::FunctionResultQuery<FunctionType>::b4
?
std::same_as<typename internals::FunctionResultQuery<
FunctionType>::const_result_type4,
typename internals::FunctionResultQuery<
FunctionType>::const_result_type>
: true) &&
(internals::FunctionResultTypeTraits<
typename internals::FunctionResultQuery<FunctionType>::result_type>::
is_specialized) &&
((LightweightViewConcept<FunctionType>) || (requires(FunctionType & f) {
{ view(f) } -> LightweightViewConcept;
}))
MGIS_HOST_DEVICE constexpr mgis::size_type getNumberOfComponents(const BinaryOperationModifier< CallableType, FirstEvaluatorType, SecondEvaluatorType > &)
return the number of components of the values returned by a binary operation
Definition BinaryOperation.ixx:80
a concept that must satisfy a function
Definition FunctionConcept.hxx:453
a concept describing a space
Definition SpaceConcept.hxx:216
static constexpr bool b1
Definition FunctionConcept.hxx:254
static constexpr bool b2
Definition FunctionConcept.hxx:257
static constexpr bool b3
Definition FunctionConcept.hxx:260
static constexpr bool b4
Definition FunctionConcept.hxx:263
a concept that must satisfy a function
A function is an object which:
- is defined on a space, i.e. for which the getSpace function is available,
- provides the number of components of the values it returns through the getNumberOfComponents function,
- can be called with either an element index, or an element workspace and an element index, or a cell index and a quadrature point index, or a cell workspace, a cell index and a quadrature point index. The value returned is either a scalar value, a std::span or a std::array,
- is either a lightweight view or provides a view function returning such a view.
- Template Parameters
-
| FunctionType | function type |