Mercurial > repos > public > sbplib_julia
diff src/SbpOperators/volumeops/laplace/laplace.jl @ 1329:e94ddef5e72f refactor/grids
Clean up documentation for changed types in SbpOperatorClean up documentation for changed types in SbpOperatorss
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Tue, 02 May 2023 22:09:33 +0200 |
parents | 356ec6a72974 |
children | 08f06bfacd5c |
line wrap: on
line diff
--- a/src/SbpOperators/volumeops/laplace/laplace.jl Tue May 02 20:14:39 2023 +0200 +++ b/src/SbpOperators/volumeops/laplace/laplace.jl Tue May 02 22:09:33 2023 +0200 @@ -1,9 +1,8 @@ """ Laplace{T, Dim, TM} <: LazyTensor{T, Dim, Dim} -Implements the Laplace operator, approximating ∑d²/xᵢ² , i = 1,...,`Dim` as a -`LazyTensor`. Additionally `Laplace` stores the `StencilSet` -used to construct the `LazyTensor`. +The Laplace operator, approximating ∑d²/xᵢ² , i = 1,...,`Dim` as a +`LazyTensor`. """ struct Laplace{T, Dim, TM<:LazyTensor{T, Dim, Dim}} <: LazyTensor{T, Dim, Dim} D::TM # Difference operator @@ -32,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 the given grid. `Δ` approximates the Laplace operator ∑d²/xᵢ² , i = 1,...,`Dim` on `g`. The approximation depends on the type of grid and the stencil set.