Lines Matching refs:pmats
12 Mat pmats; /* matrices belong to a subcommunicator */ member
91 …ll(MatCreateRedundantMatrix(pc->pmat, red->psubcomm->n, subcomm, MAT_INITIAL_MATRIX, &red->pmats)); in PCSetUp_Redundant()
96 PetscCall(PetscObjectTypeCompare((PetscObject)red->pmats, MATMPISBAIJ, &issbaij)); in PCSetUp_Redundant()
98 PetscCall(MatGetFactorAvailable(red->pmats, NULL, MAT_FACTOR_LU, &foundpack)); in PCSetUp_Redundant()
100 PetscCall(MatGetFactorAvailable(red->pmats, NULL, MAT_FACTOR_CHOLESKY, &foundpack)); in PCSetUp_Redundant()
110 PetscCall(KSPSetOperators(red->ksp, red->pmats, red->pmats)); in PCSetUp_Redundant()
113 PetscCall(MatCreateVecs(red->pmats, &red->xsub, &red->ysub)); in PCSetUp_Redundant()
119 PetscCall(MatGetLocalSize(red->pmats, &mloc_sub, NULL)); in PCSetUp_Redundant()
164 PetscCall(MatDestroy(&red->pmats)); in PCSetUp_Redundant()
169 …RedundantMatrix(pc->pmat, red->psubcomm->n, PetscSubcommChild(red->psubcomm), reuse, &red->pmats)); in PCSetUp_Redundant()
170 PetscCall(KSPSetOperators(red->ksp, red->pmats, red->pmats)); in PCSetUp_Redundant()
269 PetscCall(MatDestroy(&red->pmats)); in PCReset_Redundant()
451 if (mat) *mat = red->pmats; in PCRedundantGetOperators_Redundant()
452 if (pmat) *pmat = red->pmats; in PCRedundantGetOperators_Redundant()