Skip to content

Commit

Permalink
f_update_func
Browse files Browse the repository at this point in the history
  • Loading branch information
vpuri3 committed Sep 27, 2023
1 parent 425bced commit 9faf7d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/fourier1d/burgers.jl
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ function solve_burgers1D(N, ν, p;
# model setup
A = -diffusionOp(ν, V, discr)
C = advectionOp((zero(u0),), V, discr; vel_update_funcs! = (burgers!,))
F = forcingOp(zero(u0), V, discr; f_update_func=forcing!)
F = forcingOp(zero(u0), V, discr; f_update_func! = forcing!)

odefunc = cache_operator(A-C+F, u0)

Expand Down
2 changes: 1 addition & 1 deletion examples/fourier1d/burgers_trans.jl
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ end

= -diffusionOp(ν, Vh, discr)
= advectionOp((zero(û0),), Vh, discr; vel_update_funcs! = (burgers!,))
= forcingOp(zero(û0), Vh, discr; f_update_func=forcing!)
= forcingOp(zero(û0), Vh, discr; f_update_func! = forcing!)

Dt = cache_operator(Â-+F̂, û0)

Expand Down

0 comments on commit 9faf7d4

Please sign in to comment.