This repository contains the main source code of the algorithm documented in the paper "A New Parareal Algorithm for Problems with Discontinuous Sources", see https://arxiv.org/abs/1803.05503.
- GetDP - Finite element solver (version <3.0.0)
- Octave - Interpreter
- Parallel - Parallel execution package for Octave
The scripts can be executed in Matlab or Octave. However, Octave with an installed parallel execution package is recommended to obtain acceleration due to parallelization. In Octave, the parallel package can be automatically installed by
pkg install -forge struct and
pkg install -forge parallel. The execution of the numerical example ("im_3kW") requires the installation of the finite element package GetDP, e.g. in
Execute in Matlab/Octave the m-script
- I. Kulchytska-Ruchka, S. Schöps, Technische Universitaet Darmstadt
- I. Niyonzima, Université Grenoble Alpes
- M. J. Gander, Université de Genève
This project is licensed under the terms of the GNU General Public License (GPL) (version 2 or later).
- the authors like to thank J. Corno for several code beautifications
- the software GetDP was mainly written by P. Dular and C. Geuzaine, University of Liege
- the model im_3kW is modified but originally part of the GetDP distribution. The authors are J. Gyselinck and R.V. Sabariego
A Python implementation of Parareal using GetDP to integrate initial value problems can be found in the folder
python_poc. It is under active development. At the moment of writing, it does not solve the same electric machine problem but a simplified thermal problem.