We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76b237b commit dcfe54eCopy full SHA for dcfe54e
src/Model/GroundWaterEnergy/gwe-sfe.f90
@@ -538,8 +538,16 @@ function sfe_get_nbudterms(this) result(nbudterms)
538
! 4. ext-inflow
539
! 5. ext-outflow
540
! 6. strmbed-cond
541
- ! 7. sensible heat flux
542
- nbudterms = 7
+ nbudterms = 6
+ ! -- optional utilities
543
+ ! X. shortwave radiation
544
+ ! X. longwave radiation
545
+ ! X. sensible heat flux
546
+ ! X. latent heat
547
+ if (this%inshf /= 0) then
548
+ nbudterms = nbudterms + 1
549
+ end if
550
+ !
551
end function sfe_get_nbudterms
552
553
!> @brief Set up the budget object that stores all the sfe flows
0 commit comments