Skip to content

Commit

Permalink
issue #134
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander-Barth committed Aug 3, 2023
1 parent 9557768 commit b524137
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/DIVAnd_bc_stretch.jl
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
function DIVAnd_bc_stretch(mask, pmnin, xiin, Lin, moddim, alphabc::Number = 1.0)

return DIVAnd_bc_stretch(mask, pmnin, xiin, Lin, moddim, alphabc*ones(ndims(mask)))

function DIVAnd_bc_stretch(mask, pmnin, xiin, Lin, moddim)
return DIVAnd_bc_stretch(mask, pmnin, xiin, Lin, moddim,1)
end

function DIVAnd_bc_stretch(mask, pmnin, xiin, Lin, moddim, alphabc::Number)
return DIVAnd_bc_stretch(mask, pmnin, xiin, Lin, moddim, alphabc*ones(ndims(mask)))
end

"""
"""
function DIVAnd_bc_stretch(mask, pmnin, xiin, Lin, moddim, alphabc::Vector{Float64} = ones(ndims(mask)))
function DIVAnd_bc_stretch(mask, pmnin, xiin, Lin, moddim, alphabc::Vector{<:Number})

# number of dimensions
n = ndims(mask)
Expand Down

0 comments on commit b524137

Please sign in to comment.