Lines Matching refs:pStart

36   PetscInt pStart, pEnd;  in PetscDualSpaceRefinedSetCellSpaces_Refined()  local
42 PetscCall(DMPlexGetChart(dm, &pStart, &pEnd)); in PetscDualSpaceRefinedSetCellSpaces_Refined()
43 if (!sp->pointSpaces) PetscCall(PetscCalloc1(pEnd - pStart, &sp->pointSpaces)); in PetscDualSpaceRefinedSetCellSpaces_Refined()
47 PetscCall(PetscDualSpaceDestroy(&sp->pointSpaces[c + cStart - pStart])); in PetscDualSpaceRefinedSetCellSpaces_Refined()
48 sp->pointSpaces[c + cStart - pStart] = cellSpaces[c]; in PetscDualSpaceRefinedSetCellSpaces_Refined()
65 PetscInt pStart, pEnd, depth; in PetscDualSpaceSetUp_Refined() local
74 PetscCall(DMPlexGetChart(dm, &pStart, &pEnd)); in PetscDualSpaceSetUp_Refined()
77 if (sp->pointSpaces[c - pStart]) { in PetscDualSpaceSetUp_Refined()
79 …PetscCheck(sp->pointSpaces[c - pStart]->k == sp->k, PetscObjectComm((PetscObject)sp), PETSC_ERR_AR… in PetscDualSpaceSetUp_Refined()
80 …PetscCheck(sp->pointSpaces[c - pStart]->Nc == sp->Nc, PetscObjectComm((PetscObject)sp), PETSC_ERR_… in PetscDualSpaceSetUp_Refined()
81 PetscCall(DMPlexGetHeightStratum(sp->pointSpaces[c - pStart]->dm, 0, &ccStart, &ccEnd)); in PetscDualSpaceSetUp_Refined()
86 if (sp->pointSpaces[c - pStart]) { in PetscDualSpaceSetUp_Refined()
89 PetscCall(PetscDualSpaceGetUniform(sp->pointSpaces[c - pStart], &cUniform)); in PetscDualSpaceSetUp_Refined()
92 if ((c > cStart) && sp->pointSpaces[c - pStart] != sp->pointSpaces[c - 1 - pStart]) break; in PetscDualSpaceSetUp_Refined()
101 PetscDualSpace cspace = sp->pointSpaces[c - pStart]; in PetscDualSpaceSetUp_Refined()
115 if (sp->pointSpaces[point - pStart] == NULL) { in PetscDualSpaceSetUp_Refined()
117 sp->pointSpaces[point - pStart] = espace; in PetscDualSpaceSetUp_Refined()
125 PetscCall(PetscDualSpacePushForwardSubspaces_Internal(sp, pStart, pEnd)); in PetscDualSpaceSetUp_Refined()
133 PetscInt pStart, pEnd; in PetscDualSpaceRefinedView_Ascii() local
136 PetscCall(DMPlexGetChart(sp->dm, &pStart, &pEnd)); in PetscDualSpaceRefinedView_Ascii()
141 if (!sp->pointSpaces[c - pStart]) { in PetscDualSpaceRefinedView_Ascii()
146 PetscCall(PetscDualSpaceView(sp->pointSpaces[c - pStart], viewer)); in PetscDualSpaceRefinedView_Ascii()