SNESLoad#
Loads a SNES that has been stored in PETSCVIEWERBINARY with SNESView().
Synopsis#
#include "petscsnes.h"
PetscErrorCode SNESLoad(SNES snes, PetscViewer viewer)
Collective
Input Parameters#
newdm - the newly loaded
SNES, this needs to have been created withSNESCreate()or some related function before a call toSNESLoad().viewer - binary file viewer, obtained from
PetscViewerBinaryOpen()
Note#
The type is determined by the data in the file, any type set into the SNES before this call is ignored.
See Also#
SNES: Nonlinear Solvers, SNES, PetscViewer, SNESCreate(), SNESType, PetscViewerBinaryOpen(), SNESView(), MatLoad(), VecLoad()
Level#
intermediate
Location#
Index of all SNES routines
Table of Contents for all manual pages
Index of all manual pages