LLNL / axom

CS infrastructure components for HPC applications
BSD 3-Clause "New" or "Revised" License
158 stars 27 forks source link

Sidre dest memory space when importing from Conduit #1460

Closed gunney1 closed 2 weeks ago

gunney1 commented 3 weeks ago

Summary

Without this change, it is still possible to re-allocate data after the import, but that would require walking a Group hierarchy to look for View's with data and re-allocating them individually. The new behavior is consistent with the behavior when deep-copying from a Sidre source.

Motivation

This change was needed in the work to support Blueprint meshes in shaping, https://github.com/LLNL/axom/issues/1452. I wanted to separate it to keep that PR as clean as possible.