Module defining some miscellaneous functions, constants, etc.
All functions that deal with numerics are written in double precision.
Prints library info (library name, version, compilation date, precision, etc).
1if CHarm was compiled in single precision (
2if CHarm was compiled in double precision (
--enable-double-precisionor no precision flag),
3if CHarm was compiled quadruple precision (
Returns a non-zero value if CHarm was compiled with the OpenMP parallelization enabled (
--enable-openmp). Otherwise, zero is returned.
Returns a non-zero value if the host’s FFTW library supports OpenMP parallelization. Otherwise, zero is returned.
If non-zero, all FFTW computations are parallelized.
0if CHarm was compiled with SIMD instructions disabled,
1if CHarm was compiled with AVX instructions enabled (
2if CHarm was compiled with AVX2 instructions enabled (
3if CHarm was compiled with AVX-512 instructions enabled (
Returns a non-zero value if correctly working
isfinitemacro was found in the system’s
math.hheader file before the compilation. Otherwise, zero is returned.
On some systems, the
isfinitemacro is available in
math.hbut is not working correctly with
__float128floating point data type (quadruple precision). In that case, zero is returned.