# TaoADMMGetRegularizationSubsolver
Get the pointer to the regularization subsolver inside ADMM 
## Synopsis
```
#include "petsctao.h" 
PetscErrorCode TaoADMMGetRegularizationSubsolver(Tao tao, Tao *reg)
```
Collective


## Input Parameter

- ***tao -*** the Tao solver context



## Output Parameter

- ***reg -*** the Tao subsolver context





## See Also
 `TAOADMM`


## Level
advanced

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/tao/constrained/impls/admm/admm.c.html#TaoADMMGetRegularizationSubsolver">src/tao/constrained/impls/admm/admm.c</A>

## Examples
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/tao/constrained/tutorials/tomographyADMM.c.html">src/tao/constrained/tutorials/tomographyADMM.c.html</A><BR>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/tao/constrained/impls/admm/admm.c)


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