Skip to content
Snippets Groups Projects
Commit a3c0fe77 authored by Gareth Tribello's avatar Gareth Tribello
Browse files

Added check on fix modify for PLUMED to ensures that virial is calculated for group all

parent a051d61e
No related branches found
No related tags found
No related merge requests found
...@@ -489,6 +489,8 @@ int FixPlumed::modify_param(int narg, char **arg) ...@@ -489,6 +489,8 @@ int FixPlumed::modify_param(int narg, char **arg)
if (c_press->pressflag == 0) if (c_press->pressflag == 0)
error->all(FLERR,"Fix_modify pressure ID does not compute pressure"); error->all(FLERR,"Fix_modify pressure ID does not compute pressure");
if (c_press->igroup != 0 && comm->me == 0)
error->warning(FLERR,"Virial for fix PLUMED is not for group all");
return 2; return 2;
} }
......
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