16#ifndef dealii_data_out_stack_h
17#define dealii_data_out_stack_h
36template <
int dim,
int spacedim>
43template <
int dim,
int spacedim = dim,
typename DoFHandlerType =
void>
48template <
int dim,
int spacedim,
typename DoFHandlerType>
133template <
int dim,
int spacedim>
165 new_parameter_value(
const double parameter_value,
166 const double parameter_step);
187 declare_data_vector(
const std::string &name,
const VectorType vector_type);
201 declare_data_vector(
const std::vector<std::string> &name,
224 template <
typename number>
226 add_data_vector(
const Vector<number> &vec,
const std::string &name);
246 template <
typename number>
249 const std::vector<std::string> &names);
267 build_patches(
const unsigned int n_subdivisions = 0);
276 finish_parameter_value();
289 ExcVectorNotDeclared,
291 <<
"The data vector for which the first component has the name " << arg1
292 <<
" has not been added before.");
297 "You cannot start a new time/parameter step before calling "
298 "finish_parameter_value() on the previous step.");
304 "You cannot declare additional vectors after already calling "
305 "build_patches(). All data vectors need to be declared "
306 "before you call this function the first time.");
312 <<
"You tried to declare a component of a data vector with "
313 <<
"the name <" << arg1
314 <<
">, but that name is already used.");
339 std::vector<::DataOutBase::Patch<dim + 1, dim + 1>>
patches;
380 virtual const std::vector<::DataOutBase::Patch<dim + 1, dim + 1>> &
381 get_patches()
const override;
388 virtual std::vector<std::string>
389 get_dataset_names()
const override;
SmartPointer< const DoFHandler< dim, spacedim >, DataOutStack< dim, spacedim, void > > dof_handler
std::vector<::DataOutBase::Patch< dim+1, dim+1 > > patches
std::vector< DataVector > cell_data
std::vector< DataVector > dof_data
virtual ~DataOutStack() override=default
#define DEAL_II_DEPRECATED
#define DEAL_II_NAMESPACE_OPEN
#define DEAL_II_NAMESPACE_CLOSE
#define DeclExceptionMsg(Exception, defaulttext)
#define DeclException1(Exception1, type1, outsequence)
std::enable_if< std::is_fundamental< T >::value, std::size_t >::type memory_consumption(const T &t)
std::vector< std::string > names