Mercurial > repos > public > sbplib_julia
changeset 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 | ccef055233a2 |
children | ecd49ffe0bc8 |
files | Grids/src/EquidistantGrid.jl |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
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