Merge pull request #2690 from ohenrich/user-cgdna

USER-CGDNA: Corrected error message
This commit is contained in:
Axel Kohlmeyer
2021-04-01 09:54:45 -04:00
committed by GitHub
4 changed files with 7 additions and 7 deletions

View File

@ -551,7 +551,7 @@ void PairOxdna2Coaxstk::coeff(int narg, char **arg)
{
int count;
if (narg != 21) error->all(FLERR,"Incorrect args for pair coefficients in oxdna/coaxstk");
if (narg != 21) error->all(FLERR,"Incorrect args for pair coefficients in oxdna2/coaxstk");
if (!allocated) allocate();
int ilo,ihi,jlo,jhi;
@ -673,7 +673,7 @@ void PairOxdna2Coaxstk::coeff(int narg, char **arg)
}
}
if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients in oxdna/coaxstk");
if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients in oxdna2/coaxstk");
}

View File

@ -273,7 +273,7 @@ void PairOxdna2Dh::coeff(int narg, char **arg)
{
int count;
if (narg != 5) error->all(FLERR,"Incorrect args for pair coefficients in oxdna/dh");
if (narg != 5) error->all(FLERR,"Incorrect args for pair coefficients in oxdna2/dh");
if (!allocated) allocate();
int ilo,ihi,jlo,jhi;
@ -356,7 +356,7 @@ void PairOxdna2Dh::coeff(int narg, char **arg)
}
}
if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients in oxdna/dh");
if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients in oxdna2/dh");
}
/* ----------------------------------------------------------------------

View File

@ -1022,7 +1022,7 @@ void PairOxrna2Stk::coeff(int narg, char **arg)
}
}
if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients in oxdna/stk");
if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients in oxrna2/stk");
}

View File

@ -576,7 +576,7 @@ void PairOxrna2Xstk::coeff(int narg, char **arg)
{
int count;
if (narg != 22) error->all(FLERR,"Incorrect args for pair coefficients in oxdna/xstk");
if (narg != 22) error->all(FLERR,"Incorrect args for pair coefficients in oxrna2/xstk");
if (!allocated) allocate();
int ilo,ihi,jlo,jhi;
@ -707,7 +707,7 @@ void PairOxrna2Xstk::coeff(int narg, char **arg)
}
}
if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients in oxdna/xstk");
if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients in oxrna2/xstk");
}