:orphan:
# TaoADMMGetRegularizationSubsolver
Get the pointer to the regularization subsolver inside `TAOADMM`
## 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`, `Tao`
## Level
advanced
## Location
src/tao/constrained/impls/admm/admm.c
## Examples
src/tao/constrained/tutorials/tomographyADMM.c
---
[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](/manualpages/index.md)
[Index of all manual pages](/manualpages/singleindex.md)