From: guido Date: Mon, 21 Jun 1999 21:09:04 +0000 (+0000) Subject: don't interpolate boundaries for components with HUGE_VAL value X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f05450a81399f58da981e7726575513f2e1cc368;p=dealii-svn.git don't interpolate boundaries for components with HUGE_VAL value git-svn-id: https://svn.dealii.org/trunk@1429 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/source/numerics/vectors.cc b/deal.II/deal.II/source/numerics/vectors.cc index 253f1ec0b1..87154e5dd1 100644 --- a/deal.II/deal.II/source/numerics/vectors.cc +++ b/deal.II/deal.II/source/numerics/vectors.cc @@ -400,8 +400,9 @@ VectorTools::interpolate_boundary_values (const DoFHandler &dof, { pair index = fe.face_system_to_component_index(i); - - boundary_values[face_dofs[i]] = dof_values[i](index.first); + double s = dof_values[i](index.first); + if (s != HUGE_VAL) + boundary_values[face_dofs[i]] = s; } } }