Properly initialize idef in topologies
authorPaul Bauer <paul.bauer.q@gmail.com>
Wed, 12 Sep 2018 09:40:22 +0000 (11:40 +0200)
committerMark Abraham <mark.j.abraham@gmail.com>
Mon, 17 Sep 2018 15:39:06 +0000 (17:39 +0200)
commit9d54488b2f17e503e2252336ed17d0483ff713c5
treefd6db515023e10391f0b1a71f41a17b81d4a0880
parentf143ec1ed6d583cd65d85e652b9bca37dee3af9c
Properly initialize idef in topologies

Adds and uses functions to properly initialize and clean up
idef structure in topologies.

This is preparing for changes that no longer use snew for
allocating topology datastructures.

Change-Id: Iabad6d95bc994f4b292c063572a6d83e7f02036d
src/gromacs/topology/idef.cpp
src/gromacs/topology/idef.h
src/gromacs/topology/topology.cpp
src/gromacs/topology/topology.h