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

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)