for (unsigned int e=0, c=0; e<dim; ++e)
if (d!=e)
{
+ // faces in y-direction are oriented differently
+ unsigned int renumber = i;
+ if (dim == 3 && d == 1)
+ renumber = i/(degree+1)+(degree+1)*(i%(degree+1));
this->unit_support_points[n_face_dofs*2*d+i][e] =
- this->unit_face_support_points[i][c];
+ this->unit_face_support_points[renumber][c];
this->unit_support_points[n_face_dofs*(2*d+1)+i][e] =
- this->unit_face_support_points[i][c];
+ this->unit_face_support_points[renumber][c];
this->unit_support_points[n_face_dofs*(2*d+1)+i][d] = 1;
++c;
}
DEAL::1 1.00000
DEAL::2 0.500000
DEAL::dim=2, face=ok
+DEAL::dim=2, cell=ok
+DEAL::dim=2, face=ok
+DEAL::0 0.00000 0.00000
+DEAL::1 0.00000 0.500000
+DEAL::2 0.00000 1.00000
+DEAL::3 1.00000 0.00000
+DEAL::4 1.00000 0.500000
+DEAL::5 1.00000 1.00000
+DEAL::6 0.00000 0.00000
+DEAL::7 0.500000 0.00000
+DEAL::8 1.00000 0.00000
+DEAL::9 0.00000 1.00000
+DEAL::10 0.500000 1.00000
+DEAL::11 1.00000 1.00000
+DEAL::dim=2, cell=ok
+DEAL::0 0.00000
+DEAL::1 0.500000
+DEAL::2 1.00000
+DEAL::dim=2, face=ok
DEAL::dim=3, cell=ok
DEAL::dim=3, face=ok
DEAL::dim=3, cell=ok
DEAL::7 0.500000 1.00000
DEAL::8 0.500000 0.500000
DEAL::dim=3, face=ok
+DEAL::dim=3, cell=ok
+DEAL::dim=3, face=ok
+DEAL::0 0.00000 0.00000 0.00000
+DEAL::1 0.00000 0.500000 0.00000
+DEAL::2 0.00000 1.00000 0.00000
+DEAL::3 0.00000 0.00000 0.500000
+DEAL::4 0.00000 0.500000 0.500000
+DEAL::5 0.00000 1.00000 0.500000
+DEAL::6 0.00000 0.00000 1.00000
+DEAL::7 0.00000 0.500000 1.00000
+DEAL::8 0.00000 1.00000 1.00000
+DEAL::9 1.00000 0.00000 0.00000
+DEAL::10 1.00000 0.500000 0.00000
+DEAL::11 1.00000 1.00000 0.00000
+DEAL::12 1.00000 0.00000 0.500000
+DEAL::13 1.00000 0.500000 0.500000
+DEAL::14 1.00000 1.00000 0.500000
+DEAL::15 1.00000 0.00000 1.00000
+DEAL::16 1.00000 0.500000 1.00000
+DEAL::17 1.00000 1.00000 1.00000
+DEAL::18 0.00000 0.00000 0.00000
+DEAL::19 0.00000 0.00000 0.500000
+DEAL::20 0.00000 0.00000 1.00000
+DEAL::21 0.500000 0.00000 0.00000
+DEAL::22 0.500000 0.00000 0.500000
+DEAL::23 0.500000 0.00000 1.00000
+DEAL::24 1.00000 0.00000 0.00000
+DEAL::25 1.00000 0.00000 0.500000
+DEAL::26 1.00000 0.00000 1.00000
+DEAL::27 0.00000 1.00000 0.00000
+DEAL::28 0.00000 1.00000 0.500000
+DEAL::29 0.00000 1.00000 1.00000
+DEAL::30 0.500000 1.00000 0.00000
+DEAL::31 0.500000 1.00000 0.500000
+DEAL::32 0.500000 1.00000 1.00000
+DEAL::33 1.00000 1.00000 0.00000
+DEAL::34 1.00000 1.00000 0.500000
+DEAL::35 1.00000 1.00000 1.00000
+DEAL::36 0.00000 0.00000 0.00000
+DEAL::37 0.500000 0.00000 0.00000
+DEAL::38 1.00000 0.00000 0.00000
+DEAL::39 0.00000 0.500000 0.00000
+DEAL::40 0.500000 0.500000 0.00000
+DEAL::41 1.00000 0.500000 0.00000
+DEAL::42 0.00000 1.00000 0.00000
+DEAL::43 0.500000 1.00000 0.00000
+DEAL::44 1.00000 1.00000 0.00000
+DEAL::45 0.00000 0.00000 1.00000
+DEAL::46 0.500000 0.00000 1.00000
+DEAL::47 1.00000 0.00000 1.00000
+DEAL::48 0.00000 0.500000 1.00000
+DEAL::49 0.500000 0.500000 1.00000
+DEAL::50 1.00000 0.500000 1.00000
+DEAL::51 0.00000 1.00000 1.00000
+DEAL::52 0.500000 1.00000 1.00000
+DEAL::53 1.00000 1.00000 1.00000
+DEAL::dim=3, cell=ok
+DEAL::0 0.00000 0.00000
+DEAL::1 0.500000 0.00000
+DEAL::2 1.00000 0.00000
+DEAL::3 0.00000 0.500000
+DEAL::4 0.500000 0.500000
+DEAL::5 1.00000 0.500000
+DEAL::6 0.00000 1.00000
+DEAL::7 0.500000 1.00000
+DEAL::8 1.00000 1.00000
+DEAL::dim=3, face=ok