# SNESFASGetGalerkin
Gets if the coarse problems are formed by projection to the fine problem 
## Synopsis
```
#include "petscsnes.h"  
PetscErrorCode SNESFASGetGalerkin(SNES snes, PetscBool *flg)
```
Not collective but the result would be the same on all MPI ranks


## Input Parameter

- ***snes -*** the `SNESFAS` nonlinear solver context



## Output parameter

- ***flg -*** `PETSC_TRUE` if the coarse problem is formed by projection





## See Also
 `SNESFAS`, `SNESFASSetLevels()`, `SNESFASSetGalerkin()`

## Level
advanced

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/snes/impls/fas/fasgalerkin.c.html#SNESFASGetGalerkin">src/snes/impls/fas/fasgalerkin.c</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/snes/impls/fas/fasgalerkin.c)


[Index of all SNESFAS routines](index.md)  
[Table of Contents for all manual pages](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
