From deae7e552297162f4ec3849c276b0ef4006da476 Mon Sep 17 00:00:00 2001 From: wolf Date: Mon, 22 Feb 1999 10:46:46 +0000 Subject: [PATCH] Fix Guido's misleading comment git-svn-id: https://svn.dealii.org/trunk@868 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/deal.II/include/dofs/dof_handler.h | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/deal.II/deal.II/include/dofs/dof_handler.h b/deal.II/deal.II/include/dofs/dof_handler.h index 7f260bf513..1929f2acd2 100644 --- a/deal.II/deal.II/include/dofs/dof_handler.h +++ b/deal.II/deal.II/include/dofs/dof_handler.h @@ -1531,13 +1531,16 @@ class DoFHandler : public DoFDimensionInfo { Triangulation * const tria; /** - * Store a copy of the finite element given - * latest for the distribution of dofs. In - * fact, since the FE base class itself has - * not much functionality, this object only - * stores numbers such as the number of - * dofs per line, but also restriction - * and prolongation matrices, etc. + * Store a pointer to the finite element + * given latest for the distribution of + * dofs. In order to avoid destruction of + * the object before the lifetime of + * the DoF handler, we subscribe to + * the finite element object. To unlock + * the FE before the end of the lifetime + * of this DoF handler, use the #clear()# + * function (this clears all data of + * this object as well, though). */ SmartPointer > selected_fe; -- 2.39.5