]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Use new namespace std_cxx0x.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 13 Jan 2009 04:10:03 +0000 (04:10 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 13 Jan 2009 04:10:03 +0000 (04:10 +0000)
git-svn-id: https://svn.dealii.org/trunk@18202 0785d39b-7218-0410-832d-ea1e28bc413d

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

index 7e96df6b6b1888a023bd6375e1ffa1b2e7014d5c..0f89ce6740bcf855faae5f53863d6e19e282edb5 100644 (file)
@@ -4,7 +4,7 @@
 
 /*    $Id$       */
 /*                                                                */
-/*    Copyright (C) 2007, 2008 by the deal.II authors */
+/*    Copyright (C) 2007, 2008, 2009 by the deal.II authors */
 /*                                                                */
 /*    This file is subject to QPL and may not be  distributed     */
 /*    without copyright and license information. Please refer     */
@@ -643,8 +643,8 @@ class BoussinesqFlowProblem
     double old_time_step;
     unsigned int timestep_number;
 
-    boost::shared_ptr<TrilinosWrappers::PreconditionAMG> Amg_preconditioner;
-    boost::shared_ptr<TrilinosWrappers::PreconditionIC>  Mp_preconditioner;
+    std_cxx0x::shared_ptr<TrilinosWrappers::PreconditionAMG> Amg_preconditioner;
+    std_cxx0x::shared_ptr<TrilinosWrappers::PreconditionIC>  Mp_preconditioner;
 
     bool rebuild_stokes_matrix;
     bool rebuild_temperature_matrices;
@@ -1465,7 +1465,7 @@ BoussinesqFlowProblem<dim>::build_stokes_preconditioner ()
       
   assemble_stokes_preconditioner ();
       
-  Amg_preconditioner = boost::shared_ptr<TrilinosWrappers::PreconditionAMG>
+  Amg_preconditioner = std_cxx0x::shared_ptr<TrilinosWrappers::PreconditionAMG>
                       (new TrilinosWrappers::PreconditionAMG());
 
   std::vector<std::vector<bool> > constant_modes;
@@ -1521,7 +1521,7 @@ BoussinesqFlowProblem<dim>::build_stokes_preconditioner ()
                                   // preconditioner with relaxation factor
                                   // around 1.2, but IC is cheaper for our
                                   // example. We wrap the preconditioners
-                                  // into a <code>boost::shared_ptr</code>
+                                  // into a <code>std_cxx0x::shared_ptr</code>
                                   // pointer, which makes it easier to
                                   // recreate the preconditioner next time
                                   // around since we do not have to care
@@ -1533,7 +1533,7 @@ BoussinesqFlowProblem<dim>::build_stokes_preconditioner ()
   Amg_preconditioner->initialize(stokes_preconditioner_matrix.block(0,0),
                                 amg_data);
       
-  Mp_preconditioner = boost::shared_ptr<TrilinosWrappers::PreconditionIC>
+  Mp_preconditioner = std_cxx0x::shared_ptr<TrilinosWrappers::PreconditionIC>
                      (new TrilinosWrappers::PreconditionIC());
   Mp_preconditioner->initialize(stokes_preconditioner_matrix.block(1,1));
 

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.