From 7d547fa1d19550ed3bf8ec7fa5da378db43aace3 Mon Sep 17 00:00:00 2001 From: bangerth Date: Tue, 4 May 2010 18:24:24 +0000 Subject: [PATCH] Fix a problem where we weren't prepared to deal with hp cells in 1d. git-svn-id: https://svn.dealii.org/trunk@21064 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/deal.II/include/numerics/vectors.templates.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/deal.II/deal.II/include/numerics/vectors.templates.h b/deal.II/deal.II/include/numerics/vectors.templates.h index 4adc1b6ccc..132b0fd96f 100644 --- a/deal.II/deal.II/include/numerics/vectors.templates.h +++ b/deal.II/deal.II/include/numerics/vectors.templates.h @@ -1301,7 +1301,9 @@ VectorTools::interpolate_boundary_values (const Mappingvertex_dof_index(direction,i)] + boundary_values[outermost_cell-> + vertex_dof_index(direction,i, + outermost_cell->active_fe_index())] = function_values(fe.face_system_to_component_index(i).first); } @@ -1818,7 +1820,8 @@ VectorTools::interpolate_boundary_values (const Mappingvertex_dof_index(direction,i); + const unsigned int row = outermost_cell->vertex_dof_index(direction,i, + outermost_cell->active_fe_index()); constraints.add_line (row); constraints.set_inhomogeneity (row, function_values(fe.face_system_to_component_index(i).first)); -- 2.39.5