Skip to content

Commit

Permalink
ODESolvers: use proper interface to access CarpetX headers
Browse files Browse the repository at this point in the history
  • Loading branch information
lwJi committed Nov 12, 2024
1 parent ca481b9 commit 5ff5336
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
3 changes: 3 additions & 0 deletions ODESolvers/interface.ccl
Original file line number Diff line number Diff line change
Expand Up @@ -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



Expand Down
8 changes: 3 additions & 5 deletions ODESolvers/src/solve.cxx
Original file line number Diff line number Diff line change
@@ -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 <cctk.h>
#include <cctk_Parameters.h>
#include <cctk_Arguments.h>
#include <util_Table.h>

#include <div.hxx>
#include <driver.hxx>
#include <schedule.hxx>
#include <timer.hxx>

#include <AMReX_MultiFab.H>

Expand Down

0 comments on commit 5ff5336

Please sign in to comment.