From b72096b28a05e91ef6c25090956cb42206e8d653 Mon Sep 17 00:00:00 2001 From: bangerth Date: Mon, 2 Apr 2012 15:25:05 +0000 Subject: [PATCH] Add a TODO. git-svn-id: https://svn.dealii.org/trunk@25365 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/examples/step-42/step-42.cc | 4 ++++ 1 file changed, 4 insertions(+) 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 <