]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Define the constructor of LoopControl within the class so that it is emitted as a...
authormaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 16 Dec 2013 18:02:35 +0000 (18:02 +0000)
committermaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 16 Dec 2013 18:02:35 +0000 (18:02 +0000)
git-svn-id: https://svn.dealii.org/trunk@32030 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/meshworker/loop.h

index f1d638527ee3126f8779aa417503434b30f88d51..6595f91d94dc570a8b3b46482ec7b33a8b916520 100644 (file)
@@ -79,7 +79,11 @@ namespace MeshWorker
       /**
        * Constructor.
        */
-      LoopControl();
+      LoopControl()
+      : own_cells(true), ghost_cells(false),
+        faces_to_ghost(LoopControl::one), own_faces(LoopControl::one)
+      {
+      }
 
       /**
        * Loop over cells owned by this process. Defaults to <code>true</code>.
@@ -134,11 +138,6 @@ namespace MeshWorker
       bool operator() (const ITERATOR& cell, bool is_level) const;
   };
   
-  LoopControl::LoopControl()
-  : own_cells(true), ghost_cells(false),
-    faces_to_ghost(LoopControl::one), own_faces(LoopControl::one)
-  {
-  }
   
   template <class ITERATOR>
   bool LoopControl::operator() (const ITERATOR& cell, unsigned int face, bool is_level) const

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.