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

Merge branch 'fix/adapt-wildcard-bondtypes' of...

Merge branch 'fix/adapt-wildcard-bondtypes' of https://github.com/jrgissing/lammps into collected-bugfixes
parents 0368202d 3ba87e52
No related branches found
No related tags found
No related merge requests found
...@@ -118,7 +118,7 @@ nadapt(0), id_fix_diam(NULL), id_fix_chg(NULL), adapt(NULL) ...@@ -118,7 +118,7 @@ nadapt(0), id_fix_diam(NULL), id_fix_chg(NULL), adapt(NULL)
adapt[nadapt].bparam = new char[n]; adapt[nadapt].bparam = new char[n];
adapt[nadapt].bond = NULL; adapt[nadapt].bond = NULL;
strcpy(adapt[nadapt].bparam,arg[iarg+2]); 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); adapt[nadapt].ilo,adapt[nadapt].ihi);
if (strstr(arg[iarg+4],"v_") == arg[iarg+4]) { if (strstr(arg[iarg+4],"v_") == arg[iarg+4]) {
n = strlen(&arg[iarg+4][2]) + 1; n = strlen(&arg[iarg+4][2]) + 1;
......
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