Home
last modified time | relevance | path

Searched refs:nNeighbors (Results 1 – 3 of 3) sorted by relevance

/petsc/src/dm/impls/stag/
H A Dstag3d.c967 PetscInt nNeighbors[27][3]; in DMStagSetUpBuildScatter_3d() local
987 nNeighbors[i][0] = stag->l[0][neighborRank % stag->nRanks[0]]; in DMStagSetUpBuildScatter_3d()
988nNeighbors[i][1] = stag->l[1][neighborRank % (stag->nRanks[0] * stag->nRanks[1]) / stag->nRanks[0]… in DMStagSetUpBuildScatter_3d()
989 nNeighbors[i][2] = stag->l[2][neighborRank / (stag->nRanks[0] * stag->nRanks[1])]; in DMStagSetUpBuildScatter_3d()
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()
1084 …const PetscInt eprNeighbor = stag->entriesPerElement * nNeighbors[neighbor][0] + (dummyEnd[0] ? e… in DMStagSetUpBuildScatter_3d()
[all …]
H A Dstag2d.c390 PetscInt nNeighbors[9][2]; in DMSetUp_Stag_2d() local
397 nNeighbors[i][0] = stag->l[0][neighborRank % stag->nRanks[0]]; in DMSetUp_Stag_2d()
398 nNeighbors[i][1] = stag->l[1][neighborRank / stag->nRanks[0]]; in DMSetUp_Stag_2d()
400 nNeighbors[i][0] = 0; in DMSetUp_Stag_2d()
401 nNeighbors[i][1] = 0; in DMSetUp_Stag_2d()
441 const PetscInt *const nNeighbor = nNeighbors[neighbor]; in DMSetUp_Stag_2d()
460 const PetscInt *const nNeighbor = nNeighbors[neighbor]; in DMSetUp_Stag_2d()
490 const PetscInt *const nNeighbor = nNeighbors[neighbor]; in DMSetUp_Stag_2d()
510 const PetscInt *const nNeighbor = nNeighbors[neighbor]; in DMSetUp_Stag_2d()
588 const PetscInt *const nNeighbor = nNeighbors[neighbor]; in DMSetUp_Stag_2d()
[all …]
/petsc/src/dm/impls/plex/
H A Dplexpartition.c1396 PetscInt n, numRemote, p, numPoints, pStart, pEnd, idx = 0, nNeighbors; in DMPlexPartitionLabelCreateSF() local
1417 PetscCall(ISGetLocalSize(neighborsIS, &nNeighbors)); in DMPlexPartitionLabelCreateSF()
1419 for (numRemote = 0, n = 0; n < nNeighbors; ++n) { in DMPlexPartitionLabelCreateSF()
1442 for (n = 0; n < nNeighbors; ++n) { in DMPlexPartitionLabelCreateSF()