Skip to content

Commit

Permalink
fix Hamiltonian in docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaLampert committed Sep 17, 2024
1 parent 3adc071 commit 8547cd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/equations/bbm_1d.jl
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ If `split_form` is `true` a split form in the semidiscretization is used, which
for periodic boundary conditions. If `split_form` is `false` the semidiscretization conserves
- the total water mass (integral of ``h``) as a linear invariant
- the Hamiltonian (integral of ``1/6 \eta^3 + 1/2 \eta^2``) (see [`hamiltonian`](@ref))
- the Hamiltonian (integral of ``1/4\sqrt{g/D}}\eta^3 + 1/2\\sqrt{gD}\eta^2``) (see [`hamiltonian`](@ref))
for periodic boundary conditions.
Expand Down

0 comments on commit 8547cd9

Please sign in to comment.