]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
More minor editorial adjustments.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 26 Apr 2014 12:05:00 +0000 (12:05 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 26 Apr 2014 12:05:00 +0000 (12:05 +0000)
git-svn-id: https://svn.dealii.org/trunk@32842 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/distributed/tria.h
deal.II/source/distributed/tria.cc

index a97648e49a62893ca35ee92199fe43bdb0cc6590..794846d24820de7e04f2311a3f7614019fabc311 100644 (file)
@@ -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
index 48044be5a94d0304ab29cd7bfd37f94899050fc2..dd92694d7f3b12fda87340e0ed5b172677553f27 100644 (file)
@@ -2214,9 +2214,10 @@ namespace parallel
     template <int dim, int spacedim>
     void
     Triangulation<dim,spacedim>::
-    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()."));
 
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.