Move physics.* to math/units.*
authorTeemu Murtola <teemu.murtola@gmail.com>
Tue, 22 Apr 2014 04:14:58 +0000 (07:14 +0300)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Wed, 14 May 2014 19:33:30 +0000 (21:33 +0200)
commit604cd696c0fe387f44745c6aa7152f36b9c6406c
treeb79dad34b850f66c087e7d4603bbd913d344641a
parent2b4104a7c4e202d632a4d717a135845897284291
Move physics.* to math/units.*

- Remove some unnecessary #includes.
- Remove the dummy tests; easy to rewrite as usable tests using GTest if
  someone needs those.  They were anyways testing code that no one is
  still calling, even though it was introduced several years ago.
  Now gmxlib is free of *_test.c files.

Now, only one file using atom_id is keeping math/ dependent on
legacyheaders/.

Part of #1415.

Change-Id: I31312b92cf9f5d5129fbd90f31fcf27be2f7afaf
113 files changed:
src/contrib/ehanal.c
src/contrib/ehdata.c
src/contrib/ehole.c
src/contrib/g_anavel.c
src/contrib/hexamer.c
src/contrib/mkice.c
src/contrib/test.c
src/contrib/testlr.c
src/gromacs/essentialdynamics/edsam.c
src/gromacs/fileio/pdbio.c
src/gromacs/fileio/tngio.cpp
src/gromacs/fileio/tngio_for_tools.cpp
src/gromacs/gmxana/anadih.c
src/gromacs/gmxana/autocorr.c
src/gromacs/gmxana/gmx_anaeig.c
src/gromacs/gmxana/gmx_angle.c
src/gromacs/gmxana/gmx_bar.c
src/gromacs/gmxana/gmx_bundle.c
src/gromacs/gmxana/gmx_chi.c
src/gromacs/gmxana/gmx_clustsize.c
src/gromacs/gmxana/gmx_covar.c
src/gromacs/gmxana/gmx_current.c
src/gromacs/gmxana/gmx_density.c
src/gromacs/gmxana/gmx_densorder.cpp
src/gromacs/gmxana/gmx_dipoles.cpp
src/gromacs/gmxana/gmx_dos.c
src/gromacs/gmxana/gmx_dyndom.c
src/gromacs/gmxana/gmx_editconf.c
src/gromacs/gmxana/gmx_enemat.c
src/gromacs/gmxana/gmx_energy.c
src/gromacs/gmxana/gmx_hbond.c
src/gromacs/gmxana/gmx_helix.c
src/gromacs/gmxana/gmx_nmeig.c
src/gromacs/gmxana/gmx_nmens.c
src/gromacs/gmxana/gmx_nmtraj.c
src/gromacs/gmxana/gmx_pme_error.cpp
src/gromacs/gmxana/gmx_polystat.c
src/gromacs/gmxana/gmx_rama.c
src/gromacs/gmxana/gmx_rdf.c
src/gromacs/gmxana/gmx_rotacf.c
src/gromacs/gmxana/gmx_saxs.c
src/gromacs/gmxana/gmx_sham.c
src/gromacs/gmxana/gmx_sigeps.c
src/gromacs/gmxana/gmx_spol.c
src/gromacs/gmxana/gmx_tcaf.c
src/gromacs/gmxana/gmx_traj.c
src/gromacs/gmxana/gmx_velacc.c
src/gromacs/gmxana/gmx_wheel.c
src/gromacs/gmxana/hxprops.c
src/gromacs/gmxana/pp2shift.c
src/gromacs/gmxlib/CMakeLists.txt
src/gromacs/gmxlib/bondfree.c
src/gromacs/gmxlib/calch.c
src/gromacs/gmxlib/ewald_util.c
src/gromacs/gmxlib/nonbonded/nonbonded.c
src/gromacs/gmxlib/physics_test.c [deleted file]
src/gromacs/gmxlib/restcbt.c
src/gromacs/gmxpreprocess/calc_verletbuf.c
src/gromacs/gmxpreprocess/convparm.c
src/gromacs/gmxpreprocess/gen_maxwell_velocities.c
src/gromacs/gmxpreprocess/gen_vsite.c
src/gromacs/gmxpreprocess/genhydro.c
src/gromacs/gmxpreprocess/hizzie.c
src/gromacs/gmxpreprocess/nm2type.c
src/gromacs/gmxpreprocess/pdb2gmx.c
src/gromacs/gmxpreprocess/pdb2top.cpp
src/gromacs/gmxpreprocess/readir.c
src/gromacs/gmxpreprocess/topio.c
src/gromacs/gmxpreprocess/topshake.c
src/gromacs/gmxpreprocess/vsite_parm.c
src/gromacs/gmxpreprocess/x2top.c
src/gromacs/math/3dview.c
src/gromacs/math/CMakeLists.txt
src/gromacs/math/units.c [moved from src/gromacs/gmxlib/physics.c with 94% similarity]
src/gromacs/math/units.h [moved from src/gromacs/legacyheaders/physics.h with 98% similarity]
src/gromacs/math/vec.h
src/gromacs/mdlib/calcmu.c
src/gromacs/mdlib/clincs.c
src/gromacs/mdlib/constr.c
src/gromacs/mdlib/coupling.c
src/gromacs/mdlib/domdec_setup.c
src/gromacs/mdlib/ebin.c
src/gromacs/mdlib/ewald.c
src/gromacs/mdlib/expanded.c
src/gromacs/mdlib/force.c
src/gromacs/mdlib/forcerec.c
src/gromacs/mdlib/genborn.c
src/gromacs/mdlib/genborn_allvsall.c
src/gromacs/mdlib/genborn_allvsall_sse2_double.c
src/gromacs/mdlib/genborn_allvsall_sse2_single.c
src/gromacs/mdlib/genborn_sse2_double.c
src/gromacs/mdlib/genborn_sse2_single.c
src/gromacs/mdlib/mdebin.c
src/gromacs/mdlib/perf_est.c
src/gromacs/mdlib/pme.c
src/gromacs/mdlib/qm_gamess.c
src/gromacs/mdlib/qm_gaussian.c
src/gromacs/mdlib/qm_mopac.c
src/gromacs/mdlib/qm_orca.c
src/gromacs/mdlib/qmmm.c
src/gromacs/mdlib/rf_util.c
src/gromacs/mdlib/shellfc.c
src/gromacs/mdlib/sim_util.c
src/gromacs/mdlib/stat.c
src/gromacs/mdlib/tables.c
src/gromacs/mdlib/tpi.c
src/gromacs/mdlib/update.c
src/gromacs/selection/sm_insolidangle.cpp
src/gromacs/tools/check.c
src/gromacs/trajectoryanalysis/modules/sasa.cpp
src/programs/mdrun/md.c
src/programs/mdrun/membed.c
src/programs/mdrun/repl_ex.c