Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mom-41 #3

Merged
merged 2 commits into from
Oct 26, 2012
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions src/atmos_param/monin_obukhov/monin_obukhov.F90
Original file line number Diff line number Diff line change
Expand Up @@ -859,14 +859,17 @@ subroutine mo_diff_0d_1(z, u_star, b_star, k_m, k_h)

integer :: ni, nj, nk, ier
real, parameter :: ustar_min = 1.e-10
real, dimension(1,1) :: u_star1, b_star1
real, dimension(1,1,1) :: z1, k_m1, k_h1

if(.not.module_is_initialized) call monin_obukhov_init

ni = 1; nj = 1; nk = 1
z1 = z; u_star1 = u_star; b_star1 = b_star
call monin_obukhov_diff(vonkarm, &
& ustar_min, &
& neutral, stable_option, rich_crit, zeta_trans, &
& ni, nj, nk, z, u_star, b_star, k_m, k_h, ier)
& ni, nj, nk, z1, u_star1, b_star1, k_m1, k_h1, ier)

end subroutine mo_diff_0d_1

Expand All @@ -880,14 +883,16 @@ subroutine mo_diff_0d_n(z, u_star, b_star, k_m, k_h)

integer :: ni, nj, nk, ier
real, parameter :: ustar_min = 1.e-10
real, dimension(1,1) :: u_star1, b_star1

if(.not.module_is_initialized) call monin_obukhov_init

ni = 1; nj = 1; nk = size(z(:))
u_star1 = u_star; b_star1 = b_star
call monin_obukhov_diff(vonkarm, &
& ustar_min, &
& neutral, stable_option, rich_crit, zeta_trans, &
& ni, nj, nk, z, u_star, b_star, k_m, k_h, ier)
& ni, nj, nk, z, u_star1, b_star1, k_m, k_h, ier)

end subroutine mo_diff_0d_n

Expand Down