Searched refs:mloc_sub (Results 1 – 2 of 2) sorted by relevance
| /petsc/src/ksp/pc/impls/redundant/ |
| H A D | redundant.c | 82 PetscInt mloc_sub; in PCSetUp_Redundant() local 119 PetscCall(MatGetLocalSize(red->pmats, &mloc_sub, NULL)); in PCSetUp_Redundant() 120 …PetscCall(VecCreateMPI(PetscSubcommContiguousParent(red->psubcomm), mloc_sub, PETSC_DECIDE, &red->… in PCSetUp_Redundant() 121 …PetscCall(VecCreateMPIWithArray(PetscSubcommContiguousParent(red->psubcomm), 1, mloc_sub, PETSC_DE… in PCSetUp_Redundant()
|
| /petsc/src/mat/interface/ |
| H A D | matrix.c | 10476 …PetscInt mloc_sub, nloc_sub, rstart, rend, M = mat->rmap->N, N = mat->cmap->N, bs = mat->rma… in MatCreateRedundantMatrix() local 10524 mloc_sub = PETSC_DECIDE; in MatCreateRedundantMatrix() 10527 PetscCall(PetscSplitOwnership(subcomm, &mloc_sub, &M)); in MatCreateRedundantMatrix() 10530 PetscCall(PetscSplitOwnershipBlock(subcomm, bs, &mloc_sub, &M)); in MatCreateRedundantMatrix() 10533 PetscCallMPI(MPI_Scan(&mloc_sub, &rend, 1, MPIU_INT, MPI_SUM, subcomm)); in MatCreateRedundantMatrix() 10534 rstart = rend - mloc_sub; in MatCreateRedundantMatrix() 10535 PetscCall(ISCreateStride(PETSC_COMM_SELF, mloc_sub, rstart, 1, &isrow)); in MatCreateRedundantMatrix()
|