Skip to content

Commit

Permalink
ODESolvers: add ODESolvers_Solve_Subcycling
Browse files Browse the repository at this point in the history
  • Loading branch information
lwJi committed Apr 18, 2024
1 parent eb49302 commit 4402561
Show file tree
Hide file tree
Showing 3 changed files with 680 additions and 6 deletions.
19 changes: 14 additions & 5 deletions ODESolvers/schedule.ccl
Original file line number Diff line number Diff line change
@@ -1,10 +1,19 @@
# Schedule definitions for thorn ODESolvers

SCHEDULE ODESolvers_Solve AT evol
{
LANG: C
OPTIONS: level
} "Solve ODEs"
if(use_subcycling_wip) {
SCHEDULE ODESolvers_Solve_Subcycling AT evol
{
LANG: C
OPTIONS: level
} "Solve ODEs using Subcycling"
}
else {
SCHEDULE ODESolvers_Solve AT evol
{
LANG: C
OPTIONS: level
} "Solve ODEs"
}



Expand Down
2 changes: 1 addition & 1 deletion ODESolvers/src/make.code.defn
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Main make.code.defn file for thorn ODESolvers

# Source files in this directory
SRCS = solve.cxx odesolvers_solve.cxx
SRCS = solve.cxx odesolvers_solve.cxx odesolvers_solve_subcycling.cxx

# Subdirectories containing source files
SUBDIRS =
Loading

0 comments on commit 4402561

Please sign in to comment.