comparison src/SbpOperators/volumeops/derivatives/dissipation.jl @ 1329:e94ddef5e72f refactor/grids

Clean up documentation for changed types in SbpOperatorClean up documentation for changed types in SbpOperatorss
author Jonatan Werpers <jonatan@werpers.com>
date Tue, 02 May 2023 22:09:33 +0200
parents 356ec6a72974
children 760a4a1ec4b7
comparison
equal deleted inserted replaced
1328:f00a205ae347 1329:e94ddef5e72f
1 """ 1 """
2 undivided_skewed04(g::EquidistantGrid, p, direction) 2 undivided_skewed04(g::TensorGrid, p, direction)
3 undivided_skewed04(g::EquidistantGrid, p)
3 4
4 Create undivided difference operators approximating the `p`th derivative. The 5 Undivided difference operators approximating the `p`th derivative. The
5 operators do not satisfy any SBP-property and are meant to be used for 6 operators do not satisfy any SBP-property and are meant to be used for
6 building artificial dissipation terms. 7 building artificial dissipation terms.
7 8
8 The operators and how they are used to create accurate artifical dissipation 9 The operators and how they are used to create accurate artifical dissipation
9 is described in "K. Mattsson, M. Svärd, and J. Nordström, “Stable and Accurate 10 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 Artificial Dissipation,” Journal of Scientific Computing, vol. 21, no. 1, pp.
11 57–79, Aug. 2004" 12 57–79, Aug. 2004"
12 """ 13 """
14 function undivided_skewed04 end
15
13 function undivided_skewed04(g::TensorGrid, p, direction) 16 function undivided_skewed04(g::TensorGrid, p, direction)
14 op = undivided_skewed04(g.grids[direction], p) 17 op = undivided_skewed04(g.grids[direction], p)
15 return LazyTensors.inflate(op, size(g), direction) 18 return LazyTensors.inflate(op, size(g), direction)
16 end 19 end
17 20