From: Peter Munch Date: Sat, 12 Jun 2021 20:14:19 +0000 (+0200) Subject: Small adjustments in DataEntry X-Git-Tag: v9.4.0-rc1~1225^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F12457%2Fhead;p=dealii.git Small adjustments in DataEntry --- diff --git a/include/deal.II/numerics/data_out_dof_data.templates.h b/include/deal.II/numerics/data_out_dof_data.templates.h index d2f5d89b49..befc54464b 100644 --- a/include/deal.II/numerics/data_out_dof_data.templates.h +++ b/include/deal.II/numerics/data_out_dof_data.templates.h @@ -1038,8 +1038,7 @@ namespace internal memory_consumption() const override; /** - * Pointer to the data vector. Note that ownership of the vector pointed - * to remains with the caller of this class. + * Temporal storage for the data. */ LinearAlgebra::distributed::BlockVector vector; }; @@ -1392,6 +1391,7 @@ namespace internal void DataEntry::clear() { + vector.reinit(0, 0); this->dof_handler = nullptr; }