Skip to content

Commit

Permalink
Update docs/src/concepts/grid_operators.md
Browse files Browse the repository at this point in the history
Co-authored-by: Ludovic Räss <[email protected]>
  • Loading branch information
utkinis and luraess authored Oct 4, 2024
1 parent 6cdbbd9 commit ddd8df6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/concepts/grid_operators.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ lerp(f, to, grid, I...) # implements itp(f, to, Linear(), grid, I...)
hlerp(f, to, grid, I...) # implements itp(f, to, HarmonicLinear(), grid, I...)
```

In the following example, we specify to use the linear interpolation rule `lerp` when interpolating nodal values of the density field `ρ`, defined on pressure nodes with location `(Center(), Center())` to `ρvx` and `ρvy`, defined on Vx and Vy nodes, respectively.
In the following example, we use the linear interpolation wrapper `lerp` when interpolating nodal values of the density field `ρ`, defined on cell centres, i.e. having the location `(Center(), Center())` to `ρx` and `ρy`, defined on cell interfaces in the x- and y- direction, respectively.

```julia
# define density ρ on pressure nodes
Expand Down

0 comments on commit ddd8df6

Please sign in to comment.