Skip to content

Fix race condition caused by a mutable state in StateDetailedBetheBlochEnergyCorrectionTool

Christoph Hasse requested to merge FixRaceCondBetheBloch into future

This MR removes the mutable internal state of the StateDetailedBetheBlochEnergyCorrectionTool.
To still have a cache of the already used materials it's necessary to create a MaterialCache and pass it.
Unfortunately, this required a change of the interface in IStateCorrectionTool

Merge request reports

Loading