]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix Guido's misleading comment
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 22 Feb 1999 10:46:46 +0000 (10:46 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 22 Feb 1999 10:46:46 +0000 (10:46 +0000)
git-svn-id: https://svn.dealii.org/trunk@868 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/include/dofs/dof_handler.h

index 7f260bf5139ed92810719c80e3cfc41bc78d7782..1929f2acd286d361d65339dd6139f18d327b21d0 100644 (file)
@@ -1531,13 +1531,16 @@ class DoFHandler : public DoFDimensionInfo<dim> {
     Triangulation<dim> * 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<const FiniteElement<dim> > selected_fe;
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.