Commits

Matt Knepley committed 616f7e4

PetscDualSpace: Fixed orientation of reference tetrahedron
- Now this does not match FIAT

  • Participants
  • Parent commits bd50b50

Comments (0)

Files changed (1)

File src/dm/dt/interface/dtfe.c

   {
     PetscInt    numPoints[2]        = {4, 1};
     PetscInt    coneSize[5]         = {4, 0, 0, 0, 0};
-    PetscInt    cones[4]            = {1, 2, 3, 4};
+    PetscInt    cones[4]            = {1, 3, 2, 4};
     PetscInt    coneOrientations[4] = {0, 0, 0, 0};
     PetscScalar vertexCoords[12]    = {-1.0, -1.0, -1.0,  1.0, -1.0, -1.0,  -1.0, 1.0, -1.0,  -1.0, -1.0, 1.0};