Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
GPIAG-Software
IFOS2D
Commits
973a56a6
Commit
973a56a6
authored
Nov 11, 2016
by
laura.gassner
Browse files
add output of runtime at the end of inversion
parent
045f4b01
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
src/IFOS2D.c
View file @
973a56a6
...
...
@@ -4396,6 +4396,8 @@ int main(int argc, char **argv){
fprintf
(
FP
,
" stress exchange:
\t
%5.3f seconds
\n
"
,
time_av_s_exchange
);
fprintf
(
FP
,
" timestep:
\t
%5.3f seconds
\n
"
,
time_av_timestep
);
}
time8
=
MPI_Wtime
();
fprintf
(
FP
,
" Total real time of program: %4.2f seconds.
\n
"
,
time8
-
time1
);
if
(
FORWARD_ONLY
==
0
)
{
printf
(
"
\n
Inversion finished after %d iterations.
\n\n
"
,
iter
);
}
else
{
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment