From: Wolfgang Bangerth Date: Sat, 26 Apr 2014 12:05:00 +0000 (+0000) Subject: More minor editorial adjustments. X-Git-Tag: v8.2.0-rc1~546 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f71332fe6504c30a475f41d029b6f3962c29ff0f;p=dealii.git More minor editorial adjustments. git-svn-id: https://svn.dealii.org/trunk@32842 0785d39b-7218-0410-832d-ea1e28bc413d --- 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()."));