comparison src/Grids/grid.jl @ 1344:760a4a1ec4b7 refactor/grids

Add 2D tests for dissipation operators and fix bug
author Jonatan Werpers <jonatan@werpers.com>
date Mon, 15 May 2023 22:37:55 +0200
parents fa3695f634de
children 08f06bfacd5c
comparison
equal deleted inserted replaced
1343:fa3695f634de 1344:760a4a1ec4b7
69 The grid for the specified boundary. 69 The grid for the specified boundary.
70 """ 70 """
71 function boundary_grid end 71 function boundary_grid end
72 # TBD: Can we implement a version here that accepts multiple ids and grouped boundaries? Maybe we need multiblock stuff? 72 # TBD: Can we implement a version here that accepts multiple ids and grouped boundaries? Maybe we need multiblock stuff?
73 73
74
75 # TODO: Make sure that all grids implement all of the above.
76
77
78 """ 74 """
79 eval_on(g::Grid, f) 75 eval_on(g::Grid, f)
80 76
81 Lazy evaluation `f` on the grid. `f` can either be on the form `f(x,y,...)` 77 Lazy evaluation `f` on the grid. `f` can either be on the form `f(x,y,...)`
82 with each coordinate as an argument, or on the form `f(x̄)` taking a 78 with each coordinate as an argument, or on the form `f(x̄)` taking a