diff test/BoundaryConditions/boundary_condition_test.jl @ 1597:330c39505a94 feature/boundary_conditions

Fix boundary condition tests
author Vidar Stiernström <vidar.stiernstrom@gmail.com>
date Sun, 26 May 2024 18:18:17 -0700
parents ee242c3fe4af
children 3e7438e2a033
line wrap: on
line diff
--- a/test/BoundaryConditions/boundary_condition_test.jl	Sun May 26 18:13:58 2024 -0700
+++ b/test/BoundaryConditions/boundary_condition_test.jl	Sun May 26 18:18:17 2024 -0700
@@ -4,9 +4,9 @@
 using Sbplib.Grids
 
 @testset "BoundaryCondition" begin
-    grid_1d = equidistant_grid(11, 0.0, 1.0)
-    grid_2d = equidistant_grid((11,15), (0.0, 0.0), (1.0,1.0))
-    grid_3d = equidistant_grid((11,15,13), (0.0, 0.0, 0.0), (1.0,1.0, 1.0))
+    grid_1d = equidistant_grid(0.0, 1.0, 11)
+    grid_2d = equidistant_grid((0.0, 0.0), (1.0,1.0), 11, 15)
+    grid_3d = equidistant_grid((0.0, 0.0, 0.0), (1.0,1.0, 1.0), 11, 15, 13)
     (id_l,_) = boundary_identifiers(grid_1d)
     (_,_,_,id_n) = boundary_identifiers(grid_2d)
     (_,_,_,_,id_b,_) = boundary_identifiers(grid_3d)