[MOAB-dev] write Range to file

kanaev at ibrae.ac.ru kanaev at ibrae.ac.ru
Mon May 19 13:36:28 CDT 2014


  Hello MOAB-dev,    I'm trying to write a file containing only quads:
        Core *mb = new Core();     Range adjs;   
     ErrorCode result = MB_SUCCESS;   
     result = mb->load_mesh(argv[1]);     PRINT_LAST_ERROR;         
result = mb->get_entities_by_dimension(0, 2, adjs, Interface::UNION); 
   PRINT_LAST_ERROR;          adjs.print();   
    result = mb->write_file("quads.h5m",0,0,adjs,0,0);           
After i compile this and run with any file i got a following message: 
  Writer with name MOAB for file quads.h5m using extension h5m was
unsuccessful   Using default writer WriteHDF5Parallel for file
quads.h5m       and there's no file quads.h5m written   What is the
right way of doing that?       Thanks   Anton      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/moab-dev/attachments/20140519/93d2556e/attachment.html>


More information about the moab-dev mailing list