ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
#include "sqr.hpp"
#include "utils/device_qualifier.hpp"
#include <stdexcept>
#include <type_traits>
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) -> std::enable_if_t<(order > 0) &&(order<=7), T > |
Formula of the B-spline. | |
template<class T > | |
auto | Utils::bspline (int i, T x, int k) |
Calculate B-splines. | |
template<int order, typename T = double> | |
DEVICE_QUALIFIER auto | Utils::bspline_d (int i, T x) -> std::enable_if_t<(order > 0) &&(order<=7), T > |
Derivative of the B-spline. | |