From ecb190d33c9240b25f2f4dfe222796af08980d59 Mon Sep 17 00:00:00 2001 From: bangerth Date: Tue, 13 Jan 2009 04:07:54 +0000 Subject: [PATCH] Use new namespace std_cxx0x. git-svn-id: https://svn.dealii.org/trunk@18200 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/examples/step-32/step-32.cc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/deal.II/examples/step-32/step-32.cc b/deal.II/examples/step-32/step-32.cc index 10c04418d5..e6a6c9c47c 100644 --- a/deal.II/examples/step-32/step-32.cc +++ b/deal.II/examples/step-32/step-32.cc @@ -2,7 +2,7 @@ /* Author: Martin Kronbichler, Uppsala University, Wolfgang Bangerth, Texas A&M University 2007, 2008 */ /* */ -/* Copyright (C) 2008 by the deal.II authors */ +/* Copyright (C) 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 */ @@ -359,9 +359,9 @@ class BoussinesqFlowProblem double old_time_step; unsigned int timestep_number; - boost::shared_ptr Amg_preconditioner; - boost::shared_ptr Mp_preconditioner; - boost::shared_ptr T_preconditioner; + std_cxx0x::shared_ptr Amg_preconditioner; + std_cxx0x::shared_ptr Mp_preconditioner; + std_cxx0x::shared_ptr T_preconditioner; bool rebuild_stokes_matrix; bool rebuild_stokes_preconditioner; @@ -841,7 +841,7 @@ BoussinesqFlowProblem::build_stokes_preconditioner () assemble_stokes_preconditioner (); - Amg_preconditioner = boost::shared_ptr + Amg_preconditioner = std_cxx0x::shared_ptr (new TrilinosWrappers::PreconditionAMG()); std::vector > null_space; @@ -854,7 +854,7 @@ BoussinesqFlowProblem::build_stokes_preconditioner () TrilinosWrappers::PreconditionAMG::AdditionalData (true, true, 1e-2, null_space, 3, 0, false)); - Mp_preconditioner = boost::shared_ptr + Mp_preconditioner = std_cxx0x::shared_ptr (new TrilinosWrappers::PreconditionIC()); Mp_preconditioner->initialize (stokes_preconditioner_matrix.block(1,1)); @@ -1095,7 +1095,7 @@ void BoussinesqFlowProblem::assemble_temperature_system () if (rebuild_temperature_preconditioner == true) { - T_preconditioner = boost::shared_ptr + T_preconditioner = std_cxx0x::shared_ptr (new TrilinosWrappers::PreconditionIC()); T_preconditioner->initialize (temperature_matrix); -- 2.39.5