From: heltai Date: Thu, 23 Sep 2010 15:12:02 +0000 (+0000) Subject: Fixed bug that prevented mapping q eulerian to work properly in codim one. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f4bc3f7a1eb91ae5bfedaa9e064b2da4c31d524b;p=dealii-svn.git Fixed bug that prevented mapping q eulerian to work properly in codim one. git-svn-id: https://svn.dealii.org/trunk@22133 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/source/fe/mapping_q_eulerian.cc b/deal.II/deal.II/source/fe/mapping_q_eulerian.cc index d3d936a2ea..314270e7a6 100644 --- a/deal.II/deal.II/source/fe/mapping_q_eulerian.cc +++ b/deal.II/deal.II/source/fe/mapping_q_eulerian.cc @@ -153,7 +153,7 @@ compute_mapping_support_points const unsigned int n_support_pts = support_quadrature.n_quadrature_points; const unsigned int n_components = euler_dof_handler->get_fe().n_components(); - Assert (n_components >= dim, ExcWrongNoOfComponents() ); + Assert (n_components >= spacedim, ExcWrongNoOfComponents() ); std::vector > shift_vector(n_support_pts,Vector(n_components)); @@ -175,7 +175,7 @@ compute_mapping_support_points for(unsigned int q=0; q