petsc-3.12.5 2020-03-29
DMLoad
Loads a DM that has been stored in binary with DMView().
Synopsis
#include "petscdm.h"
#include "petscdmlabel.h"
#include "petscds.h"
PetscErrorCode DMLoad(DM newdm, PetscViewer viewer)
Collective on viewer
Input Parameters
Notes
The type is determined by the data in the file, any type set into the DM before this call is ignored.
Notes for advanced users
Most users should not need to know the details of the binary storage
format, since DMLoad() and DMView() completely hide these details.
But for anyone who's interested, the standard binary matrix storage
format is
has not yet been determined
See Also
PetscViewerBinaryOpen(), DMView(), MatLoad(), VecLoad()
Level
intermediate
Location
src/dm/interface/dm.c
Examples
src/dm/impls/plex/examples/tutorials/ex5.c.html
Implementations
DMLoad_DA in src/dm/impls/da/dacreate.c
DMLoad_Plex in src/dm/impls/plex/plex.c
DMLoad_Shell in src/dm/impls/shell/dmshell.c
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages