LLNL / conduit

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

Changed partition_map_back() so it tries to reuse node memory. #1261

Closed BradWhitlock closed 4 months ago

BradWhitlock commented 4 months ago

This change makes partition_map_back() attempt to reuse the original field memory that it's mapping values back into rather than resetting the node. If the field is not allocated or won't fit then allocation does take place. This change makes it work better with source meshes whose fields were provided using set_external(), as in host codes.