1. petsc
  2. PETSc
  3. petsc

Commits

Matt Knepley  committed 2867085 Merge

Merge branch 'knepley/plex-speed-tests' into next

* knepley/plex-speed-tests:
DMPlex: Fix bug in specialization of DMPlexVecGetClosure()

  • Participants
  • Parent commits 1a54cdc, 52ed52e
  • Branches jed/next-seaice, knepley/fix-quadrature-order 3
    1. madams/sr-driver
    2. madams/sr1
    3. next-oct-2014

Comments (0)

Files changed (1)

File src/dm/impls/plex/plex.c

View file
  • Ignore whitespace
       PetscInt       dof, off, d;
       PetscScalar   *varr;
 
+      if ((cp < pStart) || (cp >= pEnd)) continue;
       ierr = PetscSectionGetDof(section, cp, &dof);CHKERRQ(ierr);
       ierr = PetscSectionGetOffset(section, cp, &off);CHKERRQ(ierr);
       varr = &vArray[off];