ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
Loading...
Searching...
No Matches
bspline.hpp File Reference
#include "sqr.hpp"
#include "utils/device_qualifier.hpp"
#include <limits>
#include <stdexcept>
+ Include dependency graph for bspline.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  Utils
 

Functions

template<int order, typename T >
DEVICE_QUALIFIER auto Utils::bspline (int i, T x) -> T requires((order > 0) and(order<=7))
 Formula of the B-spline.
 
template<int order, typename T = double>
DEVICE_QUALIFIER auto Utils::bspline_d (int i, T x) -> T requires((order > 0) and(order<=7))
 Derivative of the B-spline.