From de6b5c8b2d0c155b303eb97f45cebb9b4c1b8be9 Mon Sep 17 00:00:00 2001 From: bangerth Date: Sat, 26 Apr 2014 12:05:00 +0000 Subject: [PATCH] More minor editorial adjustments. git-svn-id: https://svn.dealii.org/trunk@32842 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/include/deal.II/distributed/tria.h | 3 ++- deal.II/source/distributed/tria.cc | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/deal.II/include/deal.II/distributed/tria.h b/deal.II/include/deal.II/distributed/tria.h index a97648e49a..794846d248 100644 --- a/deal.II/include/deal.II/distributed/tria.h +++ b/deal.II/include/deal.II/distributed/tria.h @@ -570,7 +570,8 @@ namespace parallel * is set to false, the triangulation is only repartitioned if needed * (i.e. if a different number of MPI processes is encountered). */ - void load(const char *filename, bool autopartition = true); + void load(const char *filename, + const bool autopartition = true); /** * Used to inform in the callbacks of register_data_attach() and diff --git a/deal.II/source/distributed/tria.cc b/deal.II/source/distributed/tria.cc index 48044be5a9..dd92694d7f 100644 --- a/deal.II/source/distributed/tria.cc +++ b/deal.II/source/distributed/tria.cc @@ -2214,9 +2214,10 @@ namespace parallel template void Triangulation:: - load(const char *filename, bool autopartition) + load (const char *filename, + const bool autopartition) { - Assert(this->n_cells()>0, ExcMessage("load() only works if Triangulation already contains the same coarse mesh!")); + Assert(this->n_cells()>0, ExcMessage("load() only works if the Triangulation already contains a coarse mesh!")); Assert(this->n_levels()==1, ExcMessage("Triangulation may only contain coarse cells when calling load().")); -- 2.39.5