* 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
* 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;
/**
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();
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;