Fixed a few problems with read_dump xyz

This commit is contained in:
Aidan Thompson
2019-07-07 18:00:07 -06:00
parent c00f2adb42
commit 65e281d661
3 changed files with 16 additions and 3 deletions

View File

@ -75,3 +75,13 @@ void Reader::close_file()
else fclose(fp);
fp = NULL;
}
/* ----------------------------------------------------------------------
detect unused arguments
------------------------------------------------------------------------- */
void Reader::settings(int narg, char** /*args*/)
{
if (narg > 0)
error->all(FLERR,"Illegal read_dump command");
}