Problem it solves
The Ib instantiation has gotten clunky as we have focused on supporting exascale. All of the compute of centroid locations, rank boundaries, and placement are all done on the CPU. It makes sense for this work to be performed in pre_process. There are several benefits to doing so, making things cleaner, more reusable, and naturally generating files that have to be manually called in simulation.
Proposed solution
- Move the particle cloud, and all of the IB instantiation code to pre_process.
- Have pre_process dump out particle centroid files, equal to ib_state_0.dat, which are read in by simulation
- Reduce the complexity of this check in simulation start-up
Problem it solves
The Ib instantiation has gotten clunky as we have focused on supporting exascale. All of the compute of centroid locations, rank boundaries, and placement are all done on the CPU. It makes sense for this work to be performed in pre_process. There are several benefits to doing so, making things cleaner, more reusable, and naturally generating files that have to be manually called in simulation.
Proposed solution