The KiT-RT (Kinetic Transport Solver for Radiation Therapy) framework is a high-performance open source platform for radiation transport. Its main focus is on radiotherapy planning in cancer treatment. To enable problem-specific method selection, the framework provides different deterministic solver types. This not only facilitates treatment planning, but also provides tools to investigate various research questions in the field of radiative transfer. This goal is supported by an easily extendable code structure that allows for straightforward implementation of additional methods and techniques.
The documentation can be found here.
A short description of kinetic theory can be found here.
- Compiler with C++17 support
- cmake >= v3.16
- LAPACK
- OpenMP
- MPI
- python3
- VTK
- git
- pydicom
- numpy
- pygmsh version 6.1.1
pip install pygmsh==6.1.1(note that newer versions are not yet supported)
Note that an active internet connection is required for the first build in order to download the suitable versions of the required submodules! For the first build only, download all submodules:
git submodule update --init --recursiveIn case of the make build system (available on most systems) run:
mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=Release ../
make -jExecute the compiled binary by handing over a valid config file, e.g.:
./KiT-RT ../examples/linesource_SN.cfgIn order to run the code in parallel execute:
OMP_NUM_THREADS=N mpirun -np J ./KiT-RT ../examples/linesource_SN.cfgwith N equal to the number of shared memory threads and J equal to the number of distrubuted memory threads.
After compiling the framework with:
cmake -DCMAKE_BUILD_TYPE=Debug -DBUILD_TESTING=ON ../
make -jUnit test can be run with:
make testA preconfigured docker container can also be used to run the code. By running
docker run --rm -ti -v $(pwd):/home kitrt/test:latestfrom the current folder will be mounted to the docker container and the code can be executed without any of the required dependencies.