From: bangerth Date: Mon, 2 Apr 2012 15:25:05 +0000 (+0000) Subject: Add a TODO. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b72096b28a05e91ef6c25090956cb42206e8d653;p=dealii-svn.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 <