Home
last modified time | relevance | path

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

/petsc/src/ksp/pc/impls/redundant/
H A Dredundant.c12 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()
[all …]