From 2d4d1fb25ca6c401340b5195620ad3497a574f74 Mon Sep 17 00:00:00 2001 From: wolf Date: Wed, 28 Nov 2001 16:24:23 +0000 Subject: [PATCH] Tag implicitly virtual destructor explicitly virtual. Reorder 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 | 65 ++++++++++++++-------------- 1 file changed, 33 insertions(+), 32 deletions(-) diff --git a/deal.II/deal.II/include/fe/fe_base.h b/deal.II/deal.II/include/fe/fe_base.h index af9b276b9b..96ac71f15a 100644 --- a/deal.II/deal.II/include/fe/fe_base.h +++ b/deal.II/deal.II/include/fe/fe_base.h @@ -366,38 +366,39 @@ class FiniteElementBase : public Subscriptor, */ class InternalDataBase : public Mapping::InternalDataBase { - public: - /** - * Initialize some pointers - * used in the computation of - * second derivatives by finite - * differencing of gradients. - */ - void initialize_2nd (const FiniteElement *element, - const Mapping &mapping, - const Quadrature &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*> 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 *element, + const Mapping &mapping, + const Quadrature &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*> differences; }; /** -- 2.39.5