Skip to content

Commit

Permalink
Update src/equations/serre_green_naghdi_1d.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaLampert authored Aug 24, 2024
1 parent eb6e3c1 commit 40c19c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/equations/serre_green_naghdi_1d.jl
Original file line number Diff line number Diff line change
Expand Up @@ -796,7 +796,7 @@ end

# The modified entropy/energy takes the whole `q` for every point in space
"""
DispersiveShallowWater.energy_total_modified!(q_global, equations::SerreGreenNaghdiEquations1D, cache)
DispersiveShallowWater.energy_total_modified!(e, q_global, equations::SerreGreenNaghdiEquations1D, cache)
Return the modified total energy `e` of the primitive variables `q_global` for the
[`SerreGreenNaghdiEquations1D`](@ref).
Expand Down

0 comments on commit 40c19c1

Please sign in to comment.