Skip to content

Commit 899aba5

Browse files
committed
Remove redundant varargs in getbc for ContinuousBoundaryFunction
1 parent a7b90b2 commit 899aba5

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/BoundaryConditions/continuous_boundary_function.jl

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ const ZBoundaryFunction{LX, LY, S} = ContinuousBoundaryFunction{LX, LY, Nothing,
124124

125125
# Return ContinuousBoundaryFunction on east or west boundaries.
126126
@inline function getbc(cbf::XBoundaryFunction{LY, LZ, S}, j::Integer, k::Integer,
127-
grid::AbstractGrid, clock, model_fields, args...) where {LY, LZ, S}
127+
grid::AbstractGrid, clock, model_fields) where {LY, LZ, S}
128128

129129
i, i′ = domain_boundary_indices(S(), grid.Nx)
130130
args = user_function_arguments(i, j, k, grid, model_fields, cbf.parameters, cbf)
@@ -135,7 +135,7 @@ end
135135

136136
# Return ContinuousBoundaryFunction on south or north boundaries.
137137
@inline function getbc(cbf::YBoundaryFunction{LX, LZ, S}, i::Integer, k::Integer,
138-
grid::AbstractGrid, clock, model_fields, args...) where {LX, LZ, S}
138+
grid::AbstractGrid, clock, model_fields) where {LX, LZ, S}
139139

140140
j, j′ = domain_boundary_indices(S(), grid.Ny)
141141
args = user_function_arguments(i, j, k, grid, model_fields, cbf.parameters, cbf)
@@ -146,7 +146,7 @@ end
146146

147147
# Return ContinuousBoundaryFunction on bottom or top boundaries.
148148
@inline function getbc(cbf::ZBoundaryFunction{LX, LY, S}, i::Integer, j::Integer,
149-
grid::AbstractGrid, clock, model_fields, args...) where {LX, LY, S}
149+
grid::AbstractGrid, clock, model_fields) where {LX, LY, S}
150150

151151
k, k′ = domain_boundary_indices(S(), grid.Nz)
152152
args = user_function_arguments(i, j, k, grid, model_fields, cbf.parameters, cbf)
@@ -161,7 +161,7 @@ end
161161

162162
# Return ContinuousBoundaryFunction on the east or west interface of a cell adjacent to an immersed boundary
163163
@inline function getbc(cbf::XBoundaryFunction{LY, LZ, S}, i::Integer, j::Integer, k::Integer,
164-
grid::AbstractGrid, clock, model_fields, args...) where {LY, LZ, S}
164+
grid::AbstractGrid, clock, model_fields) where {LY, LZ, S}
165165

166166
i′ = cell_boundary_index(S(), i)
167167
args = user_function_arguments(i, j, k, grid, model_fields, cbf.parameters, cbf)
@@ -172,7 +172,7 @@ end
172172

173173
# Return ContinuousBoundaryFunction on the south or north interface of a cell adjacent to an immersed boundary
174174
@inline function getbc(cbf::YBoundaryFunction{LX, LZ, S}, i::Integer, j::Integer, k::Integer,
175-
grid::AbstractGrid, clock, model_fields, args...) where {LX, LZ, S}
175+
grid::AbstractGrid, clock, model_fields) where {LX, LZ, S}
176176

177177
j′ = cell_boundary_index(S(), j)
178178
args = user_function_arguments(i, j, k, grid, model_fields, cbf.parameters, cbf)
@@ -183,7 +183,7 @@ end
183183

184184
# Return ContinuousBoundaryFunction on the bottom or top interface of a cell adjacent to an immersed boundary
185185
@inline function getbc(cbf::ZBoundaryFunction{LX, LY, S}, i::Integer, j::Integer, k::Integer,
186-
grid::AbstractGrid, clock, model_fields, args...) where {LX, LY, S}
186+
grid::AbstractGrid, clock, model_fields) where {LX, LY, S}
187187

188188
k′ = cell_boundary_index(S(), k)
189189
args = user_function_arguments(i, j, k, grid, model_fields, cbf.parameters, cbf)

0 commit comments

Comments
 (0)