:orphan:
# PetscViewerMathematicaSkipPackets
Discard packets sent by Mathematica until a certain packet type is received 
## Synopsis
```
PetscErrorCode PetscViewerMathematicaSkipPackets(PetscViewer viewer, int type)
```

## Input Parameters

- ***viewer -*** The Mathematica viewer
- ***type   -*** The packet type to search for, e.g RETURNPKT





## See Also
 `PetscViewerMathematicaSetName()`, `PetscViewerMathematicaGetVector()`

## Level
advanced

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/sys/classes/viewer/impls/mathematica/mathematica.c.html#PetscViewerMathematicaSkipPackets">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)  
