]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Make more classes friends.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Tue, 2 May 2006 02:21:03 +0000 (02:21 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Tue, 2 May 2006 02:21:03 +0000 (02:21 +0000)
git-svn-id: https://svn.dealii.org/trunk@12954 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/include/dofs/dof_levels.h

index c4b720c5dcabee10caffd523356e33801e616a8d..ff087e8136ab5482edea66396c1298d5f502e8d1 100644 (file)
@@ -18,6 +18,7 @@
 #include <vector>
 
 template <int> class DoFHandler;
+template <int> class MGDoFHandler;
 
 
 namespace internal
@@ -259,12 +260,14 @@ namespace internal
         unsigned int memory_consumption () const;
 
                                          /**
-                                          * Make the DoFHandler class
-                                          * a friend, so that it can
+                                          * Make the DoFHandler and
+                                          * MGDoFHandler classes a
+                                          * friend, so that it can
                                           * resize arrays as
                                           * necessary.
                                           */
         template <int> friend class ::DoFHandler;
+        template <int> friend class ::MGDoFHandler;
     };
 
 
@@ -364,12 +367,14 @@ namespace internal
         unsigned int memory_consumption () const;
 
                                          /**
-                                          * Make the DoFHandler class
-                                          * a friend, so that it can
+                                          * Make the DoFHandler and
+                                          * MGDoFHandler classes a
+                                          * friend, so that it can
                                           * resize arrays as
                                           * necessary.
                                           */
         template <int> friend class ::DoFHandler;
+        template <int> friend class ::MGDoFHandler;
     };
 
 
@@ -469,12 +474,14 @@ namespace internal
         unsigned int memory_consumption () const;
 
                                          /**
-                                          * Make the DoFHandler class
-                                          * a friend, so that it can
+                                          * Make the DoFHandler and
+                                          * MGDoFHandler classes a
+                                          * friend, so that it can
                                           * resize arrays as
                                           * necessary.
                                           */
         template <int> friend class ::DoFHandler;
+        template <int> friend class ::MGDoFHandler;
     };
     
   }

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.