Commits

Matt Knepley committed b1f61a2 Merge

Merge branch 'knepley/feature-plex-fas' into next

* knepley/feature-plex-fas:
DMPlex: Removed unused variable

  • Participants
  • Parent commits fe9929d, 942a7a0
  • Branches knepley/fix-quadrature-order, next-oct-2014

Comments (0)

Files changed (1)

src/dm/impls/plex/plexfem.c

   PetscSection      fsection, fglobalSection;
   PetscSection      csection, cglobalSection;
   PetscScalar      *elemMat;
-  PetscInt          dim, Nf, f, fieldI, fieldJ, offsetI, offsetJ, numCells, cStart, cEnd, c;
+  PetscInt          dim, Nf, f, fieldI, fieldJ, offsetI, offsetJ, cStart, cEnd, c;
   PetscInt          rCellDof = 0, cCellDof = 0;
   PetscErrorCode    ierr;
 
   ierr = DMGetDefaultGlobalSection(dmc, &cglobalSection);CHKERRQ(ierr);
   ierr = PetscSectionGetNumFields(fsection, &Nf);CHKERRQ(ierr);
   ierr = DMPlexGetHeightStratum(dmc, 0, &cStart, &cEnd);CHKERRQ(ierr);
-  numCells = cEnd - cStart;
   ierr = PetscMalloc1(Nf,&feRef);CHKERRQ(ierr);
   for (f = 0; f < Nf; ++f) {
     PetscInt rNb, cNb, Nc;