Add class FixedCapacityVector
authorBerk Hess <hess@kth.se>
Wed, 9 Oct 2019 18:07:50 +0000 (20:07 +0200)
committerMark Abraham <mark.j.abraham@gmail.com>
Sat, 12 Oct 2019 11:47:51 +0000 (13:47 +0200)
commit56c8718de621dd8c39b098e6759b196df67db64a
treeb0f22caae30eb240e8248f083b6eed68def30061
parent679c2f07f9732370999fbc636e50ef97be8550d4
Add class FixedCapacityVector

This satisfied the need for an std::vector like container
without the overhead of dynamic allocation.

Change-Id: Ic12f958a42e736ccd1d0a69d2a9de6056a4b7ff5
src/gromacs/mdlib/sim_util.cpp
src/gromacs/utility/fixedcapacityvector.h [new file with mode: 0644]
src/gromacs/utility/tests/CMakeLists.txt
src/gromacs/utility/tests/fixedcapacityvector.cpp [new file with mode: 0644]