]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Give second argument of ::DataOutBase::Patch as well.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 4 Feb 2003 22:11:33 +0000 (22:11 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 4 Feb 2003 22:11:33 +0000 (22:11 +0000)
git-svn-id: https://svn.dealii.org/trunk@7022 0785d39b-7218-0410-832d-ea1e28bc413d

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

index d3c05b16c1246d8f8219a41a1bc9a285e5b5e65b..2a9d5d75370db155aca55ef01b84a7b91cff40f5 100644 (file)
@@ -367,7 +367,7 @@ class DataOutStack : public DataOutInterface<dim+1>
                                      * List of patches of all past and
                                      * present parameter value data sets.
                                      */
-    std::vector< ::DataOutBase::Patch<dim+1> >   patches;
+    std::vector< ::DataOutBase::Patch<dim+1,dim+1> >   patches;
 
                                     /**
                                      * Structure holding data vectors
@@ -413,7 +413,7 @@ class DataOutStack : public DataOutInterface<dim+1>
                                      * the base class @ref{DataOutBase}) to
                                      * the actual output function.
                                      */
-    virtual const std::vector< ::DataOutBase::Patch<dim+1> > & get_patches () const;
+    virtual const std::vector< ::DataOutBase::Patch<dim+1,dim+1> > & get_patches () const;
 
 
                                     /**
index e6b768828add77aa0087687fcc3d7b70ce1252e1..4f8cfcab6c9a529fc7a82303bc76d5d7b1c70c53 100644 (file)
@@ -234,14 +234,14 @@ void DataOutStack<dim>::build_patches (const unsigned int n_subdivisions)
                                                    Vector<double>(n_components));
 
                                   // add the required number of patches
-  ::DataOutBase::Patch<dim+1>  default_patch;
+  ::DataOutBase::Patch<dim+1,dim+1>  default_patch;
   default_patch.n_subdivisions = n_subdivisions;
   default_patch.data.reinit (n_datasets, n_q_points*(n_subdivisions+1));
   patches.insert (patches.end(), n_patches, default_patch);
 
                                   // now loop over all cells and
                                   // actually create the patches
-  typename std::vector< ::DataOutBase::Patch<dim+1> >::iterator
+  typename std::vector< ::DataOutBase::Patch<dim+1,dim+1> >::iterator
     patch = patches.begin() + (patches.size()-n_patches);
   unsigned int cell_number = 0;
   for (typename DoFHandler<dim>::active_cell_iterator cell=dof_handler->begin_active();
@@ -349,7 +349,7 @@ DataOutStack<dim>::memory_consumption () const
 
 
 template <int dim>
-const std::vector< ::DataOutBase::Patch<dim+1> > &
+const std::vector< ::DataOutBase::Patch<dim+1,dim+1> > &
 DataOutStack<dim>::get_patches () const
 {
   return patches;

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.