Made pme_work_t opaque
authorMark Abraham <mark.j.abraham@gmail.com>
Wed, 25 Feb 2015 00:24:09 +0000 (01:24 +0100)
committerMark Abraham <mark.j.abraham@gmail.com>
Wed, 8 Apr 2015 11:25:48 +0000 (13:25 +0200)
commit67634ffdac38a9819d2b58c95918cc8c4d442376
treeb766442826f461c93adf4d70b42396ed267f71ec
parentac871042890961d7810c101c7684015bb0c56d8e
Made pme_work_t opaque

Introduced pme_init/free_all_work to act on the newly opaque data,
and moved the helper functions that they call to pme-solve.c.

Renamed data type to pme_solve_work_t and field in gmx_pme_t to
solve_work, to help differentiate between the different "work"
structs.

Moved declaration of PME_SIMD_SOLVE to pme-solve.c, since it
is used nowhere else.

The PME work arrays are now allocated by their respective thread.

Change-Id: I02467ac2a4c2e8e6a9c45731ccec248b766609ff
src/gromacs/ewald/pme-internal.h
src/gromacs/ewald/pme-simd.h
src/gromacs/ewald/pme-solve.c
src/gromacs/ewald/pme-solve.h
src/gromacs/ewald/pme-spline-work.c
src/gromacs/ewald/pme.c