forked from lijiext/lammps
fix/adapt wildcard bondtypes
This commit is contained in:
parent
1a5144bf37
commit
3ba87e52e9
|
@ -118,7 +118,7 @@ nadapt(0), id_fix_diam(NULL), id_fix_chg(NULL), adapt(NULL)
|
|||
adapt[nadapt].bparam = new char[n];
|
||||
adapt[nadapt].bond = NULL;
|
||||
strcpy(adapt[nadapt].bparam,arg[iarg+2]);
|
||||
force->bounds(FLERR,arg[iarg+3],atom->ntypes,
|
||||
force->bounds(FLERR,arg[iarg+3],atom->nbondtypes,
|
||||
adapt[nadapt].ilo,adapt[nadapt].ihi);
|
||||
if (strstr(arg[iarg+4],"v_") == arg[iarg+4]) {
|
||||
n = strlen(&arg[iarg+4][2]) + 1;
|
||||
|
|
Loading…
Reference in New Issue