From: bangerth Date: Tue, 5 Feb 2008 21:40:17 +0000 (+0000) Subject: Add an assertion that trips on andromeda and lets the test fail there. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=82e1ed5692b8be25badfb3639f59c5a0e80e9c12;p=dealii-svn.git Add an assertion that trips on andromeda and lets the test fail there. git-svn-id: https://svn.dealii.org/trunk@15713 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/include/numerics/vectors.templates.h b/deal.II/deal.II/include/numerics/vectors.templates.h index 0b90d4057f..1c5cc9f8be 100644 --- a/deal.II/deal.II/include/numerics/vectors.templates.h +++ b/deal.II/deal.II/include/numerics/vectors.templates.h @@ -2250,6 +2250,11 @@ VectorTools::compute_no_normal_flux_constraints (const DH &dof_hand if (p == dof_to_normals_map.end()) same_dof_range[1] = dof_to_normals_map.end(); + for (unsigned int i=0; i<2; ++i) + for (unsigned int d=0; dfirst.dof_indices[d] < dof_handler.n_dofs(), + ExcInternalError()); + // now compute the reverse mapping: for // each of the cells that contributed // to the current set of vector dofs,