Blocked fix rigid
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@15064 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -470,6 +470,15 @@ void FixGCMC::init()
|
||||
"same molecule template ID");
|
||||
}
|
||||
|
||||
// check for fix rigid
|
||||
|
||||
int irigid;
|
||||
for (irigid = 0; irigid < modify->nfix; irigid++) {
|
||||
if (strcmp(modify->fix[irigid]->style,"rigid") == 0) break;
|
||||
else if (strcmp(modify->fix[irigid]->style,"rigid/small") == 0) break;
|
||||
}
|
||||
if (irigid < modify->nfix) error->all(FLERR,"Fix gcmc can not currently be used with fix rigid or fix rigid/small");
|
||||
|
||||
if (domain->dimension == 2)
|
||||
error->all(FLERR,"Cannot use fix gcmc in a 2d simulation");
|
||||
|
||||
|
||||
@ -247,6 +247,10 @@ E: Fix gcmc and fix shake not using same molecule template ID
|
||||
|
||||
Self-explanatory.
|
||||
|
||||
E: Fix gcmc can not currently be used with fix rigid or fix rigid/small
|
||||
|
||||
Self-explanatory.
|
||||
|
||||
E: Cannot use fix gcmc in a 2d simulation
|
||||
|
||||
Fix gcmc is set up to run in 3d only. No 2d simulations with fix gcmc
|
||||
|
||||
Reference in New Issue
Block a user