Home
last modified time | relevance | path

Searched refs:supp (Results 1 – 17 of 17) sorted by relevance

/petsc/src/binding/petsc4py/docs/ipynb/
H A Ddmplex.ipynb484 "point = 0 \tclosure(cone) = [ 0 13 14 15 16 4 5 8 7] \tclosure(supp) = [0]\n",
485 "point = 1 \tclosure(cone) = [ 1 17 18 19 14 5 6 9 8] \tclosure(supp) = [1]\n",
486 "point = 2 \tclosure(cone) = [ 2 15 20 21 22 7 8 11 10] \tclosure(supp) = [2]\n",
487 "point = 3 \tclosure(cone) = [ 3 19 23 24 20 8 9 12 11] \tclosure(supp) = [3]\n",
488 "point = 4 \tclosure(cone) = [4] \tclosure(supp) = [ 4 13 16 0]\n",
489 "point = 5 \tclosure(cone) = [5] \tclosure(supp) = [ 5 13 14 17 0 1]\n",
490 "point = 6 \tclosure(cone) = [6] \tclosure(supp) = [ 6 17 18 1]\n",
491 "point = 7 \tclosure(cone) = [7] \tclosure(supp) = [ 7 15 16 22 0 2]\n",
492 "point = 8 \tclosure(cone) = [8] \tclosure(supp) = [ 8 14 15 19 20 0 1 2 3]\n",
493 "point = 9 \tclosure(cone) = [9] \tclosure(supp) = [ 9 18 19 23 1 3]\n",
[all …]
/petsc/src/dm/impls/plex/
H A Dplexceed.c236 const PetscInt *supp; in DMPlexGetLocalOffsetsSupport() local
239 PetscCall(DMPlexGetSupport(dm, face, &supp)); in DMPlexGetLocalOffsetsSupport()
245 …PetscCall(DMPlexGetClosureIndices(dm, section, section, supp[0], PETSC_TRUE, &num_indices, &indice… in DMPlexGetLocalOffsetsSupport()
251 …PetscCall(DMPlexRestoreClosureIndices(dm, section, section, supp[0], PETSC_TRUE, &num_indices, &in… in DMPlexGetLocalOffsetsSupport()
252 …PetscCall(DMPlexGetClosureIndices(dm, section, section, supp[1], PETSC_TRUE, &num_indices, &indice… in DMPlexGetLocalOffsetsSupport()
258 …PetscCall(DMPlexRestoreClosureIndices(dm, section, section, supp[1], PETSC_TRUE, &num_indices, &in… in DMPlexGetLocalOffsetsSupport()
388 const PetscInt *supp; in DMPlexCeedComputeGeometryFVM() local
391 PetscCall(DMPlexGetSupport(dm, face, &supp)); in DMPlexCeedComputeGeometryFVM()
403 PetscCall(DMPlexGetCellType(dm, supp[s], &ct)); in DMPlexCeedComputeGeometryFVM()
405 PetscCall(DMPlexComputeCellGeometryFVM(dm, supp[s], &qdata[off + s], centroids[s], NULL)); in DMPlexCeedComputeGeometryFVM()
[all …]
H A Dplexorient.c88 const PetscInt *supp, *coneA, *coneB, *coneOA, *coneOB; in DMPlexCheckFace_Internal() local
100 PetscCall(DMPlexGetSupport(dm, face, &supp)); in DMPlexCheckFace_Internal()
104 indC[Ns] = GetPointIndex(supp[s], cStart, cEnd, cells); in DMPlexCheckFace_Internal()
110 …) and %" PetscInt_FMT " (%" PetscInt_FMT ") are not both valid", supp[0], indC[0], supp[1], indC[1… in DMPlexCheckFace_Internal()
116 PetscCall(DMPlexGetConeSize(dm, supp[indS[0]], &coneSizeA)); in DMPlexCheckFace_Internal()
117 PetscCall(DMPlexGetConeSize(dm, supp[indS[1]], &coneSizeB)); in DMPlexCheckFace_Internal()
118 PetscCall(DMPlexGetCone(dm, supp[indS[0]], &coneA)); in DMPlexCheckFace_Internal()
119 PetscCall(DMPlexGetCone(dm, supp[indS[1]], &coneB)); in DMPlexCheckFace_Internal()
120 PetscCall(DMPlexGetConeOrientation(dm, supp[indS[0]], &coneOA)); in DMPlexCheckFace_Internal()
121 PetscCall(DMPlexGetConeOrientation(dm, supp[indS[1]], &coneOB)); in DMPlexCheckFace_Internal()
[all …]
H A Dplexreorder.c462 const PetscInt *supp, *cone; in DMCreateSectionPermutation_Plex_Cohesive_Old() local
473 PetscCall(DMPlexGetSupport(dm, p, &supp)); in DMCreateSectionPermutation_Plex_Cohesive_Old()
479 PetscCall(DMPlexGetCellType(dm, supp[s], &sct)); in DMCreateSectionPermutation_Plex_Cohesive_Old()
486 PetscCall(DMPlexGetCone(dm, supp[s], &cone)); in DMCreateSectionPermutation_Plex_Cohesive_Old()
487 qq = supp[s]; in DMCreateSectionPermutation_Plex_Cohesive_Old()
H A Dplexproject.c649 const PetscInt *supp; in DMGetFirstLabeledPoint() local
653 PetscCall(DMPlexGetSupport(dm, ls, &supp)); in DMGetFirstLabeledPoint()
656 PetscCall(DMPlexGetCellType(dm, supp[s], &ct)); in DMGetFirstLabeledPoint()
658 ls = supp[s]; in DMGetFirstLabeledPoint()
H A Dplexsubmesh.c4251 const PetscInt *supp; in DMPlexReorderCohesiveSupports() local
4255 PetscCall(DMPlexGetSupport(dm, cone[s], &supp)); in DMPlexReorderCohesiveSupports()
4258 if (supp[s] == c) { in DMPlexReorderCohesiveSupports()
4259 newsupp[0] = supp[1]; in DMPlexReorderCohesiveSupports()
4260 newsupp[1] = supp[0]; in DMPlexReorderCohesiveSupports()
4262 newsupp[0] = supp[0]; in DMPlexReorderCohesiveSupports()
4263 newsupp[1] = supp[1]; in DMPlexReorderCohesiveSupports()
H A Dplextree.c85 const PetscInt *supp, *coneA, *coneB, *oA, *oB; in DMPlexReferenceTreeGetChildSymmetry_Default() local
88 PetscCall(DMPlexGetSupport(dm, childA, &supp)); in DMPlexReferenceTreeGetChildSymmetry_Default()
94 sA = supp[i]; in DMPlexReferenceTreeGetChildSymmetry_Default()
762 const PetscInt *supp; in DMPlexGetTrueSupportSize() local
766 PetscCall(DMPlexGetSupport(dm, p, &supp)); in DMPlexGetTrueSupportSize()
768 PetscInt q = supp[i], numCones, j; in DMPlexGetTrueSupportSize()
H A Dplexcreate.c2233 PetscInt *vert, *vtmp, *supp, cone[2], *leaves; in DMPlexCreateHypercubicMesh_Internal() local
2244 PetscCall(PetscCalloc4(dim, &procs, dim, &lrank, dim, &rrank, 2 * dim, &supp)); in DMPlexCreateHypercubicMesh_Internal()
2328 supp[s++] = TupleToIndex_Private(dim, vertices, vtmp) * dim + d; in DMPlexCreateHypercubicMesh_Internal()
2329 supp[s++] = (vertex - numCells) * dim + d; in DMPlexCreateHypercubicMesh_Internal()
2330 PetscCall(DMPlexSetSupport(dm, vertex, supp)); in DMPlexCreateHypercubicMesh_Internal()
2433 PetscCall(PetscFree4(procs, lrank, rrank, supp)); in DMPlexCreateHypercubicMesh_Internal()
/petsc/src/snes/tutorials/
H A Dex7.c235 const PetscInt *supp; in ComputeResidualLocal() local
238 PetscCall(DMPlexGetSupport(dm, v, &supp)); in ComputeResidualLocal()
249 PetscCall(DMPlexGetCone(dm, supp[2 * d + 0], &cone)); in ComputeResidualLocal()
251 PetscCall(PetscSectionGetOffset(sGauge, supp[2 * d + 0], &goff)); in ComputeResidualLocal()
254 PetscCall(DMPlexGetCone(dm, supp[2 * d + 1], &cone)); in ComputeResidualLocal()
256 PetscCall(PetscSectionGetOffset(sGauge, supp[2 * d + 1], &goff)); in ComputeResidualLocal()
305 const PetscInt *supp; in PrintTraversal() local
309 PetscCall(DMPlexGetSupport(dm, v, &supp)); in PrintTraversal()
315 PetscCall(DMPlexGetCone(dm, supp[s], &cone)); in PrintTraversal()
316 PetscCall(PetscPrintf(comm, " Edge %" PetscInt_FMT ": ", supp[s])); in PrintTraversal()
/petsc/src/dm/field/impls/ds/
H A Ddmfieldds.c808 const PetscInt *supp; in DMFieldComputeFaceData_DS() local
815 PetscCall(DMPlexGetSupport(dm, point, &supp)); in DMFieldComputeFaceData_DS()
819 PetscCall(DMPlexGetConeSize(dm, supp[s], &coneSize)); in DMFieldComputeFaceData_DS()
820 PetscCall(DMPlexGetOrientedCone(dm, supp[s], &cone, &ornt)); in DMFieldComputeFaceData_DS()
825 PetscCall(DMPlexRestoreOrientedCone(dm, supp[s], &cone, &ornt)); in DMFieldComputeFaceData_DS()
826 …ivity: point %" PetscInt_FMT " not found in cone of support point %" PetscInt_FMT, point, supp[s]); in DMFieldComputeFaceData_DS()
876 const PetscInt *supp; in DMFieldComputeFaceData_DS() local
879 PetscCall(DMPlexGetSupport(dm, point, &supp)); in DMFieldComputeFaceData_DS()
880 for (s = 0; s < numSupp; s++, offset++) cells[offset] = supp[s]; in DMFieldComputeFaceData_DS()
887 const PetscInt *supp; in DMFieldComputeFaceData_DS() local
[all …]
/petsc/src/dm/impls/plex/transform/impls/extrude/
H A Dplextrextrude.c543 const PetscInt *supp; in DMPlexTransformSetUp_Extrude() local
549 PetscCall(DMPlexGetSupport(ex->dmNormal, face, &supp)); in DMPlexTransformSetUp_Extrude()
557 PetscCall(DMPlexGetConeSize(ex->dmNormal, supp[0], &coneSize)); in DMPlexTransformSetUp_Extrude()
558 PetscCall(DMPlexGetCone(ex->dmNormal, supp[0], &cone)); in DMPlexTransformSetUp_Extrude()
559 PetscCall(DMPlexGetConeOrientation(ex->dmNormal, supp[0], &ornt)); in DMPlexTransformSetUp_Extrude()
650 const PetscInt *supp, *cone, *ornt; in DMPlexTransformGetSubcellOrientation_Extrude() local
655 PetscCall(DMPlexGetSupport(dm, sp, &supp)); in DMPlexTransformGetSubcellOrientation_Extrude()
657 PetscCall(DMPlexGetConeSize(dm, supp[0], &coneSize)); in DMPlexTransformGetSubcellOrientation_Extrude()
658 PetscCall(DMPlexGetOrientedCone(dm, supp[0], &cone, &ornt)); in DMPlexTransformGetSubcellOrientation_Extrude()
661 …_WRONG, "Source point %" PetscInt_FMT " not found in cone of support %" PetscInt_FMT, sp, supp[0]); in DMPlexTransformGetSubcellOrientation_Extrude()
[all …]
H A Dplextrcohesive.c942 const PetscInt *supp; in OrderCohesiveSupport_Private() local
945 PetscCall(DMPlexGetSupport(dm, cone[s], &supp)); in OrderCohesiveSupport_Private()
950 …PetscCheck((supp[0] == p) != (supp[1] == p), PETSC_COMM_SELF, PETSC_ERR_PLIB, "Cohesive cell %" Pe… in OrderCohesiveSupport_Private()
951 neighbor = supp[s] == p ? supp[1 - s] : -1; in OrderCohesiveSupport_Private()
/petsc/src/dm/interface/
H A Ddmceed.c478 const PetscInt *supp; in DMCeedComputeInfo() local
481 PetscCall(DMPlexGetSupport(dm, face, &supp)); in DMCeedComputeInfo()
487 a[infoOffset++] = supp[0]; in DMCeedComputeInfo()
488 a[infoOffset++] = supp[1]; in DMCeedComputeInfo()
/petsc/src/dm/dt/dualspace/impls/sum/
H A Ddualspacesum.c843 const PetscInt *supp; in PetscDualSpaceSetUp_Sum() local
851 PetscCall(DMPlexGetSupport(K, p, &supp)); in PetscDualSpaceSetUp_Sum()
852 q = supp[0]; in PetscDualSpaceSetUp_Sum()
/petsc/src/dm/impls/forest/p4est/
H A Dpforest.h1599 const PetscInt *supp; in DMPlexCreateConnectivity_pforest() local
1603 PetscCall(DMPlexGetSupport(dm, f, &supp)); in DMPlexCreateConnectivity_pforest()
1606 PetscInt p = supp[s]; in DMPlexCreateConnectivity_pforest()
1610 if (s) supp = &supp[1 - s]; in DMPlexCreateConnectivity_pforest()
1615 PetscInt p = supp[s], i; in DMPlexCreateConnectivity_pforest()
1647 … conn->tree_to_tree[P4EST_FACES * (p - cStart) + PetscFaceToP4estFace[i]] = supp[1 - s] - cStart; in DMPlexCreateConnectivity_pforest()
1656 PetscInt p = supp[s]; in DMPlexCreateConnectivity_pforest()
1944 const PetscInt *supp, *coneA, *coneB, *oA, *oB; in DMReferenceTreeGetChildSymmetry_pforest() local
1947 PetscCall(DMPlexGetSupport(dm, childA, &supp)); in DMReferenceTreeGetChildSymmetry_pforest()
1953 sA = supp[i]; in DMReferenceTreeGetChildSymmetry_pforest()
/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A DDMPlex.pyx863 def setSupport(self, p: int, supp: Sequence[int]) -> None:
872 supp
888 supp = iarray_i(supp, &nsupp, &isupp)
/petsc/src/dm/dt/dualspace/impls/lagrange/
H A Ddspacelagrange.c2120 const PetscInt *supp; in PetscDualSpaceSetUp_Lagrange() local
2123 PetscCall(DMPlexGetSupport(dm, p, &supp)); in PetscDualSpaceSetUp_Lagrange()
2131 q = supp[s]; in PetscDualSpaceSetUp_Lagrange()