Skip to content

Leaner code & active max h collection

Matthieu Schaller requested to merge leaner_code into master

A series of updates:

  • Free foreign particles and the mesh before i/o operations.
  • Free foreign particles before exchanging the proxy cells.
  • Hide the unnecessary fields into anonymous unions inside the cell sub-structures to save memory.
  • Collect the max active h of each cell.

The first three updates are currently in use in the Sibelius-dark run. The last change is not used yet for performance improvement but will be used in a future push that focuses solely on using the quantity to speed-up loops. At the risk of confusing things, I added it here already as I was making substantial changes to the cell structure organisation.

Edited by Matthieu Schaller

Merge request reports