Home
last modified time | relevance | path

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

/petsc/src/dm/tutorials/
H A Dswarm_ex3.c13 PetscInt p, n, bs, npoints, si, sj, milocal, mjlocal, mx, my; in _DMLocatePoints_DMDARegular_IS() local
28 PetscCall(DMDAGetCorners(dmregular, &si, &sj, NULL, &milocal, &mjlocal, NULL)); in _DMLocatePoints_DMDARegular_IS()
47 if ((mj >= sj) && (mj < sj + mjlocal)) { in _DMLocatePoints_DMDARegular_IS()
169 PetscInt si, sj, milocal, mjlocal; in ex3_1() local
174 PetscCall(DMDAGetCorners(dmregular, &si, &sj, NULL, &milocal, &mjlocal, NULL)); in ex3_1()
177 PetscCall(DMSwarmSetLocalSizes(dms, milocal * mjlocal, 4)); in ex3_1()