From: maier Date: Mon, 16 Dec 2013 18:02:35 +0000 (+0000) Subject: Define the constructor of LoopControl within the class so that it is emitted as a... X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ed05442c11b4d249f0157bff3704aa006c53255c;p=dealii-svn.git Define the constructor of LoopControl within the class so that it is emitted as a weak symbol git-svn-id: https://svn.dealii.org/trunk@32030 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 f1d638527e..6595f91d94 100644 --- a/deal.II/include/deal.II/meshworker/loop.h +++ b/deal.II/include/deal.II/meshworker/loop.h @@ -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 true. @@ -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 bool LoopControl::operator() (const ITERATOR& cell, unsigned int face, bool is_level) const