From: Wolfgang Bangerth Date: Mon, 2 Apr 2012 15:25:05 +0000 (+0000) Subject: Add a TODO. X-Git-Tag: v8.0.0~2717 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=84051e898133f3bdb482b279b6bd501b0860e350;p=dealii.git Add a TODO. git-svn-id: https://svn.dealii.org/trunk@25365 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/examples/step-42/step-42.cc b/deal.II/examples/step-42/step-42.cc index 0b68743923..fdf86e2354 100644 --- a/deal.II/examples/step-42/step-42.cc +++ b/deal.II/examples/step-42/step-42.cc @@ -976,6 +976,10 @@ void Step4::projection_active_set () distributed_solution.compress(Insert); +//TODO: since the active sets on different processors also store "ghost" elements, +// i.e. constraints for DoFs that are locally_relevant but not locally_owned, +// the following sum doesn't make much sense. We need to count the +// *unique* elements unsigned int sum_contact_constraints = Utilities::MPI::sum(active_set.n_elements (), mpi_communicator); pcout << "Number of Contact-Constaints: " << sum_contact_constraints <