:orphan: # DMPlexTopologyView Saves a `DMPLEX` topology into a file ## Synopsis ``` #include "petscdmplex.h" PetscErrorCode DMPlexTopologyView(DM dm, PetscViewer viewer) ``` Collective ## Input Parameters - ***dm -*** The `DM` whose topology is to be saved - ***viewer -*** The `PetscViewer` to save it in ## See Also [](ch_unstructured), `DM`, `DMPLEX`, `DMView()`, `DMPlexCoordinatesView()`, `DMPlexLabelsView()`, `DMPlexTopologyLoad()`, `PetscViewer` ## Level advanced ## Location src/dm/impls/plex/plex.c --- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/dm/impls/plex/plex.c) [Index of all DMPlex routines](index.md) [Table of Contents for all manual pages](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)