Searched refs:idxLocal (Results 1 – 4 of 4) sorted by relevance
| /petsc/src/dm/impls/stag/ |
| H A D | stag1d.c | 280 PetscInt *idxLocal, *idxGlobal, *idxGlobalAll; in DMSetUp_Stag_1d() local 306 PetscCall(PetscMalloc1(entriesToTransferTotal, &idxLocal)); in DMSetUp_Stag_1d() 314 idxLocal[count] = iLocal * stag->entriesPerElement + d; in DMSetUp_Stag_1d() 327 idxLocal[count] = iLocal * stag->entriesPerElement + d; in DMSetUp_Stag_1d() 343 idxLocal[count] = iLocal * stag->entriesPerElement + d; in DMSetUp_Stag_1d() 352 idxLocal[count] = iLocal * stag->entriesPerElement + d; in DMSetUp_Stag_1d() 361 idxLocal[count] = iLocal * stag->entriesPerElement + d; in DMSetUp_Stag_1d() 386 idxLocal[count] = iLocal * stag->entriesPerElement + d; in DMSetUp_Stag_1d() 399 idxLocal[count] = iLocal * stag->entriesPerElement + d; in DMSetUp_Stag_1d() 414 …PetscCall(ISCreateGeneral(PetscObjectComm((PetscObject)dm), entriesToTransferTotal, idxLocal, PETS… in DMSetUp_Stag_1d() [all …]
|
| H A D | stag2d.c | 386 PetscInt *idxLocal, *idxGlobal, *idxGlobalAll; in DMSetUp_Stag_2d() local 427 PetscCall(PetscMalloc1(entriesToTransferTotal, &idxLocal)); in DMSetUp_Stag_2d() 449 … idxLocal[count] = jghost * entriesPerElementRowGhost + ighost * stag->entriesPerElement + d; in DMSetUp_Stag_2d() 468 … idxLocal[count] = jghost * entriesPerElementRowGhost + ighost * stag->entriesPerElement + d; in DMSetUp_Stag_2d() 476 … idxLocal[count] = jghost * entriesPerElementRowGhost + ighost * stag->entriesPerElement + d; in DMSetUp_Stag_2d() 480 …idxLocal[count] = jghost * entriesPerElementRowGhost + ighost * stag->entriesPerElement + stag->d… in DMSetUp_Stag_2d() 498 … idxLocal[count] = jghost * entriesPerElementRowGhost + ighost * stag->entriesPerElement + d; in DMSetUp_Stag_2d() 518 … idxLocal[count] = jghost * entriesPerElementRowGhost + ighost * stag->entriesPerElement + d; in DMSetUp_Stag_2d() 529 … idxLocal[count] = jghost * entriesPerElementRowGhost + ighost * stag->entriesPerElement + d; in DMSetUp_Stag_2d() 546 … idxLocal[count] = jghost * entriesPerElementRowGhost + ighost * stag->entriesPerElement + d; in DMSetUp_Stag_2d() [all …]
|
| H A D | stagstencil.c | 34 PetscInt *idx, *idxLocal; in DMStagCreateISFromStencils() local 78 PetscCall(PetscMalloc1(n_stencil_unique, &idxLocal)); in DMStagCreateISFromStencils() 100 …PetscCall(DMStagStencilToIndexLocal(dm, dim, n_stencil_unique, stencils_ordered_unique, idxLocal)); in DMStagCreateISFromStencils() 102 const PetscInt gidx = ltogidx[idxLocal[p]]; in DMStagCreateISFromStencils() 114 PetscCall(PetscFree(idxLocal)); in DMStagCreateISFromStencils()
|
| H A D | stag3d.c | 829 …tUpBuildScatterPopulateIdx_3d(DM_Stag *stag, PetscInt *count, PetscInt *idxLocal, PetscInt *idxGlo… in DMStagSetUpBuildScatterPopulateIdx_3d() argument 843 idxLocal[c] = kg * eplGhost + jg * eprGhost + ig * stag->entriesPerElement + d; in DMStagSetUpBuildScatterPopulateIdx_3d() 852 idxLocal[c] = kg * eplGhost + jg * eprGhost + ig * stag->entriesPerElement + dLocal; in DMStagSetUpBuildScatterPopulateIdx_3d() 857 idxLocal[c] = kg * eplGhost + jg * eprGhost + ig * stag->entriesPerElement + dLocal; in DMStagSetUpBuildScatterPopulateIdx_3d() 862 idxLocal[c] = kg * eplGhost + jg * eprGhost + ig * stag->entriesPerElement + dLocal; in DMStagSetUpBuildScatterPopulateIdx_3d() 867 idxLocal[c] = kg * eplGhost + jg * eprGhost + ig * stag->entriesPerElement + dLocal; in DMStagSetUpBuildScatterPopulateIdx_3d() 881 idxLocal[c] = kg * eplGhost + jg * eprGhost + ig * stag->entriesPerElement + dLocal; in DMStagSetUpBuildScatterPopulateIdx_3d() 888 idxLocal[c] = kg * eplGhost + jg * eprGhost + ig * stag->entriesPerElement + dLocal; in DMStagSetUpBuildScatterPopulateIdx_3d() 898 idxLocal[c] = kg * eplGhost + jg * eprGhost + ig * stag->entriesPerElement + dLocal; in DMStagSetUpBuildScatterPopulateIdx_3d() 903 idxLocal[c] = kg * eplGhost + jg * eprGhost + ig * stag->entriesPerElement + dLocal; in DMStagSetUpBuildScatterPopulateIdx_3d() [all …]
|