A resistive magnetohydrodynamics solver using modern C++ and the Boost library

Published: 1 September 2016| Version 1 | DOI: 10.17632/kzc4pfddwb.1
Lukas Einkemmer


Abstract In this paper we describe the implementation of our C++ resistive magnetohydrodynamics solver. The framework developed facilitates the separation of the code implementing the specific numerical method and the physical model from the handling of boundary conditions and the management of the computational domain. In particular, this will allow us to use finite difference stencils which are only defined in the interior of the domain (the boundary conditions are handled automatically). We will di... Title of program: cppmhd Catalogue Id: AFAH_v1_0 Nature of problem An approximate solution to the equations of resistive magnetohydrodynamics for a given initial value and given boundary conditions is computed. Versions of this program held in the CPC repository in Mendeley Data AFAH_v1_0; cppmhd; 10.1016/j.cpc.2016.04.015 This program has been imported from the CPC Program Library held at Queen's University Belfast (1969-2018)



Computational Physics, Plasma Physics, Computational Method