gemc / source

gemc website:
gemc.jlab.org
14 stars 71 forks source link

reduce field map mem use by changing double to float #230

Closed zhaozhiwen closed 7 months ago

zhaozhiwen commented 7 months ago

magnetic field maps usually don't need precision of double type The mem due to large field map can be reduced by almost 40%-60% after changing from double to float The change is needed for fields/symmetries/*.cc, fields/mappedField.h refer to https://github.com/JeffersonLab/solid_gemc/tree/master/mod/gemc/2.9/fields

maureeungaro commented 7 months ago

This was addressed.