Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
PuReMD
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
SParTA
PuReMD
Commits
d9a383c4
Commit
d9a383c4
authored
6 years ago
by
Kurt A. O'Hearn
Browse files
Options
Downloads
Patches
Plain Diff
PuReMD-old: update tools/run_sim.py to get correct value for total simulation time.
parent
a759534a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tools/run_sim.py
+2
-2
2 additions, 2 deletions
tools/run_sim.py
with
2 additions
and
2 deletions
tools/run_sim.py
+
2
−
2
View file @
d9a383c4
...
...
@@ -507,9 +507,9 @@ restart_freq 0 ! 0: do not output any restart f
with
open
(
out_file
,
'
r
'
)
as
fp
:
for
line
in
fp
:
line
=
line
.
split
()
if
line
[
0
]
==
'
t
otal:
'
:
if
line
[
0
]
==
'
T
otal
'
and
line
[
1
]
==
'
Simulation
'
and
line
[
2
]
==
'
Time
:
'
:
try
:
total_time
=
float
(
line
[
1
])
total_time
=
float
(
line
[
3
])
except
Exception
:
pass
...
...
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