Lines Matching refs:pSec
474 PetscSection childSec, pSec; in DMPlexTreeSymmetrize() local
482 pSec = mesh->parentSection; in DMPlexTreeSymmetrize()
483 if (!pSec) PetscFunctionReturn(PETSC_SUCCESS); in DMPlexTreeSymmetrize()
484 PetscCall(PetscSectionGetStorageSize(pSec, &pSize)); in DMPlexTreeSymmetrize()
495 PetscCall(PetscSectionCreate(PetscObjectComm((PetscObject)pSec), &childSec)); in DMPlexTreeSymmetrize()
506 PetscCall(PetscSectionGetChart(pSec, &pStart, &pEnd)); in DMPlexTreeSymmetrize()
510 PetscCall(PetscSectionGetDof(pSec, p, &dof)); in DMPlexTreeSymmetrize()
511 PetscCall(PetscSectionGetOffset(pSec, p, &off)); in DMPlexTreeSymmetrize()
1055 PetscSection pSec; in DMPlexGetTreeParent() local
1059 pSec = mesh->parentSection; in DMPlexGetTreeParent()
1060 if (pSec && point >= pSec->pStart && point < pSec->pEnd) { in DMPlexGetTreeParent()
1063 PetscCall(PetscSectionGetDof(pSec, point, &dof)); in DMPlexGetTreeParent()
1067 PetscCall(PetscSectionGetOffset(pSec, point, &off)); in DMPlexGetTreeParent()