Magnetic fields in AvalancheMC and AvalancheMicroscopic
- Add a function
HasMagneticField
toComponent
classes andSensor
. - Always retrieve the magnetic field in
AvalancheMC
(the extra overhead from the call toMagneticField
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).