Magfield Elements. Try to rm some duplicate functionality
Magfield Elements. Try to rm some duplicate functionality.
-
We have
BFieldCache::getB
from the cache which is the one we mainly call. -
We have another
BFieldMeh::getB
. That is mainly used to construct the fast simplified ZR field for the solenoidZone. -
As far as I can see there is only one use for the later
In principle one can be written based on the other. But since there are math involved we will have floating point differences.
ping also @schaffer (I might mis-remember but this is something we might had discussed 4 years back but was low priority then)
Edited by Christos Anastopoulos