| /petsc/src/dm/impls/plex/tests/ |
| H A D | ex36.c | 62 PetscInt supportSize, offset; in dm_view_geometry() local 90 PetscCall(DMPlexGetSupportSize(dm, f, &supportSize)); in dm_view_geometry() 91 if (supportSize > 1) { in dm_view_geometry()
|
| /petsc/src/dm/impls/plex/ |
| H A D | plexsubmesh.c | 52 …PetscInt depth, pStart, pEnd, fStart, fEnd, f, supportSize, nroots = -1, nleaves = -1, d… in DMPlexMarkBoundaryFaces_Internal() local 91 PetscCall(DMPlexGetSupportSize(dm, f, &supportSize)); in DMPlexMarkBoundaryFaces_Internal() 92 if (supportSize == 1) { in DMPlexMarkBoundaryFaces_Internal() 129 PetscCall(DMPlexGetSupportSize(dm, f, &supportSize)); in DMPlexMarkBoundaryFaces_Internal() 130 leafData[f] = supportSize; in DMPlexMarkBoundaryFaces_Internal() 1136 PetscInt supportSize, s, nval; in DivideCells_Private() local 1139 PetscCall(DMPlexGetSupportSize(dm, clp, &supportSize)); in DivideCells_Private() 1140 for (s = 0; s < supportSize; ++s) { in DivideCells_Private() 1166 PetscInt supportSize, s; in divideCell() local 1170 PetscCall(DMPlexGetSupportSize(div->dm, p, &supportSize)); in divideCell() [all …]
|
| H A D | plexorient.c | 23 PetscInt coneSize, c, supportSize, s; in DMPlexOrientPoint() local 50 PetscCall(DMPlexGetSupportSize(dm, p, &supportSize)); in DMPlexOrientPoint() 52 for (s = 0; s < supportSize; ++s) { in DMPlexOrientPoint() 171 PetscInt supportSize, coneSizeA, coneSizeB, posA = -1, posB = -1; in DMPlexCheckFace_Old_Internal() local 177 PetscCall(DMPlexGetSupportSize(dm, face, &supportSize)); in DMPlexCheckFace_Old_Internal() 179 if (supportSize < 2) PetscFunctionReturn(PETSC_SUCCESS); in DMPlexCheckFace_Old_Internal() 180 …PetscCheck(supportSize == 2, PETSC_COMM_SELF, PETSC_ERR_ARG_WRONG, "Faces should separate only two… in DMPlexCheckFace_Old_Internal() 457 PetscInt coneSize, supportSize, Ns = 0, s, l; in DMPlexOrient() local 459 PetscCall(DMPlexGetSupportSize(dm, face, &supportSize)); in DMPlexOrient() 462 for (s = 0; s < supportSize; ++s) { in DMPlexOrient() [all …]
|
| H A D | plexglvis.c | 865 PetscInt supportSize; in DMPlexView_GLVis_ASCII() local 868 PetscCall(DMPlexGetSupportSize(dm, p, &supportSize)); in DMPlexView_GLVis_ASCII() 874 for (i = 0; i < supportSize; i++) { in DMPlexView_GLVis_ASCII() 878 …isbf = (PetscBool)((supportSize == 1 && has_owned) || (supportSize > 1 && has_owned && has_ghost)); in DMPlexView_GLVis_ASCII() 880 isbf = (PetscBool)(supportSize == 1); in DMPlexView_GLVis_ASCII() 903 PetscInt supportSize, c; in DMPlexView_GLVis_ASCII() local 905 PetscCall(DMPlexGetSupportSize(dm, p, &supportSize)); in DMPlexView_GLVis_ASCII() 907 for (c = 0; c < supportSize; c++) { in DMPlexView_GLVis_ASCII() 947 PetscInt supportSize, c, nc = 0; in DMPlexView_GLVis_ASCII() local 949 PetscCall(DMPlexGetSupportSize(dm, p, &supportSize)); in DMPlexView_GLVis_ASCII() [all …]
|
| H A D | plexpartition.c | 171 PetscInt supportSize; in DMPlexCreatePartitionerGraph_Native() local 174 PetscCall(DMPlexGetSupportSize(dm, f, &supportSize)); in DMPlexCreatePartitionerGraph_Native() 175 if (supportSize == 1) adjCells[f] = DMPlex_GlobalID(cellNum[support[0] - pStart]); in DMPlexCreatePartitionerGraph_Native() 176 else if (supportSize == 2) { in DMPlexCreatePartitionerGraph_Native() 183 if (supportSize > 2) { in DMPlexCreatePartitionerGraph_Native() 192 PetscCall(DMPlexGetSupportSize(dm, child, &supportSize)); in DMPlexCreatePartitionerGraph_Native() 193 if (supportSize == 1) adjCells[child] = DMPlex_GlobalID(cellNum[support[0] - pStart]); in DMPlexCreatePartitionerGraph_Native() 194 else if (supportSize == 2) { in DMPlexCreatePartitionerGraph_Native() 575 PetscInt supportSize; in DMPlexCreateNeighborCSR() local 576 PetscCall(DMPlexGetSupportSize(dm, f, &supportSize)); in DMPlexCreateNeighborCSR() [all …]
|
| H A D | plexadapt.c | 141 PetscInt supportSize, s; in DMPlexLabelToMetricConstraint() local 145 PetscCall(DMPlexGetSupportSize(udm, v + vStart, &supportSize)); in DMPlexLabelToMetricConstraint() 146 for (s = 0; s < supportSize; ++s) { in DMPlexLabelToMetricConstraint()
|
| H A D | plexdistribute.c | 114 PetscInt supportSize, s, q; in DMPlexGetAdjacency_Cone_Internal() local 116 PetscCall(DMPlexGetSupportSize(dm, point, &supportSize)); in DMPlexGetAdjacency_Cone_Internal() 118 for (s = 0; s < supportSize; ++s) { in DMPlexGetAdjacency_Cone_Internal() 132 PetscInt numAdj = 0, maxAdjSize = *adjSize, supportSize, s; in DMPlexGetAdjacency_Support_Internal() local 135 PetscCall(DMPlexGetSupportSize(dm, p, &supportSize)); in DMPlexGetAdjacency_Support_Internal() 137 for (s = 0; s <= supportSize; ++s) { in DMPlexGetAdjacency_Support_Internal()
|
| H A D | plex.c | 4388 PetscInt supportSize; in DMPlexSymmetrize() local 4406 PetscCall(PetscSectionGetStorageSize(mesh->supportSection, &supportSize)); in DMPlexSymmetrize() 4407 PetscCall(PetscMalloc1(supportSize, &mesh->supports)); in DMPlexSymmetrize() 4508 PetscInt coneSize, supportSize; in DMPlexStratify_Topological_Private() local 4512 PetscCall(DMPlexGetSupportSize(dm, p, &supportSize)); in DMPlexStratify_Topological_Private() 4513 if (!coneSize && supportSize) { in DMPlexStratify_Topological_Private() 4517 } else if (!supportSize && coneSize) { in DMPlexStratify_Topological_Private() 4519 } else if (!supportSize && !coneSize) { in DMPlexStratify_Topological_Private() 4531 PetscInt coneSize, supportSize; in DMPlexStratify_Topological_Private() local 4535 PetscCall(DMPlexGetSupportSize(dm, p, &supportSize)); in DMPlexStratify_Topological_Private() [all …]
|
| H A D | plexpreallocate.c | 950 PetscCall(DMPlexGetTransitiveClosure(dm, c, PETSC_FALSE, &supportSize, (PetscInt**)&support)); 951 for (p=0; p<supportSize; p++) lvisits[support[p]]++;
|
| H A D | plexinterpolate.c | 1095 PetscInt supportSize, s, off = 0, idx = 0, overlap, cellHeight, height; in DMPlexAddSharedFace_Private() local 1109 PetscCall(DMPlexGetSupportSize(dm, p, &supportSize)); in DMPlexAddSharedFace_Private() 1112 for (s = 0; s < supportSize; ++s) { in DMPlexAddSharedFace_Private()
|
| H A D | plexgeometry.c | 2662 PetscInt supportSize; in DMPlexComputeGeometryFVM_0D_Internal() local 2666 PetscCall(DMPlexGetSupportSize(dm, cell, &supportSize)); in DMPlexComputeGeometryFVM_0D_Internal() 3075 PetscInt coneSize, supportSize, s; in DMPlexComputeGeometryFVM() local 3080 PetscCall(DMPlexGetSupportSize(dmCell, cone[0], &supportSize)); in DMPlexComputeGeometryFVM() 3081 …heck(supportSize == 2, PETSC_COMM_SELF, PETSC_ERR_ARG_WRONG, "Face %" PetscInt_FMT " has support s… in DMPlexComputeGeometryFVM()
|
| /petsc/src/dm/impls/plex/generators/ctetgen/ |
| H A D | ctetgenerate.c | 353 PetscInt supportSize; in DMPlexRefine_CTetgen() local 355 PetscCall(DMPlexGetSupportSize(dm, f, &supportSize)); in DMPlexRefine_CTetgen() 356 if (supportSize == 1) ++in->numberoftrifaces; in DMPlexRefine_CTetgen() 365 PetscInt supportSize, numPoints, p, Nv = 0, val; in DMPlexRefine_CTetgen() local 367 PetscCall(DMPlexGetSupportSize(dm, f, &supportSize)); in DMPlexRefine_CTetgen() 368 if (supportSize != 1) continue; in DMPlexRefine_CTetgen()
|
| /petsc/src/dm/impls/plex/transform/impls/refine/sbr/ |
| H A D | plexrefsbr.c | 60 PetscInt supportSize, s; in SBRSplitLocalEdges_Private() local 64 PetscCall(DMPlexGetSupportSize(dm, p, &supportSize)); in SBRSplitLocalEdges_Private() 65 for (s = 0; s < supportSize; ++s) { in SBRSplitLocalEdges_Private()
|
| /petsc/src/ksp/pc/impls/patch/ |
| H A D | pcpatch.c | 1015 PetscInt supportSize, p; in PCPatchCreateCellPatches() local 1018 PetscCall(DMPlexGetSupportSize(dm, point, &supportSize)); in PCPatchCreateCellPatches() 1019 if (supportSize == 1) { in PCPatchCreateCellPatches() 1022 for (p = 0; p < supportSize; p++) { in PCPatchCreateCellPatches() 1084 PetscInt supportSize, p; in PCPatchCreateCellPatches() local 1087 PetscCall(DMPlexGetSupportSize(dm, point, &supportSize)); in PCPatchCreateCellPatches() 1088 if (supportSize == 1) { in PCPatchCreateCellPatches() 1091 for (p = 0; p < supportSize; p++) { in PCPatchCreateCellPatches()
|
| /petsc/src/dm/impls/forest/p4est/ |
| H A D | pforest.h | 3193 PetscInt supportSize; in DMPforestLabelsInitialize() local 3195 PetscCall(DMPlexGetSupportSize(plex, point, &supportSize)); in DMPforestLabelsInitialize() 3196 zerosupportpoint = (PetscBool)(zerosupportpoint || !supportSize); in DMPforestLabelsInitialize()
|