From 0f7b7f4bef94377706f13f131b8ecc7c77539473 Mon Sep 17 00:00:00 2001 From: bangerth Date: Tue, 13 Jan 2009 04:10:03 +0000 Subject: [PATCH] Use new namespace std_cxx0x. git-svn-id: https://svn.dealii.org/trunk@18202 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/examples/step-31/step-31.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/deal.II/examples/step-31/step-31.cc b/deal.II/examples/step-31/step-31.cc index 7e96df6b6b..0f89ce6740 100644 --- a/deal.II/examples/step-31/step-31.cc +++ b/deal.II/examples/step-31/step-31.cc @@ -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 Amg_preconditioner; - boost::shared_ptr Mp_preconditioner; + std_cxx0x::shared_ptr Amg_preconditioner; + std_cxx0x::shared_ptr Mp_preconditioner; bool rebuild_stokes_matrix; bool rebuild_temperature_matrices; @@ -1465,7 +1465,7 @@ BoussinesqFlowProblem::build_stokes_preconditioner () assemble_stokes_preconditioner (); - Amg_preconditioner = boost::shared_ptr + Amg_preconditioner = std_cxx0x::shared_ptr (new TrilinosWrappers::PreconditionAMG()); std::vector > constant_modes; @@ -1521,7 +1521,7 @@ BoussinesqFlowProblem::build_stokes_preconditioner () // preconditioner with relaxation factor // around 1.2, but IC is cheaper for our // example. We wrap the preconditioners - // into a boost::shared_ptr + // into a std_cxx0x::shared_ptr // pointer, which makes it easier to // recreate the preconditioner next time // around since we do not have to care @@ -1533,7 +1533,7 @@ BoussinesqFlowProblem::build_stokes_preconditioner () Amg_preconditioner->initialize(stokes_preconditioner_matrix.block(0,0), amg_data); - Mp_preconditioner = boost::shared_ptr + Mp_preconditioner = std_cxx0x::shared_ptr (new TrilinosWrappers::PreconditionIC()); Mp_preconditioner->initialize(stokes_preconditioner_matrix.block(1,1)); -- 2.39.5