From 3f741be5d58a37215f350a3242c8743cf757c2f5 Mon Sep 17 00:00:00 2001 From: bangerth Date: Thu, 13 Oct 2011 11:11:14 +0000 Subject: [PATCH] Indent. git-svn-id: https://svn.dealii.org/trunk@24598 0785d39b-7218-0410-832d-ea1e28bc413d --- .../source/distributed/solution_transfer.cc | 23 +++++++++---------- 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/deal.II/source/distributed/solution_transfer.cc b/deal.II/source/distributed/solution_transfer.cc index 0bcc2658de..faf2c655f6 100644 --- a/deal.II/source/distributed/solution_transfer.cc +++ b/deal.II/source/distributed/solution_transfer.cc @@ -2,7 +2,7 @@ // $Id$ // Version: $Name$ // -// Copyright (C) 2009, 2010 by the deal.II authors +// Copyright (C) 2009, 2010, 2011 by the deal.II authors // // This file is subject to QPL and may not be distributed // without copyright and license information. Please refer @@ -93,20 +93,19 @@ namespace parallel SolutionTransfer:: prepare_for_coarsening_and_refinement (const std::vector &all_in) { - input_vectors = all_in; - register_data_attach( get_data_size() * input_vectors.size() ); + register_data_attach( get_data_size() * input_vectors.size() ); } - template + template void SolutionTransfer:: - register_data_attach(const std::size_t size) - { - Assert(size > 0, ExcMessage("Please transfer at least one vector!")); - + register_data_attach(const std::size_t size) + { + Assert(size > 0, ExcMessage("Please transfer at least one vector!")); + //TODO: casting away constness is bad parallel::distributed::Triangulation * tria = (dynamic_cast*> @@ -121,10 +120,10 @@ namespace parallel std_cxx1x::_1, std_cxx1x::_2, std_cxx1x::_3)); - - } - + } + + template void @@ -178,7 +177,7 @@ namespace parallel // this makes interpolate() happy input_vectors.resize(all_in.size()); - + interpolate(all_in); } -- 2.39.5