Created
April 28, 2015 09:39
-
-
Save wence-/56c3a27a843208b68f19 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/src/ksp/pc/impls/gamg/agg.c b/src/ksp/pc/impls/gamg/agg.c | |
| index dab6e6d..286cc2e 100644 | |
| --- a/src/ksp/pc/impls/gamg/agg.c | |
| +++ b/src/ksp/pc/impls/gamg/agg.c | |
| @@ -946,7 +946,7 @@ PetscErrorCode PCGAMGCoarsen_AGG(PC a_pc,Mat *a_Gmat1,PetscCoarsenData **agg_lis | |
| if (bs != 1) SETERRQ1(PETSC_COMM_SELF,PETSC_ERR_PLIB,"bs %D must be 1",bs); | |
| nloc = n/bs; | |
| - if (pc_gamg->firstCoarsen && pc_gamg_agg->square_graph) { /* we don't want to square coarse grids */ | |
| + if (pc_gamg_agg->square_graph) { /* we don't want to square coarse grids */ | |
| ierr = PetscInfo(a_pc,"Square Graph (fine grid only)\n");CHKERRQ(ierr); | |
| /* ierr = MatMatTransposeMult(Gmat1, Gmat1, MAT_INITIAL_MATRIX, PETSC_DEFAULT, &Gmat2); */ | |
| ierr = MatTransposeMatMult(Gmat1, Gmat1, MAT_INITIAL_MATRIX, PETSC_DEFAULT, &Gmat2);CHKERRQ(ierr); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment