Tatooine
flowmap_concept.h
Go to the documentation of this file.
1#ifndef TATOOINE_FLOWMAP_CONCEPT_H
2#define TATOOINE_FLOWMAP_CONCEPT_H
3//==============================================================================
4#include <tatooine/concepts.h>
5#include <tatooine/vec.h>
6//==============================================================================
7namespace tatooine {
8//==============================================================================
9template <typename T, typename Real, std::size_t NumDimensions>
10concept weak_flowmap_concept = requires(T f, vec<Real, NumDimensions> x, Real t, Real tau) {
11 { f(x, t, tau) } ;
12};
13//==============================================================================
14template <typename T>
17 requires(std::decay_t<T> f, typename std::decay_t<T>::pos_type x,
18 typename std::decay_t<T>::real_type t, typename std::decay_t<T>::real_type tau) {
19 { f(x, t, tau) } -> std::same_as<typename std::decay_t<T>::pos_type>;
20};
21//==============================================================================
22} // namespace tatooine
23//==============================================================================
24#endif
Definition: flowmap_concept.h:15
Definition: concepts.h:162
Definition: concepts.h:156
Definition: concepts.h:153
Definition: flowmap_concept.h:10
Definition: algorithm.h:6