Mercurial > repos > public > sbplib_julia
comparison src/SbpOperators/stencil_set.jl @ 1888:eb70a0941cd6 allocation_testing
Merge default
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Fri, 03 Feb 2023 23:02:46 +0100 |
parents | ec2a4d5dd8e8 |
children | 102ebdaf7c11 |
comparison
equal
deleted
inserted
replaced
1887:24590890e124 | 1888:eb70a0941cd6 |
---|---|
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`. |