Searched refs:primes (Results 1 – 1 of 1) sorted by relevance
260 PetscInt primes[] = {2, 3, 5, 7, 11, 13, 17, 19}; in PCSetUp_Redistribute() local263 …PetscCheck(red->nsplits <= (PetscInt)PETSC_STATIC_ARRAY_LENGTH(primes), PETSC_COMM_SELF, PETSC_ERR… in PCSetUp_Redistribute()273 for (PetscInt i = 0; i < n; i++) atvec[indices[i] - rstart] *= primes[cnt]; in PCSetUp_Redistribute()290 if (!(((PetscInt)PetscRealPart(ab[i])) % primes[cnt])) n++; in PCSetUp_Redistribute()295 if (!(((PetscInt)PetscRealPart(ab[i])) % primes[cnt])) indices[n++] = i + nmap->rstart; in PCSetUp_Redistribute()