Use index instead of pointer in t_mde_delta_h_coll
authorejjordan <ejjordan@kth.se>
Tue, 20 Apr 2021 13:24:18 +0000 (15:24 +0200)
committerJoe Jordan <ejjordan12@gmail.com>
Wed, 21 Apr 2021 08:57:41 +0000 (08:57 +0000)
commit2abc657be894dc30bbb3cb549517e4e69a2ec2bf
tree917bc797fa503c2868f82fba2eae1cabfe36e7fe
parentb89ae78537674e7f6809dbd758dfb10d0dae59ea
Use index instead of pointer in t_mde_delta_h_coll

Several members of t_mde_delta_h_coll were just pointers into a
master array of t_mde_delta_h that are held by t_mde_delta_h_coll.
This change makes it so only an int instead of a pointer is stored.
After this it should be much easier to make t_mde_delta_h_coll
default constructible, which is planned for a followup.

Also removed 2 unused members.

A renaming of the members can also be left for a followup, once
the whole t_mde_delta_h_coll struct is modernized.
src/gromacs/mdlib/mdebin_bar.cpp
src/gromacs/mdlib/mdebin_bar.h