From 5ff5336662badd1745c4dfa45603903e430efe75 Mon Sep 17 00:00:00 2001 From: Liwei Ji Date: Tue, 12 Nov 2024 08:22:30 -0500 Subject: [PATCH] ODESolvers: use proper interface to access CarpetX headers --- ODESolvers/interface.ccl | 3 +++ ODESolvers/src/solve.cxx | 8 +++----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/ODESolvers/interface.ccl b/ODESolvers/interface.ccl index a2576e42d..e27919472 100644 --- a/ODESolvers/interface.ccl +++ b/ODESolvers/interface.ccl @@ -3,6 +3,9 @@ IMPLEMENTS: ODESolvers USES INCLUDE HEADER: div.hxx +USES INCLUDE HEADER: driver.hxx +USES INCLUDE HEADER: schedule.hxx +USES INCLUDE HEADER: timer.hxx diff --git a/ODESolvers/src/solve.cxx b/ODESolvers/src/solve.cxx index dc6f80ec7..493c12765 100644 --- a/ODESolvers/src/solve.cxx +++ b/ODESolvers/src/solve.cxx @@ -1,14 +1,12 @@ -// TODO: Don't include files from other thorns; create a proper interface -#include "../../CarpetX/src/driver.hxx" -#include "../../CarpetX/src/schedule.hxx" -#include "../../CarpetX/src/timer.hxx" - #include #include #include #include #include +#include +#include +#include #include