From: kanschat Date: Thu, 12 Dec 2013 15:12:34 +0000 (+0000) Subject: LoopControl class introduced X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=64458ebc58f7a4177f602296d61672245ab072d0;p=dealii-svn.git LoopControl class introduced git-svn-id: https://svn.dealii.org/trunk@31982 0785d39b-7218-0410-832d-ea1e28bc413d --- 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,