Lines Matching refs:Cmat
65 Mat Cmat = NULL, Pold = *a_P_inout; in PCGAMGCreateLevel_GAMG() local
201 PetscCall(MatPtAP(Amat_fine, Pold, MAT_INITIAL_MATRIX, 2.0, &Cmat)); in PCGAMGCreateLevel_GAMG()
208 PetscCall(MatConvert(Cmat, MATMPIADJ, MAT_INITIAL_MATRIX, &adj)); in PCGAMGCreateLevel_GAMG()
221 PetscCall(MatGetOwnershipRange(Cmat, &Istart_crs, &Iend_crs)); in PCGAMGCreateLevel_GAMG()
222 PetscCall(MatGetSize(Cmat, &M, &N)); in PCGAMGCreateLevel_GAMG()
224 PetscCall(MatGetRow(Cmat, Ii, &ncols, NULL, NULL)); in PCGAMGCreateLevel_GAMG()
228 PetscCall(MatRestoreRow(Cmat, Ii, &ncols, NULL, NULL)); in PCGAMGCreateLevel_GAMG()
245 PetscCall(MatGetRow(Cmat, ii, &ncols, &idx, &vals)); in PCGAMGCreateLevel_GAMG()
248 PetscCall(MatRestoreRow(Cmat, ii, &ncols, &idx, &vals)); in PCGAMGCreateLevel_GAMG()
421 if (Cmat) { /* repartitioning from Cmat adjacency case */ in PCGAMGCreateLevel_GAMG()
428 PetscCall(MatCreateSubMatrix(Cmat, new_eq_indices, new_eq_indices, MAT_INITIAL_MATRIX, &mat)); in PCGAMGCreateLevel_GAMG()
429 …PetscCall(MatIsSPDKnown(Cmat, &isset, &isspd)); // like MatPropagateSymmetryOptions, but should se… in PCGAMGCreateLevel_GAMG()
432 PetscCall(MatIsHermitianKnown(Cmat, &isset, &isher)); in PCGAMGCreateLevel_GAMG()
436 PetscCall(MatIsSymmetricKnown(Cmat, &isset, &issym)); in PCGAMGCreateLevel_GAMG()
463 if (!Cmat) { /* simple repartitioning case */ in PCGAMGCreateLevel_GAMG()
470 PetscCall(MatDestroy(&Cmat)); in PCGAMGCreateLevel_GAMG()