SPH
|
Global parameters of the code. More...
#include "objects/Object.h"
Go to the source code of this file.
Typedefs | |
using | Float = double |
Precision used withing the code. Use Float instead of float or double where precision is important. More... | |
using | Size = uint32_t |
Integral type used to index arrays (by default). More... | |
using | SignedSize = int32_t |
Signed integral type, used where negative numbers are necessary. Should match Size. More... | |
Functions | |
constexpr INLINE Float | operator""_f (const long double v) |
Useful literal using defined precision. Use "1.0_f" instead of "1.0f" (float) or "1.0" (double) literals. More... | |
Variables | |
constexpr int | DIMENSIONS = 3 |
Number of spatial dimensions in the code. More... | |
constexpr int | PRECISION = std::is_same<Float, double>::value ? 12 : 6 |
Number of valid digits of numbers on output. More... | |
constexpr char | CODE_NAME [] = "OpenSPH" |
using Float = double |
using SignedSize = int32_t |
using Size = uint32_t |
|
constexpr |