Skip to content

Commit 6f0fac2

Browse files
committed
Refactor FFT and ConcreteModel initialization to include World object for improved context handling
1 parent f24104b commit 6f0fac2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/openpfc/ui.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -612,9 +612,9 @@ template <class ConcreteModel> class App {
612612

613613
Decomposition decomp(world, m_comm);
614614
auto plan_options = ui::from_json<heffte::plan_options>(m_settings["plan_options"]);
615-
FFT fft(decomp, m_comm, plan_options);
615+
FFT fft(decomp, m_comm, plan_options, world);
616616
Time time(ui::from_json<Time>(m_settings));
617-
ConcreteModel model;
617+
ConcreteModel model(world);
618618
model.set_fft(fft);
619619
Simulator simulator(model, time);
620620

0 commit comments

Comments
 (0)