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_rt
now enforces a global allocator that aligns allocations as needed - Allow users to use
HerculesBox
like aBox
and in provides ways to allocate memory usingHerculesBox
and 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 theAlignedSlice
currently used in cfd.