ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
#include <utils/device_qualifier.hpp>
#include <utils/math/sqr.hpp>
#include <cmath>
#include <numbers>
#include <stdexcept>
#include <string>
Go to the source code of this file.
Namespaces | |
namespace | math |
Functions | |
DEVICE_QUALIFIER auto | math::abs (double x) |
Return the absolute value of x. | |
DEVICE_QUALIFIER auto | math::abs (float x) |
Return the absolute value of x. | |
template<typename T > | |
DEVICE_QUALIFIER auto | math::sinc (T x) |
Calculate the function \( \mathrm{sinc}(x) = \sin(\pi x)/(\pi x) \). | |
template<int cao> | |
DEVICE_QUALIFIER auto | math::analytic_cotangent_sum (int n, double mesh_i) |
One of the aliasing sums used to compute k-space errors. | |
auto | math::get_analytic_cotangent_sum_kernel (int cao) |