Skip to content

Commit 61ea202

Browse files
committed
remove Ros2 (Verwer 1999)
1 parent 7afaee9 commit 61ea202

3 files changed

Lines changed: 1 addition & 47 deletions

File tree

integration/Rosenbrock/_parameters

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ X_reject_buffer real 1.0
88
# 0 = Rodas5P 8-stage method from DifferentialEquations.jl
99
# 1 = Rodas4P 6-stage method from DifferentialEquations.jl
1010
# 2 = Rodas3P 5-stage method from DifferentialEquations.jl
11-
# 3 = Hamkar et al. (2012) 3-stage ROS2S tableau
12-
# 4 = Verwer et al. (1999) 2-stage ROS2 tableau
11+
# 3 = ROS2S 3-stage method from Hamkar et al. (2012)
1312
rosenbrock_tableau int 0
1413

1514
# H211b timestep controller parameters
@@ -18,4 +17,3 @@ h211b_k real 2.5
1817
h211b_fac_min real 0.2
1918
h211b_fac_max real 6.0
2019
h211b_reduction_fac real 0.5
21-

integration/Rosenbrock/rosenbrock_integrator.H

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -597,9 +597,6 @@ int rosenbrock_integrator (BurnT& state, rosenbrock_t<integrator_neqs<BurnT>()>&
597597
if (integrator_rp::rosenbrock_tableau == 3) {
598598
return rosenbrock_integrator<BurnT, rosenbrock::ros2s_tableau>(state, rstate);
599599
}
600-
if (integrator_rp::rosenbrock_tableau == 4) {
601-
return rosenbrock_integrator<BurnT, rosenbrock::ros2_tableau>(state, rstate);
602-
}
603600

604601
return rosenbrock_integrator<BurnT, rosenbrock::rodas5p_tableau>(state, rstate);
605602
}

integration/Rosenbrock/rosenbrock_tableau.H

Lines changed: 0 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -66,47 +66,6 @@ struct ros2s_tableau {
6666
}
6767
};
6868

69-
struct ros2_tableau {
70-
static constexpr int stages = 2;
71-
static constexpr amrex::Real gamma = 1.7071067811865475_rt;
72-
73-
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE
74-
static constexpr amrex::Real ct (const int i) {
75-
(void) i;
76-
return 1.0_rt;
77-
}
78-
79-
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE
80-
static constexpr amrex::Real a (const int i, const int j) {
81-
if (i == 2 && j == 1) {
82-
return 0.585786437626905_rt;
83-
}
84-
return 0.0_rt;
85-
}
86-
87-
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE
88-
static constexpr amrex::Real c (const int i, const int j) {
89-
if (i == 2 && j == 1) {
90-
return -1.1715728752538102_rt;
91-
}
92-
return 0.0_rt;
93-
}
94-
95-
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE
96-
static constexpr amrex::Real b (const int i) {
97-
if (i == 1) {
98-
return 0.8786796564403575_rt;
99-
}
100-
return 0.2928932188134525_rt;
101-
}
102-
103-
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE
104-
static constexpr amrex::Real e (const int i) {
105-
(void) i;
106-
return 0.2928932188134525_rt;
107-
}
108-
};
109-
11069
struct rodas3p_tableau {
11170
static constexpr int stages = 5;
11271
static constexpr amrex::Real gamma = 1.0_rt / 3.0_rt;

0 commit comments

Comments
 (0)