Skip to content
Snippets Groups Projects
Commit 2e99e54e authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

Merge branch 'patch-2' of https://github.com/amilumas/lammps into collected-small-changes

parents a0de2f27 b49806d3
No related branches found
No related tags found
No related merge requests found
......@@ -101,9 +101,9 @@ void TemperNPT::command(int narg, char **arg)
// change the volume. This currently only applies to fix npt and
// fix rigid/npt variants
if ((strncmp(modify->fix[whichfix]->style,"npt",3) == 0)
|| (strncmp(modify->fix[whichfix]->style,"rigid/npt",9) == 0))
error->universe_all(FLERR,"Tempering temperature fix is not supported");
if ((strncmp(modify->fix[whichfix]->style,"npt",3) != 0)
&& (strncmp(modify->fix[whichfix]->style,"rigid/npt",9) != 0))
error->universe_all(FLERR,"Tempering temperature and pressure fix is not supported");
// setup for long tempering run
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment