Skip to content

Commit

Permalink
Fix typo (#114)
Browse files Browse the repository at this point in the history
* fix typo

* some more bugfixes
  • Loading branch information
simone-silvestri authored Aug 5, 2024
1 parent ef54b39 commit edecaf9
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ end
#####

"""
LogarthmicSimilarityProfile()
LogarithmicSimilarityProfile()
Represents the classic Monin-Obukhov similarity profile, which finds that
Expand All @@ -215,13 +215,13 @@ and ``Π`` is the "similarity profile",
which is a logarithmic profile adjusted by the stability function ``ψ`` and dependent on
the Monin-Obukhov length ``L`` and the roughness length ``ℓ``.
"""
struct LogarthmicSimilarityProfile end
struct COARELogarthmicSimilarityProfile end
struct LogarithmicSimilarityProfile end
struct COARELogarithmicSimilarityProfile end

@inline similarity_profile(::LogarthmicSimilarityProfile, ψ, h, ℓ, L) =
@inline similarity_profile(::LogarithmicSimilarityProfile, ψ, h, ℓ, L) =
log(h / ℓ) - ψ(h / L) + ψ(ℓ / L)

@inline similarity_profile(::COARELogarthmicSimilarityProfile, ψ, h, ℓ, L) =
@inline similarity_profile(::COARELogarithmicSimilarityProfile, ψ, h, ℓ, L) =
log(h / ℓ) - ψ(h / L)

#####
Expand Down

0 comments on commit edecaf9

Please sign in to comment.