]> https://gitweb.dealii.org/ - dealii.git/commitdiff
fixed inconsistent state caused by calling TimestepControl::parse_parameters 8760/head
authorReza Rastak <rastak@stanford.edu>
Mon, 16 Sep 2019 18:49:28 +0000 (11:49 -0700)
committerReza Rastak <rastak@stanford.edu>
Mon, 16 Sep 2019 18:49:28 +0000 (11:49 -0700)
source/algorithms/timestep_control.cc

index 9d5c865a2939fb7c3901bd87ae87309670a39355..a54a0a1599303186b9016672bb3939212b6748ef 100644 (file)
@@ -79,6 +79,7 @@ TimestepControl::parse_parameters(ParameterHandler &param)
     strategy_val = uniform;
   else if (strategy == std::string("doubling"))
     strategy_val = doubling;
+  restart();
 }
 
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.