From: wolf Date: Tue, 4 Feb 2003 22:11:33 +0000 (+0000) Subject: Give second argument of ::DataOutBase::Patch as well. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1bd316d20e6b50ae3b1293cf13a44e16304c3985;p=dealii-svn.git Give second argument of ::DataOutBase::Patch as well. git-svn-id: https://svn.dealii.org/trunk@7022 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/include/numerics/data_out_stack.h b/deal.II/deal.II/include/numerics/data_out_stack.h index d3c05b16c1..2a9d5d7537 100644 --- a/deal.II/deal.II/include/numerics/data_out_stack.h +++ b/deal.II/deal.II/include/numerics/data_out_stack.h @@ -367,7 +367,7 @@ class DataOutStack : public DataOutInterface * List of patches of all past and * present parameter value data sets. */ - std::vector< ::DataOutBase::Patch > patches; + std::vector< ::DataOutBase::Patch > patches; /** * Structure holding data vectors @@ -413,7 +413,7 @@ class DataOutStack : public DataOutInterface * the base class @ref{DataOutBase}) to * the actual output function. */ - virtual const std::vector< ::DataOutBase::Patch > & get_patches () const; + virtual const std::vector< ::DataOutBase::Patch > & get_patches () const; /** diff --git a/deal.II/deal.II/source/numerics/data_out_stack.cc b/deal.II/deal.II/source/numerics/data_out_stack.cc index e6b768828a..4f8cfcab6c 100644 --- a/deal.II/deal.II/source/numerics/data_out_stack.cc +++ b/deal.II/deal.II/source/numerics/data_out_stack.cc @@ -234,14 +234,14 @@ void DataOutStack::build_patches (const unsigned int n_subdivisions) Vector(n_components)); // add the required number of patches - ::DataOutBase::Patch default_patch; + ::DataOutBase::Patch 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 >::iterator + typename std::vector< ::DataOutBase::Patch >::iterator patch = patches.begin() + (patches.size()-n_patches); unsigned int cell_number = 0; for (typename DoFHandler::active_cell_iterator cell=dof_handler->begin_active(); @@ -349,7 +349,7 @@ DataOutStack::memory_consumption () const template -const std::vector< ::DataOutBase::Patch > & +const std::vector< ::DataOutBase::Patch > & DataOutStack::get_patches () const { return patches;