Searched refs:pointSpaces (Results 1 – 5 of 5) sorted by relevance
| /petsc/src/dm/dt/dualspace/impls/refined/ |
| H A D | dualspacerefined.c | 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() [all …]
|
| /petsc/src/dm/dt/dualspace/interface/ |
| H A D | dualspace.c | 360 if (sp->pointSpaces) { in PetscDualSpaceClearDMData_Internal() 363 for (i = 0; i < pEnd - pStart; i++) PetscCall(PetscDualSpaceDestroy(&sp->pointSpaces[i])); in PetscDualSpaceClearDMData_Internal() 365 PetscCall(PetscFree(sp->pointSpaces)); in PetscDualSpaceClearDMData_Internal() 1640 else if (sp->pointSpaces) { in PetscDualSpaceGetHeightSubspace() 1647 PetscCall(PetscObjectReference((PetscObject)sp->pointSpaces[hStart])); in PetscDualSpaceGetHeightSubspace() 1648 if (sp->pointSpaces[hStart]) { in PetscDualSpaceGetHeightSubspace() 1650 PetscCall(PetscObjectSetName((PetscObject)sp->pointSpaces[hStart], name)); in PetscDualSpaceGetHeightSubspace() 1652 sp->heightSpaces[h] = sp->pointSpaces[hStart]; in PetscDualSpaceGetHeightSubspace() 1704 if (!sp->pointSpaces) { in PetscDualSpaceGetPointSubspace() 1706 PetscCall(PetscCalloc1(pEnd - pStart, &sp->pointSpaces)); in PetscDualSpaceGetPointSubspace() [all …]
|
| /petsc/src/dm/dt/dualspace/impls/sum/ |
| H A D | dualspacesum.c | 810 PetscCall(PetscCalloc1(pEnd, &sp->pointSpaces)); in PetscDualSpaceSetUp_Sum() 831 PetscCall(PetscObjectReference((PetscObject)sp->pointSpaces[q])); in PetscDualSpaceSetUp_Sum() 832 sp->pointSpaces[p] = sp->pointSpaces[q]; in PetscDualSpaceSetUp_Sum() 836 PetscCall(PetscDualSpaceCreateFacetSubspace_Sum(sp, p, &sp->pointSpaces[p])); in PetscDualSpaceSetUp_Sum() 853 qsp = sp->pointSpaces[q]; in PetscDualSpaceSetUp_Sum() 860 sp->pointSpaces[p] = NULL; in PetscDualSpaceSetUp_Sum() 868 sp->pointSpaces[p] = psp; in PetscDualSpaceSetUp_Sum()
|
| /petsc/src/dm/dt/dualspace/impls/lagrange/ |
| H A D | dspacelagrange.c | 1468 PetscDualSpace psp = sp->pointSpaces[p]; in PetscDualSpaceLagrangeCreateAllNodeIdx() 2082 PetscCall(PetscCalloc1(pEnd, &sp->pointSpaces)); in PetscDualSpaceSetUp_Lagrange() 2106 PetscCall(PetscObjectReference((PetscObject)sp->pointSpaces[q])); in PetscDualSpaceSetUp_Lagrange() 2107 sp->pointSpaces[p] = sp->pointSpaces[q]; in PetscDualSpaceSetUp_Lagrange() 2111 …eCreateFacetSubspace_Lagrange(sp, NULL, p, formDegree, Ncopies, PETSC_FALSE, &sp->pointSpaces[p])); in PetscDualSpaceSetUp_Lagrange() 2132 qsp = sp->pointSpaces[q]; in PetscDualSpaceSetUp_Lagrange() 2144 sp->pointSpaces[p] = psp; in PetscDualSpaceSetUp_Lagrange() 2151 if (!sp->pointSpaces[p]) continue; in PetscDualSpaceSetUp_Lagrange() 2152 PetscCall(PetscDualSpaceGetInteriorDimension(sp->pointSpaces[p], &pspdim)); in PetscDualSpaceSetUp_Lagrange() 2335 if (sp->pointSpaces[tensorf]) { in PetscDualSpaceSetUp_Lagrange() [all …]
|
| /petsc/include/petsc/private/ |
| H A D | petscfeimpl.h | 128 PetscDualSpace *pointSpaces; member
|