Home
last modified time | relevance | path

Searched refs:idxLocal (Results 1 – 4 of 4) sorted by relevance

/petsc/src/dm/impls/stag/
H A Dstag1d.c280 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 Dstag2d.c386 PetscInt *idxLocal, *idxGlobal, *idxGlobalAll; in DMSetUp_Stag_2d() local
427 PetscCall(PetscMalloc1(entriesToTransferTotal, &idxLocal)); in DMSetUp_Stag_2d()
449idxLocal[count] = jghost * entriesPerElementRowGhost + ighost * stag->entriesPerElement + d; in DMSetUp_Stag_2d()
468idxLocal[count] = jghost * entriesPerElementRowGhost + ighost * stag->entriesPerElement + d; in DMSetUp_Stag_2d()
476idxLocal[count] = jghost * entriesPerElementRowGhost + ighost * stag->entriesPerElement + d; in DMSetUp_Stag_2d()
480idxLocal[count] = jghost * entriesPerElementRowGhost + ighost * stag->entriesPerElement + stag->d… in DMSetUp_Stag_2d()
498idxLocal[count] = jghost * entriesPerElementRowGhost + ighost * stag->entriesPerElement + d; in DMSetUp_Stag_2d()
518idxLocal[count] = jghost * entriesPerElementRowGhost + ighost * stag->entriesPerElement + d; in DMSetUp_Stag_2d()
529idxLocal[count] = jghost * entriesPerElementRowGhost + ighost * stag->entriesPerElement + d; in DMSetUp_Stag_2d()
546idxLocal[count] = jghost * entriesPerElementRowGhost + ighost * stag->entriesPerElement + d; in DMSetUp_Stag_2d()
[all …]
H A Dstagstencil.c34 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 Dstag3d.c829 …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 …]