From 50b9f78bd88dd6d9cd99a5e0b27a456c6b6473d2 Mon Sep 17 00:00:00 2001 From: Peter Munch Date: Sat, 12 Jun 2021 22:14:19 +0200 Subject: [PATCH] Small adjustments in DataEntry --- include/deal.II/numerics/data_out_dof_data.templates.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.39.5