comparison src/SbpOperators/boundaryops/normal_derivative.jl @ 1104:c0ab81e4c39c refactor/sbpoperators/inflation

Update docs
author Vidar Stiernström <vidar.stiernstrom@it.uu.se>
date Fri, 20 May 2022 11:30:46 +0200
parents 157a78959e5d
children 54c3ed752730
comparison
equal deleted inserted replaced
1100:157a78959e5d 1104:c0ab81e4c39c
6 `d` computes the normal derivative of a grid function on `boundary` a `Stencil` `closure_stencil`. 6 `d` computes the normal derivative of a grid function on `boundary` a `Stencil` `closure_stencil`.
7 `d'` is the prolongation of the normal derivative of a grid function to the whole grid using the same `closure_stencil`. 7 `d'` is the prolongation of the normal derivative of a grid function to the whole grid using the same `closure_stencil`.
8 On a one-dimensional `grid`, `d` is a `BoundaryOperator`. On a multi-dimensional `grid`, `d` is the inflation of 8 On a one-dimensional `grid`, `d` is a `BoundaryOperator`. On a multi-dimensional `grid`, `d` is the inflation of
9 a `BoundaryOperator`. 9 a `BoundaryOperator`.
10 10
11 See also: [`boundary_operator`](@ref). 11 See also: [`BoundaryOperator`](@ref), [`LazyTensors.inflate`](@ref).
12 """ 12 """
13 function normal_derivative(grid, closure_stencil, boundary) 13 function normal_derivative(grid, closure_stencil, boundary)
14 direction = dim(boundary) 14 direction = dim(boundary)
15 h_inv = inverse_spacing(grid)[direction] 15 h_inv = inverse_spacing(grid)[direction]
16 16