Skip to content

Commit

Permalink
fix typo in KdV motivation
Browse files Browse the repository at this point in the history
  • Loading branch information
ranocha committed Sep 21, 2023
1 parent a71d9b0 commit 4b4a3a7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "SummationByPartsOperators"
uuid = "9f78cca6-572e-554e-b819-917d2f1cf240"
author = ["Hendrik Ranocha"]
version = "0.5.48"
version = "0.5.49"

[deps]
ArgCheck = "dce04be8-c92d-5529-be00-80e4d2c0e197"
Expand Down
6 changes: 3 additions & 3 deletions docs/src/tutorials/kdv.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ with periodic boundary conditions. The KdV equation has the quadratic invariant
A classical trick to conserve this invariant is to use following split form

```math
u_t + \frac{1}{3} (u^2)_x + \frac{1}{3} u u_x = 0.
u_t + \frac{1}{3} (u^2)_x + \frac{1}{3} u u_x + \partial_x^3 u = 0.
```

Indeed, integration by parts with periodic boundary conditions yields
Expand All @@ -29,10 +29,10 @@ Indeed, integration by parts with periodic boundary conditions yields
&=
\int u u_t
=
-\frac{1}{3} \int u (u^2)_x - \frac{1}{3} \int u^2 u_x
-\frac{1}{3} \int u (u^2)_x - \frac{1}{3} \int u^2 u_x - \int u \partial_x^3 u
\\
&=
0 + \frac{1}{3} \int u_x u^2 - \frac{1}{3} \int u^2 u_x
0 + \frac{1}{3} \int u_x u^2 - \frac{1}{3} \int u^2 u_x + 0
=
0.
\end{aligned}
Expand Down

2 comments on commit 4b4a3a7

@ranocha
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/91858

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.5.49 -m "<description of version>" 4b4a3a74a61401a95a979aae31fd24204ee94b48
git push origin v0.5.49

Please sign in to comment.