]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Rename Patch::me to Patch::patch_index, to make it more clear that
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 10 Oct 2002 14:52:36 +0000 (14:52 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 10 Oct 2002 14:52:36 +0000 (14:52 +0000)
"me" is not an abbreviation or something (I found this confusing).

git-svn-id: https://svn.dealii.org/trunk@6623 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/base/include/base/data_out_base.h
deal.II/base/source/data_out_base.cc

index 0f6b50a1b54af73e0ad49b330b543a0ef624bcaa..48c88b07552d26879713343be800360e2d09a2ce 100644 (file)
@@ -403,7 +403,7 @@ class DataOutBase
                                          * in the same order, always,
                                          * we better store this.
                                          */
-       unsigned int me;
+       unsigned int patch_index;
        
                                         /**
                                          * Number of subdivisions with
index 12feb958d6ef2f0745fb08fcee2f6359efc0ed7e..8b64834d1773fabe87a3c36f7d95cf2e42b86d63 100644 (file)
@@ -36,7 +36,7 @@ const unsigned int DataOutBase::Patch<dim,spacedim>::no_neighbor;
 
 template <int dim, int spacedim>
 DataOutBase::Patch<dim,spacedim>::Patch () :
-               me(no_neighbor),
+               patch_index(no_neighbor),
                n_subdivisions (1)
 
                                   // all the other data has a
@@ -762,7 +762,7 @@ void DataOutBase::write_dx (const std::vector<Patch<dim,spacedim> > &patches,
                cells_per_patch *= n;
            }
 
-         const unsigned int patch_start = patch->me * cells_per_patch;
+         const unsigned int patch_start = patch->patch_index * cells_per_patch;
 
          for (unsigned int ix=0;ix<n;++ix)
            for (unsigned int iy=0;iy<((dim>1) ? n : 1);++iy)

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.