From: kanschat Date: Mon, 3 Jun 2013 15:05:26 +0000 (+0000) Subject: Scott Miller's patch adding the unique_faces option X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cf2472e23b2999afc87a6d6248fde572a5cd2646;p=dealii-svn.git Scott Miller's patch adding the unique_faces option git-svn-id: https://svn.dealii.org/trunk@29741 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 b4429031f7..d57f2a4a46 100644 --- a/deal.II/include/deal.II/meshworker/loop.h +++ b/deal.II/include/deal.II/meshworker/loop.h @@ -250,7 +250,8 @@ namespace MeshWorker typename INFOBOX::CellInfo &, typename INFOBOX::CellInfo &)>& face_worker, ASSEMBLER &assembler, - bool cells_first = true) + bool cells_first = true, + bool unique_faces_only = true) { DoFInfoBox dof_info(dinfo); @@ -266,7 +267,7 @@ namespace MeshWorker WorkStream::run(begin, end, std_cxx1x::bind(&cell_action, std_cxx1x::_1, std_cxx1x::_3, std_cxx1x::_2, - cell_worker, boundary_worker, face_worker, cells_first, true), + cell_worker, boundary_worker, face_worker, cells_first, unique_faces_only), std_cxx1x::bind(&internal::assemble, std_cxx1x::_1, &assembler), info, dof_info); #else @@ -276,7 +277,7 @@ namespace MeshWorker info, cell_worker, boundary_worker, face_worker, cells_first, - true); + unique_faces_only); dof_info.assemble(assembler); } #endif