forked from lijiext/lammps
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@5181 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
820987761c
commit
ce8d4a318c
|
@ -187,7 +187,7 @@ void FixWallSRD::init()
|
|||
{
|
||||
int flag = 0;
|
||||
for (int m = 0; m < modify->nfix; m++)
|
||||
if (strcmp(modify->fix[m]->style,"srd2") == 0) flag = 1;
|
||||
if (strcmp(modify->fix[m]->style,"srd") == 0) flag = 1;
|
||||
if (!flag) error->all("Cannot use fix wall/srd without fix srd");
|
||||
|
||||
for (int m = 0; m < nwall; m++) {
|
||||
|
|
Loading…
Reference in New Issue