Skip to content

Commit dc4a327

Browse files
authored
Update test_tripolar_grid.jl
1 parent d31586c commit dc4a327

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

test/test_tripolar_grid.jl

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ include("dependencies_for_runtests.jl")
1414
x⁺² = xF[i, j + 1]
1515
y⁺² = yF[i, j + 1]
1616
z⁺² = zF[i, j + 1]
17-
17+
1818
v1 = (x⁺¹ - x⁻, y⁺¹ - y⁻, z⁺¹ - z⁻)
1919
v2 = (x⁺² - x⁻, y⁺² - y⁻, z⁺² - z⁻)
2020

@@ -78,7 +78,7 @@ end
7878
Hx, Hy, _ = halo_size(grid)
7979

8080
@test Hy == length(free_surface.substepping.averaging_weights) + 1
81-
81+
8282
@test begin
8383
time_step!(model, 1.0)
8484
true
@@ -106,7 +106,7 @@ end
106106

107107
first_pole_longitude = λ¹ₚ = 75
108108
north_poles_latitude = φₚ = 35
109-
109+
110110
λ²ₚ = λ¹ₚ + 180
111111

112112
# Build a tripolar grid at 1ᵒ
@@ -143,7 +143,7 @@ end
143143
@test u.boundary_conditions.north.classification isa Zipper
144144
@test v.boundary_conditions.north.classification isa Zipper
145145

146-
# The velocity fields are reversed at the north boundary
146+
# The velocity fields are reversed at the north boundary
147147
# boundary_conditions.north.condition == -1, while the tracer
148148
# is not: boundary_conditions.north.condition == 1
149149
@test c.boundary_conditions.north.condition == 1
@@ -155,7 +155,7 @@ end
155155
set!(v, 1)
156156

157157
fill_halo_regions!(c)
158-
fill_halo_regions!(u)
158+
fill_halo_regions!(u)
159159
fill_halo_regions!(v)
160160

161161
north_boundary_c = view(c.data, :, Ny+1:Ny+Hy, 1)
@@ -171,4 +171,4 @@ end
171171
north_boundary_u_right = view(u.data, Nx+1, Ny+1:Ny+Hy, 1)
172172
@test all(north_boundary_u_left .== 1)
173173
@test all(north_boundary_u_right .== 1)
174-
end
174+
end

0 commit comments

Comments
 (0)