LLNL / conduit

Simplified Data Exchange for HPC Simulations
https://software.llnl.gov/conduit/
Other
213 stars 65 forks source link

update mesh utils iterator to support shape_map style mixed element meshes #1301

Open cyrush opened 4 months ago

cyrush commented 4 months ago

Old stream id concept is now deprecated, so update the ele iterator to support shape maps style meshes:

https://github.com/LLNL/conduit/blob/c990a81953f222b90da30a390a7380849a625ad1/src/libs/blueprint/conduit_blueprint_mesh_utils_iterate_elements.hpp#L220

Note: this code underpins the partitioning

mlohry commented 6 days ago

I just found myself looking for this feature. I have mixed element meshes of hex/tet/pyramid/wedge, and partitioning this does appear to work, where it does work for a plain all-tet mesh.