Lines Matching refs:pointSpaces

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()
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()
132 if (sp->dm && sp->pointSpaces) { in PetscDualSpaceRefinedView_Ascii()
141 if (!sp->pointSpaces[c - pStart]) { in PetscDualSpaceRefinedView_Ascii()
146 PetscCall(PetscDualSpaceView(sp->pointSpaces[c - pStart], viewer)); in PetscDualSpaceRefinedView_Ascii()