From: Lei Qiao Date: Sat, 29 Aug 2015 02:41:09 +0000 (-0500) Subject: reword documentation of interpolate_boundary_values() X-Git-Tag: v8.4.0-rc2~528^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=995255c431a7eda46f944f9d00b2b3bb6337c95c;p=dealii.git reword documentation of interpolate_boundary_values() --- diff --git a/include/deal.II/numerics/vector_tools.h b/include/deal.II/numerics/vector_tools.h index 78aa657b97..f6377c6d0f 100644 --- a/include/deal.II/numerics/vector_tools.h +++ b/include/deal.II/numerics/vector_tools.h @@ -656,9 +656,10 @@ namespace VectorTools * Compute Dirichlet boundary conditions. This function makes up a map of * degrees of freedom subject to Dirichlet boundary conditions and the * corresponding values to be assigned to them, by interpolation around the - * boundary. If the @p boundary_values object contained values before, the - * new ones are added, or the old ones overwritten if a node of the boundary - * part to be used was already in the map of boundary values. + * boundary. For each degree of freedom at the boundary, if its index + * already exists in @p boundary_values then its boundary value will be + * overwritten, otherwise a new entry with proper index and boundary value + * for this degree of freedom will be inserted into @p boundary_values. * * The parameter @p function_map provides a list of boundary indicators to * be handled by this function and corresponding boundary value functions. @@ -928,7 +929,7 @@ namespace VectorTools * containing all indices of degrees of freedom at the boundary (as covered * by the boundary parts in @p boundary_functions) and the computed dof * value for this degree of freedom. For each degree of freedom at the - * boundary, if its index is already exist in @p boundary_values then its + * boundary, if its index already exists in @p boundary_values then its * boundary value will be overwritten, otherwise a new entry with proper index * and boundary value for this degree of freedom will be inserted into * @p boundary_values.