Mercurial > repos > public > sbplib_julia
comparison src/SbpOperators/volumeops/derivatives/dissipation.jl @ 1205:99df343c7f61 feature/dissipation_operators
Fix docstring
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Fri, 03 Feb 2023 10:12:32 +0100 |
parents | 254934aac3f8 |
children | d60a10ad6579 |
comparison
equal
deleted
inserted
replaced
1204:0d9653171587 | 1205:99df343c7f61 |
---|---|
1 """ | 1 """ |
2 undivided_skewed04(g::EquidistantGrid, p, direction) | 2 undivided_skewed04(g::EquidistantGrid, p, direction) |
3 | 3 |
4 Create undivided difference operators approximating the `p`th derivative. The operator do not satisfy any SBP-property and are meant to be used for | 4 Create undivided difference operators approximating the `p`th derivative. The |
5 operators do not satisfy any SBP-property and are meant to be used for | |
5 building artificial dissipation terms. | 6 building artificial dissipation terms. |
6 | 7 |
7 The operators and how they are used to create accurate artifical dissipation is described in | 8 The operators and how they are used to create accurate artifical dissipation |
8 "K. Mattsson, M. Svärd, and J. Nordström, “Stable and Accurate Artificial Dissipation,” Journal of Scientific Computing, vol. 21, no. 1, pp. 57–79, Aug. 2004" | 9 is described in "K. Mattsson, M. Svärd, and J. Nordström, “Stable and Accurate |
10 Artificial Dissipation,” Journal of Scientific Computing, vol. 21, no. 1, pp. | |
11 57–79, Aug. 2004" | |
9 """ | 12 """ |
10 function undivided_skewed04(g::EquidistantGrid, p, direction) | 13 function undivided_skewed04(g::EquidistantGrid, p, direction) |
11 T = eltype(g) | 14 T = eltype(g) |
12 interior_weights = T.(dissipation_interior_weights(p)) | 15 interior_weights = T.(dissipation_interior_weights(p)) |
13 | 16 |