Home
last modified time | relevance | path

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

/petsc/src/ksp/pc/impls/gamg/
H A Dagg.c513 …my0, Iend, nloc, clid, flid = 0, aggID, kk, jj, ii, mm, nSelected, minsz, nghosts, out_data_stride; in formProl0() local
526 nghosts = data_stride / bs - nloc; in formProl0()
528 PetscCall(PetscHMapICreateWithSize(2 * nghosts + 1, &fgid_flid)); in formProl0()
530 …for (kk = 0; kk < nghosts; kk++) PetscCall(PetscHMapISet(fgid_flid, flid_fgid[nloc + kk], nloc + k… in formProl0()
/petsc/src/mat/impls/sell/mpi/
H A Dmpisell.c682 static PetscErrorCode MatGetGhosts_MPISELL(Mat mat, PetscInt *nghosts, const PetscInt *ghosts[]) in MatGetGhosts_MPISELL() argument
687 PetscCall(MatGetSize(sell->B, NULL, nghosts)); in MatGetGhosts_MPISELL()
/petsc/src/mat/impls/baij/mpi/
H A Dmpibaij.c2076 static PetscErrorCode MatGetGhosts_MPIBAIJ(Mat mat, PetscInt *nghosts, const PetscInt *ghosts[]) in MatGetGhosts_MPIBAIJ() argument
2082 if (nghosts) *nghosts = B->nbs; in MatGetGhosts_MPIBAIJ()
/petsc/src/mat/interface/
H A Dmatrix.c469 PetscErrorCode MatGetGhosts(Mat mat, PetscInt *nghosts, const PetscInt *ghosts[]) in MatGetGhosts() argument
476 if (mat->ops->getghosts) PetscUseTypeMethod(mat, getghosts, nghosts, ghosts); in MatGetGhosts()
478 if (nghosts) *nghosts = 0; in MatGetGhosts()
/petsc/src/mat/impls/aij/mpi/
H A Dmpiaij.c1602 static PetscErrorCode MatGetGhosts_MPIAIJ(Mat mat, PetscInt *nghosts, const PetscInt *ghosts[]) in MatGetGhosts_MPIAIJ() argument
1607 PetscCall(MatGetSize(aij->B, NULL, nghosts)); in MatGetGhosts_MPIAIJ()