petsc-3.7.1 2016-05-15
Report Typos and Errors

DMMoabOutput

Output the solution vectors that are stored in the DMMoab object as tags along with the complete mesh data structure in the native H5M or VTK format. The H5M output file can be visualized directly with Paraview (if compiled with appropriate plugin) or converted with MOAB/tools/mbconvert to a VTK or Exodus file.

Synopsis

#include "petscdmmoab.h"   
PetscErrorCode DMMoabOutput(DM dm,const char* filename,const char* usrwriteopts)
This routine can also be used for check-pointing purposes to store a complete history of Many brthe solution along with any other necessary data to restart computations. Many br

Collective Many br

Input Parameters

dm - the discretization manager object containing solution in MOAB tags. Many br
filename - the name of the output file: e.g., poisson.h5m Many br
usrwriteopts - the parallel write options needed for serializing a MOAB mesh database. Can be NULL. Many brReference (Parallel Mesh Initialization: http://ftp.mcs.anl.gov/pub/fathom/moab-docs/contents.html#fivetwo) Many br

Many br

Keywords

discretization manager, set, component solution

See Also

DMMoabLoadFromFile(), DMMoabSetGlobalFieldVector()

Level:intermediate
Location:
src/dm/impls/moab/dmmbio.cxx
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages

Examples

src/ts/examples/tutorials/ex35.cxx.html