Skip to content

Commit

Permalink
surface: add forgotten velocity parameter namelist entry and mpi exch…
Browse files Browse the repository at this point in the history
…ange
  • Loading branch information
fjansson committed Nov 13, 2023
1 parent 9314706 commit 0c64c5b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/modsurface.f90
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,8 @@ subroutine initsurface
!2leaf AGS, sunlit/shaded
lsplitleaf, &
! Exponential emission function
i_expemis, expemis0, expemis1, expemis2
i_expemis, expemis0, expemis1, expemis2, &
min_horv


! 1 - Initialize soil
Expand Down Expand Up @@ -172,6 +173,8 @@ subroutine initsurface
call D_MPI_BCAST(expemis1 , 1, 0, comm3d, mpierr)
call D_MPI_BCAST(expemis2 , 1, 0, comm3d, mpierr)

call D_MPI_BCAST(min_horv , 1, 0, comm3d, mpierr)

if(lCO2Ags .and. (.not. lrsAgs)) then
if(myid==0) print *,"WARNING::: You set lCO2Ags to .true., but lrsAgs to .false."
if(myid==0) print *,"WARNING::: Since AGS does not run, lCO2Ags will be set to .false. as well."
Expand Down

0 comments on commit 0c64c5b

Please sign in to comment.