Home
last modified time | relevance | path

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

/petsc/src/dm/impls/stag/
H A Dstag1d.c280 PetscInt *idxLocal, *idxGlobal, *idxGlobalAll; in DMSetUp_Stag_1d() local
307 PetscCall(PetscMalloc1(entriesToTransferTotal, &idxGlobal)); in DMSetUp_Stag_1d()
315 idxGlobal[count] = i * stag->entriesPerElement + d; in DMSetUp_Stag_1d()
326 idxGlobal[count] = i * stag->entriesPerElement + d; in DMSetUp_Stag_1d()
342 idxGlobal[count] = i * stag->entriesPerElement + d; in DMSetUp_Stag_1d()
344 idxGlobalAll[count] = idxGlobal[count]; in DMSetUp_Stag_1d()
351 idxGlobal[count] = i * stag->entriesPerElement + d; in DMSetUp_Stag_1d()
353 idxGlobalAll[count] = idxGlobal[count]; in DMSetUp_Stag_1d()
360 idxGlobal[count] = i * stag->entriesPerElement + d; in DMSetUp_Stag_1d()
362 idxGlobalAll[count] = idxGlobal[count]; in DMSetUp_Stag_1d()
[all …]
H A Dstag2d.c386 PetscInt *idxLocal, *idxGlobal, *idxGlobalAll; in DMSetUp_Stag_2d() local
428 PetscCall(PetscMalloc1(entriesToTransferTotal, &idxGlobal)); in DMSetUp_Stag_2d()
448idxGlobal[count] = globalOffset + j * entriesPerElementRowNeighbor + i * stag->entriesPerElement +… in DMSetUp_Stag_2d()
467idxGlobal[count] = globalOffset + j * entriesPerElementRowNeighbor + i * stag->entriesPerElement +… in DMSetUp_Stag_2d()
475idxGlobal[count] = globalOffset + j * entriesPerElementRowNeighbor + i * stag->entriesPerElement +… in DMSetUp_Stag_2d()
479idxGlobal[count] = globalOffset + j * entriesPerElementRowNeighbor + i * stag->entriesPerElement +… in DMSetUp_Stag_2d()
497idxGlobal[count] = globalOffset + j * entriesPerElementRowNeighbor + i * stag->entriesPerElement +… in DMSetUp_Stag_2d()
517idxGlobal[count] = globalOffset + j * entriesPerElementRowNeighbor + i * stag->entriesPerElement +… in DMSetUp_Stag_2d()
528idxGlobal[count] = globalOffset + j * entriesPerElementRowNeighbor + i * entriesPerFace + d; /* i … in DMSetUp_Stag_2d()
545idxGlobal[count] = globalOffset + j * entriesPerElementRow + i * stag->entriesPerElement + d; in DMSetUp_Stag_2d()
[all …]
H A Dstag3d.c829 …ateIdx_3d(DM_Stag *stag, PetscInt *count, PetscInt *idxLocal, PetscInt *idxGlobal, PetscInt entrie… in DMStagSetUpBuildScatterPopulateIdx_3d() argument
842idxGlobal[c] = globalOffset + k * eplNeighbor + j * eprNeighbor + i * stag->entriesPerElement + d; in DMStagSetUpBuildScatterPopulateIdx_3d()
851idxGlobal[c] = globalOffset + k * eplNeighbor + j * eprNeighbor + i * stag->entriesPerElement + d; in DMStagSetUpBuildScatterPopulateIdx_3d()
856idxGlobal[c] = globalOffset + k * eplNeighbor + j * eprNeighbor + i * stag->entriesPerElement + d; in DMStagSetUpBuildScatterPopulateIdx_3d()
861idxGlobal[c] = globalOffset + k * eplNeighbor + j * eprNeighbor + i * stag->entriesPerElement + d; in DMStagSetUpBuildScatterPopulateIdx_3d()
866idxGlobal[c] = globalOffset + k * eplNeighbor + j * eprNeighbor + i * stag->entriesPerElement + d; in DMStagSetUpBuildScatterPopulateIdx_3d()
880idxGlobal[c] = globalOffset + k * eplNeighbor + j * eprNeighbor + i * entriesPerFace + d; /* Note … in DMStagSetUpBuildScatterPopulateIdx_3d()
887idxGlobal[c] = globalOffset + k * eplNeighbor + j * eprNeighbor + i * entriesPerFace + d; /* Note … in DMStagSetUpBuildScatterPopulateIdx_3d()
897idxGlobal[c] = globalOffset + k * eplNeighbor + j * eprNeighbor + i * entriesPerFace + d; /* Note … in DMStagSetUpBuildScatterPopulateIdx_3d()
902idxGlobal[c] = globalOffset + k * eplNeighbor + j * eprNeighbor + i * entriesPerFace + d; /* Note … in DMStagSetUpBuildScatterPopulateIdx_3d()
[all …]