Move M_PI definition to math/units.h
authorPaul Bauer <paul.bauer.q@gmail.com>
Mon, 15 Mar 2021 14:59:03 +0000 (14:59 +0000)
committerMark Abraham <mark.j.abraham@gmail.com>
Mon, 15 Mar 2021 14:59:03 +0000 (14:59 +0000)
commitc3cf390fcb280330b1329dfdf10617b4106a6d80
treea86a9309d00a7c188ea4ef8e7957ed55eb9f6f7e
parent4b02028ea464738cb3d9ecb13d787632e105d68c
Move M_PI definition to math/units.h

This makes more sense to have the definition there with the other
constants.

Resolves build issues with MSVC not finding M_PI definition.

Needed some minor header fixes.
54 files changed:
api/legacy/include/gromacs/math/units.h
api/legacy/include/gromacs/math/utilities.h
src/gromacs/applied_forces/awh/biasstate.cpp
src/gromacs/domdec/domdec_setup.cpp
src/gromacs/essentialdynamics/edsam.cpp
src/gromacs/ewald/calculate_spline_moduli.cpp
src/gromacs/fileio/pdbio.cpp
src/gromacs/gmxana/anadih.cpp
src/gromacs/gmxana/gmx_analyze.cpp
src/gromacs/gmxana/gmx_angle.cpp
src/gromacs/gmxana/gmx_bundle.cpp
src/gromacs/gmxana/gmx_confrms.cpp
src/gromacs/gmxana/gmx_densmap.cpp
src/gromacs/gmxana/gmx_dielectric.cpp
src/gromacs/gmxana/gmx_filter.cpp
src/gromacs/gmxana/gmx_gyrate.cpp
src/gromacs/gmxana/gmx_helixorient.cpp
src/gromacs/gmxana/gmx_order.cpp
src/gromacs/gmxana/gmx_potential.cpp
src/gromacs/gmxana/gmx_rama.cpp
src/gromacs/gmxana/gmx_rms.cpp
src/gromacs/gmxana/gmx_rmsf.cpp
src/gromacs/gmxana/hxprops.cpp
src/gromacs/gmxana/pp2shift.cpp
src/gromacs/gmxana/sfactor.cpp
src/gromacs/gmxpreprocess/gen_vsite.cpp
src/gromacs/gmxpreprocess/genconf.cpp
src/gromacs/gmxpreprocess/hizzie.cpp
src/gromacs/gmxpreprocess/insert_molecules.cpp
src/gromacs/gmxpreprocess/topshake.cpp
src/gromacs/gmxpreprocess/vsite_parm.cpp
src/gromacs/math/do_fit.cpp
src/gromacs/math/functions.cpp
src/gromacs/math/gausstransform.cpp
src/gromacs/math/tests/densityfittingforce.cpp
src/gromacs/mdlib/md_support.cpp
src/gromacs/mdlib/perf_est.cpp
src/gromacs/mdlib/wall.cpp
src/gromacs/nbnxm/benchmark/bench_setup.cpp
src/gromacs/nbnxm/cuda/nbnxm_cuda_kernel.cuh
src/gromacs/nbnxm/kernels_reference/kernel_gpu_ref.cpp
src/gromacs/nbnxm/pairlist.cpp
src/gromacs/pulling/pull_rotation.cpp
src/gromacs/pulling/pullutil.cpp
src/gromacs/simd/tests/scalar_math.cpp
src/gromacs/simd/tests/simd4_floatingpoint.cpp
src/gromacs/simd/tests/simd4_math.cpp
src/gromacs/simd/tests/simd_floatingpoint.cpp
src/gromacs/simd/tests/simd_math.cpp
src/gromacs/tables/tests/splinetable.cpp
src/gromacs/trajectoryanalysis/modules/angle.cpp
src/gromacs/trajectoryanalysis/modules/rdf.cpp
src/gromacs/trajectoryanalysis/modules/surfacearea.cpp
src/gromacs/trajectoryanalysis/tests/surfacearea.cpp