]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Abbreviate the somewhat lengthy name for the @p{Patch} class.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 3 Jul 2001 07:44:35 +0000 (07:44 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 3 Jul 2001 07:44:35 +0000 (07:44 +0000)
git-svn-id: https://svn.dealii.org/trunk@4800 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/include/numerics/data_out.h
deal.II/deal.II/source/numerics/data_out.cc

index d28a42eb12c988f9b0c116b1747139a11da28d71..f3979dd8ad53d5cafc946159bf2692c33fe96581 100644 (file)
@@ -429,6 +429,12 @@ class DataOut_DoFData : public DataOutInterface<patch_dim,patch_space_dim>
        std::vector<std::string> names;
     };
 
+                                    /**
+                                     * Abbreviate the somewhat lengthy
+                                     * name for the @p{Patch} class.
+                                     */
+    typedef DataOutBase::Patch<patch_dim,patch_space_dim> Patch;
+
                                     /**
                                      * Pointer to the dof handler object.
                                      */
@@ -453,7 +459,7 @@ class DataOut_DoFData : public DataOutInterface<patch_dim,patch_space_dim>
                                      * in the output routines of the base
                                      * classes.
                                      */
-    typename std::vector<typename DataOutBase::Patch<patch_dim,patch_space_dim> > patches;
+    typename std::vector<Patch> patches;
 
                                     /**
                                      * Function by which the base
@@ -461,7 +467,7 @@ class DataOut_DoFData : public DataOutInterface<patch_dim,patch_space_dim>
                                      * what patches they shall write
                                      * to a file.
                                      */
-    virtual const typename std::vector<typename DataOutBase::Patch<patch_dim,patch_space_dim> > &
+    virtual const typename std::vector<Patch> &
     get_patches () const;
 
                                     /**
index ad2f58edd8972c55755039acd37b974fed835bc6..ab4d81ab7c26e1873bbfd0669d28c8f67b99e899 100644 (file)
@@ -204,7 +204,7 @@ void DataOut_DoFData<dof_handler_dim,patch_dim,patch_space_dim>::clear_data_vect
   cell_data.erase (cell_data.begin(), cell_data.end());
 
                                   // delete patches
-  std::vector<DataOutBase::Patch<patch_dim,patch_space_dim> > dummy;
+  std::vector<Patch> dummy;
   patches.swap (dummy);
 }
 
@@ -243,11 +243,12 @@ DataOut_DoFData<dof_handler_dim,patch_dim,patch_space_dim>::clear ()
     };
 
                                   // delete patches
-  std::vector<DataOutBase::Patch<patch_dim,patch_space_dim> > dummy;
+  std::vector<Patch> dummy;
   patches.swap (dummy);
 }
 
 
+
 template <int dof_handler_dim, int patch_dim, int patch_space_dim>
 std::vector<std::string>
 DataOut_DoFData<dof_handler_dim,patch_dim,patch_space_dim>::get_dataset_names () const 

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.