Home
last modified time | relevance | path

Searched refs:neighbor (Results 1 – 15 of 15) sorted by relevance

/petsc/src/dm/impls/stag/
H A Dstag3d.c1062 const PetscInt neighbor = 0; in DMStagSetUpBuildScatter_3d() local
1063 const PetscInt eprNeighbor = stag->entriesPerElement * nNeighbors[neighbor][0]; in DMStagSetUpBuildScatter_3d()
1064 const PetscInt eplNeighbor = eprNeighbor * nNeighbors[neighbor][1]; in DMStagSetUpBuildScatter_3d()
1066 const PetscInt start0 = nNeighbors[neighbor][0] - ghostOffsetStart[0]; in DMStagSetUpBuildScatter_3d()
1067 const PetscInt start1 = nNeighbors[neighbor][1] - ghostOffsetStart[1]; in DMStagSetUpBuildScatter_3d()
1068 const PetscInt start2 = nNeighbors[neighbor][2] - ghostOffsetStart[2]; in DMStagSetUpBuildScatter_3d()
1078 …lNeighbor, eprGhost, eplGhost, epFaceRow, globalOffsets[stag->neighbors[neighbor]], start0, start1… in DMStagSetUpBuildScatter_3d()
1083 const PetscInt neighbor = 1; in DMStagSetUpBuildScatter_3d() local
1084 …const PetscInt eprNeighbor = stag->entriesPerElement * nNeighbors[neighbor][0] + (dummyEnd[0] ? e… in DMStagSetUpBuildScatter_3d()
1085 const PetscInt eplNeighbor = eprNeighbor * nNeighbors[neighbor][1]; in DMStagSetUpBuildScatter_3d()
[all …]
H A Dstag2d.c439 const PetscInt neighbor = 0; in DMSetUp_Stag_2d() local
440 const PetscInt globalOffset = globalOffsets[stag->neighbors[neighbor]]; in DMSetUp_Stag_2d()
441 const PetscInt *const nNeighbor = nNeighbors[neighbor]; in DMSetUp_Stag_2d()
458 const PetscInt neighbor = 1; in DMSetUp_Stag_2d() local
459 const PetscInt globalOffset = globalOffsets[stag->neighbors[neighbor]]; in DMSetUp_Stag_2d()
460 const PetscInt *const nNeighbor = nNeighbors[neighbor]; in DMSetUp_Stag_2d()
488 const PetscInt neighbor = 2; in DMSetUp_Stag_2d() local
489 const PetscInt globalOffset = globalOffsets[stag->neighbors[neighbor]]; in DMSetUp_Stag_2d()
490 const PetscInt *const nNeighbor = nNeighbors[neighbor]; in DMSetUp_Stag_2d()
508 const PetscInt neighbor = 3; in DMSetUp_Stag_2d() local
[all …]
/petsc/src/vec/vec/tests/
H A Dex49.c72 …const PetscMPIInt neighbor = (i + shift) % size; /* Adjust communication patterns between iteratio… in main() local
73 const PetscInt nn = ln[neighbor]; in main()
76 for (p = 0; p < neighbor; ++p) nrstart += ln[p]; in main()
/petsc/src/dm/impls/plex/
H A Dplexorient.c450 PetscInt maxSupportSize, neighbor; in DMPlexOrient() local
472 neighbor = locSupport[0]; in DMPlexOrient()
473 PetscCall(DMPlexGetCone(dm, neighbor, &cone)); in DMPlexOrient()
474 PetscCall(DMPlexGetConeSize(dm, neighbor, &coneSize)); in DMPlexOrient()
475 PetscCall(DMPlexGetConeOrientation(dm, neighbor, &ornt)); in DMPlexOrient()
480 if (PetscBTLookup(flippedCells, neighbor - cStart)) rorntComp[face].rank = 1 - c * 2; in DMPlexOrient()
483 … if (PetscBTLookup(flippedCells, neighbor - cStart)) rorntComp[face].rank = ornt[c] < 0 ? -1 : 1; in DMPlexOrient()
819 PetscInt maxSuppSize, neighbor; in DMPlexOrientCells_Internal() local
844 neighbor = locSupp[0]; in DMPlexOrientCells_Internal()
845 nind = GetPointIndex(neighbor, cStart, cEnd, cells); in DMPlexOrientCells_Internal()
[all …]
/petsc/doc/changes/
H A D323.md61neighbor point searches. Includes `PetscKDTreeCreate()`, `PetscKDTreeDestroy()`, `PetscKDTreeView(…
H A D312.md111 command line option -sf_type neighbor to let SF use MPI-3.0
H A D321.md60 …hborhood collectives support. Use -sf_neighbor_persistent along with -sf_type neighbor to enable it
/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A DAO.pyx220 allows one to convert, for example, neighbor lists that use negative
254 allows one to convert, for example, neighbor lists that use negative
H A DDMSwarm.pyx560 """Apply a collection method and gather points in neighbor ranks.
/petsc/src/dm/impls/plex/transform/impls/extrude/
H A Dplextrcohesive.c943 PetscInt Ns, neighbor; in OrderCohesiveSupport_Private() local
951 neighbor = supp[s] == p ? supp[1 - s] : -1; in OrderCohesiveSupport_Private()
952 if (neighbor >= 0) { in OrderCohesiveSupport_Private()
953 PetscCall(DMPlexInsertSupport(dm, cone[s], s, neighbor)); in OrderCohesiveSupport_Private()
/petsc/share/petsc/datafiles/meshes/
H A Dtestcase3D.cas2878 (amg/neighbor-optimization-level 1)
4004 (piso/neighbor-add-option 0)
4005 (piso/neighbor-option 0)
4583 (piso/neighbor-iter 1)
7143 (overset/donor/dead-neighbor-level 2)
7145 (overset/donor/gap-blocked-neighbor-level 2)
7147 (overset/donor/contact-neighbor-level 2)
7174 (overset/minimize/donor-neighbor-check? #f)
8839neighbor-option 1 integer #f 1 0 ("Piso neighbor option: ~a")) (piso/ne…
/petsc/doc/manual/
H A Ddmplex.md275 transitive closure of the neighbor relation above, or just a single
H A Dvec.md1356 functionality enables, for example, mapping neighbor lists that use
H A Dmat.md320 2. Loop over vertices, computing the number of neighbor vertices, which
/petsc/doc/faq/
H A Dindex.md639 first $n$ (also assume $n \leq m$) values from its immediately superior neighbor