OPAL (Object Oriented Parallel Accelerator Library)  2021.1.99
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 "RK4.h"
22 #include "LF2.h"
23 
24 namespace stepper {
25 
26  enum INTEGRATOR {
27  UNDEFINED = -1,
28  RK4 = 0,
29  LF2 = 1,
30  MTS = 2
31  };
32 };
33 
34 #endif
INTEGRATOR
Definition: Steppers.h:26
@ UNDEFINED
Definition: Steppers.h:27
@ MTS
Definition: Steppers.h:30
Leap-Frog 2nd order.
Definition: LF2.h:26
4-th order Runnge-Kutta stepper
Definition: RK4.h:26