]> https://gitweb.dealii.org/ - dealii.git/commitdiff
VT::interpolate_boundary_values() for pyramids and wedges 13916/head
authorPeter Munch <peterrmuench@gmail.com>
Mon, 6 Jun 2022 13:08:35 +0000 (15:08 +0200)
committerPeter Munch <peterrmuench@gmail.com>
Mon, 6 Jun 2022 13:08:35 +0000 (15:08 +0200)
include/deal.II/numerics/vector_tools_boundary.templates.h

index ec71f01e8639a9bd1248bc0b8233ea0b8ab2ef48..0a5be3580f13c018aa49cf71aa0fc8c6aea00fd9 100644 (file)
@@ -283,8 +283,9 @@ namespace VectorTools
                       // dofs on this face
                       face_dofs.resize(fe.n_dofs_per_face(face_no));
                       face->get_dof_indices(face_dofs, cell->active_fe_index());
-                      const std::vector<Point<spacedim>> &dof_locations =
+                      std::vector<Point<spacedim>> dof_locations =
                         fe_values.get_quadrature_points();
+                      dof_locations.resize(fe.n_dofs_per_face(face_no));
 
                       if (fe_is_system)
                         {

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.