BoltzmannCollisionIntegral.jl
is a Julia package for the evaluation of the relativistic Boltzmann collision integral for binary interactions
via momentum discretisation and Monte-Carlo sampling. The distribution functions
Evaluation is performed by assuming that the distribution function is constant over some set of discrete domains in phase space and then integrating over those domains using a Monte-Carlo method. For more information see the Documentation.
Evaluation currently supports both single and multithreaded operation (with multi-CPU acceleration planned). Data is exported in the JLD2 file format.
Since v2.0.0 the evaluation of synchrotron emissions from charged particles orbiting a uniform magnetic field directed along the symmetry axis is also supported. This is achieved via the integration of the following:
BoltzmannCollisionIntegral.jl
is available to download from the Julia package
manager. Inside a Julia session, enter the package manager with ]
, then run the command
pkg> add BoltzmannCollisionIntegral
finally load the package by running
using BoltzmannCollisionIntegral
To perform an evaluation of the emission and absorption spectra, an example script Run_Integration.jl
for selecting the binary interaction, discrete phase space bounds and integration conditions is located under the src/Common/
folder of the package. It is recommended to copy this script and place it in your working folder and edit the fields as required. Then simply run
include("Run_Integration.jl")
To perform an evaluation of the synchrotron emission spectra, an example script Run_Integration_Sync.jl
for selecting the emitting particle, discrete phase space bounds and integration conditions is located under the src/Synchrotron/Common/
folder of the package. It is recommended to copy this script and place it in your working folder and edit the fields as required. Then simply run
include("Run_Integration_Sync.jl")
See Getting Started for in depth detail.