@@ -14,7 +14,7 @@ include("dependencies_for_runtests.jl")
14
14
x⁺² = xF[i, j + 1 ]
15
15
y⁺² = yF[i, j + 1 ]
16
16
z⁺² = zF[i, j + 1 ]
17
-
17
+
18
18
v1 = (x⁺¹ - x⁻, y⁺¹ - y⁻, z⁺¹ - z⁻)
19
19
v2 = (x⁺² - x⁻, y⁺² - y⁻, z⁺² - z⁻)
20
20
78
78
Hx, Hy, _ = halo_size (grid)
79
79
80
80
@test Hy == length (free_surface. substepping. averaging_weights) + 1
81
-
81
+
82
82
@test begin
83
83
time_step! (model, 1.0 )
84
84
true
106
106
107
107
first_pole_longitude = λ¹ₚ = 75
108
108
north_poles_latitude = φₚ = 35
109
-
109
+
110
110
λ²ₚ = λ¹ₚ + 180
111
111
112
112
# Build a tripolar grid at 1ᵒ
143
143
@test u. boundary_conditions. north. classification isa Zipper
144
144
@test v. boundary_conditions. north. classification isa Zipper
145
145
146
- # The velocity fields are reversed at the north boundary
146
+ # The velocity fields are reversed at the north boundary
147
147
# boundary_conditions.north.condition == -1, while the tracer
148
148
# is not: boundary_conditions.north.condition == 1
149
149
@test c. boundary_conditions. north. condition == 1
155
155
set! (v, 1 )
156
156
157
157
fill_halo_regions! (c)
158
- fill_halo_regions! (u)
158
+ fill_halo_regions! (u)
159
159
fill_halo_regions! (v)
160
160
161
161
north_boundary_c = view (c. data, :, Ny+ 1 : Ny+ Hy, 1 )
171
171
north_boundary_u_right = view (u. data, Nx+ 1 , Ny+ 1 : Ny+ Hy, 1 )
172
172
@test all (north_boundary_u_left .== 1 )
173
173
@test all (north_boundary_u_right .== 1 )
174
- end
174
+ end
0 commit comments