Lines Matching refs:Gmat
23 static PetscErrorCode MatCoarsenApply_MIS_private(IS perm, Mat Gmat, PetscBool strict_aggs, PetscCo… in MatCoarsenApply_MIS_private() argument
33 const PetscInt nloc = Gmat->rmap->n; in MatCoarsenApply_MIS_private()
40 PetscCall(PetscObjectGetComm((PetscObject)Gmat, &comm)); in MatCoarsenApply_MIS_private()
44 PetscCall(PetscObjectBaseTypeCompare((PetscObject)Gmat, MATMPIAIJ, &isMPI)); in MatCoarsenApply_MIS_private()
46 mpimat = (Mat_MPIAIJ *)Gmat->data; in MatCoarsenApply_MIS_private()
50 …CompressedRow(mpimat->B, matB->nonzerorowcnt, &matB->compressedrow, matB->i, Gmat->rmap->n, -1.0)); in MatCoarsenApply_MIS_private()
52 matA = (Mat_SeqAIJ *)Gmat->data; in MatCoarsenApply_MIS_private()
53 PetscCall(PetscObjectBaseTypeCompare((PetscObject)Gmat, MATSEQAIJ, &isAIJ)); in MatCoarsenApply_MIS_private()
56 PetscCall(MatGetOwnershipRange(Gmat, &my0, &Iend)); in MatCoarsenApply_MIS_private()
63 PetscCall(PetscSFCreate(PetscObjectComm((PetscObject)Gmat), &sf)); in MatCoarsenApply_MIS_private()
64 PetscCall(MatGetLayouts(Gmat, &layout, NULL)); in MatCoarsenApply_MIS_private()
242 PetscCall(MatGetSize(Gmat, &MM, NULL)); in MatCoarsenApply_MIS_private()