Skip to content

MagneticFieldGrid::fieldVector - Small optimisation.

Christopher Rob Jones requested to merge MagneticFieldGrid-OptFieldVector into master

Reduces the number of operations (multiply) in MagneticFieldGrid::fieldVector, gaining O(10-20%).

As floating point operations are not the same, causes minor machine-precision level diffs.

Edited by Marco Cattaneo

Merge request reports

Loading