Skip to content
Snippets Groups Projects
Commit 04ebd81a authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

minor whitespace cleanup

parent 5cb56796
No related branches found
No related tags found
No related merge requests found
...@@ -185,7 +185,7 @@ void WriteRestart::multiproc_options(int multiproc_caller, int mpiioflag_caller, ...@@ -185,7 +185,7 @@ void WriteRestart::multiproc_options(int multiproc_caller, int mpiioflag_caller,
if (strcmp(arg[iarg],"fileper") == 0) { if (strcmp(arg[iarg],"fileper") == 0) {
if (iarg+2 > narg) error->all(FLERR,"Illegal write_restart command"); if (iarg+2 > narg) error->all(FLERR,"Illegal write_restart command");
if (!multiproc) if (!multiproc)
error->all(FLERR,"Cannot use write_restart fileper " error->all(FLERR,"Cannot use write_restart fileper "
"without % in restart file name"); "without % in restart file name");
int nper = force->inumeric(FLERR,arg[iarg+1]); int nper = force->inumeric(FLERR,arg[iarg+1]);
if (nper <= 0) error->all(FLERR,"Illegal write_restart command"); if (nper <= 0) error->all(FLERR,"Illegal write_restart command");
...@@ -203,7 +203,7 @@ void WriteRestart::multiproc_options(int multiproc_caller, int mpiioflag_caller, ...@@ -203,7 +203,7 @@ void WriteRestart::multiproc_options(int multiproc_caller, int mpiioflag_caller,
} else if (strcmp(arg[iarg],"nfile") == 0) { } else if (strcmp(arg[iarg],"nfile") == 0) {
if (iarg+2 > narg) error->all(FLERR,"Illegal write_restart command"); if (iarg+2 > narg) error->all(FLERR,"Illegal write_restart command");
if (!multiproc) if (!multiproc)
error->all(FLERR,"Cannot use write_restart nfile " error->all(FLERR,"Cannot use write_restart nfile "
"without % in restart file name"); "without % in restart file name");
int nfile = force->inumeric(FLERR,arg[iarg+1]); int nfile = force->inumeric(FLERR,arg[iarg+1]);
if (nfile <= 0) error->all(FLERR,"Illegal write_restart command"); if (nfile <= 0) error->all(FLERR,"Illegal write_restart command");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment