@@ -1502,6 +1502,7 @@ subroutine set_fates_ctrlparms(tag,ival,rval,cval)
15021502 hlm_maintresp_leaf_model = unset_int
15031503 hlm_mort_cstarvation_model = unset_int
15041504 hlm_radiation_model = unset_int
1505+ hlm_electron_transport_model = unset_int
15051506 hlm_regeneration_model = unset_int
15061507 hlm_use_logging = unset_int
15071508 hlm_use_ed_st3 = unset_int
@@ -1827,6 +1828,11 @@ subroutine set_fates_ctrlparms(tag,ival,rval,cval)
18271828 call endrun(msg= errMsg(sourcefile, __LINE__))
18281829 end if
18291830
1831+ if (hlm_electron_transport_model .eq. unset_int) then
1832+ write (fates_log(), * ) ' electron transport model is unset: hlm_electron_transport_model exiting'
1833+ call endrun(msg= errMsg(sourcefile, __LINE__))
1834+ end if
1835+
18301836 if (hlm_regeneration_model .eq. unset_int) then
18311837 write (fates_log(), * ) ' seed regeneration model is unset: hlm_regeneration_model exiting'
18321838 call endrun(msg= errMsg(sourcefile, __LINE__))
@@ -2083,6 +2089,12 @@ subroutine set_fates_ctrlparms(tag,ival,rval,cval)
20832089 write (fates_log(),* ) ' Transfering hlm_radiation_model ' ,ival,' to FATES'
20842090 end if
20852091
2092+ case (' electron_transport_model' )
2093+ hlm_electron_transport_model = ival
2094+ if (fates_global_verbose()) then
2095+ write (fates_log(),* ) ' Transfering hlm_electron_transport_model ' ,ival,' to FATES'
2096+ end if
2097+
20862098 case (' regeneration_model' )
20872099 hlm_regeneration_model = ival
20882100 if (fates_global_verbose()) then
0 commit comments