Skip to content

Magnetic fields in AvalancheMC and AvalancheMicroscopic

Heinrich Schindler requested to merge bfield into master
  • Add a function HasMagneticField to Component classes and Sensor.
  • Always retrieve the magnetic field in AvalancheMC (the extra overhead from the call to MagneticField is negligible if there is no magnetic field map set).
  • Change the default behaviour of AvalancheMicroscopic such that it uses the B-field stepping algorithm whenever the sensor has a non-zero magnetic field (no need for the user to switch on B-field stepping explicitly).

Merge request reports