comparison src/Grids/grid.jl @ 1595:611ae2308aa1 feature/boundary_conditions

Add orthogonal_grid
author Vidar Stiernström <vidar.stiernstrom@gmail.com>
date Sun, 26 May 2024 17:35:52 -0700
parents d641798539c2
children 3e7438e2a033
comparison
equal deleted inserted replaced
1594:d68d02dd882f 1595:611ae2308aa1
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 """ 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
140 """
131 eval_on(g::Grid, f) 141 eval_on(g::Grid, f)
132 142
133 Lazy evaluation of `f` on the grid. `f` can either be on the form `f(x,y,...)` 143 Lazy evaluation of `f` on the grid. `f` can either be on the form `f(x,y,...)`
134 with each coordinate as an argument, or on the form `f(x̄)` taking a 144 with each coordinate as an argument, or on the form `f(x̄)` taking a
135 coordinate vector. 145 coordinate vector.