# MatCoarsenSetStrictAggs
Set whether to keep strict (non overlapping) aggregates in the linked list of aggregates for a coarsen context 
## Synopsis
```
#include "petscmatcoarsen.h" 
PetscErrorCode MatCoarsenSetStrictAggs(MatCoarsen agg, PetscBool str)
```
Logically Collective


## Input Parameters

- ***agg -*** the coarsen context
- ***str -*** `PETSC_TRUE` keep strict aggregates, `PETSC_FALSE` allow overlap




## See Also
 `MatCoarsen`, `MatCoarsenCreate()`, `MatCoarsenSetFromOptions()`

## Level
advanced

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/mat/coarsen/coarsen.c.html#MatCoarsenSetStrictAggs">src/mat/coarsen/coarsen.c</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/mat/coarsen/coarsen.c)


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