/home/runner/work/DiFfRG_current/DiFfRG_current/DiFfRG/include/DiFfRG/physics/interpolation.hh Source File#

DiFfRG: /home/runner/work/DiFfRG_current/DiFfRG_current/DiFfRG/include/DiFfRG/physics/interpolation.hh Source File
DiFfRG
interpolation.hh
Go to the documentation of this file.
1#pragma once
2
5
6namespace DiFfRG
7{
11 template <typename T>
12 concept has_interpolator_types = requires {
13 typename T::value_type;
14 typename T::ctype;
15 };
16
21 template <typename T>
23 t.get_coordinates();
24 t.template get_on<CPU_memory>();
25 t.template get_on<GPU_memory>();
27 };
28
41 template <typename T>
43} // namespace DiFfRG
44
48
50
Checks that an interpolator class provides the required methods (get_coordinates, get_on<CPU_memory>,...
Definition interpolation.hh:22
Checks that an interpolator class provides the required type aliases (value_type, ctype).
Definition interpolation.hh:12
Definition types.hh:41
A concept for what is an interpolator class.
Definition interpolation.hh:42
Definition complex_math.hh:10