]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Move friend declarations all into the same place.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Tue, 24 Jan 2006 07:34:03 +0000 (07:34 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Tue, 24 Jan 2006 07:34:03 +0000 (07:34 +0000)
git-svn-id: https://svn.dealii.org/trunk@12143 0785d39b-7218-0410-832d-ea1e28bc413d

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

index c1749d2daa7bc7ba60a4d2e2da9c6c2ee0e785d1..ef61097ec24d7bba058abf6d4f428ce98b7e509e 100644 (file)
@@ -1898,30 +1898,6 @@ class FiniteElement : public Subscriptor,
     std::vector<unsigned int>
     compute_n_nonzero_components (const std::vector<std::vector<bool> > &nonzero_components);
     
-                                    /**
-                                     * Allow the FESystem class to access the
-                                     * restriction and prolongation matrices
-                                     * directly. Hence, FESystem has the
-                                     * possibility to see if these matrices
-                                     * are initialized without accessing
-                                     * these matrices through the
-                                     * @p get_restriction_matrix and
-                                     * @p get_prolongation_matrix
-                                     * functions. This is important as these
-                                     * functions include assertions that
-                                     * throw if the matrices are not already
-                                     * initialized.
-                                     */
-    template <int dim_> friend class FESystem;
-
-                                     /**
-                                      * Make the inner class a
-                                      * friend. This is not strictly
-                                      * necessary, but the Intel
-                                      * compiler seems to want this.
-                                      */
-    friend class InternalDataBase;
-    
 
                                     /**
                                      * Exception
@@ -2130,6 +2106,30 @@ class FiniteElement : public Subscriptor,
                            typename Mapping<dim>::InternalDataBase &fe_internal,
                            FEValuesData<dim>                    &data) const = 0;
 
+                                    /**
+                                     * Allow the FESystem class to access the
+                                     * restriction and prolongation matrices
+                                     * directly. Hence, FESystem has the
+                                     * possibility to see if these matrices
+                                     * are initialized without accessing
+                                     * these matrices through the
+                                     * @p get_restriction_matrix and
+                                     * @p get_prolongation_matrix
+                                     * functions. This is important as these
+                                     * functions include assertions that
+                                     * throw if the matrices are not already
+                                     * initialized.
+                                     */
+    template <int dim_> friend class FESystem;
+
+                                     /**
+                                      * Make the inner class a
+                                      * friend. This is not strictly
+                                      * necessary, but the Intel
+                                      * compiler seems to want this.
+                                      */
+    friend class InternalDataBase;
+    
                                     /**
                                      * Declare some other classes as
                                      * friends of this class.
@@ -2138,7 +2138,6 @@ class FiniteElement : public Subscriptor,
     friend class FEValues<dim>;
     friend class FEFaceValues<dim>;
     friend class FESubfaceValues<dim>;
-    friend class FESystem<dim>;
     friend class hp::FECollection<dim>;
 };
 

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.