From: Wolfgang Bangerth Date: Mon, 28 Jun 2010 03:37:49 +0000 (+0000) Subject: Fix wrong ordering of degrees of freedom locations on faces. X-Git-Tag: v8.0.0~5901 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=90b6632eade85e1bb09105c5f1c2630f15b1e7bd;p=dealii.git Fix wrong ordering of degrees of freedom locations on faces. git-svn-id: https://svn.dealii.org/trunk@21391 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/source/fe/fe_q.cc b/deal.II/deal.II/source/fe/fe_q.cc index d8c9633f0c..049a262235 100644 --- a/deal.II/deal.II/source/fe/fe_q.cc +++ b/deal.II/deal.II/source/fe/fe_q.cc @@ -1484,11 +1484,11 @@ FE_Q<3>::initialize_quad_dof_index_permutation () // face_orientation=false, face_flip=false, face_rotation=false data(local,0)=j + i *n - local; // face_orientation=false, face_flip=false, face_rotation=true - data(local,1)=(n-1-i) + j *n - local; + data(local,1)=i + (n-1-j)*n - local; // face_orientation=false, face_flip=true, face_rotation=false data(local,2)=(n-1-j) + (n-1-i)*n - local; // face_orientation=false, face_flip=true, face_rotation=true - data(local,3)=i + (n-1-j)*n - local; + data(local,3)=(n-1-i) + j *n - local; // face_orientation=true, face_flip=false, face_rotation=false data(local,4)=0; // face_orientation=true, face_flip=false, face_rotation=true