From 64458ebc58f7a4177f602296d61672245ab072d0 Mon Sep 17 00:00:00 2001 From: kanschat Date: Thu, 12 Dec 2013 15:12:34 +0000 Subject: [PATCH] LoopControl class introduced git-svn-id: https://svn.dealii.org/trunk@31982 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/include/deal.II/meshworker/loop.h | 27 +++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/deal.II/include/deal.II/meshworker/loop.h b/deal.II/include/deal.II/meshworker/loop.h index ecbf0c53d5..0303c205ef 100644 --- a/deal.II/include/deal.II/meshworker/loop.h +++ b/deal.II/include/deal.II/meshworker/loop.h @@ -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 true. + */ + bool own_cells; + /** + * Loop over cells owned by this process. Defaults to false. + */ + 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 cell_worker, -- 2.39.5