DMPlexTopologyLoad#
Loads a topology into a DMPLEX
Synopsis#
#include "petscdmplex.h"
PetscErrorCode DMPlexTopologyLoad(DM dm, PetscViewer viewer, PetscSF *globalToLocalPointSF)
Collective on dm
Input Parameters#
dm - The
DMinto which the topology is loadedviewer - The
PetscViewerfor the saved topology
Output Parameters#
globalToLocalPointSF - The
PetscSFthat pushes points in [0, N) to the associated points in the loaded plex, where N is the global number of points; NULL if unneeded
See Also#
DMPlex: Unstructured Grids in PETSc, DM, DMPLEX, DMLoad(), DMPlexCoordinatesLoad(), DMPlexLabelsLoad(), DMView(), PetscViewerHDF5Open(), PetscViewerPushFormat(),
PetscViewer, PetscSF
Level#
advanced
Location#
Index of all DMPlex routines
Table of Contents for all manual pages
Index of all manual pages