A newly developed code, implemented as a part of the MBN Explorer package (Solov'yov et al., 2012; http://www.mbnexplorer.com/, 2012)  and  to simulate trajectories of an ultra-relativistic projectile in a crystalline medium, is presented. The motion of a projectile is treated classically by integrating the relativistic equations of motion with account for the interaction between the projectile and crystal atoms. The probabilistic element is introduced by a random choice of transverse coordinates and velocities of the projectile at the crystal entrance as well as by accounting for the random positions of the atoms due to thermal vibrations. The simulated trajectories are used for numerical analysis of the emitted radiation. Initial approbation and verification of the code have been carried out by simulating the trajectories and calculating the radiation emitted by epsilon=6.7 GeV and epsilon=855 MeV electrons and positrons in oriented Si(110) crystal and in amorphous silicon.
Journal of Computational Physics, 2013, Vol 252, Issue 1, p. 404-418