: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
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ksp/pc/impls/bddc/bddc.c.html#PCBDDCSetDirichletBoundaries">src/ksp/pc/impls/bddc/bddc.c</A>

## Examples
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ksp/ksp/tutorials/ex71.c.html">src/ksp/ksp/tutorials/ex71.c</A><BR>

## Implementations

<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ksp/pc/impls/bddc/bddc.c.html#PCBDDCSetDirichletBoundaries_BDDC">PCBDDCSetDirichletBoundaries_BDDC in src/ksp/pc/impls/bddc/bddc.c</A><BR>


---
[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)  
