:orphan:
# PCBDDCMatFETIDPGetRHS
Compute the right-hand side for a FETI-DP linear system using the physical right-hand side
## Synopsis
```
#include "petscpc.h"
PetscErrorCode PCBDDCMatFETIDPGetRHS(Mat fetidp_mat, Vec standard_rhs, Vec fetidp_flux_rhs)
```
Collective
## Input Parameters
- ***fetidp_mat -*** the FETI-DP matrix object obtained by a call to `PCBDDCCreateFETIDPOperators()`
- ***standard_rhs -*** the right-hand side of the original linear system
## Output Parameter
- ***fetidp_flux_rhs -*** the right-hand side for the FETI-DP linear system
## See Also
`PCBDDC`, `PCBDDCCreateFETIDPOperators()`, `PCBDDCMatFETIDPGetSolution()`
## Level
developer
## Location
src/ksp/pc/impls/bddc/bddc.c
## Examples
src/ksp/ksp/tutorials/ex59.c
## Implementations
PCBDDCMatFETIDPGetRHS_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)