remove outdated version
This commit is contained in:
parent
66113a8ac3
commit
66af620ebc
@ -48,14 +48,6 @@ function simulate!(u; t_end, dt, dx)
|
|||||||
return t
|
return t
|
||||||
end
|
end
|
||||||
|
|
||||||
# function rhs!(du, u, dx)
|
|
||||||
# for i in eachindex(u)
|
|
||||||
# im1 = i == firstindex(u) ? lastindex(u) : (i - 1)
|
|
||||||
# du[i] = -(u[i] - u[im1]) / dx
|
|
||||||
# end
|
|
||||||
# return nothing
|
|
||||||
# end
|
|
||||||
|
|
||||||
function rhs!(du, u, dx)
|
function rhs!(du, u, dx)
|
||||||
inv_dx = inv(dx)
|
inv_dx = inv(dx)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user