diff src/Grids/mapped_grid.jl @ 1903:04c251bccbd4 feature/grids/manifolds

Merge feature/grids/parameter_spaces
author Jonatan Werpers <jonatan@werpers.com>
date Sat, 01 Feb 2025 22:17:39 +0100
parents edee7d677efb f93ba5832146
children e97f4352b8d0
line wrap: on
line diff
--- a/src/Grids/mapped_grid.jl	Sat Feb 01 21:38:49 2025 +0100
+++ b/src/Grids/mapped_grid.jl	Sat Feb 01 22:17:39 2025 +0100
@@ -94,7 +94,7 @@
 
 # TODO: Make sure all methods of `mapped_grid` are implemented correctly and tested.
 """
-    mapped_grid(x, J, size::Vararg{Int})
+    mapped_grid(x, J, size...)
 
 A `MappedGrid` with a default logical grid on the D-dimensional unit hyper 
 box [0,1]ᴰ. `x` and `J` are functions to be evaluated on the logical grid
@@ -121,7 +121,7 @@
 end
 
 """
-    mapped_grid(x, J, parameterspace, size)
+    mapped_grid(x, J, ps::ParameterSpace, size...)
 
 A `MappedGrid` with logical grid `lg`. Physical coordinates and Jacobian are
 determined by the functions `x` and `J`.