-
Notifications
You must be signed in to change notification settings - Fork 105
Open
Description
Originally we used Elixirs for temporary FABs.
Then we switched to doing a resize, like:
FArrayBox tmp;
...
// inside the MFIter loop
tmp.resize(bx, 1, The_Async_Arena());
Now AMReX can do something like:
auto tmp_fab = amrex::FArrayBox{bx, ncomps, amrex::The_Async_Arena()};
This is the new stream-ordered allocator.
We can should look into updating the code with time.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels