Searched refs:ht_size (Results 1 – 3 of 3) sorted by relevance
| /petsc/src/mat/impls/baij/mpi/ |
| H A D | mpibaij.h | 25 PetscInt ht_size; \
|
| H A D | mpibaij.c | 499 PetscInt h1, key, size = baij->ht_size, bs = mat->rmap->bs, *HT = baij->ht, idx; in MatSetValues_MPIBAIJ_HT() 564 PetscInt h1, key, size = baij->ht_size, idx, *HT = baij->ht, Nbs = baij->Nbs; in MatSetValuesBlocked_MPIBAIJ_HT() 805 PetscInt ht_size, bs2 = baij->bs2, rstart = baij->rstartbs; in MatCreateHashTable_MPIBAIJ_Private() local 817 baij->ht_size = (PetscInt)(factor * nz); in MatCreateHashTable_MPIBAIJ_Private() 818 ht_size = baij->ht_size; in MatCreateHashTable_MPIBAIJ_Private() 821 PetscCall(PetscCalloc2(ht_size, &baij->hd, ht_size, &baij->ht)); in MatCreateHashTable_MPIBAIJ_Private() 832 h1 = HASH(ht_size, key, tmp); in MatCreateHashTable_MPIBAIJ_Private() 833 for (k = 0; k < ht_size; k++) { in MatCreateHashTable_MPIBAIJ_Private() 834 if (!HT[(h1 + k) % ht_size]) { in MatCreateHashTable_MPIBAIJ_Private() 835 HT[(h1 + k) % ht_size] = key; in MatCreateHashTable_MPIBAIJ_Private() [all …]
|
| /petsc/src/mat/impls/sbaij/mpi/ |
| H A D | mpisbaij.c | 2121 b->ht_size = 0; in MatCreate_MPISBAIJ() 2444 a->ht_size = 0; in MatDuplicate_MPISBAIJ()
|