Moved additional gmxlib sources to C++
authorErik Lindahl <erik@kth.se>
Fri, 17 Jul 2015 19:40:41 +0000 (21:40 +0200)
committerErik Lindahl <erik@kth.se>
Mon, 27 Jul 2015 13:06:13 +0000 (15:06 +0200)
commitac65de032cce28672cb4e14cd9d83d853855a43a
tree5e30ef0cc0c0f99738deddd86bacadc923091d69
parenta04f855267ee04b810f645e184f75fe6b520b8af
Moved additional gmxlib sources to C++

Moved functions into std:: namespace and changed try->attempt
to avoid using reserved names. gmx_cpuid.c has been left
as C for now, both because __cpuid() and __cpuidex() does
not appear to be present in C++ source, and because it will
anyway be replaced with a proper C++ module that can also
interface to hwloc.

Change-Id: I6f10b19a499209b375ee154540a3386f882457bd
23 files changed:
src/gromacs/gmxlib/calcgrid.cpp
src/gromacs/gmxlib/chargegroup.cpp
src/gromacs/gmxlib/checkpoint.cpp
src/gromacs/gmxlib/conformation-utilities.cpp [moved from src/gromacs/gmxlib/conformation-utilities.c with 96% similarity]
src/gromacs/gmxlib/copyrite.cpp
src/gromacs/gmxlib/disre.cpp
src/gromacs/gmxlib/gmx_detect_hardware.cpp
src/gromacs/gmxlib/gmx_omp_nthreads.cpp [moved from src/gromacs/gmxlib/gmx_omp_nthreads.c with 98% similarity]
src/gromacs/gmxlib/gmx_thread_affinity.cpp [moved from src/gromacs/gmxlib/gmx_thread_affinity.c with 96% similarity]
src/gromacs/gmxlib/inputrec.cpp
src/gromacs/gmxlib/main.cpp
src/gromacs/gmxlib/md_logging.cpp
src/gromacs/gmxlib/network.cpp
src/gromacs/gmxlib/nrnb.cpp [moved from src/gromacs/gmxlib/nrnb.c with 96% similarity]
src/gromacs/gmxlib/orires.cpp
src/gromacs/gmxlib/rbin.cpp
src/gromacs/gmxlib/readinp.cpp [moved from src/gromacs/gmxlib/readinp.c with 95% similarity]
src/gromacs/gmxlib/sighandler.cpp
src/gromacs/gmxlib/splitter.cpp [moved from src/gromacs/gmxlib/splitter.c with 84% similarity]
src/gromacs/gmxlib/txtdump.cpp
src/gromacs/gmxlib/typedefs.cpp
src/gromacs/gmxlib/viewit.cpp [moved from src/gromacs/gmxlib/viewit.c with 97% similarity]
src/gromacs/gmxlib/warninp.cpp [moved from src/gromacs/gmxlib/warninp.c with 97% similarity]