| /petsc/src/dm/dt/tests/output/ |
| H A D | ex7_1234.out | 20 star w: 22 star star w: 81 star w: 83 star star w: 183 star w: 185 star star w: 219 star w: 221 star star w: 441 star w: 443 star star w: [all …]
|
| /petsc/src/ts/tutorials/ |
| H A D | ex9.c | 874 } L = {uL[0], uL[1] / uL[0]}, R = {uR[0], uR[1] / uR[0]}, star; in PhysicsRiemann_IsoGas_Exact() local 891 star.rho = rho; in PhysicsRiemann_IsoGas_Exact() 892 star.u = L.u - c * fl; in PhysicsRiemann_IsoGas_Exact() 905 if (L.u - c < 0 && 0 < star.u - c) { /* 1-wave is sonic rarefaction */ in PhysicsRiemann_IsoGas_Exact() 910 } else if (star.u + c < 0 && 0 < R.u + c) { /* 2-wave is sonic rarefaction */ in PhysicsRiemann_IsoGas_Exact() 915 …} else if ((L.rho >= star.rho && L.u - c >= 0) || (L.rho < star.rho && (star.rho * star.u - L.rho … in PhysicsRiemann_IsoGas_Exact() 918 …} else if ((star.rho <= R.rho && R.u + c <= 0) || (star.rho > R.rho && (R.rho * R.u - star.rho * s… in PhysicsRiemann_IsoGas_Exact() 922 ustar[0] = star.rho; in PhysicsRiemann_IsoGas_Exact() 923 ustar[1] = star.rho * star.u; in PhysicsRiemann_IsoGas_Exact() 926 *maxspeed = MaxAbs(MaxAbs(star.u - c, star.u + c), MaxAbs(L.u - c, R.u + c)); in PhysicsRiemann_IsoGas_Exact() [all …]
|
| /petsc/doc/manualpages/MANSECHeaders/ |
| H A D | PetscSF | 3 `PetscSF` provides an interface to "star forest" communication patterns that form much of the distr…
|
| /petsc/src/binding/petsc4py/src/petsc4py/PETSc/ |
| H A D | SF.pyx | 4 """The star forest types.""" 32 """View a star forest. 51 """Destroy the star forest. 64 """Create a star forest communication context. 85 """Set the type of the star forest. 92 The star forest type. 104 """Return the type name of the star forest. 142 """Reset a star forest so that different sizes or neighbors can be used. 156 """Return star forest graph. 191 """Set star forest graph.
|
| H A D | petscdmstag.pxi | 86 if stencil == "star": return DMSTAG_STENCIL_STAR 93 if stype == DMSTAG_STENCIL_STAR: return "star"
|
| H A D | petscdmda.pxi | 91 if stencil == "star": return DMDA_STENCIL_STAR 97 if stype == DMDA_STENCIL_STAR: return "star"
|
| H A D | IS.pyx | 1311 """Create a local-to-global mapping from a star forest.
|
| H A D | DMPlex.pyx | 1194 `True` for the closure, otherwise return the star.
|
| /petsc/src/ts/tutorials/multirate/ |
| H A D | ex4.c | 165 } L = {uL[0], uL[1] / uL[0]}, R = {uR[0], uR[1] / uR[0]}, star; in PhysicsRiemann_Shallow_Exact() local 187 star.h = h; in PhysicsRiemann_Shallow_Exact() 188 star.u = L.u - fl; in PhysicsRiemann_Shallow_Exact() 207 cstar = PetscSqrtScalar(g * star.h); in PhysicsRiemann_Shallow_Exact() 208 if (L.u - cL < 0 && 0 < star.u - cstar) { /* 1-wave is sonic rarefaction */ in PhysicsRiemann_Shallow_Exact() 213 } else if (star.u + cstar < 0 && 0 < R.u + cR) { /* 2-wave is sonic rarefaction */ in PhysicsRiemann_Shallow_Exact() 218 …} else if ((L.h >= star.h && L.u - c >= 0) || (L.h < star.h && (star.h * star.u - L.h * L.u) / (st… in PhysicsRiemann_Shallow_Exact() 221 …} else if ((star.h <= R.h && R.u + c <= 0) || (star.h > R.h && (R.h * R.u - star.h * star.h) / (R.… in PhysicsRiemann_Shallow_Exact() 225 ustar[0] = star.h; in PhysicsRiemann_Shallow_Exact() 226 ustar[1] = star.h * star.u; in PhysicsRiemann_Shallow_Exact() [all …]
|
| /petsc/src/dm/impls/stag/ |
| H A D | stag3d.c | 968 PetscBool star, nextToDummyEnd[3], dummyStart[3], dummyEnd[3]; in DMStagSetUpBuildScatter_3d() local 979 …star = (PetscBool)(stag->stencilType == DMSTAG_STENCIL_STAR || stag->stencilType == DMSTAG_STENCIL… in DMStagSetUpBuildScatter_3d() 1025 if (star) { in DMStagSetUpBuildScatter_3d() 1061 if (!star && !dummyStart[0] && !dummyStart[1] && !dummyStart[2]) { in DMStagSetUpBuildScatter_3d() 1082 if (!star && !dummyStart[1] && !dummyStart[2]) { in DMStagSetUpBuildScatter_3d() 1103 if (!star && !dummyEnd[0] && !dummyStart[1] && !dummyStart[2]) { in DMStagSetUpBuildScatter_3d() 1124 if (!star && !dummyStart[0] && !dummyStart[2]) { in DMStagSetUpBuildScatter_3d() 1166 if (!star && !dummyEnd[0] && !dummyStart[2]) { in DMStagSetUpBuildScatter_3d() 1187 if (!star && !dummyStart[0] && !dummyEnd[1] && !dummyStart[2]) { in DMStagSetUpBuildScatter_3d() 1208 if (!star && !dummyEnd[1] && !dummyStart[2]) { in DMStagSetUpBuildScatter_3d() [all …]
|
| H A D | stag2d.c | 199 PetscBool star, dummyStart[2], dummyEnd[2]; in DMSetUp_Stag_2d() local 383 …star = (PetscBool)(stag->stencilType == DMSTAG_STENCIL_STAR || stag->stencilType == DMSTAG_STENCIL… in DMSetUp_Stag_2d() 419 if (star) { in DMSetUp_Stag_2d() 438 if (!star && !dummyStart[0] && !dummyStart[1]) { in DMSetUp_Stag_2d() 487 if (!star && !dummyEnd[0] && !dummyStart[1]) { in DMSetUp_Stag_2d() 614 if (!star && !dummyStart[0] && !dummyEnd[1]) { in DMSetUp_Stag_2d() 666 if (!star && !dummyEnd[0] && !dummyEnd[1]) { in DMSetUp_Stag_2d() 715 if (!star && !dummyStart[0]) { in DMSetUp_Stag_2d() 744 if (!star && !dummyEnd[0]) { in DMSetUp_Stag_2d() 846 if (!star && !dummyStart[0]) { in DMSetUp_Stag_2d() [all …]
|
| /petsc/src/dm/impls/plex/transform/impls/extrude/ |
| H A D | plextrcohesive.c | 1006 PetscInt *star = NULL; in DMPlexTransformMapCoordinates_Cohesive() local 1011 PetscCall(DMPlexGetTransitiveClosure(dm, p, PETSC_FALSE, &Nst, &star)); in DMPlexTransformMapCoordinates_Cohesive() 1017 if (star[st] < fStart || star[st] >= fEnd) continue; in DMPlexTransformMapCoordinates_Cohesive() 1018 PetscCall(DMPlexGetCellType(dm, star[st], &ct)); in DMPlexTransformMapCoordinates_Cohesive() 1019 PetscCall(DMLabelGetValue(tr->trType, star[st], &val)); in DMPlexTransformMapCoordinates_Cohesive() 1021 star[Nf++] = star[st]; in DMPlexTransformMapCoordinates_Cohesive() 1028 PetscCall(DMPlexComputeCellGeometryFVM(dm, star[f], &vol, NULL, normal)); in DMPlexTransformMapCoordinates_Cohesive() 1031 PetscCall(DMPlexRestoreTransitiveClosure(dm, p, PETSC_FALSE, &Nst, &star)); in DMPlexTransformMapCoordinates_Cohesive()
|
| H A D | plextrextrude.c | 533 PetscInt *star = NULL; in DMPlexTransformSetUp_Extrude() local 537 PetscCall(DMPlexGetTransitiveClosure(ex->dmNormal, v, PETSC_FALSE, &starSize, &star)); in DMPlexTransformSetUp_Extrude() 540 const PetscInt face = star[st]; in DMPlexTransformSetUp_Extrude() 569 PetscCall(DMPlexRestoreTransitiveClosure(ex->dmNormal, v, PETSC_FALSE, &starSize, &star)); in DMPlexTransformSetUp_Extrude() 826 PetscInt *star = NULL; in DMPlexTransformMapCoordinates_Extrude() local 830 PetscCall(DMPlexGetTransitiveClosure(dm, p, PETSC_FALSE, &starSize, &star)); in DMPlexTransformMapCoordinates_Extrude() 832 if ((star[st] >= cStart) && (star[st] < cEnd)) { in DMPlexTransformMapCoordinates_Extrude() 835 PetscCall(DMPlexComputeCellGeometryFVM(dm, star[st], NULL, NULL, cnormal)); in DMPlexTransformMapCoordinates_Extrude() 839 PetscCall(DMPlexRestoreTransitiveClosure(dm, p, PETSC_FALSE, &starSize, &star)); in DMPlexTransformMapCoordinates_Extrude()
|
| /petsc/src/binding/petsc4py/test/ |
| H A D | test_dmplex.py | 58 star = self.plex.getTransitiveClosure(p, useCone=False)[0] 59 for s in star: 63 self.assertIn(i, star)
|
| /petsc/src/ksp/pc/impls/patch/ |
| H A D | pcpatch.c | 35 PetscInt *star = NULL, si; in PCPatchConstruct_Star() local 42 PetscCall(DMPlexGetTransitiveClosure(dm, point, PETSC_FALSE, &starSize, &star)); in PCPatchConstruct_Star() 43 for (si = 0; si < starSize * 2; si += 2) PetscCall(PetscHSetIAdd(ht, star[si])); in PCPatchConstruct_Star() 44 PetscCall(DMPlexRestoreTransitiveClosure(dm, point, PETSC_FALSE, &starSize, &star)); in PCPatchConstruct_Star() 52 PetscInt *star = NULL; in PCPatchConstruct_Vanka() local 67 PetscCall(DMPlexGetTransitiveClosure(dm, point, PETSC_FALSE, &starSize, &star)); in PCPatchConstruct_Vanka() 69 const PetscInt cell = star[si]; in PCPatchConstruct_Vanka() 85 PetscCall(DMPlexRestoreTransitiveClosure(dm, point, PETSC_FALSE, &starSize, &star)); in PCPatchConstruct_Vanka() 98 PetscInt *star = NULL; in PCPatchConstruct_Pardecomp() local 143 PetscCall(DMPlexGetTransitiveClosure(dm, hpoint, PETSC_FALSE, &starSize, &star)); in PCPatchConstruct_Pardecomp() [all …]
|
| /petsc/src/dm/impls/forest/p4est/ |
| H A D | pforest.h | 1516 PetscInt *star = NULL, *closure = NULL, closureSize, starSize, cttSize; in DMPlexCreateConnectivity_pforest() local 1531 PetscCall(DMPlexGetTransitiveClosure(dm, v, PETSC_FALSE, &starSize, &star)); in DMPlexCreateConnectivity_pforest() 1533 PetscInt p = star[2 * s]; in DMPlexCreateConnectivity_pforest() 1549 PetscCall(DMPlexRestoreTransitiveClosure(dm, v, PETSC_FALSE, &starSize, &star)); in DMPlexCreateConnectivity_pforest() 1562 PetscCall(DMPlexGetTransitiveClosure(dm, e, PETSC_FALSE, &starSize, &star)); in DMPlexCreateConnectivity_pforest() 1564 PetscInt p = star[2 * s]; in DMPlexCreateConnectivity_pforest() 1580 PetscCall(DMPlexRestoreTransitiveClosure(dm, e, PETSC_FALSE, &starSize, &star)); in DMPlexCreateConnectivity_pforest() 1693 PetscCall(DMPlexGetTransitiveClosure(dm, e, PETSC_FALSE, &starSize, &star)); in DMPlexCreateConnectivity_pforest() 1695 PetscInt p = star[2 * s]; in DMPlexCreateConnectivity_pforest() 1725 PetscCall(DMPlexRestoreTransitiveClosure(dm, e, PETSC_FALSE, &starSize, &star)); in DMPlexCreateConnectivity_pforest() [all …]
|
| /petsc/src/dm/impls/swarm/tests/ |
| H A D | ex2.c | 486 PetscInt *star = NULL; in InterpolateGradient() local 490 PetscCall(DMPlexGetTransitiveClosure(dm, v, PETSC_FALSE, &starSize, &star)); in InterpolateGradient() 492 const PetscInt cell = star[st]; in InterpolateGradient() 541 PetscCall(DMPlexRestoreTransitiveClosure(dm, v, PETSC_FALSE, &starSize, &star)); in InterpolateGradient()
|
| /petsc/src/dm/impls/plex/ |
| H A D | plexsubmesh.c | 2489 PetscInt *star = NULL; in DMPlexMarkSubmesh_Uninterpolated() local 2492 PetscCall(DMPlexGetTransitiveClosure(dm, vertex, PETSC_FALSE, &starSize, &star)); in DMPlexMarkSubmesh_Uninterpolated() 2494 const PetscInt point = star[s]; in DMPlexMarkSubmesh_Uninterpolated() 2495 if (point >= pStart[depth] && point < pEnd[depth]) star[numCells++] = point; in DMPlexMarkSubmesh_Uninterpolated() 2498 const PetscInt cell = star[c]; in DMPlexMarkSubmesh_Uninterpolated() 2531 PetscCall(DMPlexRestoreTransitiveClosure(dm, vertex, PETSC_FALSE, &starSize, &star)); in DMPlexMarkSubmesh_Uninterpolated() 2560 PetscInt *star = NULL; in DMPlexMarkSubmesh_Interpolated() local 2563 PetscCall(DMPlexGetTransitiveClosure(dm, vertex, PETSC_FALSE, &starSize, &star)); in DMPlexMarkSubmesh_Interpolated() 2565 const PetscInt point = star[s]; in DMPlexMarkSubmesh_Interpolated() 2573 star[numFaces++] = point; in DMPlexMarkSubmesh_Interpolated() [all …]
|
| H A D | plexdistribute.c | 157 PetscInt *star = NULL; in DMPlexGetAdjacency_Transitive_Internal() local 161 PetscCall(DMPlexGetTransitiveClosure(dm, p, useClosure, &starSize, &star)); in DMPlexGetAdjacency_Transitive_Internal() 166 …PetscCall(DMPlexGetTransitiveClosure(dm, star[s], (PetscBool)!useClosure, &closureSize, (PetscInt … in DMPlexGetAdjacency_Transitive_Internal() 173 …PetscCall(DMPlexRestoreTransitiveClosure(dm, star[s], (PetscBool)!useClosure, &closureSize, (Petsc… in DMPlexGetAdjacency_Transitive_Internal() 175 PetscCall(DMPlexRestoreTransitiveClosure(dm, p, useClosure, &starSize, &star)); in DMPlexGetAdjacency_Transitive_Internal()
|
| H A D | plextree.c | 2948 PetscInt *star = NULL; in DMPlexComputeInjectorReferenceTree() local 2952 PetscCall(DMPlexGetTransitiveClosure(refTree, p, PETSC_FALSE, &numStar, &star)); in DMPlexComputeInjectorReferenceTree() 2954 PetscInt c = star[2 * i]; in DMPlexComputeInjectorReferenceTree() 2961 PetscCall(DMPlexRestoreTransitiveClosure(refTree, p, PETSC_FALSE, &numStar, &star)); in DMPlexComputeInjectorReferenceTree() 3064 PetscInt *star = NULL; in DMPlexComputeInjectorReferenceTree() local 3067 PetscCall(DMPlexGetTransitiveClosure(refTree, child, PETSC_FALSE, &numStar, &star)); in DMPlexComputeInjectorReferenceTree() 3069 PetscInt c = star[2 * s]; in DMPlexComputeInjectorReferenceTree() 3075 … PetscCall(DMPlexRestoreTransitiveClosure(refTree, child, PETSC_FALSE, &numStar, &star)); in DMPlexComputeInjectorReferenceTree()
|
| H A D | plexfem.c | 2193 PetscInt *star = NULL; in DMPlexComputeClementInterpolant() local 2197 PetscCall(DMPlexGetTransitiveClosure(dm, v, PETSC_FALSE, &starSize, &star)); in DMPlexComputeClementInterpolant() 2199 const PetscInt cell = star[st]; in DMPlexComputeClementInterpolant() 2252 PetscCall(DMPlexRestoreTransitiveClosure(dm, v, PETSC_FALSE, &starSize, &star)); in DMPlexComputeClementInterpolant() 2326 PetscInt *star = NULL; in DMPlexComputeGradientClementInterpolant() local 2330 PetscCall(DMPlexGetTransitiveClosure(dm, v, PETSC_FALSE, &starSize, &star)); in DMPlexComputeGradientClementInterpolant() 2332 const PetscInt cell = star[st]; in DMPlexComputeGradientClementInterpolant() 2394 PetscCall(DMPlexRestoreTransitiveClosure(dm, v, PETSC_FALSE, &starSize, &star)); in DMPlexComputeGradientClementInterpolant()
|
| /petsc/doc/manual/ |
| H A D | vec.md | 166 only difference being that with star-type stencils, certain ghost points
|
| /petsc/share/petsc/datafiles/meshes/ |
| H A D | testcase3D.cas | 7853 (drsm-kw-zeta-star 0.5) 7962 (kw-zeta-star 1.5) 7966 (kw-beta-star-inf 0.09) 7969 (kw-alpha-star-inf 1.)
|