Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Knut Klingbeil
getm
Commits
7c061ad6
Commit
7c061ad6
authored
Mar 09, 2018
by
Knut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avoid division by zero for zero-length run
parent
c75f4789
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
src/getm/main.F90
src/getm/main.F90
+2
-4
No files found.
src/getm/main.F90
View file @
7c061ad6
...
...
@@ -85,12 +85,10 @@
LEVEL2
'3D: '
,
mem3d
/
1024
,
' kbytes'
end
if
#endif
if
(
secs
.gt.
_
ZERO_
)
then
LEVEL1
'Total CPU-time was: '
,
secs
,
' seconds'
end
if
LEVEL1
'Total CPU-time was: '
,
secs
,
' seconds'
LEVEL1
'Number of time steps: '
,
MaxN
-
MinN
+1
LEVEL1
'Number of calc-points: '
,
Calc_Points
if
(
secs
.gt.
_
ZERO_
)
then
if
(
MaxN
-
MinN
+1
.gt.
_
ZERO_
)
then
LEVEL1
'CPU-time/calc-point: '
,
secs
/(
MaxN
-
MinN
+1
)/
Calc_Points
,
' seconds'
LEVEL1
'Sim-time/CPU-time: '
,
simtime
/
secs
end
if
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment