changeset 1820:bddcae938ded feature/jet_aqua

Some clean up
author Jonatan Werpers <jonatan@werpers.com>
date Fri, 18 Oct 2024 21:41:55 +0200
parents e89e28fa9637
children a57cd6fa4ecb
files src/Diffinitive.jl src/Grids/mapped_grid.jl
diffstat 2 files changed, 2 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
diff -r e89e28fa9637 -r bddcae938ded src/Diffinitive.jl
--- a/src/Diffinitive.jl	Fri Oct 18 21:33:55 2024 +0200
+++ b/src/Diffinitive.jl	Fri Oct 18 21:41:55 2024 +0200
@@ -11,7 +11,6 @@
 export SbpOperators
 
 
-
 # Aqua.jl fixes
 using StaticArrays
 using .LazyTensors
diff -r e89e28fa9637 -r bddcae938ded src/Grids/mapped_grid.jl
--- a/src/Grids/mapped_grid.jl	Fri Oct 18 21:33:55 2024 +0200
+++ b/src/Grids/mapped_grid.jl	Fri Oct 18 21:41:55 2024 +0200
@@ -94,11 +94,6 @@
 
 
 """
-    mapped_grid(x,J,size...)
-    mapped_grid(x,J,size...)
-"""
-function mapped_grid end
-"""
     mapped_grid(x, J, size::Vararg{Int})
 
 A `MappedGrid` with a default logical grid on the D-dimensional unit hyper 
@@ -107,11 +102,8 @@
 """
 function mapped_grid(x, J, size::Vararg{Int})
     D = length(size)
-    lg = equidistant_grid(ntuple(i->0., D), ntuple(i->1., D), size...)
+        lg = equidistant_grid(ntuple(i->0., D), ntuple(i->1., D), size...) # TODO: Clean this up with ParamaterSpace once feature/grids/manifolds is merged
     return mapped_grid(x, J, lg)
-
-    # parameterspace = ...
-    # return mapped_grid(x, J, parameterspace, size...)
 end
 
 """
@@ -129,7 +121,7 @@
 end
 
 """
-    mapped_grid(x, J, lg::Grid)
+    mapped_grid(x, J, parameterspace, size)
 
 A `MappedGrid` with logical grid `lg`. Physical coordinates and Jacobian are
 determined by the functions `x` and `J`.