From: bangerth Date: Tue, 4 May 2010 18:24:24 +0000 (+0000) Subject: Fix a problem where we weren't prepared to deal with hp cells in 1d. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d547fa1d19550ed3bf8ec7fa5da378db43aace3;p=dealii-svn.git 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 --- 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));