:orphan:
# PetscViewerMathematicaGetName
Retrieve the default name for objects communicated to Mathematica via `PETSCVIEWERMATHEMATICA` 
## Synopsis
```
PetscErrorCode PetscViewerMathematicaGetName(PetscViewer viewer, const char **name)
```

## Input Parameter

- ***viewer -*** The Mathematica viewer



## Output Parameter

- ***name   -*** The name for new objects created in Mathematica





## See Also
 `PETSCVIEWERMATHEMATICA`, `PetscViewerMathematicaSetName()`, `PetscViewerMathematicaClearName()`

## Level
intermediate

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/sys/classes/viewer/impls/mathematica/mathematica.c.html#PetscViewerMathematicaGetName">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](/manualpages/index.md)  
[Index of all manual pages](/manualpages/singleindex.md)  
