Skip to content

Commit

Permalink
add function support
Browse files Browse the repository at this point in the history
  • Loading branch information
simone-silvestri committed Jan 10, 2025
1 parent 84c82c9 commit 4588e21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Grids/vertical_coordinate.jl
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ struct ZStarVerticalCoordinate{C, D, E, CC, FC, CF, FF} <: AbstractVerticalCoord
end

# Convenience constructors for Zstar vertical coordinate
ZStarVerticalCoordinate(r_faces::Union{Function, Tuple, AbstractVector}) = ZStarVerticalCoordinate(r_faces, r_faces, [nothing for i in 1:9]...)
ZStarVerticalCoordinate(r_faces) = ZStarVerticalCoordinate(r_faces, r_faces, [nothing for i in 1:9]...)
ZStarVerticalCoordinate(r⁻::Number, r⁺::Number) = ZStarVerticalCoordinate((r⁻, r⁺), (r⁻, r⁺), [nothing for i in 1:9]...)

####
Expand Down

0 comments on commit 4588e21

Please sign in to comment.