LLNL / conduit

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

topology combiner helper #1287

Open cyrush opened 3 months ago

cyrush commented 3 months ago

While debugging an issue, I built manually built up several independent topologies and at the end of the process I was yearning for a function to combines them into single mixed-element topology.

This function would take a node with a blueprint mesh and a list of the names of the topology to combine.

JustinPrivitera commented 3 months ago

This function would take a node with a blueprint mesh and a list of the names of the topology to combine.

Does this prospective function care about duplicating coordinates?

BradWhitlock commented 3 months ago

I'd try wrapping each topology as a domain and then passing the multi-domain Conduit node to the partition() function with "target: 1". That might do most of what you want. I don't recall whether it will duplicate coords or not though.