From: Wolfgang Bangerth Date: Wed, 7 Mar 2001 19:10:35 +0000 (+0000) Subject: More annotations and clean-ups. X-Git-Tag: v8.0.0~19608 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2741a218cb4a31ae0307c8207a42a9cf67dea916;p=dealii.git More annotations and clean-ups. git-svn-id: https://svn.dealii.org/trunk@4163 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/include/fe/fe_dgq.h b/deal.II/deal.II/include/fe/fe_dgq.h index 94816e5375..aa3ba2f922 100644 --- a/deal.II/deal.II/include/fe/fe_dgq.h +++ b/deal.II/deal.II/include/fe/fe_dgq.h @@ -259,12 +259,12 @@ class FE_DGQ : public FiniteElement class InternalData : public FiniteElementBase::InternalDataBase { public: - /** - * Destructor. Needed to avoid - * memory leaks with difference - * quotients. - */ - ~InternalData (); + /** + * Destructor. Needed to avoid + * memory leaks with difference + * quotients. + */ + ~InternalData (); /** * Array with shape function values @@ -273,6 +273,7 @@ class FE_DGQ : public FiniteElement * values for each quadrature point. */ std::vector > shape_values; + /** * Array with shape function gradients * in quadrature points. There is one @@ -281,20 +282,21 @@ class FE_DGQ : public FiniteElement */ std::vector > > shape_gradients; - /** - * 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. - */ - std::vector*> differences; + /** + * 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. + */ +//TODO: what good is this, the base class already has it and it seems never to be used!? + std::vector*> differences; }; /** diff --git a/deal.II/deal.II/include/fe/fe_values.h b/deal.II/deal.II/include/fe/fe_values.h index 6f14488593..b545207fce 100644 --- a/deal.II/deal.II/include/fe/fe_values.h +++ b/deal.II/deal.II/include/fe/fe_values.h @@ -48,8 +48,8 @@ class FEValuesData * Initialize all vectors to correct size. */ void initialize (const unsigned int n_quadrature_points, - unsigned int n_shapes, - const UpdateFlags flags); + const unsigned int n_shapes, + const UpdateFlags flags); /** * Storage type for shape values. @@ -244,6 +244,7 @@ class FEValuesBase : protected FEValuesData * constructor of the derived * class. */ +//TODO: What is the meaning of the n_values_array? It is not used in the implementation FEValuesBase (const unsigned int n_q_points, const unsigned int dofs_per_cell, const unsigned int n_values_array,