Skip to main content


Don’t have an account yet? Register one!

Registration or login is required to send inquiries

Only registered users can send inquiries. Please register or login to continue.


L2G is a parallel simulation code which has been developed to do field line tracing calculations for power deposition mapping on plasma-facing components in magnetically confined fusion devices.


Do you want to request support from EXCELLERAT staff or consulting on this Application software?

About the software

L2G was developed with a specific goal: detailed assessments of plasma power loading on complex, actively or passively cooled walls of magnetically confined fusion devices. It contains Additional tools for analyzing magnetic equilibrium data. Magnetic equilibrium data is automatically analysed to determine the type of the scenario, whether it is diverted or limited. L2G is adaptable to any custom scrape of layer (SOL) profile. L2G is an OpenMP-parallel program that can utilize most HPC hardware.

Application details

L2G contains a field line tracing minimalistic kernel written in C/C++ which integrates finite ray tracing technologies such as Intel’s Embree open source ray-tracing library used by many rendering tools. The kernel is exposed via Cython to Python and provides an extendable workflow and application programming interface (API) for conducting FLT, easing the automation of analysis tasks for hundreds of cases. Parallelization is achieved via Cython, using OpenMP for faster and more efficient runs. It can use a time-series of input magnetic equilibrium data for a single case. Users can define multiple meshes for different roles, i.e., when studying different shadowing configurations on target geometry. A readily extendible and flexible API is provided for cases where field lines are traced from arbitrary points inside the tokamak.

Code license

No information. 

Programming language

Python, C/C++


Private. Available per request.