
Overview
A C++ library for the numerical simulation of kinetic equations, designed for plasma physics and built on structure- and asymptotic-preserving methods whose stability and convergence are established mathematically.
Developed at the Institut de Mathématiques de Toulouse. A distinctive feature of HOPE is the simulation of the Vlasov–Poisson system with a strong external magnetic field in a three-dimensional toroidal geometry with an arbitrary poloidal cross-section, a configuration close to that of tokamaks.
Codes

1D-DG-VP Public
Discontinuous Galerkin / Hermite spectral method for the 1D Vlasov–Poisson system (two-stream instability).

2D-FD-GC Public
Eulerian solver with HWENO reconstructions for the guiding-center model (Kelvin–Helmholtz instability).

2D-PIC Public
Asymptotic-preserving particle-in-cell method with a strong magnetic field (diocotron instability).

3D-PIC Full version
Particle-in-cell simulation in a torus with a D-shaped cross-section, close to a tokamak.
Features
- Models: Vlasov–Poisson system in two and three dimensions, including strong external magnetic fields; guiding-center and drift-kinetic models; BGK relaxation models.
- Particle-in-cell methods in two and three dimensions, with asymptotic-preserving time integrators that remain accurate in the strong magnetic field (guiding-center) limit, and high-order charge deposition.
- Eulerian solvers: finite difference and semi-Lagrangian schemes with high-order WENO and Hermite WENO (HWENO) reconstructions.
- Spectral methods: Hermite spectral discretization in velocity, currently for problems in one space dimension.
- Complex geometries on Cartesian meshes: embedded boundaries treated with ghost points and inverse Lax–Wendroff procedures; disks, D-shaped domains and three-dimensional tori with an arbitrary poloidal cross-section.
- Field solvers: Poisson equation (Dirichlet, periodic and nonlinear cases) in two and three dimensions, including toroidal domains, with algebraic multigrid (AGMG) and PETSc linear solvers.
- Under development: coupling with Maxwell's equations and with collision operators, extension of the spectral solvers to higher dimensions.
Simulations
Three-dimensional toroidal geometry with 3D-PIC
Strongly magnetized plasma in a torus with a D-shaped cross-section, in the Cerfon–Freidberg equilibrium.


Particle-in-cell simulations in a torus
Watch the video — F. Filbet, L. M. Rodrigues, K.-H. Trinh.
Hermite spectral simulations in an interval
Watch the video — A. Blaustein, M. Bessemoulin-Chatard, F. Filbet.
Publications
- A modified Crank–Nicolson scheme for the Vlasov–Poisson system with a strong external magnetic field
- A structure and asymptotic preserving scheme for the Vlasov–Poisson–Fokker–Planck model
- Asymptotically preserving particle methods for strongly magnetized plasmas in a torus
- On the convergence of discontinuous Galerkin/Hermite spectral methods for the Vlasov–Poisson system
- On the stability of conservative discontinuous Galerkin/Hermite spectral methods for the Vlasov–Poisson system
- Convergence analysis of asymptotic preserving schemes for strongly magnetized plasmas
- Asymptotically preserving particle-in-cell methods for inhomogeneous strongly magnetized plasmas
- Asymptotically stable particle-in-cell methods for the Vlasov–Poisson system with a strong external magnetic field
- Conservative and non-conservative methods based on Hermite weighted essentially non-oscillatory reconstruction for Vlasov equations
- Inverse Lax–Wendroff method for boundary conditions of Boltzmann type models
Download
A simplified public version of HOPE contains the three codes marked
Public above, each with its
input files in a runs subfolder. Test cases: Landau damping,
two-stream and bump-on-tail instabilities (1D-DG-VP); Kelvin–Helmholtz and
diocotron instabilities in a square domain (2D-FD-GC, 2D-PIC).
The codes are written in C++ and require MPI, the sparse direct solver MUMPS, FFTW3, BLAS/LAPACK and OpenMP. The documentation describes the models, the numerical methods, the input and output files and the test cases.
Team
- Main developer
- F. Filbet (Institut de Mathématiques de Toulouse)
- Contributors
- C. Yang, N. Crouseilles, M. Mehrenberger, K.-H. Trinh (three-dimensional toroidal geometry)
- Collaborations
- L. M. Rodrigues, M. Bessemoulin-Chatard, A. Blaustein, H. Zakerzadeh
Availability
HOPE is hosted on PLMlab, the GitLab platform of the French mathematical community. The full version, including the three-dimensional particle-in-cell code in a torus, is shared with collaborators; a simplified public version can be downloaded above. For access to the full version or for collaboration, please get in touch.
Support: ERC Starting Grant NuSiKiMo (2010–2015), the EUROfusion Consortium (Euratom research and training programme, grant agreement No 633053; projects VeriGyro and MAGYK) and the ANR projects Muffin and COOKIE.





