[MOAB-dev] HDF5 export of structured mesh
hongjun at mcs.anl.gov
hongjun at mcs.anl.gov
Tue Jul 13 14:46:08 CDT 2010
Hi,
I'd like to ask a question about HDF5 export of structured mesh.
Currently, "WriteHDF5" uses "WriteUtil::get_element_connect" function to write element connectivities.
However, the function is implemented just for unstructured mesh which copies connectivity buffer from element sequence.
So, I am trying to add to it a code copying connectivities element by element for structured mesh case.
Is it the right way to solve the problem?
Otherwise, I think I can make a buffer inside "StructuredElementSeq" and "StructuredElementSeq::get_connectivity_array()" function returns array pointer. It can be more modular but copies connectivities once more for HDF5 exporting in "WriteUtil::get_element_connect" function.
Could anyone tell me which one is better or other advice for me?
Thanks.
-----------------------------
Hong-Jun Kim
Post-doc researcher
9700 S. Cass Ave. B240/R2147
Argonne, IL 60439
630-252-4791
hongjun at mcs.anl.gov
-----------------------------
More information about the moab-dev
mailing list