OPAL (Object Oriented Parallel Accelerator Library) 2022.1
OPAL
Steppers.h
Go to the documentation of this file.
1//
2// File Steppers
3// Integrator enum.
4//
5// Copyright (c) 2017, Matthias Frey, Paul Scherrer Institut, Villigen PSI, Switzerland
6// All rights reserved
7//
8// This file is part of OPAL.
9//
10// OPAL is free software: you can redistribute it and/or modify
11// it under the terms of the GNU General Public License as published by
12// the Free Software Foundation, either version 3 of the License, or
13// (at your option) any later version.
14//
15// You should have received a copy of the GNU General Public License
16// along with OPAL. If not, see <https://www.gnu.org/licenses/>.
17//
18#ifndef STEPPERS_H
19#define STEPPERS_H
20
21#include "Steppers/RK4.h"
22#include "Steppers/LF2.h"
23
24namespace Steppers {
25 enum TimeIntegrator: short {
27 RK4 = 0,
28 LF2 = 1,
29 MTS = 2
30 };
31};
32
33#endif
TimeIntegrator
Definition: Steppers.h:25
@ UNDEFINED
Definition: Steppers.h:26
Leap-Frog 2nd order.
Definition: LF2.h:26
4-th order Runnge-Kutta stepper
Definition: RK4.h:27