:orphan:
# PCBDDCSetDirichletBoundaries
Set the `IS` defining Dirichlet boundaries for the global problem.
## Synopsis
```
#include "petscpc.h"
PetscErrorCode PCBDDCSetDirichletBoundaries(PC pc, IS DirichletBoundaries)
```
Collective
## Input Parameters
- ***pc -*** the preconditioning context
- ***DirichletBoundaries -*** parallel `IS` defining the Dirichlet boundaries
## Note
Provide the information if you used `MatZeroRows()` or `MatZeroRowsColumns()`. Any process can list any global node
## See Also
`PCBDDC`, `PCBDDCSetDirichletBoundariesLocal()`, `MatZeroRows()`, `MatZeroRowsColumns()`
## Level
intermediate
## Location
src/ksp/pc/impls/bddc/bddc.c
## Examples
src/ksp/ksp/tutorials/ex71.c
## Implementations
PCBDDCSetDirichletBoundaries_BDDC in src/ksp/pc/impls/bddc/bddc.c
---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/ksp/pc/impls/bddc/bddc.c)
[Index of all PC routines](index.md)
[Table of Contents for all manual pages](/manualpages/index.md)
[Index of all manual pages](/manualpages/singleindex.md)