Skip to content

Commit 387c387

Browse files
authored
Merge pull request #315 from cnrrobertson/ETDRK4-cleanup-fix
Remove extra substep in ETDRK4
2 parents c6c041c + d55a402 commit 387c387

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ authors = ["Gregory L. Wagner <wagner.greg@gmail.com>", "Navid C. Constantinou <
66
description = "Tools for building fast, hackable, pseudospectral partial differential equation solvers on periodic domains."
77
documentation = "https://fourierflows.github.io/FourierFlowsDocumentation/stable/"
88
repository = "https://github.com/FourierFlows/FourierFlows.jl"
9-
version = "0.9.0"
9+
version = "0.9.1"
1010

1111
[deps]
1212
CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba"

src/timesteppers.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,6 @@ function ETDRK4substeps!(sol, clock, ts, eq, vars, params, grid)
371371
# Substep 1
372372
eq.calcN!(ts.N₁, sol, clock.t, clock, vars, params, grid)
373373
ETDRK4substep12!(ts.sol₁, ts.exp½Ldt, sol, ts.ζ, ts.N₁)
374-
@. ts.sol₁ = ts.exp½Ldt * sol + ts.ζ * ts.N₁
375374

376375
# Substep 2
377376
t2 = clock.t + clock.dt/2

0 commit comments

Comments
 (0)