From: Wolfgang Bangerth Date: Wed, 9 Aug 2017 16:43:45 +0000 (-0600) Subject: Reduce MeshWorker complexity by removing an undocumented preprocessor #define. X-Git-Tag: v9.0.0-rc1~1318^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7339bdfd055aab08d60496349fba3d43e63df339;p=dealii.git Reduce MeshWorker complexity by removing an undocumented preprocessor #define. --- diff --git a/include/deal.II/meshworker/loop.h b/include/deal.II/meshworker/loop.h index 5ebc6ed455..66afb8dac3 100644 --- a/include/deal.II/meshworker/loop.h +++ b/include/deal.II/meshworker/loop.h @@ -28,8 +28,6 @@ #include -#define DEAL_II_MESHWORKER_PARALLEL 1 - DEAL_II_NAMESPACE_OPEN template class TriaActiveIterator; @@ -407,23 +405,12 @@ namespace MeshWorker } // Loop over all cells -#ifdef DEAL_II_MESHWORKER_PARALLEL WorkStream::run(begin, end, std::bind(&cell_action, std::placeholders::_1, std::placeholders::_3, std::placeholders::_2, cell_worker, boundary_worker, face_worker, lctrl), std::bind(&internal::assemble, std::placeholders::_1, &assembler), info, dof_info); -#else - for (ITERATOR cell = begin; cell != end; ++cell) - { - cell_action(cell, dof_info, - info, cell_worker, - boundary_worker, face_worker, - lctrl); - dof_info.assemble(assembler); - } -#endif }