Lines Matching refs:cpoints

8559   PetscInt       *cpoints = NULL;  in DMPlexMatSetClosureRefined()  local
8584 PetscCall(DMPlexGetTransitiveClosure(dmc, point, PETSC_TRUE, &numCPoints, &cpoints)); in DMPlexMatSetClosureRefined()
8590 if ((cpoints[p] >= pStart) && (cpoints[p] < pEnd)) { in DMPlexMatSetClosureRefined()
8591 cpoints[q * 2] = cpoints[p]; in DMPlexMatSetClosureRefined()
8592 cpoints[q * 2 + 1] = cpoints[p + 1]; in DMPlexMatSetClosureRefined()
8600 PetscCall(PetscSectionGetDof(csection, cpoints[p], &dof)); in DMPlexMatSetClosureRefined()
8603 PetscCall(PetscSectionGetFieldDof(csection, cpoints[p], f, &fdof)); in DMPlexMatSetClosureRefined()
8666 PetscCall(PetscSectionGetFieldPointSyms(csection, f, numCPoints, cpoints, &permsC[f], NULL)); in DMPlexMatSetClosureRefined()
8673 PetscCall(PetscSectionGetOffset(globalCSection, cpoints[2 * p], &globalOff)); in DMPlexMatSetClosureRefined()
8674 …PetscCall(DMPlexGetIndicesPointFields_Internal(csection, PETSC_FALSE, cpoints[2 * p], globalOff < … in DMPlexMatSetClosureRefined()
8678 … PetscCall(PetscSectionRestoreFieldPointSyms(csection, f, numCPoints, cpoints, &permsC[f], NULL)); in DMPlexMatSetClosureRefined()
8685 PetscCall(PetscSectionGetPointSyms(csection, numCPoints, cpoints, &permsC, NULL)); in DMPlexMatSetClosureRefined()
8695 PetscCall(PetscSectionGetOffset(globalCSection, cpoints[2 * p], &globalOff)); in DMPlexMatSetClosureRefined()
8696 …PetscCall(DMPlexGetIndicesPoint_Internal(csection, PETSC_FALSE, cpoints[2 * p], globalOff < 0 ? -(… in DMPlexMatSetClosureRefined()
8699 PetscCall(PetscSectionRestorePointSyms(csection, numCPoints, cpoints, &permsC, NULL)); in DMPlexMatSetClosureRefined()
8715 PetscCall(DMPlexRestoreTransitiveClosure(dmc, point, PETSC_TRUE, &numCPoints, &cpoints)); in DMPlexMatSetClosureRefined()
8724 PetscInt *cpoints = NULL; in DMPlexMatGetClosureIndicesRefined() local
8744 PetscCall(DMPlexGetTransitiveClosure(dmc, point, PETSC_TRUE, &numCPoints, &cpoints)); in DMPlexMatGetClosureIndicesRefined()
8750 if ((cpoints[p] >= pStart) && (cpoints[p] < pEnd)) { in DMPlexMatGetClosureIndicesRefined()
8751 cpoints[q * 2] = cpoints[p]; in DMPlexMatGetClosureIndicesRefined()
8752 cpoints[q * 2 + 1] = cpoints[p + 1]; in DMPlexMatGetClosureIndicesRefined()
8760 PetscCall(PetscSectionGetDof(csection, cpoints[p], &dof)); in DMPlexMatGetClosureIndicesRefined()
8763 PetscCall(PetscSectionGetFieldDof(csection, cpoints[p], f, &fdof)); in DMPlexMatGetClosureIndicesRefined()
8824 PetscCall(PetscSectionGetFieldPointSyms(csection, f, numCPoints, cpoints, &permsC[f], NULL)); in DMPlexMatGetClosureIndicesRefined()
8831 PetscCall(PetscSectionGetOffset(globalCSection, cpoints[2 * p], &globalOff)); in DMPlexMatGetClosureIndicesRefined()
8832 …PetscCall(DMPlexGetIndicesPointFields_Internal(csection, PETSC_FALSE, cpoints[2 * p], globalOff < … in DMPlexMatGetClosureIndicesRefined()
8836 … PetscCall(PetscSectionRestoreFieldPointSyms(csection, f, numCPoints, cpoints, &permsC[f], NULL)); in DMPlexMatGetClosureIndicesRefined()
8843 PetscCall(PetscSectionGetPointSyms(csection, numCPoints, cpoints, &permsC, NULL)); in DMPlexMatGetClosureIndicesRefined()
8853 PetscCall(PetscSectionGetOffset(globalCSection, cpoints[2 * p], &globalOff)); in DMPlexMatGetClosureIndicesRefined()
8854 …PetscCall(DMPlexGetIndicesPoint_Internal(csection, PETSC_FALSE, cpoints[2 * p], globalOff < 0 ? -(… in DMPlexMatGetClosureIndicesRefined()
8857 PetscCall(PetscSectionRestorePointSyms(csection, numCPoints, cpoints, &permsC, NULL)); in DMPlexMatGetClosureIndicesRefined()
8860 PetscCall(DMPlexRestoreTransitiveClosure(dmc, point, PETSC_TRUE, &numCPoints, &cpoints)); in DMPlexMatGetClosureIndicesRefined()