Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
lammps
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
multiscale
lammps
Commits
04ebd81a
Commit
04ebd81a
authored
7 years ago
by
Axel Kohlmeyer
Browse files
Options
Downloads
Patches
Plain Diff
minor whitespace cleanup
parent
5cb56796
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/write_restart.cpp
+2
-2
2 additions, 2 deletions
src/write_restart.cpp
with
2 additions
and
2 deletions
src/write_restart.cpp
+
2
−
2
View file @
04ebd81a
...
@@ -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"
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment