diff src/Grids/grid.jl @ 1117:aeeffca46b94 feature/grids

Minor renamings
author Vidar Stiernström <vidar.stiernstrom@it.uu.se>
date Fri, 15 Jul 2022 09:56:25 +0200
parents c2d7e940639e
children dfbd62c7eb09
line wrap: on
line diff
--- a/src/Grids/grid.jl	Fri Jul 15 09:54:15 2022 +0200
+++ b/src/Grids/grid.jl	Fri Jul 15 09:56:25 2022 +0200
@@ -11,18 +11,18 @@
 function points end
 
 """
-    dims(g::Grid)
+    dims(grid::Grid)
 
-A range containing the dimensions of the grid
+A range containing the dimensions of `grid`
 """
 dims(grid::Grid) = 1:dim(grid)
 
 """
-    evalOn(g::Grid, f::Function)
+    evalOn(grid::Grid, f::Function)
 
-Evaluate function f on the grid g
+Evaluate function `f` on `grid`
 """
-function evalOn(g::Grid, f::Function)
+function evalOn(grid::Grid, f::Function)
     F(x) = f(x...)
-    return F.(points(g))
+    return F.(points(grid))
 end
\ No newline at end of file