Skip to content

Commit 0aef7bc

Browse files
authored
Merge pull request #308 from FourierFlows/ncc/docs-on-1.6
Docs built on julia 1.6
2 parents 6bb462b + b5a5eb5 commit 0aef7bc

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/Documenter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- uses: actions/checkout@v2
1515
- uses: julia-actions/setup-julia@latest
1616
with:
17-
version: 1.7
17+
version: 1.6
1818
- name: Install dependencies
1919
run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
2020
- name: Build and deploy

Project.toml

Lines changed: 2 additions & 2 deletions
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.8.0"
9+
version = "0.8.1"
1010

1111
[deps]
1212
CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba"
@@ -20,7 +20,7 @@ Reexport = "189a3867-3050-52da-a836-e630ba90ab69"
2020
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
2121

2222
[compat]
23-
CUDA = "^1, ^2.4.2, ^3.0"
23+
CUDA = "^1, ^2.4.2, 3.0.0 - 3.3.6"
2424
DocStringExtensions = "^0.8"
2525
FFTW = "^1"
2626
Interpolations = "^0.12, ^0.13"

test/runtests.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -365,9 +365,9 @@ for dev in devices
365365
@test repr(diag) == "Diagnostic\n ├─── calc: get_sol\n ├─── prob: FourierFlows.Problem{DataType, Vector{ComplexF64}, Float64, Vector{Int64}}\n ├─── data: 101-element Vector{Vector{ComplexF64}}\n ├────── t: 101-element Vector{Float64}\n ├── steps: 101-element Vector{Int64}\n ├─── freq: 1\n └────── i: 1"
366366
@test repr(out) == "Output\n ├──── prob: FourierFlows.Problem{DataType, Vector{ComplexF64}, Float64, Vector{Int64}}\n ├──── path: output.jld2\n └── fields: Dict{Symbol, Function}()"
367367
else
368-
@test repr(prob.vars) == "Variables\n ├───── variable: c -> 128-element " * string(ArrayType(dev)) * "{Float64, 1, CUDA.Mem.DeviceBuffer}\n ├───── variable: cx -> 128-element " * string(ArrayType(dev)) * "{Float64, 1, CUDA.Mem.DeviceBuffer}\n ├───── variable: ch -> 65-element " * string(ArrayType(dev)) * "{ComplexF64, 1, CUDA.Mem.DeviceBuffer}\n └───── variable: cxh -> 65-element " * string(ArrayType(dev)) * "{ComplexF64, 1, CUDA.Mem.DeviceBuffer}\n"
369-
@test repr(diag) == "Diagnostic\n ├─── calc: get_sol\n ├─── prob: FourierFlows.Problem{DataType, " * string(ArrayType(dev)) * "{ComplexF64, 1, CUDA.Mem.DeviceBuffer}, Float64, " * string(ArrayType(dev)) * "{Int64, 1, CUDA.Mem.DeviceBuffer}}\n ├─── data: 101-element Vector{" * string(ArrayType(dev)) * "{ComplexF64, 1, CUDA.Mem.DeviceBuffer}}\n ├────── t: 101-element Vector{Float64}\n ├── steps: 101-element Vector{Int64}\n ├─── freq: 1\n └────── i: 1"
370-
@test repr(out) == "Output\n ├──── prob: FourierFlows.Problem{DataType, CuArray{ComplexF64, 1, CUDA.Mem.DeviceBuffer}, Float64, CuArray{Int64, 1, CUDA.Mem.DeviceBuffer}}\n ├──── path: output.jld2\n └── fields: Dict{Symbol, Function}()"
368+
@test repr(prob.vars) == "Variables\n ├───── variable: c -> 128-element " * string(ArrayType(dev)) * "{Float64, 1}\n ├───── variable: cx -> 128-element " * string(ArrayType(dev)) * "{Float64, 1}\n ├───── variable: ch -> 65-element " * string(ArrayType(dev)) * "{ComplexF64, 1}\n └───── variable: cxh -> 65-element " * string(ArrayType(dev)) * "{ComplexF64, 1}\n"
369+
@test repr(diag) == "Diagnostic\n ├─── calc: get_sol\n ├─── prob: FourierFlows.Problem{DataType, " * string(ArrayType(dev)) * "{ComplexF64, 1}, Float64, " * string(ArrayType(dev)) * "{Int64, 1}}\n ├─── data: 101-element Vector{" * string(ArrayType(dev)) * "{ComplexF64, 1}}\n ├────── t: 101-element Vector{Float64}\n ├── steps: 101-element Vector{Int64}\n ├─── freq: 1\n └────── i: 1"
370+
@test repr(out) == "Output\n ├──── prob: FourierFlows.Problem{DataType, " * string(ArrayType(dev)) * "{ComplexF64, 1}, Float64, " * string(ArrayType(dev)) * "{Int64, 1}}\n ├──── path: output.jld2\n └── fields: Dict{Symbol, Function}()"
371371
end
372372
@test repr(prob.eqn) == "Equation\n ├──────── linear coefficients: L\n │ ├───type: Int64\n │ └───size: (65,)\n ├───────────── nonlinear term: calcN!()\n └─── type of state vector sol: ComplexF64"
373373
@test repr(prob.clock) == "Clock\n ├─── timestep dt: 0.01\n ├────────── step: 0\n └──────── time t: 0.0"

0 commit comments

Comments
 (0)