25 constexpr
int PRECISION = std::is_same<Float, double>::value ? 12 : 6;
constexpr char CODE_NAME[]
uint32_t Size
Integral type used to index arrays (by default).
int32_t SignedSize
Signed integral type, used where negative numbers are necessary. Should match Size.
double Float
Precision used withing the code. Use Float instead of float or double where precision is important.
constexpr int PRECISION
Number of valid digits of numbers on output.
constexpr int DIMENSIONS
Number of spatial dimensions in the code.
Common macros and basic objects.
#define INLINE
Macros for conditional compilation based on selected compiler.
#define NAMESPACE_SPH_END