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