You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We could possibly go further in the direction of #55 and instead of having
h = state[:,:,1]
vx = state[:,:,2]
vy = state[:,:,3]
Just define state as
struct state{T}
h::AbstractMatrix{T}
vx::AbstractMatrix{T}
vy::AbstractMatrix{T}
end
This would be an Struct-of-Arrays data layout explicitly, and make handling the fields slightly simpler. Disclaimer: I'm not 100% sure about this yet, but writing it down to keep it in mind.
The text was updated successfully, but these errors were encountered:
We could possibly go further in the direction of #55 and instead of having
Just define
state
asThis would be an Struct-of-Arrays data layout explicitly, and make handling the fields slightly simpler. Disclaimer: I'm not 100% sure about this yet, but writing it down to keep it in mind.
The text was updated successfully, but these errors were encountered: