Home
last modified time | relevance | path

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

/petsc/src/mat/graphops/coarsen/impls/misk/
H A Dmisk.c51 Mat cMat, Prols[5], Rtot; in MatCoarsenApply_MISK_private() local
287 Rtot = Prols[misk - 1]; // compose P then transpose to get R in MatCoarsenApply_MISK_private()
291 PetscCall(MatMatMult(Prols[iterIdx - 1], Rtot, MAT_INITIAL_MATRIX, PETSC_CURRENT, &P)); in MatCoarsenApply_MISK_private()
293 PetscCall(MatDestroy(&Rtot)); in MatCoarsenApply_MISK_private()
294 Rtot = P; in MatCoarsenApply_MISK_private()
296 PetscCall(MatTranspose(Rtot, MAT_INPLACE_MATRIX, &Rtot)); // R now in MatCoarsenApply_MISK_private()
297 PetscCall(MatViewFromOptions(Rtot, NULL, "-misk_aggregation_view")); in MatCoarsenApply_MISK_private()
307 PetscCall(MatGetOwnershipRange(Rtot, &Istart, &Iend)); in MatCoarsenApply_MISK_private()
311 PetscCall(MatGetRow(Rtot, grow, &ncols, &idx, NULL)); in MatCoarsenApply_MISK_private()
317 PetscCall(MatRestoreRow(Rtot, grow, &ncols, &idx, NULL)); in MatCoarsenApply_MISK_private()
[all …]