git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@12827 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -173,7 +173,7 @@ Pair *Force::new_pair(const char *style, int trysuffix, int &sflag)
|
||||
return pair_creator(lmp);
|
||||
}
|
||||
|
||||
error->all(FLERR,"Invalid pair style");
|
||||
error->all(FLERR,"Unknown pair style");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
@ -288,7 +288,7 @@ Bond *Force::new_bond(const char *style, int trysuffix, int &sflag)
|
||||
#include "style_bond.h"
|
||||
#undef BOND_CLASS
|
||||
|
||||
else error->all(FLERR,"Invalid bond style");
|
||||
else error->all(FLERR,"Unknown bond style");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
@ -368,7 +368,7 @@ Angle *Force::new_angle(const char *style, int trysuffix, int &sflag)
|
||||
#include "style_angle.h"
|
||||
#undef ANGLE_CLASS
|
||||
|
||||
else error->all(FLERR,"Invalid angle style");
|
||||
else error->all(FLERR,"Unknown angle style");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
@ -434,7 +434,7 @@ Dihedral *Force::new_dihedral(const char *style, int trysuffix, int &sflag)
|
||||
#undef DihedralStyle
|
||||
#undef DIHEDRAL_CLASS
|
||||
|
||||
else error->all(FLERR,"Invalid dihedral style");
|
||||
else error->all(FLERR,"Unknown dihedral style");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
@ -499,7 +499,7 @@ Improper *Force::new_improper(const char *style, int trysuffix, int &sflag)
|
||||
#include "style_improper.h"
|
||||
#undef IMPROPER_CLASS
|
||||
|
||||
else error->all(FLERR,"Invalid improper style");
|
||||
else error->all(FLERR,"Unknown improper style");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
@ -583,7 +583,7 @@ KSpace *Force::new_kspace(int narg, char **arg, int trysuffix, int &sflag)
|
||||
#include "style_kspace.h"
|
||||
#undef KSPACE_CLASS
|
||||
|
||||
else error->all(FLERR,"Invalid kspace style");
|
||||
else error->all(FLERR,"Unknown kspace style");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user