diff 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
line wrap: on
line diff
--- a/src/SbpOperators/volumeops/derivatives/dissipation.jl	Tue May 02 20:14:39 2023 +0200
+++ b/src/SbpOperators/volumeops/derivatives/dissipation.jl	Tue May 02 22:09:33 2023 +0200
@@ -1,7 +1,8 @@
 """
-    undivided_skewed04(g::EquidistantGrid, p, direction)
+    undivided_skewed04(g::TensorGrid, p, direction)
+    undivided_skewed04(g::EquidistantGrid, p)
 
-Create undivided difference operators approximating the `p`th derivative. The
+Undivided difference operators approximating the `p`th derivative. The
 operators do not satisfy any SBP-property and are meant to be used for
 building artificial dissipation terms.
 
@@ -10,6 +11,8 @@
 Artificial Dissipation,” Journal of Scientific Computing, vol. 21, no. 1, pp.
 57–79, Aug. 2004"
 """
+function undivided_skewed04 end
+
 function undivided_skewed04(g::TensorGrid, p, direction)
     op = undivided_skewed04(g.grids[direction], p)
     return LazyTensors.inflate(op, size(g), direction)