#include "petscdm.h" PetscErrorCode DMLoad(DM newdm, PetscViewer viewer)Collective on PetscViewer
newdm | - the newly loaded DM, this needs to have been created with DMCreate() or some related function before a call to DMLoad(). | |
viewer | - binary file viewer, obtained from PetscViewerBinaryOpen() or HDF5 file viewer, obtained from PetscViewerHDF5Open() |
has not yet been determined
In addition, PETSc automatically does the byte swapping for machines that store the bytes reversed, e.g. DEC alpha, freebsd, linux, Windows and the paragon; thus if you write your own binary read/write routines you have to swap the bytes; see PetscBinaryRead() and PetscBinaryWrite() to see how this may be done.
Level:intermediate
Location:src/dm/interface/dm.c
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages