enrico-dev / enrico

ENRICO: Exascale Nuclear Reactor Investigative COde
https://enrico-docs.readthedocs.io
BSD 3-Clause "New" or "Revised" License
62 stars 25 forks source link

Remove gather functions from HeatFluidsDriver #158

Closed RonRahaman closed 2 years ago

RonRahaman commented 2 years ago

This PR removes the global gather functions from HeatFluidsDrivers. These functions are not used in ENRICO's current coupling scheme.

In ENRICO's earliest coupling scheme, the heat/fluids driver's local fields were gathered into global fields on one neutronics rank. This was feasible for small models, but it's totally infeasible for running large-scale problems. The current coupling scheme never gathers global fields from the heat/fluid driver, and I strongly believe that no future implementation should consider it a viable option.

The changes to HeatFluidsDriver are:

The changes to Nek5000Driver, NekRSDriver, and SurrogateHeatDriver are:

The changes to Comm are: