#include "petscdmplex.h" #include "petscdmplex.h" PetscErrorCode DMPlexCreateFromFile(MPI_Comm comm, const char filename[], PetscBool interpolate, DM *dm)
comm | - The communicator | |
filename | - A file name | |
interpolate | - Flag to create intermediate mesh pieces (edges, faces) |
Use -dm_plex_create_ prefix to pass options to the internal PetscViewer, e.g.
-dm_plex_create_viewer_hdf5_collective