Skip to content

Commit 2470497

Browse files
committed
refactor: update remaining integrators to use diffeq::core namespace
1 parent b16b823 commit 2470497

File tree

6 files changed

+12
-12
lines changed

6 files changed

+12
-12
lines changed

include/integrators/ode/bdf.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ constexpr double MAX_FACTOR = 10.0;
3232
* Stiff: Excellent
3333
*/
3434
template<typename S>
35-
class BDFIntegrator : public AdaptiveIntegrator<S> {
35+
class BDFIntegrator : public core::AdaptiveIntegrator<S> {
3636
public:
37-
using base_type = AdaptiveIntegrator<S>;
37+
using base_type = core::AdaptiveIntegrator<S>;
3838
using state_type = typename base_type::state_type;
3939
using time_type = typename base_type::time_type;
4040
using value_type = typename base_type::value_type;

include/integrators/ode/dop853.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,11 @@ class DOP853DenseOutputHelper {
4848
* Reference: Hairer, Norsett, Wanner, "Solving Ordinary Differential Equations I"
4949
*/
5050
template<system_state S>
51-
class DOP853Integrator : public AdaptiveIntegrator<S> {
51+
class DOP853Integrator : public core::AdaptiveIntegrator<S> {
5252

5353

5454
public:
55-
using base_type = AdaptiveIntegrator<S>;
55+
using base_type = core::AdaptiveIntegrator<S>;
5656
using state_type = typename base_type::state_type;
5757
using time_type = typename base_type::time_type;
5858
using value_type = typename base_type::value_type;

include/integrators/ode/lsoda.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ namespace diffeq {
1717
* based on stiffness detection. This is a simplified version inspired by the original LSODA algorithm.
1818
*/
1919
template<system_state S>
20-
class LSODAIntegrator : public AdaptiveIntegrator<S> {
20+
class LSODAIntegrator : public core::AdaptiveIntegrator<S> {
2121
public:
22-
using base_type = AdaptiveIntegrator<S>;
22+
using base_type = core::AdaptiveIntegrator<S>;
2323
using state_type = typename base_type::state_type;
2424
using time_type = typename base_type::time_type;
2525
using value_type = typename base_type::value_type;

include/integrators/ode/rk23.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ namespace diffeq {
1818
* Adaptive: Yes
1919
*/
2020
template<system_state S>
21-
class RK23Integrator : public AdaptiveIntegrator<S> {
21+
class RK23Integrator : public core::AdaptiveIntegrator<S> {
2222
public:
23-
using base_type = AdaptiveIntegrator<S>;
23+
using base_type = core::AdaptiveIntegrator<S>;
2424
using state_type = typename base_type::state_type;
2525
using time_type = typename base_type::time_type;
2626
using value_type = typename base_type::value_type;

include/integrators/ode/rk45.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ namespace diffeq {
1717
* Usage: General-purpose adaptive ODE integration
1818
*/
1919
template<system_state S>
20-
class RK45Integrator : public AdaptiveIntegrator<S> {
20+
class RK45Integrator : public core::AdaptiveIntegrator<S> {
2121
public:
22-
using base_type = AdaptiveIntegrator<S>;
22+
using base_type = core::AdaptiveIntegrator<S>;
2323
using state_type = typename base_type::state_type;
2424
using time_type = typename base_type::time_type;
2525
using value_type = typename base_type::value_type;

include/integrators/ode/simple_bdf1.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ namespace diffeq {
1717
* BDF1 equation: y_{n+1} = y_n + h * f(t_{n+1}, y_{n+1})
1818
*/
1919
template<typename S>
20-
class SimpleBDF1Integrator : public AdaptiveIntegrator<S> {
20+
class SimpleBDF1Integrator : public core::AdaptiveIntegrator<S> {
2121
public:
22-
using base_type = AdaptiveIntegrator<S>;
22+
using base_type = core::AdaptiveIntegrator<S>;
2323
using state_type = typename base_type::state_type;
2424
using time_type = typename base_type::time_type;
2525
using value_type = typename base_type::value_type;

0 commit comments

Comments
 (0)