Searched refs:idxGlobal (Results 1 – 3 of 3) sorted by relevance
| /petsc/src/dm/impls/stag/ |
| H A D | stag1d.c | 280 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 D | stag2d.c | 386 PetscInt *idxLocal, *idxGlobal, *idxGlobalAll; in DMSetUp_Stag_2d() local 428 PetscCall(PetscMalloc1(entriesToTransferTotal, &idxGlobal)); in DMSetUp_Stag_2d() 448 …idxGlobal[count] = globalOffset + j * entriesPerElementRowNeighbor + i * stag->entriesPerElement +… in DMSetUp_Stag_2d() 467 …idxGlobal[count] = globalOffset + j * entriesPerElementRowNeighbor + i * stag->entriesPerElement +… in DMSetUp_Stag_2d() 475 …idxGlobal[count] = globalOffset + j * entriesPerElementRowNeighbor + i * stag->entriesPerElement +… in DMSetUp_Stag_2d() 479 …idxGlobal[count] = globalOffset + j * entriesPerElementRowNeighbor + i * stag->entriesPerElement +… in DMSetUp_Stag_2d() 497 …idxGlobal[count] = globalOffset + j * entriesPerElementRowNeighbor + i * stag->entriesPerElement +… in DMSetUp_Stag_2d() 517 …idxGlobal[count] = globalOffset + j * entriesPerElementRowNeighbor + i * stag->entriesPerElement +… in DMSetUp_Stag_2d() 528 …idxGlobal[count] = globalOffset + j * entriesPerElementRowNeighbor + i * entriesPerFace + d; /* i … in DMSetUp_Stag_2d() 545 … idxGlobal[count] = globalOffset + j * entriesPerElementRow + i * stag->entriesPerElement + d; in DMSetUp_Stag_2d() [all …]
|
| H A D | stag3d.c | 829 …ateIdx_3d(DM_Stag *stag, PetscInt *count, PetscInt *idxLocal, PetscInt *idxGlobal, PetscInt entrie… in DMStagSetUpBuildScatterPopulateIdx_3d() argument 842 … idxGlobal[c] = globalOffset + k * eplNeighbor + j * eprNeighbor + i * stag->entriesPerElement + d; in DMStagSetUpBuildScatterPopulateIdx_3d() 851 … idxGlobal[c] = globalOffset + k * eplNeighbor + j * eprNeighbor + i * stag->entriesPerElement + d; in DMStagSetUpBuildScatterPopulateIdx_3d() 856 … idxGlobal[c] = globalOffset + k * eplNeighbor + j * eprNeighbor + i * stag->entriesPerElement + d; in DMStagSetUpBuildScatterPopulateIdx_3d() 861 … idxGlobal[c] = globalOffset + k * eplNeighbor + j * eprNeighbor + i * stag->entriesPerElement + d; in DMStagSetUpBuildScatterPopulateIdx_3d() 866 … idxGlobal[c] = globalOffset + k * eplNeighbor + j * eprNeighbor + i * stag->entriesPerElement + d; in DMStagSetUpBuildScatterPopulateIdx_3d() 880 …idxGlobal[c] = globalOffset + k * eplNeighbor + j * eprNeighbor + i * entriesPerFace + d; /* Note … in DMStagSetUpBuildScatterPopulateIdx_3d() 887 …idxGlobal[c] = globalOffset + k * eplNeighbor + j * eprNeighbor + i * entriesPerFace + d; /* Note … in DMStagSetUpBuildScatterPopulateIdx_3d() 897 …idxGlobal[c] = globalOffset + k * eplNeighbor + j * eprNeighbor + i * entriesPerFace + d; /* Note … in DMStagSetUpBuildScatterPopulateIdx_3d() 902 …idxGlobal[c] = globalOffset + k * eplNeighbor + j * eprNeighbor + i * entriesPerFace + d; /* Note … in DMStagSetUpBuildScatterPopulateIdx_3d() [all …]
|