Lines Matching refs:off

44       PetscInt dof, off;  in DMPlexComputeAnchorAdjacencies()  local
47 PetscCall(PetscSectionGetOffset(aSec, p, &off)); in DMPlexComputeAnchorAdjacencies()
52 a = anchors[off + q]; in DMPlexComputeAnchorAdjacencies()
355 PetscInt dof, off, d, q, anDof; in DMPlexCreateAdjacencySection_Static() local
360 PetscCall(PetscSectionGetOffset(section, p, &off)); in DMPlexCreateAdjacencySection_Static()
369 … for (d = off; d < off + dof; ++d) PetscCall(PetscSectionAddDof(leafSectionAdj, d, ndof - ncdof)); in DMPlexCreateAdjacencySection_Static()
373 for (d = off; d < off + dof; ++d) PetscCall(PetscSectionAddDof(leafSectionAdj, d, anDof)); in DMPlexCreateAdjacencySection_Static()
393 PetscInt numAdj = PETSC_DETERMINE, adof, dof, off, d, q, anDof; in DMPlexCreateAdjacencySection_Static() local
396 PetscCall(PetscSectionGetOffset(section, p, &off)); in DMPlexCreateAdjacencySection_Static()
398 PetscCall(PetscSectionGetDof(rootSectionAdj, off, &adof)); in DMPlexCreateAdjacencySection_Static()
408 … for (d = off; d < off + dof; ++d) PetscCall(PetscSectionAddDof(rootSectionAdj, d, ndof - ncdof)); in DMPlexCreateAdjacencySection_Static()
412 for (d = off; d < off + dof; ++d) PetscCall(PetscSectionAddDof(rootSectionAdj, d, anDof)); in DMPlexCreateAdjacencySection_Static()
433 PetscInt dof, off, d, q, anDof, anOff; in DMPlexCreateAdjacencySection_Static() local
438 PetscCall(PetscSectionGetOffset(section, p, &off)); in DMPlexCreateAdjacencySection_Static()
442 for (d = off; d < off + dof; ++d) { in DMPlexCreateAdjacencySection_Static()
501 PetscInt numAdj = PETSC_DETERMINE, adof, dof, off, d, q, anDof, anOff; in DMPlexCreateAdjacencySection_Static() local
504 PetscCall(PetscSectionGetOffset(section, p, &off)); in DMPlexCreateAdjacencySection_Static()
506 PetscCall(PetscSectionGetDof(rootSectionAdj, off, &adof)); in DMPlexCreateAdjacencySection_Static()
511 for (d = off; d < off + dof; ++d) { in DMPlexCreateAdjacencySection_Static()
544 PetscInt dof, cdof, off, d; in DMPlexCreateAdjacencySection_Static() local
549 PetscCall(PetscSectionGetOffset(section, p, &off)); in DMPlexCreateAdjacencySection_Static()
551 PetscCall(PetscSectionGetDof(rootSectionAdj, off, &adof)); in DMPlexCreateAdjacencySection_Static()
553 for (d = off; d < off + dof - cdof; ++d) { in DMPlexCreateAdjacencySection_Static()
575 PetscInt numAdj = PETSC_DETERMINE, dof, cdof, off, goff, d, q, anDof; in DMPlexCreateAdjacencySection_Static() local
580 PetscCall(PetscSectionGetOffset(section, p, &off)); in DMPlexCreateAdjacencySection_Static()
585 PetscCall(PetscSectionGetDof(leafSectionAdj, off + d, &ldof)); in DMPlexCreateAdjacencySection_Static()
586 PetscCall(PetscSectionGetDof(rootSectionAdj, off + d, &rdof)); in DMPlexCreateAdjacencySection_Static()
627 PetscInt numAdj = PETSC_DETERMINE, dof, cdof, off, goff, d, q, anDof, anOff; in DMPlexCreateAdjacencySection_Static() local
632 PetscCall(PetscSectionGetOffset(section, p, &off)); in DMPlexCreateAdjacencySection_Static()
637 PetscCall(PetscSectionGetDof(leafSectionAdj, off + d, &ldof)); in DMPlexCreateAdjacencySection_Static()
638 PetscCall(PetscSectionGetDof(rootSectionAdj, off + d, &rdof)); in DMPlexCreateAdjacencySection_Static()
645 PetscCall(PetscSectionGetOffset(rootSectionAdj, off + d, &roff)); in DMPlexCreateAdjacencySection_Static()