Mercurial > repos > public > sbplib_julia
diff Grids/src/EquidistantGrid.jl @ 270:12b738f260a0 boundary_conditions
Add todo-comment
author | Vidar Stiernström <vidar.stiernstrom@it.uu.se> |
---|---|
date | Thu, 05 Dec 2019 11:53:39 +0100 |
parents | f67ce2eb6019 |
children | 047dee8efaef |
line wrap: on
line diff
--- a/Grids/src/EquidistantGrid.jl Thu Dec 05 10:48:31 2019 +0100 +++ b/Grids/src/EquidistantGrid.jl Thu Dec 05 11:53:39 2019 +0100 @@ -44,6 +44,7 @@ # Returns the reciprocal of the spacing of the grid # +# TODO: Evaluate if divisions affect performance function spacing(grid::EquidistantGrid) return 1.0./grid.inverse_spacing end