xref: /petsc/src/ksp/pc/impls/gamg/gamg.h (revision 26f2ff8fd9bc4ea607dadf72d7897bc7a997deee)
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( const Mat, const PetscReal [], const PetscInt, const PetscInt,
12                                           const PetscBool, const PetscInt,
13                                           PetscInt*, Mat *, PetscReal **, PetscBool *, PetscReal *);
14 enum tag {SET1,SET2,SET3,SET4,SET5,SET6,FIND_V,SET7,SET8,SET9,SET10,SET11,SET12,SET13,NUM_SET};
15 extern PetscLogEvent gamg_setup_stages[NUM_SET];
16 
17 #define PETSC_GAMG_SMOOTHER PCPBJACOBI
18 
19 #endif
20 
21