Lines Matching refs:Gmat2
500 PetscErrorCode PCGAMGSquareGraph_GAMG(PC a_pc, Mat Gmat1, Mat *Gmat2) in PCGAMGSquareGraph_GAMG() argument
510 PetscCall(MatProductCreate(Gmat1, Gmat1, NULL, Gmat2)); in PCGAMGSquareGraph_GAMG()
511 PetscCall(MatSetOptionsPrefix(*Gmat2, prefix)); in PCGAMGSquareGraph_GAMG()
513 PetscCall(MatAppendOptionsPrefix(*Gmat2, addp)); in PCGAMGSquareGraph_GAMG()
514 if ((*Gmat2)->structurally_symmetric == PETSC_BOOL3_TRUE) { in PCGAMGSquareGraph_GAMG()
515 PetscCall(MatProductSetType(*Gmat2, MATPRODUCT_AB)); in PCGAMGSquareGraph_GAMG()
518 PetscCall(MatProductSetType(*Gmat2, MATPRODUCT_AtB)); in PCGAMGSquareGraph_GAMG()
520 PetscCall(MatProductSetFromOptions(*Gmat2)); in PCGAMGSquareGraph_GAMG()
522 PetscCall(MatProductSymbolic(*Gmat2)); in PCGAMGSquareGraph_GAMG()
524 PetscCall(MatProductClear(*Gmat2)); in PCGAMGSquareGraph_GAMG()
526 (*Gmat2)->assembled = PETSC_TRUE; in PCGAMGSquareGraph_GAMG()