Commit 973a56a6 authored by laura.gassner's avatar laura.gassner

add output of runtime at the end of inversion

parent 045f4b01
......@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment