Modeling the transport of energetic particles in the magnetosphere with Salammbô