]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Make output_results not const, so that we can use computing_timer in there.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 13 Aug 2009 14:38:55 +0000 (14:38 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 13 Aug 2009 14:38:55 +0000 (14:38 +0000)
git-svn-id: https://svn.dealii.org/trunk@19254 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/examples/step-32/step-32.cc

index b39f291af4bb4647ddda059283c7e668715b4297..06d9d47015d494bee883c2c0959ff420a523cbc1 100644 (file)
@@ -808,7 +808,7 @@ class BoussinesqFlowProblem
     double get_maximal_velocity () const;
     std::pair<double,double> get_extrapolated_temperature_range () const;
     void solve ();
-    void output_results () const;
+    void output_results ();
     void refine_mesh (const unsigned int max_grid_level);
 
     double
@@ -2635,7 +2635,7 @@ void BoussinesqFlowProblem<dim>::solve ()
                                 // single processor actually does some work
                                 // here), so everything should be clear here:
 template <int dim>
-void BoussinesqFlowProblem<dim>::output_results ()  const
+void BoussinesqFlowProblem<dim>::output_results ()
 {
   if (timestep_number % 10 != 0)
     return;

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.