Mercurial > repos > public > sbplib_julia
comparison src/SbpOperators/readoperator.jl @ 601:b05f542b2e8f refactor/toml_operator_format
Export relevant functions and move export of read_D2_operator to readoperator.jl
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Sat, 05 Dec 2020 12:59:51 +0100 |
parents | dd7056869294 |
children | c2239c7cd71e |
comparison
equal
deleted
inserted
replaced
600:dd7056869294 | 601:b05f542b2e8f |
---|---|
1 using TOML | 1 using TOML |
2 | |
3 export read_D2_operator | |
4 export read_stencil | |
5 export read_stencils | |
6 export read_tuple | |
7 | |
8 export get_stencil | |
9 export get_stencils | |
10 export get_tuple | |
11 | |
12 | |
2 function read_D2_operator(fn; order) | 13 function read_D2_operator(fn; order) |
3 operators = TOML.parsefile(fn)["order$order"] | 14 operators = TOML.parsefile(fn)["order$order"] |
4 D2 = operators["D2"] | 15 D2 = operators["D2"] |
5 H = operators["H"] | 16 H = operators["H"] |
6 e = operators["e"] | 17 e = operators["e"] |