MoabReadMode#

Parallel I/O strategy passed to MOAB when reading a mesh file through DMMOAB

Synopsis#

#include "petscvec.h"    
#include "petscmat.h"    
#include "petscdm.h"     
#include "petscdt.h"     
#include "moab/Core.hpp"    
#include "moab/ParallelComm.hpp"    
typedef enum {
  READ_PART,
  READ_DELETE,
  BCAST_DELETE
} MoabReadMode;

Values#

  • READ_PART - each MPI rank reads only the portion of the file describing its partition (requires a partition-aware file)

  • READ_DELETE - every rank reads the entire file and then deletes the entities it does not own

  • BCAST_DELETE - rank 0 reads the file and broadcasts it, then every rank deletes the entities it does not own

See Also#

DMMOAB, MoabWriteMode, DMMoabCreate()

Level#

intermediate

Location#

include/petscdmmoab.h


Index of all DMMOAB routines
Table of Contents for all manual pages
Index of all manual pages