Lines Matching refs:nmap
75 PetscLayout map, nmap; in PCSetUp_Redistribute() local
149 PetscCall(PetscLayoutCreate(comm, &nmap)); in PCSetUp_Redistribute()
151 PetscCall(PetscLayoutSetSize(nmap, ncnt)); in PCSetUp_Redistribute()
152 PetscCall(PetscLayoutSetBlockSize(nmap, 1)); in PCSetUp_Redistribute()
153 PetscCall(PetscLayoutSetUp(nmap)); in PCSetUp_Redistribute()
173 if (i < nmap->range[j]) j = 0; in PCSetUp_Redistribute()
175 if (i < nmap->range[j + 1]) { in PCSetUp_Redistribute()
289 for (PetscInt i = 0; i < nmap->rend - nmap->rstart; i++) { in PCSetUp_Redistribute()
294 for (PetscInt i = 0; i < nmap->rend - nmap->rstart; i++) { in PCSetUp_Redistribute()
295 if (!(((PetscInt)PetscRealPart(ab[i])) % primes[cnt])) indices[n++] = i + nmap->rstart; in PCSetUp_Redistribute()
310 PetscCall(PetscLayoutDestroy(&nmap)); in PCSetUp_Redistribute()