improved error messages in pair and input.cpp

This commit is contained in:
Jiancheng Chen
2022-08-18 21:08:36 +08:00
parent 5a10b09005
commit ff9c02f053
5 changed files with 38 additions and 38 deletions

View File

@ -1856,7 +1856,7 @@ const std::vector<Region *> Domain::get_region_list()
void Domain::set_boundary(int narg, char **arg, int flag)
{
if (narg != 3) error->all(FLERR,"Illegal boundary command: expected 3 argument but found {}", narg);
if (narg != 3) error->all(FLERR,"Illegal boundary command: expected 3 arguments but found {}", narg);
char c;
for (int idim = 0; idim < 3; idim++)