Skip to content

Commit

Permalink
reference to solver in exporters
Browse files Browse the repository at this point in the history
  • Loading branch information
VanillaBrooks committed Jun 25, 2023
1 parent 16b7087 commit a77710d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "spectralGPU"
uuid = "1f941c8d-9269-406b-be03-2a5a5e88bc1c"
authors = ["brooks"]
version = "0.3.0"
version = "0.3.1"

[deps]
CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba"
Expand Down
2 changes: 1 addition & 1 deletion src/exporters.jl
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ end
function Io.export_data(exporter::HelicityExport{FARR, ARR, P, K, HIST}, time::Float64
) where ARR <: AbstractArray{Float64, 4} where FARR <: AbstractArray{ComplexF64, 4} where P <: AbstractParallel where K <: AbstractWavenumbers where HIST<: AbstractScalarHistory

solver.curl!(exporter.parallel, exporter.K, exporter.plan, exporter.U_hat; out = exporter.omega)
Solver.curl!(exporter.parallel, exporter.K, exporter.plan, exporter.U_hat; out = exporter.omega)
helicity = sum(exporter.U .* exporter.omega) / 2.
helicity *= (2 * pi/exporter.N)^3

Expand Down

0 comments on commit a77710d

Please sign in to comment.