Mercurial > repos > public > sbplib_julia
comparison src/SbpOperators/stencil_set.jl @ 1221:b3b4d29b46c3 refactor/grids
Merge default
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Fri, 10 Feb 2023 08:36:56 +0100 |
parents | ec2a4d5dd8e8 |
children | 102ebdaf7c11 |
comparison
equal
deleted
inserted
replaced
1220:93bba649aea2 | 1221:b3b4d29b46c3 |
---|---|
12 end | 12 end |
13 Base.getindex(set::StencilSet,I...) = set.table[I...] | 13 Base.getindex(set::StencilSet,I...) = set.table[I...] |
14 | 14 |
15 | 15 |
16 """ | 16 """ |
17 read_stencil_set(filename; filters) | 17 read_stencil_set(filename; filters) |
18 | 18 |
19 Creates a `StencilSet` from a TOML file based on some key-value | 19 Creates a `StencilSet` from a TOML file based on some key-value |
20 filters. If more than one set matches the filters an error is raised. The | 20 filters. If more than one set matches the filters an error is raised. The |
21 table of the `StencilSet` is a parsed TOML intended for functions like | 21 table of the `StencilSet` is a parsed TOML intended for functions like |
22 `parse_scalar` and `parse_stencil`. | 22 `parse_scalar` and `parse_stencil`. |