Home
last modified time | relevance | path

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

/petsc/src/mat/impls/nest/
H A Dmatnest.c2123 PetscInt bm, *sub_dnnz, *sub_onnz, br; in MatConvert_Nest_AIJ() local
2130 PetscCall(PetscMalloc1(bm, &sub_dnnz)); in MatConvert_Nest_AIJ()
2133 sub_dnnz[k] = 0; in MatConvert_Nest_AIJ()
2169 sub_dnnz[br]++; in MatConvert_Nest_AIJ()
2180 PetscCall(PetscSFReduceBegin(bmsf, MPIU_INT, sub_dnnz, dnnz, MPI_SUM)); in MatConvert_Nest_AIJ()
2181 PetscCall(PetscSFReduceEnd(bmsf, MPIU_INT, sub_dnnz, dnnz, MPI_SUM)); in MatConvert_Nest_AIJ()
2184 PetscCall(PetscFree(sub_dnnz)); in MatConvert_Nest_AIJ()