Mercurial > repos > public > sbplib_julia
diff src/SbpOperators/volumeops/laplace/laplace.jl @ 1347:08f06bfacd5c refactor/grids
Fix typos and formatting of documentation
author | Vidar Stiernström <vidar.stiernstrom@it.uu.se> |
---|---|
date | Thu, 18 May 2023 22:53:31 +0200 |
parents | e94ddef5e72f |
children | bdcdbd4ea9cd efa994405c38 |
line wrap: on
line diff
--- a/src/SbpOperators/volumeops/laplace/laplace.jl Mon May 15 22:54:32 2023 +0200 +++ b/src/SbpOperators/volumeops/laplace/laplace.jl Thu May 18 22:53:31 2023 +0200 @@ -10,9 +10,9 @@ end """ - Laplace(grid::Equidistant, stencil_set) + Laplace(g::Grid, stencil_set::StencilSet) -Creates the `Laplace` operator `Δ` on `grid` given a `stencil_set`. +Creates the `Laplace` operator `Δ` on `g` given `stencil_set`. See also [`laplace`](@ref). """ @@ -31,7 +31,7 @@ """ laplace(g::Grid, stencil_set) -Creates the Laplace operator operator `Δ` as a `LazyTensor` on the given grid. +Creates the Laplace operator operator `Δ` as a `LazyTensor` on `g`. `Δ` approximates the Laplace operator ∑d²/xᵢ² , i = 1,...,`Dim` on `g`. The approximation depends on the type of grid and the stencil set.