[cig-commits] [commit] master: Removed the timing information of the nonlinear iterations. (fb67ad8)

cig_noreply at geodynamics.org cig_noreply at geodynamics.org
Wed May 21 08:55:19 PDT 2014


Repository : https://github.com/geodynamics/aspect

On branch  : master
Link       : https://github.com/geodynamics/aspect/compare/dda1edd743a39bfe5b21db0f612927a420cf25c5...450a04072c3e64be3c5b43c961481ad07c80df06

>---------------------------------------------------------------

commit fb67ad86337240ee838df7f6c3d9ea25389802e5
Author: MFraters <menno.fraters at hotmail.com>
Date:   Wed May 21 00:32:58 2014 +0200

    Removed the timing information of the nonlinear iterations.


>---------------------------------------------------------------

fb67ad86337240ee838df7f6c3d9ea25389802e5
 source/simulator/solver.cc | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/source/simulator/solver.cc b/source/simulator/solver.cc
index 1023e42..902dab9 100644
--- a/source/simulator/solver.cc
+++ b/source/simulator/solver.cc
@@ -377,8 +377,6 @@ namespace aspect
     computing_timer.enter_section ("   Solve Stokes system");
     pcout << "   Solving Stokes system... " << std::flush;
 
-	time_t starttime=std::time(NULL); // start timer for the stokes solve
-
     if (parameters.use_direct_stokes_solver)
       {
         LinearAlgebra::BlockVector distributed_stokes_solution (introspection.index_sets.stokes_partitioning, mpi_communicator);
@@ -536,8 +534,6 @@ namespace aspect
     else
       pcout << solver_control_cheap.last_step() << '+'
             << solver_control_expensive.last_step() << " iterations.";
-	//time_t timediff = ; 
-	pcout << " Solve time: " << std::time(NULL)-starttime << " seconds."; // calculate and output the time it took to solve the stokes of this the nonlinear itteration
     pcout << std::endl;
 
     statistics.add_value("Iterations for Stokes solver",



More information about the CIG-COMMITS mailing list