petsc-3.7.7 2017-09-25
Report Typos and Errors

DMMoabLoadFromFile

Creates a DM object by loading the mesh from a user specified file.

Synopsis

#include "petscdmmoab.h"   
PetscErrorCode DMMoabLoadFromFile(MPI_Comm comm,PetscInt dim,const char* filename, const char* usrreadopts, DM *dm)
Collective on MPI_Comm

Input Parameters

Output Parameter

Keywords

DM, create

See Also

DMSetType(), DMCreate(), DMMoabCreateBoxMesh()

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

comm - The communicator for the DM object
dim - The spatial dimension
filename - The name of the mesh file to be loaded
usrreadopts - The options string to read a MOAB mesh. Reference (Parallel Mesh Initialization: http://www.mcs.anl.gov/~fathom/moab-docs/html/contents.html#fivetwo)
dm - The DM object