Mercurial > repos > public > sbplib_julia
comparison src/Grids/grid.jl @ 1602:3e7438e2a033 feature/boundary_conditions
Address review comments (1 left to be discussed)
| author | Vidar Stiernström <vidar.stiernstrom@gmail.com> |
|---|---|
| date | Sat, 01 Jun 2024 17:39:54 -0700 |
| parents | 611ae2308aa1 |
| children | b459082533f7 |
comparison
equal
deleted
inserted
replaced
| 1601:fad18896d20a | 1602:3e7438e2a033 |
|---|---|
| 125 When implementing this method it is expected that the returned collection can | 125 When implementing this method it is expected that the returned collection can |
| 126 be used to index grid functions to obtain grid functions on the boundary grid. | 126 be used to index grid functions to obtain grid functions on the boundary grid. |
| 127 """ | 127 """ |
| 128 function boundary_indices end | 128 function boundary_indices end |
| 129 | 129 |
| 130 """ | |
| 131 orthogonal_grid(g::Grid, id::BoundaryIdentifier) | |
| 132 | |
| 133 The grid for the coordinate direction orthogonal to that of the boundary | |
| 134 with given id | |
| 135 """ | |
| 136 function orthogonal_grid end | |
| 137 | |
| 138 function boundary_indices end | |
| 139 | 130 |
| 140 """ | 131 """ |
| 141 eval_on(g::Grid, f) | 132 eval_on(g::Grid, f) |
| 142 | 133 |
| 143 Lazy evaluation of `f` on the grid. `f` can either be on the form `f(x,y,...)` | 134 Lazy evaluation of `f` on the grid. `f` can either be on the form `f(x,y,...)` |
