gemc / source

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

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

Closed zhaozhiwen closed 9 months ago

zhaozhiwen commented 9 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 9 months ago

This was addressed.