]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Tag implicitly virtual destructor explicitly virtual. Reorder
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 28 Nov 2001 16:24:23 +0000 (16:24 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 28 Nov 2001 16:24:23 +0000 (16:24 +0000)
functions. Reindent.

git-svn-id: https://svn.dealii.org/trunk@5293 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/include/fe/fe_base.h

index af9b276b9b026488e7f624d4820ecb5693c9f5b3..96ac71f15ad3825157297404e3db7402fe7273d5 100644 (file)
@@ -366,38 +366,39 @@ class FiniteElementBase : public Subscriptor,
                                    */
   class InternalDataBase : public Mapping<dim>::InternalDataBase
     {
-      public:
-                                      /**
-                                       * Initialize some pointers
-                                       * used in the computation of
-                                       * second derivatives by finite
-                                       * differencing of gradients.
-                                       */
-      void initialize_2nd (const FiniteElement<dim> *element,
-                          const Mapping<dim>       &mapping,
-                          const Quadrature<dim>    &quadrature);
-      
-                                      /**
-                                       * Destructor. Needed to avoid
-                                       * memory leaks with difference
-                                       * quotients.
-                                       */
-      ~InternalDataBase ();
-
-                                      /**
-                                       * Storage for @p{FEValues}
-                                       * objects needed to
-                                       * approximate second
-                                       * derivatives.
-                                       *
-                                       * The ordering is @p{p+hx},
-                                       * @p{p+hy}, @p{p+hz},
-                                       * @p{p-hx}, @p{p-hy},
-                                       * @p{p-hz}, where unused
-                                       * entries in lower dimensions
-                                       * are missing.
-                                       */
-      typename std::vector<FEValues<dim>*> differences;
+      public:      
+                                        /**
+                                         * Destructor. Needed to
+                                         * avoid memory leaks with
+                                         * difference quotients.
+                                         */
+       virtual ~InternalDataBase ();
+
+                                        /**
+                                         * Initialize some pointers
+                                         * used in the computation of
+                                         * second derivatives by
+                                         * finite differencing of
+                                         * gradients.
+                                         */
+       void initialize_2nd (const FiniteElement<dim> *element,
+                            const Mapping<dim>       &mapping,
+                            const Quadrature<dim>    &quadrature);
+       
+                                        /**
+                                         * Storage for @p{FEValues}
+                                         * objects needed to
+                                         * approximate second
+                                         * derivatives.
+                                         *
+                                         * The ordering is @p{p+hx},
+                                         * @p{p+hy}, @p{p+hz},
+                                         * @p{p-hx}, @p{p-hy},
+                                         * @p{p-hz}, where unused
+                                         * entries in lower dimensions
+                                         * are missing.
+                                         */
+       typename std::vector<FEValues<dim>*> differences;
     };
   
                                     /**

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.