]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
More annotations and clean-ups.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 7 Mar 2001 19:10:35 +0000 (19:10 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 7 Mar 2001 19:10:35 +0000 (19:10 +0000)
git-svn-id: https://svn.dealii.org/trunk@4163 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/include/fe/fe_dgq.h
deal.II/deal.II/include/fe/fe_values.h

index 94816e537552ec95d3456af7e2be2080f0a710de..aa3ba2f9226e579115d6abbd9892056c5d72d151 100644 (file)
@@ -259,12 +259,12 @@ class FE_DGQ : public FiniteElement<dim>
     class InternalData : public FiniteElementBase<dim>::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<dim>
                                          * values for each quadrature point.
                                          */
        std::vector<std::vector<double> > shape_values;
+       
                                         /**
                                          * Array with shape function gradients
                                          * in quadrature points. There is one
@@ -281,20 +282,21 @@ class FE_DGQ : public FiniteElement<dim>
                                          */                                  
        std::vector<std::vector<Tensor<1,dim> > > 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<FEValues<dim>*> 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<FEValues<dim>*> differences;
     };
     
                                     /**
index 6f14488593789f33ec73952109f4a2a752777586..b545207fce3ec7b125030719b0c9721ac8789d2a 100644 (file)
@@ -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<dim>
                                      * 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,

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.