Searched refs:jg (Results 1 – 2 of 2) sorted by relevance
| /petsc/src/dm/impls/stag/ |
| H A D | stag3d.c | 831 PetscInt ig, jg, kg, d, c; in DMStagSetUpBuildScatterPopulateIdx_3d() local 837 for (jg = startGhosty; jg < endGhosty; ++jg) { in DMStagSetUpBuildScatterPopulateIdx_3d() 838 const PetscInt j = jg - startGhosty + starty; in DMStagSetUpBuildScatterPopulateIdx_3d() 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() 874 jg = endGhosty; in DMStagSetUpBuildScatterPopulateIdx_3d() 881 idxLocal[c] = kg * eplGhost + jg * eprGhost + ig * stag->entriesPerElement + dLocal; in DMStagSetUpBuildScatterPopulateIdx_3d() [all …]
|
| /petsc/src/ksp/ksp/tutorials/ |
| H A D | ex59.c | 294 PetscInt i, j, k, ig, jg, kg, lindex, gindex, localsize; in ComputeMapping() local 305 jg = dd.starty + j; in ComputeMapping() 309 gindex = kg * dd.xm * dd.ym + jg * dd.xm + ig; in ComputeMapping() 334 PetscInt ie, je, ke, i, j, k, ig, jg, kg, ii, ming; in ComputeSubdomainMatrix() local 417 jg = je * dd.p + j; in ComputeSubdomainMatrix() 421 indexg[ii] = kg * dd.xm_l * dd.ym_l + jg * dd.xm_l + ig; in ComputeSubdomainMatrix()
|