]> https://gitweb.dealii.org/ - dealii.git/commitdiff
fix compilation of step-33 1606/head
authorTimo Heister <timo.heister@gmail.com>
Mon, 14 Sep 2015 19:53:16 +0000 (15:53 -0400)
committerTimo Heister <timo.heister@gmail.com>
Mon, 14 Sep 2015 19:53:16 +0000 (15:53 -0400)
This is related to the Solver*::AdditionalData constructor change now
requiring explicitly instantiating the object.

examples/step-33/step-33.cc

index 821943bf9f4ef6fee49cf22cfa6bb51c94560e72..a5d94d5130641eefde2df2c50a40aceba0357e42 100644 (file)
@@ -2109,9 +2109,9 @@ namespace Step33
       case Parameters::Solver::direct:
       {
         SolverControl solver_control (1,0);
-        TrilinosWrappers::SolverDirect direct (solver_control,
-                                               parameters.output ==
-                                               Parameters::Solver::verbose);
+        TrilinosWrappers::SolverDirect::AdditionalData data (
+          parameters.output == Parameters::Solver::verbose);
+        TrilinosWrappers::SolverDirect direct (solver_control, data);
 
         direct.solve (system_matrix, newton_update, right_hand_side);
 

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.