EPIC-model / epic

Elliptical Parcel-in-Cell model for fluid dynamics
https://epic-model.github.io
BSD 3-Clause "New" or "Revised" License
8 stars 1 forks source link

Add optimised rejection method #563

Closed matt-frey closed 5 months ago

matt-frey commented 5 months ago

This PR adds an optimised rejection method for reading a parcel dataset. If the dataset contains the MPI decomposition boxes and start indices, they will be used to selectively read parcels, i.e. not all MPI ranks read all parcels. This increases the performance for restarts from parcel files using different number of MPI ranks as the written restart file.

matt-frey commented 5 months ago

Do you mean compile warnings? No, I did not get any warnings. It compiles fine in debug mode.