ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
Go to the source code of this file.
Namespaces | |
namespace | Utils |
Macros | |
#define | ES_OK 0 |
error code if no error occurred | |
#define | ES_ERROR 1 |
error code if an error occurred | |
Functions | |
Mathematical, physical and chemical constants. <br> | |
template<class T = double> | |
DEVICE_QUALIFIER constexpr T | Utils::pi () |
Ratio of diameter and circumference of a circle. | |
template<class T = double> | |
DEVICE_QUALIFIER constexpr T | Utils::sqrt_pi_i () |
One over square root of pi. | |
template<class T = double> | |
DEVICE_QUALIFIER constexpr T | Utils::gamma () |
Euler-Mascheroni constant. | |
template<class T = double> | |
DEVICE_QUALIFIER constexpr T | Utils::ln_2 () |
Natural logarithm of 2. | |
template<class T = double> | |
DEVICE_QUALIFIER constexpr T | Utils::sqrt_2 () |
Square root of 2. | |
template<class T = double> | |
DEVICE_QUALIFIER constexpr T | Utils::cbrt_2 () |
Cube root of 2. | |
#define ES_ERROR 1 |
error code if an error occurred
Definition at line 80 of file constants.hpp.
#define ES_OK 0 |
error code if no error occurred
Definition at line 78 of file constants.hpp.