is_interpolator Concept Reference#

DiFfRG: DiFfRG::is_interpolator Concept Reference
DiFfRG
Discretization Framework for functional Renormalization Group flows
DiFfRG::is_interpolator Concept Reference

A concept for what is an interpolator class. More...

#include <interpolation.hh>

Concept definition

template<typename T>
Checks that an interpolator class provides the required methods (get_coordinates) and a call operator...
Definition interpolation.hh:22
Checks that an interpolator class provides the required type aliases (value_type, ctype).
Definition interpolation.hh:12
A concept for what is an interpolator class.
Definition interpolation.hh:40

Detailed Description

A concept for what is an interpolator class.

An interpolator class must provide the following methods:

  • get_coordinates(): returns the coordinates object used for the interpolation
  • operator()(x...): interpolates at a point, callable from host AND device code

The interpolator class must also define the following type aliases:

  • value_type: the type of the values being interpolated
Template Parameters
TThe type to check