Home
last modified time | relevance | path

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

/petsc/src/dm/impls/da/
H A Dfdda.c14 #define SetInRange(i, m) ((i < 0) ? m + i : ((i >= m) ? i - m : i)) macro
306 …PetscCall(ISColoringValueCast(k + nc * ((SetInRange(i, m) % col) + col * (SetInRange(j, n) % col))… in DMCreateColoring_DA_2d_MPIAIJ()
373 …all(ISColoringValueCast(l + nc * ((SetInRange(i, m) % col) + col * (SetInRange(j, n) % col) + col … in DMCreateColoring_DA_3d_MPIAIJ()
444 PetscCall(ISColoringValueCast(l + nc * (SetInRange(i, m) % col), colors + i1++)); in DMCreateColoring_DA_1d_MPIAIJ()
495 … 0; k < nc; k++) PetscCall(ISColoringValueCast(k + nc * ((3 * SetInRange(j, n) + SetInRange(i, m))… in DMCreateColoring_DA_2d_5pt_MPIAIJ()