Modular simulator: Disable invalid code paths
authorPascal Merz <pascal.merz@me.com>
Wed, 11 Nov 2020 22:52:22 +0000 (15:52 -0700)
committerPascal Merz <pascal.merz@me.com>
Wed, 2 Dec 2020 06:03:56 +0000 (23:03 -0700)
commit05f02ab8256df8ad3bc3e8464e709f42962c9e9e
tree907ee0810fb6287e8b5cd0be1219c1177351905d
parentc710b8c689b58f28639d46386fed4368dbcc6a8b
Modular simulator: Disable invalid code paths

This explicitly disables two invalid code paths for modular simulator:
* The new MTS is not implemented for modular simulator. It is only
  implemented for integrator = md, which by default uses the legacy
  code path. This default can however be overwritten by setting
  the environment variable GMX_USE_MODULAR_SIMULATOR=ON, which would
  result in errors due to the MTS data structures not being properly
  initialized.
* The non-MTTK Parrinello-Rahman barostat is available in modular
  simulator, but not in the legacy simulator. The case that this
  barostat is chosen in combination with other options not compatible
  with modular simulator needs to be caught explicitly.
src/gromacs/modularsimulator/modularsimulator.cpp