Lines Matching refs:mesh

1011   DM_Plex          *mesh = (DM_Plex *)dm->data;  in DMPlexView_Ascii()  local
1047 PetscCall(PetscSectionGetDof(mesh->supportSection, p, &dof)); in DMPlexView_Ascii()
1048 PetscCall(PetscSectionGetOffset(mesh->supportSection, p, &off)); in DMPlexView_Ascii()
1049 …edPrintf(viewer, "[%d]: %" PetscInt_FMT " ----> %" PetscInt_FMT "\n", rank, p, mesh->supports[s])); in DMPlexView_Ascii()
1057 PetscCall(PetscSectionGetDof(mesh->coneSection, p, &dof)); in DMPlexView_Ascii()
1058 PetscCall(PetscSectionGetOffset(mesh->coneSection, p, &off)); in DMPlexView_Ascii()
1059 …nt_FMT " <---- %" PetscInt_FMT " (%" PetscInt_FMT ")\n", rank, p, mesh->cones[c], mesh->coneOrient… in DMPlexView_Ascii()
1134 if (mesh->periodic.face_sfs) in DMPlexView_Ascii()
1135 …for (PetscInt i = 0; i < mesh->periodic.num_face_sfs; i++) PetscCall(PetscSFView(mesh->periodic.fa… in DMPlexView_Ascii()
2820 DM_Plex *mesh = (DM_Plex *)dm->data; in DMDestroy_Plex() local
2844 if (--mesh->refct > 0) PetscFunctionReturn(PETSC_SUCCESS); in DMDestroy_Plex()
2845 PetscCall(PetscSectionDestroy(&mesh->coneSection)); in DMDestroy_Plex()
2846 PetscCall(PetscFree(mesh->cones)); in DMDestroy_Plex()
2847 PetscCall(PetscFree(mesh->coneOrientations)); in DMDestroy_Plex()
2848 PetscCall(PetscSectionDestroy(&mesh->supportSection)); in DMDestroy_Plex()
2849 PetscCall(PetscSectionDestroy(&mesh->subdomainSection)); in DMDestroy_Plex()
2850 PetscCall(PetscFree(mesh->supports)); in DMDestroy_Plex()
2851 PetscCall(PetscFree(mesh->cellTypes)); in DMDestroy_Plex()
2852 PetscCall(DMPlexTransformDestroy(&mesh->tr)); in DMDestroy_Plex()
2853 PetscCall(PetscFree(mesh->tetgenOpts)); in DMDestroy_Plex()
2854 PetscCall(PetscFree(mesh->triangleOpts)); in DMDestroy_Plex()
2855 PetscCall(PetscFree(mesh->transformType)); in DMDestroy_Plex()
2856 PetscCall(PetscFree(mesh->distributionName)); in DMDestroy_Plex()
2857 PetscCall(PetscPartitionerDestroy(&mesh->partitioner)); in DMDestroy_Plex()
2858 PetscCall(DMLabelDestroy(&mesh->subpointMap)); in DMDestroy_Plex()
2859 PetscCall(ISDestroy(&mesh->subpointIS)); in DMDestroy_Plex()
2860 PetscCall(ISDestroy(&mesh->globalVertexNumbers)); in DMDestroy_Plex()
2861 PetscCall(ISDestroy(&mesh->globalCellNumbers)); in DMDestroy_Plex()
2862 if (mesh->periodic.face_sfs) { in DMDestroy_Plex()
2863 …for (PetscInt i = 0; i < mesh->periodic.num_face_sfs; i++) PetscCall(PetscSFDestroy(&mesh->periodi… in DMDestroy_Plex()
2864 PetscCall(PetscFree(mesh->periodic.face_sfs)); in DMDestroy_Plex()
2866 PetscCall(PetscSFDestroy(&mesh->periodic.composed_sf)); in DMDestroy_Plex()
2867 if (mesh->periodic.periodic_points) { in DMDestroy_Plex()
2868 …for (PetscInt i = 0; i < mesh->periodic.num_face_sfs; i++) PetscCall(ISDestroy(&mesh->periodic.per… in DMDestroy_Plex()
2869 PetscCall(PetscFree(mesh->periodic.periodic_points)); in DMDestroy_Plex()
2871 if (mesh->periodic.transform) PetscCall(PetscFree(mesh->periodic.transform)); in DMDestroy_Plex()
2872 PetscCall(PetscSectionDestroy(&mesh->anchorSection)); in DMDestroy_Plex()
2873 PetscCall(ISDestroy(&mesh->anchorIS)); in DMDestroy_Plex()
2874 PetscCall(PetscSectionDestroy(&mesh->parentSection)); in DMDestroy_Plex()
2875 PetscCall(PetscFree(mesh->parents)); in DMDestroy_Plex()
2876 PetscCall(PetscFree(mesh->childIDs)); in DMDestroy_Plex()
2877 PetscCall(PetscSectionDestroy(&mesh->childSection)); in DMDestroy_Plex()
2878 PetscCall(PetscFree(mesh->children)); in DMDestroy_Plex()
2879 PetscCall(DMDestroy(&mesh->referenceTree)); in DMDestroy_Plex()
2880 PetscCall(PetscGridHashDestroy(&mesh->lbox)); in DMDestroy_Plex()
2881 PetscCall(PetscFree(mesh->neighbors)); in DMDestroy_Plex()
2882 if (mesh->metricCtx) PetscCall(PetscFree(mesh->metricCtx)); in DMDestroy_Plex()
2883 …if (mesh->nonempty_comm != MPI_COMM_NULL && mesh->nonempty_comm != MPI_COMM_SELF) PetscCallMPI(MPI… in DMDestroy_Plex()
2884 PetscCall(DMPlexTransformDestroy(&mesh->transform)); in DMDestroy_Plex()
2886 PetscCall(PetscFree(mesh)); in DMDestroy_Plex()
3052 DM_Plex *mesh = (DM_Plex *)dm->data; in DMPlexGetSubdomainSection() local
3056 if (!mesh->subdomainSection) { in DMPlexGetSubdomainSection()
3062 …ionCreateGlobalSection(section, sf, PETSC_TRUE, PETSC_FALSE, PETSC_TRUE, &mesh->subdomainSection)); in DMPlexGetSubdomainSection()
3065 *subsection = mesh->subdomainSection; in DMPlexGetSubdomainSection()
3087 DM_Plex *mesh = (DM_Plex *)dm->data; in DMPlexGetChart() local
3091 if (mesh->tr) PetscCall(DMPlexTransformGetChart(mesh->tr, pStart, pEnd)); in DMPlexGetChart()
3092 else PetscCall(PetscSectionGetChart(mesh->coneSection, pStart, pEnd)); in DMPlexGetChart()
3112 DM_Plex *mesh = (DM_Plex *)dm->data; in DMPlexSetChart() local
3116 PetscCall(PetscSectionSetChart(mesh->coneSection, pStart, pEnd)); in DMPlexSetChart()
3117 PetscCall(PetscSectionSetChart(mesh->supportSection, pStart, pEnd)); in DMPlexSetChart()
3118 PetscCall(PetscFree(mesh->cellTypes)); in DMPlexSetChart()
3140 DM_Plex *mesh = (DM_Plex *)dm->data; in DMPlexGetConeSize() local
3145 if (mesh->tr) PetscCall(DMPlexTransformGetConeSize(mesh->tr, p, size)); in DMPlexGetConeSize()
3146 else PetscCall(PetscSectionGetDof(mesh->coneSection, p, size)); in DMPlexGetConeSize()
3169 DM_Plex *mesh = (DM_Plex *)dm->data; in DMPlexSetConeSize() local
3173 …PetscCheck(!mesh->tr, PetscObjectComm((PetscObject)dm), PETSC_ERR_ARG_WRONG, "Cannot call DMPlexSe… in DMPlexSetConeSize()
3174 PetscCall(PetscSectionSetDof(mesh->coneSection, p, size)); in DMPlexSetConeSize()
3205 DM_Plex *mesh = (DM_Plex *)dm->data; in DMPlexGetCone() local
3211 PetscCall(PetscSectionGetOffset(mesh->coneSection, p, &off)); in DMPlexGetCone()
3212 *cone = PetscSafePointerPlusOffset(mesh->cones, off); in DMPlexGetCone()
3444 DM_Plex *mesh = (DM_Plex *)dm->data; in DMPlexSetCone() local
3449 PetscCall(PetscSectionGetDof(mesh->coneSection, p, &dof)); in DMPlexSetCone()
3451 PetscCall(PetscSectionGetOffset(mesh->coneSection, p, &off)); in DMPlexSetCone()
3454 PetscCall(PetscSectionGetChart(mesh->coneSection, &pStart, &pEnd)); in DMPlexSetCone()
3458 mesh->cones[off + c] = cone[c]; in DMPlexSetCone()
3461 for (c = 0; c < dof; ++c) mesh->cones[off + c] = cone[c]; in DMPlexSetCone()
3496 DM_Plex *mesh = (DM_Plex *)dm->data; in DMPlexGetConeOrientation() local
3503 PetscCall(PetscSectionGetDof(mesh->coneSection, p, &dof)); in DMPlexGetConeOrientation()
3506 PetscCall(PetscSectionGetOffset(mesh->coneSection, p, &off)); in DMPlexGetConeOrientation()
3508 *coneOrientation = &mesh->coneOrientations[off]; in DMPlexGetConeOrientation()
3533 DM_Plex *mesh = (DM_Plex *)dm->data; in DMPlexSetConeOrientation() local
3539 PetscCall(PetscSectionGetDof(mesh->coneSection, p, &dof)); in DMPlexSetConeOrientation()
3541 PetscCall(PetscSectionGetOffset(mesh->coneSection, p, &off)); in DMPlexSetConeOrientation()
3543 PetscCall(PetscSectionGetChart(mesh->coneSection, &pStart, &pEnd)); in DMPlexSetConeOrientation()
3548 PetscCall(PetscSectionGetDof(mesh->coneSection, mesh->cones[off + c], &cdof)); in DMPlexSetConeOrientation()
3550 mesh->coneOrientations[off + c] = o; in DMPlexSetConeOrientation()
3553 for (c = 0; c < dof; ++c) mesh->coneOrientations[off + c] = coneOrientation[c]; in DMPlexSetConeOrientation()
3575 DM_Plex *mesh = (DM_Plex *)dm->data; in DMPlexInsertCone() local
3582 PetscCall(PetscSectionGetChart(mesh->coneSection, &pStart, &pEnd)); in DMPlexInsertCone()
3585 PetscCall(PetscSectionGetDof(mesh->coneSection, p, &dof)); in DMPlexInsertCone()
3588 PetscCall(PetscSectionGetOffset(mesh->coneSection, p, &off)); in DMPlexInsertCone()
3589 mesh->cones[off + conePos] = conePoint; in DMPlexInsertCone()
3613 DM_Plex *mesh = (DM_Plex *)dm->data; in DMPlexInsertConeOrientation() local
3620 PetscCall(PetscSectionGetChart(mesh->coneSection, &pStart, &pEnd)); in DMPlexInsertConeOrientation()
3622 PetscCall(PetscSectionGetDof(mesh->coneSection, p, &dof)); in DMPlexInsertConeOrientation()
3625 PetscCall(PetscSectionGetOffset(mesh->coneSection, p, &off)); in DMPlexInsertConeOrientation()
3626 mesh->coneOrientations[off + conePos] = coneOrientation; in DMPlexInsertConeOrientation()
3665 DM_Plex *mesh = (DM_Plex *)dm->data; in DMPlexGetOrientedCone() local
3669 if (mesh->tr) { in DMPlexGetOrientedCone()
3670 PetscCall(DMPlexTransformGetCone(mesh->tr, p, cone, ornt)); in DMPlexGetOrientedCone()
3675 PetscCall(PetscSectionGetDof(mesh->coneSection, p, &dof)); in DMPlexGetOrientedCone()
3681 PetscCall(PetscSectionGetOffset(mesh->coneSection, p, &off)); in DMPlexGetOrientedCone()
3682 if (cone) *cone = PetscSafePointerPlusOffset(mesh->cones, off); in DMPlexGetOrientedCone()
3683 if (ornt) *ornt = PetscSafePointerPlusOffset(mesh->coneOrientations, off); in DMPlexGetOrientedCone()
3706 DM_Plex *mesh = (DM_Plex *)dm->data; in DMPlexRestoreOrientedCone() local
3710 if (mesh->tr) PetscCall(DMPlexTransformRestoreCone(mesh->tr, p, cone, ornt)); in DMPlexRestoreOrientedCone()
3732 DM_Plex *mesh = (DM_Plex *)dm->data; in DMPlexGetSupportSize() local
3737 PetscCall(PetscSectionGetDof(mesh->supportSection, p, size)); in DMPlexGetSupportSize()
3760 DM_Plex *mesh = (DM_Plex *)dm->data; in DMPlexSetSupportSize() local
3764 PetscCall(PetscSectionSetDof(mesh->supportSection, p, size)); in DMPlexSetSupportSize()
3795 DM_Plex *mesh = (DM_Plex *)dm->data; in DMPlexGetSupport() local
3801 PetscCall(PetscSectionGetOffset(mesh->supportSection, p, &off)); in DMPlexGetSupport()
3802 *support = PetscSafePointerPlusOffset(mesh->supports, off); in DMPlexGetSupport()
3825 DM_Plex *mesh = (DM_Plex *)dm->data; in DMPlexSetSupport() local
3831 PetscCall(PetscSectionGetChart(mesh->supportSection, &pStart, &pEnd)); in DMPlexSetSupport()
3832 PetscCall(PetscSectionGetDof(mesh->supportSection, p, &dof)); in DMPlexSetSupport()
3834 PetscCall(PetscSectionGetOffset(mesh->supportSection, p, &off)); in DMPlexSetSupport()
3838 mesh->supports[off + c] = support[c]; in DMPlexSetSupport()
3860 DM_Plex *mesh = (DM_Plex *)dm->data; in DMPlexInsertSupport() local
3866 PetscCall(PetscSectionGetChart(mesh->supportSection, &pStart, &pEnd)); in DMPlexInsertSupport()
3867 PetscCall(PetscSectionGetDof(mesh->supportSection, p, &dof)); in DMPlexInsertSupport()
3868 PetscCall(PetscSectionGetOffset(mesh->supportSection, p, &off)); in DMPlexInsertSupport()
3872 mesh->supports[off + supportPos] = supportPoint; in DMPlexInsertSupport()
3970 DM_Plex *mesh = (DM_Plex *)dm->data; in DMPlexGetTransitiveClosure_Hot_Private() local
3973 if (PetscDefined(USE_DEBUG) || mesh->tr) { in DMPlexGetTransitiveClosure_Hot_Private()
3983 const PetscSection s = mesh->coneSection; in DMPlexGetTransitiveClosure_Hot_Private()
3988 *arr = mesh->cones + off; in DMPlexGetTransitiveClosure_Hot_Private()
3989 *ornt = mesh->coneOrientations + off; in DMPlexGetTransitiveClosure_Hot_Private()
3991 const PetscSection s = mesh->supportSection; in DMPlexGetTransitiveClosure_Hot_Private()
3996 *arr = mesh->supports + off; in DMPlexGetTransitiveClosure_Hot_Private()
4004 DM_Plex *mesh = (DM_Plex *)dm->data; in DMPlexRestoreTransitiveClosure_Hot_Private() local
4007 if (PetscDefined(USE_DEBUG) || mesh->tr) { in DMPlexRestoreTransitiveClosure_Hot_Private()
4300 DM_Plex *mesh = (DM_Plex *)dm->data; in DMPlexGetMaxSizes() local
4304 if (maxConeSize) PetscCall(PetscSectionGetMaxDof(mesh->coneSection, maxConeSize)); in DMPlexGetMaxSizes()
4305 if (maxSupportSize) PetscCall(PetscSectionGetMaxDof(mesh->supportSection, maxSupportSize)); in DMPlexGetMaxSizes()
4311 DM_Plex *mesh = (DM_Plex *)dm->data; in DMSetUp_Plex() local
4316 PetscCall(PetscSectionSetUp(mesh->coneSection)); in DMSetUp_Plex()
4317 PetscCall(PetscSectionGetStorageSize(mesh->coneSection, &size)); in DMSetUp_Plex()
4318 PetscCall(PetscMalloc1(size, &mesh->cones)); in DMSetUp_Plex()
4319 PetscCall(PetscCalloc1(size, &mesh->coneOrientations)); in DMSetUp_Plex()
4320 PetscCall(PetscSectionGetMaxDof(mesh->supportSection, &maxSupportSize)); in DMSetUp_Plex()
4322 PetscCall(PetscSectionSetUp(mesh->supportSection)); in DMSetUp_Plex()
4323 PetscCall(PetscSectionGetStorageSize(mesh->supportSection, &size)); in DMSetUp_Plex()
4324 PetscCall(PetscMalloc1(size, &mesh->supports)); in DMSetUp_Plex()
4386 DM_Plex *mesh = (DM_Plex *)dm->data; in DMPlexSymmetrize() local
4393 …PetscCheck(!mesh->supports, PetscObjectComm((PetscObject)dm), PETSC_ERR_ARG_WRONGSTATE, "Supports … in DMPlexSymmetrize()
4400 PetscCall(PetscSectionGetDof(mesh->coneSection, p, &dof)); in DMPlexSymmetrize()
4401 PetscCall(PetscSectionGetOffset(mesh->coneSection, p, &off)); in DMPlexSymmetrize()
4402 …for (c = off; c < off + dof; ++c) PetscCall(PetscSectionAddDof(mesh->supportSection, mesh->cones[c… in DMPlexSymmetrize()
4404 PetscCall(PetscSectionSetUp(mesh->supportSection)); in DMPlexSymmetrize()
4406 PetscCall(PetscSectionGetStorageSize(mesh->supportSection, &supportSize)); in DMPlexSymmetrize()
4407 PetscCall(PetscMalloc1(supportSize, &mesh->supports)); in DMPlexSymmetrize()
4412 PetscCall(PetscSectionGetDof(mesh->coneSection, p, &dof)); in DMPlexSymmetrize()
4413 PetscCall(PetscSectionGetOffset(mesh->coneSection, p, &off)); in DMPlexSymmetrize()
4415 const PetscInt q = mesh->cones[c]; in DMPlexSymmetrize()
4418 PetscCall(PetscSectionGetOffset(mesh->supportSection, q, &offS)); in DMPlexSymmetrize()
4420 mesh->supports[offS + offsets[q]] = p; in DMPlexSymmetrize()
4613 DM_Plex *mesh = (DM_Plex *)dm->data; in DMPlexStratify() local
4637 PetscCall(PetscObjectStateGet((PetscObject)label, &mesh->depthState)); in DMPlexStratify()
4789 DM_Plex *mesh; in DMPlexComputeCellTypes() local
4795 mesh = (DM_Plex *)dm->data; in DMPlexComputeCellTypes()
4799 PetscCall(PetscFree(mesh->cellTypes)); in DMPlexComputeCellTypes()
4800 PetscCall(PetscMalloc1(pEnd - pStart, &mesh->cellTypes)); in DMPlexComputeCellTypes()
4809 mesh->cellTypes[p - pStart].value_as_uint8 = (uint8_t)ct; in DMPlexComputeCellTypes()
4811 PetscCall(PetscObjectStateGet((PetscObject)ctLabel, &mesh->celltypeState)); in DMPlexComputeCellTypes()
4845 DM_Plex *mesh = (DM_Plex *)dm->data; in DMPlexGetJoin() local
4856 PetscCall(PetscSectionGetMaxDof(mesh->supportSection, &maxSupportSize)); in DMPlexGetJoin()
4860 PetscCall(PetscSectionGetDof(mesh->supportSection, points[0], &dof)); in DMPlexGetJoin()
4861 PetscCall(PetscSectionGetOffset(mesh->supportSection, points[0], &off)); in DMPlexGetJoin()
4862 for (joinSize = 0; joinSize < dof; ++joinSize) join[i][joinSize] = mesh->supports[off + joinSize]; in DMPlexGetJoin()
4867 PetscCall(PetscSectionGetDof(mesh->supportSection, points[p], &dof)); in DMPlexGetJoin()
4868 PetscCall(PetscSectionGetOffset(mesh->supportSection, points[p], &off)); in DMPlexGetJoin()
4870 const PetscInt point = mesh->supports[off + c]; in DMPlexGetJoin()
5054 DM_Plex *mesh = (DM_Plex *)dm->data; in DMPlexGetMeet() local
5065 PetscCall(PetscSectionGetMaxDof(mesh->coneSection, &maxConeSize)); in DMPlexGetMeet()
5069 PetscCall(PetscSectionGetDof(mesh->coneSection, points[0], &dof)); in DMPlexGetMeet()
5070 PetscCall(PetscSectionGetOffset(mesh->coneSection, points[0], &off)); in DMPlexGetMeet()
5071 for (meetSize = 0; meetSize < dof; ++meetSize) meet[i][meetSize] = mesh->cones[off + meetSize]; in DMPlexGetMeet()
5076 PetscCall(PetscSectionGetDof(mesh->coneSection, points[p], &dof)); in DMPlexGetMeet()
5077 PetscCall(PetscSectionGetOffset(mesh->coneSection, points[p], &off)); in DMPlexGetMeet()
5079 const PetscInt point = mesh->cones[off + c]; in DMPlexGetMeet()
5426 DM_Plex *mesh = (DM_Plex *)dm->data; in DMPlexGetDepth() local
5433 if (mesh->tr) { in DMPlexGetDepth()
5434 PetscCall(DMPlexTransformGetDepth(mesh->tr, depth)); in DMPlexGetDepth()
5468 DM_Plex *mesh = (DM_Plex *)dm->data; in DMPlexGetDepthStratum() local
5489 if (mesh->tr) { in DMPlexGetDepthStratum()
5490 PetscCall(DMPlexTransformGetDepthStratum(mesh->tr, depth, start, end)); in DMPlexGetDepthStratum()
5652 DM_Plex *mesh = (DM_Plex *)dm->data; in DMPlexGetCellType() local
5659 if (mesh->tr) { in DMPlexGetCellType()
5660 PetscCall(DMPlexTransformGetCellType(mesh->tr, cell, celltype)); in DMPlexGetCellType()
5664 PetscCall(PetscSectionGetChart(mesh->coneSection, &pStart, NULL)); in DMPlexGetCellType()
5665 if (!mesh->cellTypes) { /* XXX remove? optimize? */ in DMPlexGetCellType()
5666 PetscCall(PetscSectionGetChart(mesh->coneSection, NULL, &pEnd)); in DMPlexGetCellType()
5671 PetscCall(PetscMalloc1(pEnd - pStart, &mesh->cellTypes)); in DMPlexGetCellType()
5675 mesh->cellTypes[p - pStart].value_as_uint8 = (uint8_t)ct; in DMPlexGetCellType()
5678 *celltype = (DMPolytopeType)mesh->cellTypes[cell - pStart].value_as_uint8; in DMPlexGetCellType()
5711 DM_Plex *mesh = (DM_Plex *)dm->data; in DMPlexSetCellType() local
5717 PetscCall(PetscSectionGetChart(mesh->coneSection, &pStart, &pEnd)); in DMPlexSetCellType()
5720 if (!mesh->cellTypes) PetscCall(PetscMalloc1(pEnd - pStart, &mesh->cellTypes)); in DMPlexSetCellType()
5721 mesh->cellTypes[cell - pStart].value_as_uint8 = (uint8_t)celltype; in DMPlexSetCellType()
5806 DM_Plex *mesh = (DM_Plex *)dm->data; in DMPlexGetConeSection() local
5810 if (section) *section = mesh->coneSection; in DMPlexGetConeSection()
5831 DM_Plex *mesh = (DM_Plex *)dm->data; in DMPlexGetSupportSection() local
5835 if (section) *section = mesh->supportSection; in DMPlexGetSupportSection()
5856 DM_Plex *mesh = (DM_Plex *)dm->data; in DMPlexGetCones() local
5860 if (cones) *cones = mesh->cones; in DMPlexGetCones()
5887 DM_Plex *mesh = (DM_Plex *)dm->data; in DMPlexGetConeOrientations() local
5891 if (coneOrientations) *coneOrientations = mesh->coneOrientations; in DMPlexGetConeOrientations()
8415 DM_Plex *mesh = (DM_Plex *)dm->data; in DMPlexMatSetClosure_Internal() local
8431 …if (mesh->printSetValues) PetscCall(DMPlexPrintMatSetValues(PETSC_VIEWER_STDOUT_SELF, A, point, nu… in DMPlexMatSetClosure_Internal()
8444 if (mesh->printFEM > 1) { in DMPlexMatSetClosure_Internal()
8506 DM_Plex *mesh = (DM_Plex *)dmRow->data; in DMPlexMatSetClosureGeneral() local
8533 …if (mesh->printSetValues) PetscCall(DMPlexPrintMatSetValues(PETSC_VIEWER_STDOUT_SELF, A, point, nu… in DMPlexMatSetClosureGeneral()
8557 DM_Plex *mesh = (DM_Plex *)dmf->data; in DMPlexMatSetClosureRefined() local
8701 …if (mesh->printSetValues) PetscCall(DMPlexPrintMatSetValues(PETSC_VIEWER_STDOUT_SELF, A, point, nu… in DMPlexMatSetClosureRefined()
8879 DM_Plex *mesh = (DM_Plex *)dm->data; in DMPlexGetVTKCellHeight() local
8884 *cellHeight = mesh->vtkCellHeight; in DMPlexGetVTKCellHeight()
8901 DM_Plex *mesh = (DM_Plex *)dm->data; in DMPlexSetVTKCellHeight() local
8905 mesh->vtkCellHeight = cellHeight; in DMPlexSetVTKCellHeight()
8926 DM_Plex *mesh = (DM_Plex *)dm->data; in DMPlexGetCellTypeStratum() local
8942 if (mesh->tr) { in DMPlexGetCellTypeStratum()
8943 PetscCall(DMPlexTransformGetCellTypeStratum(mesh->tr, ct, start, end)); in DMPlexGetCellTypeStratum()
9055 DM_Plex *mesh = (DM_Plex *)dm->data; in DMPlexGetCellNumbering() local
9059 …if (!mesh->globalCellNumbers) PetscCall(DMPlexCreateCellNumbering(dm, PETSC_FALSE, &mesh->globalCe… in DMPlexGetCellNumbering()
9060 *globalCellNumbers = mesh->globalCellNumbers; in DMPlexGetCellNumbering()
9090 DM_Plex *mesh = (DM_Plex *)dm->data; in DMPlexGetVertexNumbering() local
9094 …if (!mesh->globalVertexNumbers) PetscCall(DMPlexCreateVertexNumbering_Internal(dm, PETSC_FALSE, &m… in DMPlexGetVertexNumbering()
9095 *globalVertexNumbers = mesh->globalVertexNumbers; in DMPlexGetVertexNumbering()