Searched refs:milocal (Results 1 – 1 of 1) sorted by relevance
| /petsc/src/dm/tutorials/ |
| H A D | swarm_ex3.c | 13 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() 48 if ((mi >= si) && (mi < si + milocal)) cellidx[p] = (mi - si) + (mj - sj) * milocal; 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()
|