From: Artem Zhmurov Date: Tue, 27 Oct 2020 05:55:20 +0000 (+0300) Subject: Remove unused velocity scaling enum value X-Git-Url: http://biod.pnpi.spb.ru/gitweb/?a=commitdiff_plain;h=2c816435b2a9addd4a8cff95ff7a078aeb472297;p=alexxy%2Fgromacs.git Remove unused velocity scaling enum value The velocities are never scaled by a full matrix, hence the extra value in the enumeration is not needed. Having extra possible value in the templated parameter may hurt the compilation time. --- diff --git a/src/gromacs/mdlib/leapfrog_gpu.h b/src/gromacs/mdlib/leapfrog_gpu.h index 7554e6e793..8bcf5e37a5 100644 --- a/src/gromacs/mdlib/leapfrog_gpu.h +++ b/src/gromacs/mdlib/leapfrog_gpu.h @@ -86,7 +86,6 @@ enum class VelocityScalingType { None, //!< Do not apply velocity scaling (not a PR-coupling run or step) Diagonal, //!< Apply velocity scaling using a diagonal matrix - Full //!< Apply velocity scaling using a full matrix }; class LeapFrogGpu