Merge pull request #2690 from ohenrich/user-cgdna
USER-CGDNA: Corrected error message
This commit is contained in:
@ -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");
|
||||
|
||||
}
|
||||
|
||||
|
||||
@ -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");
|
||||
}
|
||||
|
||||
/* ----------------------------------------------------------------------
|
||||
|
||||
@ -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");
|
||||
|
||||
}
|
||||
|
||||
|
||||
@ -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");
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user