# PetscViewerMathematicaGetLink
Returns the link to Mathematica from a `PETSCVIEWERMATHEMATICA` 
## Synopsis
```
PetscErrorCode PetscViewerMathematicaGetLink(PetscViewer viewer, MLINK *link)
```

## Input Parameters

- ***viewer -*** The Mathematica viewer
- ***link   -*** The link to Mathematica





## See Also
 `PETSCVIEWERMATHEMATICA`, `PetscViewerMathematicaOpen()`

## Level
intermediate

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/sys/classes/viewer/impls/mathematica/mathematica.c.html#PetscViewerMathematicaGetLink">src/sys/classes/viewer/impls/mathematica/mathematica.c</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/sys/classes/viewer/impls/mathematica/mathematica.c)


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