Mercurial > repos > public > sbplib_julia
comparison src/SbpOperators/volumeops/laplace/laplace.jl @ 936:22c80fb36400 feature/laplace_opset
Fix docs and add some references
| author | Vidar Stiernström <vidar.stiernstrom@it.uu.se> |
|---|---|
| date | Fri, 25 Feb 2022 17:20:40 +0100 |
| parents | 47425442bbc5 |
| children | 38d1752a9aff |
comparison
equal
deleted
inserted
replaced
| 935:079024db8226 | 936:22c80fb36400 |
|---|---|
| 9 D::DiffOp# Differential operator | 9 D::DiffOp# Differential operator |
| 10 stencil_set # Stencil set of the operator | 10 stencil_set # Stencil set of the operator |
| 11 end | 11 end |
| 12 | 12 |
| 13 """ | 13 """ |
| 14 `Laplace(grid::Equidistant, stencil_set)` | 14 Laplace(grid::Equidistant, stencil_set) |
| 15 | 15 |
| 16 Creates the `Laplace`` operator `Δ` on `grid` given a parsed TOML | 16 Creates the `Laplace` operator `Δ` on `grid` given a parsed TOML |
| 17 `stencil_set`. See also [`laplace`](@ref). | 17 `stencil_set`. See also [`laplace`](@ref). |
| 18 """ | 18 """ |
| 19 function Laplace(grid::EquidistantGrid, stencil_set) | 19 function Laplace(grid::EquidistantGrid, stencil_set) |
| 20 inner_stencil = parse_stencil(stencil_set["D2"]["inner_stencil"]) | 20 inner_stencil = parse_stencil(stencil_set["D2"]["inner_stencil"]) |
| 21 closure_stencils = parse_stencil.(stencil_set["D2"]["closure_stencils"]) | 21 closure_stencils = parse_stencil.(stencil_set["D2"]["closure_stencils"]) |
