Create math module
authorMark Abraham <mark.j.abraham@gmail.com>
Sun, 24 Nov 2013 11:55:28 +0000 (12:55 +0100)
committerMark Abraham <mark.j.abraham@gmail.com>
Wed, 8 Jan 2014 13:17:12 +0000 (14:17 +0100)
commitb551c5e033087ae26986ef07f93e0c78b5cc1b4d
tree267bf2fbe4b36b92ace8a70d644b445a84015ef4
parent8975a03419fcddfd882cac84be2142bfc7c5a1ea
Create math module

Renamed */maths.[ch] to */math/utilities.[ch]. Added license
statement for Sun FDLIBM. Uncrustified files in new module. Removed
orphan crecipdata.c file and invsqrt_test.c. Updated #include guards.
Moved some non-performance-sensitive function definitions from maths.h
to utilities.c.

A future patch will deal with vec.h.

Change-Id: I954cc48487c1af7f59f5a18c012c76d4297f7cab
60 files changed:
COPYING
src/gromacs/CMakeLists.txt
src/gromacs/analysisdata/modules/displacement.cpp
src/gromacs/fileio/matio.cpp
src/gromacs/gmxana/gmx_bar.c
src/gromacs/gmxana/gmx_chi.c
src/gromacs/gmxana/gmx_dielectric.c
src/gromacs/gmxana/gmx_dos.c
src/gromacs/gmxana/gmx_dyndom.c
src/gromacs/gmxana/gmx_genconf.c
src/gromacs/gmxana/gmx_genion.c
src/gromacs/gmxana/gmx_helix.c
src/gromacs/gmxana/gmx_msd.c
src/gromacs/gmxana/gmx_tcaf.c
src/gromacs/gmxana/gmx_vanhove.c
src/gromacs/gmxana/gmx_velacc.c
src/gromacs/gmxlib/atomprop.c
src/gromacs/gmxlib/bondfree.c
src/gromacs/gmxlib/calch.c
src/gromacs/gmxlib/crecipdata.c [deleted file]
src/gromacs/gmxlib/do_fit.c
src/gromacs/gmxlib/ewald_util.c
src/gromacs/gmxlib/gmx_random.c
src/gromacs/gmxlib/invsqrt_test.c [deleted file]
src/gromacs/gmxlib/nonbonded/nonbonded.c
src/gromacs/gmxlib/pbc.c
src/gromacs/gmxlib/sfactor.c
src/gromacs/gmxpreprocess/topio.c
src/gromacs/legacyheaders/update.h
src/gromacs/legacyheaders/vec.h
src/gromacs/legacyheaders/viewit.h
src/gromacs/math/3dview.c [moved from src/gromacs/gmxlib/3dview.c with 98% similarity]
src/gromacs/math/3dview.h [moved from src/gromacs/legacyheaders/3dview.h with 95% similarity]
src/gromacs/math/CMakeLists.txt [new file with mode: 0644]
src/gromacs/math/utilities.c [moved from src/gromacs/gmxlib/maths.c with 97% similarity]
src/gromacs/math/utilities.h [moved from src/gromacs/legacyheaders/maths.h with 82% similarity]
src/gromacs/mdlib/adress.c
src/gromacs/mdlib/ebin.c
src/gromacs/mdlib/forcerec.c
src/gromacs/mdlib/mdatom.c
src/gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel.cuh
src/gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_gpu_ref.c
src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_common.h
src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_common.h
src/gromacs/mdlib/nbnxn_search.c
src/gromacs/mdlib/ns.c
src/gromacs/mdlib/stat.c
src/gromacs/mdlib/tables.c
src/gromacs/mdlib/wall.c
src/gromacs/selection/evaluate.cpp
src/gromacs/selection/sm_compare.cpp
src/gromacs/selection/sm_insolidangle.cpp
src/programs/gmx/convparm.c
src/programs/gmx/g_x2top.c
src/programs/gmx/nm2type.c
src/programs/view/manager.cpp
src/programs/view/manager.h
src/programs/view/molps.cpp
src/programs/view/nmol.cpp
src/testutils/testasserts.h