From: Wolfgang Bangerth Date: Tue, 12 Jan 2021 00:51:31 +0000 (-0700) Subject: Also point to the difference between nodal and non-nodal elements. X-Git-Tag: v9.3.0-rc1~651^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F11500%2Fhead;p=dealii.git Also point to the difference between nodal and non-nodal elements. --- diff --git a/include/deal.II/numerics/vector_tools_boundary.h b/include/deal.II/numerics/vector_tools_boundary.h index 332cdc0aad..813a3740a8 100644 --- a/include/deal.II/numerics/vector_tools_boundary.h +++ b/include/deal.II/numerics/vector_tools_boundary.h @@ -131,7 +131,9 @@ namespace VectorTools * that computing the projection is far more expensive than computing * the interpolation because the latter can be done one face at a time * whereas the projection requires the solution of a problem on the entire - * boundary. + * boundary. On the other hand, interpolation is only possible for + * "nodal" finite element spaces (such as FE_Q, but not + * FE_Q_Hierarchical), whereas the projection is always possible. */ template void @@ -415,13 +417,17 @@ namespace VectorTools * component number in @p boundary_functions that should be used for this * component in @p dof. By default, no remapping is applied. * - * @note Using the *projection* rather than the *interpolation* of boundary - * values makes relatively little difference in practice. That said, - * it is far more computationally expensive to compute projections because - * the require the solution of a problem that couples all unknowns on the - * boundary, whereas interpolation works on one face at a time. For - * some more theoretical considerations, see the documentation of the first - * interpolate_boundary_values() function above. + * @note Using the *projection* rather than the *interpolation* of + * boundary values makes relatively little difference in + * practice. That said, it is far more computationally expensive + * to compute projections because the require the solution of a + * problem that couples all unknowns on the boundary, whereas + * interpolation works on one face at a time. On the other hand, + * interpolation is only possible for "nodal" finite element + * spaces (such as FE_Q, but not FE_Q_Hierarchical), whereas the + * projection is always possible. (For some more theoretical + * considerations, see the documentation of the first + * interpolate_boundary_values() function above.) */ template void