Skip to content

Commit 79088be

Browse files
authored
1470 Update license header to include 2026
Co-authored by: charlie0614 <[email protected]>
1 parent 4918625 commit 79088be

626 files changed

Lines changed: 839 additions & 829 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

cpp/benchmarks/abm.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (C) 2020-2025 MEmilio
2+
* Copyright (C) 2020-2026 MEmilio
33
*
44
* Authors: Daniel Abele
55
*

cpp/benchmarks/flow_simulation_ode_secirvvs.cpp

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (C) 2020-2025 MEmilio
2+
* Copyright (C) 2020-2026 MEmilio
33
*
44
* Authors: Rene Schmieding, Daniel Abele, Martin J. Kuehn
55
*
@@ -42,9 +42,9 @@ void flowless_sim(::benchmark::State& state)
4242
// create simulation
4343
// exclude integrator creation from benchmark
4444
state.PauseTiming();
45-
std::unique_ptr<mio::OdeIntegratorCore<ScalarType>> I =
46-
std::make_unique<mio::ControlledStepperWrapper<ScalarType, boost::numeric::odeint::runge_kutta_cash_karp54>>(
47-
cfg.abs_tol, cfg.rel_tol, cfg.dt_min, cfg.dt_max);
45+
std::unique_ptr<mio::OdeIntegratorCore<ScalarType>> I = std::make_unique<
46+
mio::ControlledStepperWrapper<ScalarType, boost::numeric::odeint::runge_kutta_cash_karp54>>(
47+
cfg.abs_tol, cfg.rel_tol, cfg.dt_min, cfg.dt_max);
4848
state.ResumeTiming();
4949
// This code gets timed
5050
mio::benchmark::Simulation<mio::Simulation<ScalarType, Model>> sim(model, cfg.t0, cfg.dt);
@@ -69,9 +69,9 @@ void flow_sim_comp_only(::benchmark::State& state)
6969
for (auto _ : state) {
7070
// create simulation
7171
state.PauseTiming();
72-
std::unique_ptr<mio::OdeIntegratorCore<ScalarType>> I =
73-
std::make_unique<mio::ControlledStepperWrapper<ScalarType, boost::numeric::odeint::runge_kutta_cash_karp54>>(
74-
cfg.abs_tol, cfg.rel_tol, cfg.dt_min, cfg.dt_max);
72+
std::unique_ptr<mio::OdeIntegratorCore<ScalarType>> I = std::make_unique<
73+
mio::ControlledStepperWrapper<ScalarType, boost::numeric::odeint::runge_kutta_cash_karp54>>(
74+
cfg.abs_tol, cfg.rel_tol, cfg.dt_min, cfg.dt_max);
7575
state.ResumeTiming();
7676
// This code gets timed
7777
mio::osecirvvs::Simulation<ScalarType, mio::Simulation<ScalarType, Model>> sim(model, cfg.t0, cfg.dt);
@@ -96,9 +96,9 @@ void flow_sim(::benchmark::State& state)
9696
for (auto _ : state) {
9797
// create simulation
9898
state.PauseTiming();
99-
std::unique_ptr<mio::OdeIntegratorCore<ScalarType>> I =
100-
std::make_unique<mio::ControlledStepperWrapper<ScalarType, boost::numeric::odeint::runge_kutta_cash_karp54>>(
101-
cfg.abs_tol, cfg.rel_tol, cfg.dt_min, cfg.dt_max);
99+
std::unique_ptr<mio::OdeIntegratorCore<ScalarType>> I = std::make_unique<
100+
mio::ControlledStepperWrapper<ScalarType, boost::numeric::odeint::runge_kutta_cash_karp54>>(
101+
cfg.abs_tol, cfg.rel_tol, cfg.dt_min, cfg.dt_max);
102102
state.ResumeTiming();
103103
// This code gets timed
104104
mio::osecirvvs::Simulation<ScalarType, mio::FlowSimulation<ScalarType, Model>> sim(model, cfg.t0, cfg.dt);

cpp/benchmarks/flow_simulation_ode_secirvvs.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (C) 2020-2025 MEmilio
2+
* Copyright (C) 2020-2026 MEmilio
33
*
44
* Authors: Rene Schmieding, Daniel Abele, Martin J. Kuehn
55
*

cpp/benchmarks/flow_simulation_ode_seir.cpp

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (C) 2020-2025 MEmilio
2+
* Copyright (C) 2020-2026 MEmilio
33
*
44
* Authors: Rene Schmieding, Daniel Abele, Martin J. Kuehn
55
*
@@ -132,9 +132,9 @@ void flowless_sim(::benchmark::State& state)
132132
// create simulation
133133
// exclude integrator creation from benchmark
134134
state.PauseTiming();
135-
std::unique_ptr<mio::OdeIntegratorCore<ScalarType>> I =
136-
std::make_unique<mio::ControlledStepperWrapper<ScalarType, boost::numeric::odeint::runge_kutta_cash_karp54>>(
137-
cfg.abs_tol, cfg.rel_tol, cfg.dt_min, cfg.dt_max);
135+
std::unique_ptr<mio::OdeIntegratorCore<ScalarType>> I = std::make_unique<
136+
mio::ControlledStepperWrapper<ScalarType, boost::numeric::odeint::runge_kutta_cash_karp54>>(
137+
cfg.abs_tol, cfg.rel_tol, cfg.dt_min, cfg.dt_max);
138138
state.ResumeTiming();
139139
// This code gets timed
140140
results = mio::simulate(cfg.t0, cfg.t_max, cfg.dt, model, std::move(I));
@@ -157,9 +157,9 @@ void flow_sim_comp_only(::benchmark::State& state)
157157
for (auto _ : state) {
158158
// create simulation
159159
state.PauseTiming();
160-
std::unique_ptr<mio::OdeIntegratorCore<ScalarType>> I =
161-
std::make_unique<mio::ControlledStepperWrapper<ScalarType, boost::numeric::odeint::runge_kutta_cash_karp54>>(
162-
cfg.abs_tol, cfg.rel_tol, cfg.dt_min, cfg.dt_max);
160+
std::unique_ptr<mio::OdeIntegratorCore<ScalarType>> I = std::make_unique<
161+
mio::ControlledStepperWrapper<ScalarType, boost::numeric::odeint::runge_kutta_cash_karp54>>(
162+
cfg.abs_tol, cfg.rel_tol, cfg.dt_min, cfg.dt_max);
163163
state.ResumeTiming();
164164
// This code gets timed
165165
results = mio::simulate(cfg.t0, cfg.t_max, cfg.dt, model, std::move(I));
@@ -182,9 +182,9 @@ void flow_sim(::benchmark::State& state)
182182
for (auto _ : state) {
183183
// create simulation
184184
state.PauseTiming();
185-
std::unique_ptr<mio::OdeIntegratorCore<ScalarType>> I =
186-
std::make_unique<mio::ControlledStepperWrapper<ScalarType, boost::numeric::odeint::runge_kutta_cash_karp54>>(
187-
cfg.abs_tol, cfg.rel_tol, cfg.dt_min, cfg.dt_max);
185+
std::unique_ptr<mio::OdeIntegratorCore<ScalarType>> I = std::make_unique<
186+
mio::ControlledStepperWrapper<ScalarType, boost::numeric::odeint::runge_kutta_cash_karp54>>(
187+
cfg.abs_tol, cfg.rel_tol, cfg.dt_min, cfg.dt_max);
188188
state.ResumeTiming();
189189
// This code gets timed
190190
results = mio::simulate_flows(cfg.t0, cfg.t_max, cfg.dt, model, std::move(I))[0];

cpp/benchmarks/graph_simulation.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (C) 2020-2025 MEmilio
2+
* Copyright (C) 2020-2026 MEmilio
33
*
44
* Authors: Henrik Zunker
55
*

cpp/benchmarks/graph_simulation.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (C) 2020-2025 MEmilio
2+
* Copyright (C) 2020-2026 MEmilio
33
*
44
* Authors: Henrik Zunker
55
*

cpp/benchmarks/integrator_step.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (C) 2020-2025 MEmilio
2+
* Copyright (C) 2020-2026 MEmilio
33
*
44
* Authors: Rene Schmieding
55
*

cpp/benchmarks/integrator_step.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (C) 2020-2025 MEmilio
2+
* Copyright (C) 2020-2026 MEmilio
33
*
44
* Authors: Rene Schmieding
55
*

cpp/benchmarks/secir_ageres_setups.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (C) 2020-2025 MEmilio
2+
* Copyright (C) 2020-2026 MEmilio
33
*
44
* Authors: Rene Schmieding
55
*

cpp/benchmarks/simulation.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (C) 2020-2025 MEmilio
2+
* Copyright (C) 2020-2026 MEmilio
33
*
44
* Authors: Rene Schmieding
55
*

0 commit comments

Comments
 (0)