MGIS 3.1.0
Loading...
Searching...
No Matches
mgis::function::SpaceConcept Concept Reference

a concept describing a space More...

#include </home/runner/work/MFrontGenericInterfaceSupport/MFrontGenericInterfaceSupport/include/MGIS/Function/SpaceConcept.hxx>

Concept definition

template<typename SpaceType>
((std::integral<typename SpaceTraits<SpaceType>::size_type>)&&
(std::move_constructible<SpaceType>)&&
(requires(const SpaceType& s) {
{
}) &&
(requires(const SpaceType& s, const SpaceType& s2) {
{ areEquivalent(s, s2) } -> std::same_as<bool>;
}))
constexpr size_type getSpaceSize(const BasicLinearQuadratureSpace< N > &) MGIS_NOEXCEPT
returns the size of the space, i.e. the number of quadrature points it contains
Definition BasicLinearQuadratureSpace.ixx:85
a concept describing a space
Definition SpaceConcept.hxx:216
concept satisfied if the given types are the same once std::decay_t is applied
Definition SpaceConcept.hxx:68
a quadrature traits class defining the main properties of a space
Definition SpaceConcept.hxx:56

Detailed Description

a concept describing a space

A space is a type which:

  • exposes a size_type type alias through SpaceTraits, which must match the std::integral concept,
  • can be moved constructed,
  • provides its size through the getSpaceSize function,
  • states if two spaces are equivalent through the areEquivalent function.
Template Parameters
SpaceTypetype of the space considered