Commits

Matt Knepley  committed bd50b50

PetscDualSpace: Fixed numDof for P0

  • Participants
  • Parent commits ebac44a

Comments (0)

Files changed (1)

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

         sp->functional[f].quadPoints  = qpoints;
         sp->functional[f].quadWeights = qweights;
         ++f;
-        lag->numDof[0] = 1;
+        lag->numDof[depth] = 1;
       }
     }
     ierr = DMPlexRestoreTransitiveClosure(dm, pStart[depth], PETSC_TRUE, &closureSize, &closure);CHKERRQ(ierr);