Add coordinate scaling class and extend TranslateAndScale
authorChristian Blau <cblau@gwdg.de>
Fri, 31 May 2019 06:25:03 +0000 (08:25 +0200)
committerChristian Blau <cblau@gwdg.de>
Thu, 20 Jun 2019 08:09:55 +0000 (10:09 +0200)
commit1f0c608196feddf99aadc3300215cc384e758fe2
tree5b2544a6109c0b23b78a09de71c630f9b26ece66
parent5bbf73eddcb4b9c123d7b1ef77b332a8e36adecb
Add coordinate scaling class and extend TranslateAndScale

 - Make TranslateAndScale copyable and movable.
 - Make coordinate transformation application const on the
TranslateAndScale object itself
 - Add a function that returns the scale operation only without translation.
 - Add a coordinate scaling class that also allows to inverse the scaling, ignoring zero input.

refs #2282

Change-Id: I73f9bd892f1f81692e05ac6b2fece2e7be9e8e69
src/gromacs/math/coordinatetransformation.cpp
src/gromacs/math/coordinatetransformation.h
src/gromacs/math/tests/coordinatetransformation.cpp