]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Minor code cleanup.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 4 Mar 2015 02:37:30 +0000 (20:37 -0600)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 4 Mar 2015 02:37:30 +0000 (20:37 -0600)
source/numerics/data_out.cc

index 3a12855a0e8e0d33242b4d9181b6a3a2ce3e57ac..75c1b41e1056350006ec5cf612ddd5e6803ee57e 100644 (file)
@@ -315,7 +315,7 @@ void DataOut<dim,DH>::build_patches (const unsigned int n_subdivisions)
 
 template <int dim, class DH>
 void DataOut<dim,DH>::build_patches (const Mapping<DH::dimension,DH::space_dimension> &mapping,
-                                     const unsigned int nnnn_subdivisions,
+                                     const unsigned int n_subdivisions_,
                                      const CurvedCellRegion curved_region)
 {
   // Check consistency of redundant template parameter
@@ -325,8 +325,8 @@ void DataOut<dim,DH>::build_patches (const Mapping<DH::dimension,DH::space_dimen
   Assert (this->triangulation != 0,
           typename BaseClass::ExcNoTriangulationSelected());
 
-  const unsigned int n_subdivisions = (nnnn_subdivisions != 0)
-                                      ? nnnn_subdivisions
+  const unsigned int n_subdivisions = (n_subdivisions_ != 0)
+                                      ? n_subdivisions_
                                       : this->default_subdivisions;
   Assert (n_subdivisions >= 1,
           ExcInvalidNumberOfSubdivisions(n_subdivisions));

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.