Hi all,
I am trying to put in complicated magnetic field in my simulation volume. The field is non-uniform and with no easy analytical formula. Currently I am following the implementation of Tabulated Field in advanced/nanobeam example, which reads field values at a given locations from a file. However this becomes a problem as I try to increase the resolution of the grid. Currently the field file I use is close to 700 MB, which eats a lot of the memory when the program runs. I wish to ask, is there a better way to implement this kind of field in Geant4 ?
Thank you in advance
Chingam Fong
Geant4 Version: v11.2.2
Operating System: linux ubuntu 24.04
Compiler/Version:
CMake Version: