Add con/destructor for t_forcetable
commit134798e80f0f28ba42ebb573ff78537e54c0de63
authorBerk Hess <hess@kth.se>
Thu, 28 Feb 2019 12:40:27 +0000 (28 13:40 +0100)
committerBerk Hess <hess@kth.se>
Tue, 30 Apr 2019 05:35:14 +0000 (30 07:35 +0200)
treeb74df152833866f2b7346a03e6350aabb9f3b295
parent443bd238334d512f6f624e8b1d1e49231a2e8314
Add con/destructor for t_forcetable

This avoids the need for sfree calls in C++ objects that use this.

Change-Id: I21d6867a9e3c84929ecf472e65ee97b3cf7c4846
src/gromacs/mdlib/dispersioncorrection.cpp
src/gromacs/mdlib/dispersioncorrection.h
src/gromacs/mdlib/forcerec.cpp
src/gromacs/mdtypes/forcerec.h
src/gromacs/mdtypes/nblist.h
src/gromacs/tables/forcetable.cpp
src/gromacs/tables/forcetable.h