]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Add a TODO.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 2 Apr 2012 15:25:05 +0000 (15:25 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 2 Apr 2012 15:25:05 +0000 (15:25 +0000)
git-svn-id: https://svn.dealii.org/trunk@25365 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/examples/step-42/step-42.cc

index 0b68743923157277974517da247dc6b3a773dccc..fdf86e235415156e762f7ae8b21035895320bb22 100644 (file)
@@ -976,6 +976,10 @@ void Step4<dim>::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 <<std::endl;
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.