petsc-3.6.1 2015-08-06
TSLoad
Loads a KSP that has been stored in binary with KSPView().
Synopsis
#include "petscts.h"
PetscErrorCode TSLoad(TS ts, PetscViewer viewer)
Collective on PetscViewer
Input Parameters
| newdm | - the newly loaded TS, this needs to have been created with TSCreate() or
some related function before a call to TSLoad().
|
| viewer | - binary file viewer, obtained from PetscViewerBinaryOpen()
|
Notes
The type is determined by the data in the file, any type set into the TS before this call is ignored.
Notes for advanced users
Most users should not need to know the details of the binary storage
format, since TSLoad() and TSView() 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(), TSView(), MatLoad(), VecLoad()
Level:intermediate
Location:src/ts/interface/ts.c
Index of all TS routines
Table of Contents for all manual pages
Index of all manual pages
Examples
src/ts/examples/tutorials/ex28.c.html
src/ts/examples/tutorials/ex28.c.html