HerculesBox overhaul
Several improvements are needed for HerculesBox:
- Support products
-
If the user wants to create the box from existing memory (a slice, Vec, etc.), ensure it is properly aligned (or copy into aligned memory)(!190 (merged))hercules_rtnow enforces a global allocator that aligns allocations as needed - Allow users to use
HerculesBoxlike aBoxand in provides ways to allocate memory usingHerculesBoxand then modify the values it holds with the benefit being that it avoids potentially copying to correct alignment that can result from allocating using a Vec and then creating the box. This will replace theAlignedSlicecurrently used in cfd.
Edited by rarbore2