Skip to content
Merged

Dev #167

Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
dbbfe33
autopush
SCiarella Feb 18, 2025
f611572
Add YAMLloader for attentioncnn
SCiarella Feb 25, 2025
b242d5d
autopush
SCiarella Feb 25, 2025
f015d81
Add CNO loader
SCiarella Feb 26, 2025
2631b7f
autopush
SCiarella Mar 5, 2025
0e429b5
autopush
SCiarella Mar 12, 2025
16b74f9
autopush
SCiarella Mar 12, 2025
633584a
autopush
SCiarella Mar 12, 2025
f0cbb69
Merge branch 'main' into dev
SCiarella Mar 12, 2025
6f95e10
autopush
SCiarella Mar 14, 2025
afb1ee1
Merge branch 'main' into dev
SCiarella Mar 14, 2025
4763b1d
Merge branch 'main' into dev
SCiarella Mar 20, 2025
7a2f01c
autopush
SCiarella Mar 20, 2025
8d28622
Merge branch 'main' into dev
SCiarella Mar 20, 2025
710fd35
autopush
SCiarella Mar 26, 2025
5b184c8
Merge branch 'main' into dev
SCiarella Mar 26, 2025
9b9434c
autopush
SCiarella Mar 27, 2025
3f49058
Merge branch 'main' into dev
SCiarella Mar 27, 2025
f4bbc6f
autopush
SCiarella Apr 7, 2025
e19980f
Add pre-commit
SCiarella Apr 7, 2025
b1ae853
Bump Plots
SCiarella Apr 7, 2025
d38ecd8
Bump down Zygote
SCiarella Apr 7, 2025
84286fe
autopush
SCiarella Apr 7, 2025
6e4a4b8
autopush
SCiarella Apr 7, 2025
fa3be6b
Bump CairoMakie
SCiarella Apr 7, 2025
b74debb
Merge branch 'main' into dev
SCiarella Apr 7, 2025
a8fa41a
autopush
SCiarella Apr 7, 2025
8d2b15d
Merge branch 'main' into dev
SCiarella Apr 7, 2025
8e7b156
autopush
SCiarella Apr 14, 2025
939daba
autopush
SCiarella Apr 14, 2025
15e1aea
autopush
SCiarella Apr 14, 2025
d081727
autopush
SCiarella Apr 14, 2025
53957c0
autopush
SCiarella Apr 14, 2025
5854fc9
autopush
SCiarella Apr 15, 2025
c868505
autopush
SCiarella Apr 15, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions ext/NavierStokes/utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ Create ``(\\bar{u}, c)`` pairs for training.
A named tuple with fields `u` and `c`. (without boundary conditions padding)
"""
function create_io_arrays_priori(data, setups)
# This is a reference function that creates the io_arrays for the a-priori
nsample = length(data)
ngrid, nfilter = size(data[1])
nt = length(data[1][1].t) - 1
Expand All @@ -86,8 +87,7 @@ function create_io_arrays_priori(data, setups)
u = zeros(T, (N .- 2)..., D, nt + 1, nsample)
c = zeros(T, (N .- 2)..., D, nt + 1, nsample)
ifield = ntuple(Returns(:), D)
for is in 1:nsample, it in 1:(nt + 1)

for is in 1:nsample
copyto!(
view(u,(ifield...),:,:,is),
data[is][ig, ifil].u[Iu[1], :, :]
Expand Down
Loading