comparison src/SbpOperators/operators/standard_diagonal.toml @ 655:ec7490fb4404 operator_storage_array_of_table

Start sketching the toml format and needed functions
author Jonatan Werpers <jonatan@werpers.com>
date Sun, 24 Jan 2021 22:15:16 +0100
parents fa03dae0ff0b
children 19dd97e9c924
comparison
equal deleted inserted replaced
654:d26231227b89 655:ec7490fb4404
1 [meta] 1 [meta]
2 authors = "Ken Mattson" 2 authors = "Ken Mattson"
3 descripion = "Standard operators for equidistant grids" 3 descripion = "Standard operators for equidistant grids"
4 type = "equidistant" 4 type = "equidistant"
5 cite = "A paper a long time ago in a galaxy far far away."
5 6
6 [order2] 7 [[stencil_set]]
8
9 order = 2
10
7 H.inner = ["1"] 11 H.inner = ["1"]
8 H.closure = ["1/2"] 12 H.closure = ["1/2"]
9 13
10 D1.inner_stencil = ["-1/2", "0", "1/2"] 14 D1.inner_stencil = ["-1/2", "0", "1/2"]
11 D1.closure_stencils = [ 15 D1.closure_stencils = [
12 ["-1", "1"], 16 {s = ["-1", "1"], c = 1},
13 ] 17 ]
14 18
15 D2.inner_stencil = ["1", "-2", "1"] 19 D2.inner_stencil = ["1", "-2", "1"]
16 D2.closure_stencils = [ 20 D2.closure_stencils = [
17 ["1", "-2", "1"], 21 {s = ["1", "-2", "1"], c = 1},
18 ] 22 ]
19 23
20 e.closure = ["1"] 24 e.closure = ["1"]
21 d1.closure = ["-3/2", "2", "-1/2"] 25 d1.closure = {s = ["-3/2", "2", "-1/2"], c = 1}
22 26
23 [order4] 27 [[stencil_set]]
28
29 order = 4
24 H.inner = ["1"] 30 H.inner = ["1"]
25 H.closure = ["17/48", "59/48", "43/48", "49/48"] 31 H.closure = ["17/48", "59/48", "43/48", "49/48"]
26 32
27 D2.inner_stencil = ["-1/12","4/3","-5/2","4/3","-1/12"] 33 D2.inner_stencil = ["-1/12","4/3","-5/2","4/3","-1/12"]
28 D2.closure_stencils = [ 34 D2.closure_stencils = [
29 [ "2", "-5", "4", "-1", "0", "0"], 35 {s = [ "2", "-5", "4", "-1", "0", "0"], c = 1},
30 [ "1", "-2", "1", "0", "0", "0"], 36 {s = [ "1", "-2", "1", "0", "0", "0"], c = 2},
31 [ "-4/43", "59/43", "-110/43", "59/43", "-4/43", "0"], 37 {s = [ "-4/43", "59/43", "-110/43", "59/43", "-4/43", "0"], c = 3},
32 [ "-1/49", "0", "59/49", "-118/49", "64/49", "-4/49"], 38 {s = [ "-1/49", "0", "59/49", "-118/49", "64/49", "-4/49"], c = 4},
33 ] 39 ]
34 40
35 e.closure = ["1"] 41 e.closure = ["1"]
36 d1.closure = ["-11/6", "3", "-3/2", "1/3"] 42 d1.closure = {s = ["-11/6", "3", "-3/2", "1/3"], c = 1}