xref: /petsc/src/ksp/pc/impls/gamg/gamg.h (revision bbead8a294046a48bbbe8fbcc40ad4dafe54ecae)
1 #if !defined(__GAMG_IMPL)
2 #define __GAMG_IMPL
3 #include <private/pcimpl.h>   /*I "petscpc.h" I*/
4 #include <../src/ksp/pc/impls/mg/mgimpl.h>                    /*I "petscpcmg.h" I*/
5 #include <../src/mat/impls/aij/seq/aij.h>
6 #include <../src/mat/impls/aij/mpi/mpiaij.h>
7 #include <assert.h>
8 
9 extern PetscErrorCode PCSetFromOptions_MG(PC);
10 extern PetscErrorCode PCReset_MG(PC);
11 extern PetscErrorCode createProlongation( Mat, PetscReal [], const PetscInt,
12                                           Mat *, PetscReal **, PetscBool *a_isOK );
13 enum tag {SET1,SET2,SET3,SET4,SET5,SET6,FIND_V,SET7,NUM_SET};
14 extern PetscLogEvent gamg_setup_stages[NUM_SET];
15 
16 #endif
17 
18