]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
LoopControl class introduced
authorkanschat <kanschat@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 12 Dec 2013 15:12:34 +0000 (15:12 +0000)
committerkanschat <kanschat@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 12 Dec 2013 15:12:34 +0000 (15:12 +0000)
git-svn-id: https://svn.dealii.org/trunk@31982 0785d39b-7218-0410-832d-ea1e28bc413d

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

index ecbf0c53d58750830546b53e8abe320056234aae..0303c205ef2d3e66ab118e925ab939cf2183b8bf 100644 (file)
@@ -69,6 +69,33 @@ namespace internal
 
 namespace MeshWorker
 {
+  /**
+   * Collection of parameters for execution of MeshWorker loops.
+   */
+  class LoopControl
+  {
+    public:
+      /**
+       * Loop over cells owned by this process. Defaults to <code>true</code>.
+       */
+      bool own_cells;
+      /**
+       * Loop over cells owned by this process. Defaults to <code>false</code>.
+       */
+      bool ghost_cells;
+
+      
+      enum
+      {
+           never,
+           one_process,
+           both_processes
+      } faces_to_ghost;
+      
+      bool own_faces_from_both_sides;
+  };
+  
+  
   /**
    * The function called by loop() to perform the required actions on a
    * cell and its faces. The three functions <tt>cell_worker</tt>,

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.