| ddbeb582 | 30-Dec-2018 |
Stefano Zampini <stefano.zampini@gmail.com> |
MatHYPRE: fix issue with HYPRE_IJMatrixTranslator and add MatSetOption_HYPRE
SetDiagOffdSizes sets hypre_AuxParCSRMatrixNeedAux(aux_matrix) = 0, since it seems they assume the user will input the en
MatHYPRE: fix issue with HYPRE_IJMatrixTranslator and add MatSetOption_HYPRE
SetDiagOffdSizes sets hypre_AuxParCSRMatrixNeedAux(aux_matrix) = 0, since it seems they assume the user will input the entire row values, properly sorted... In PETSc, we don't make such an assumption, and we instead set the flag to 1 Also, to avoid possible memory leaks, we destroy and recreate the translator, so that HYPRE_IJMatrixInitialize will properly initialize the IJ matrix for us.
Changes how BoomerAMG matrices are initialized
show more ...
|