Skip to content

Commit

Permalink
update fates type names for fates refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
glemieux committed Aug 8, 2023
1 parent 78a5ea1 commit b8be65d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 10 deletions.
2 changes: 1 addition & 1 deletion components/elm/src/external_models/fates
Submodule fates updated 46 files
+2 −6 biogeochem/DamageMainMod.F90
+43 −45 biogeochem/EDCanopyStructureMod.F90
+193 −884 biogeochem/EDCohortDynamicsMod.F90
+11 −12 biogeochem/EDLoggingMortalityMod.F90
+24 −18 biogeochem/EDMortalityFunctionsMod.F90
+115 −406 biogeochem/EDPatchDynamicsMod.F90
+675 −502 biogeochem/EDPhysiologyMod.F90
+2 −2 biogeochem/FatesAllometryMod.F90
+1,090 −0 biogeochem/FatesCohortMod.F90
+10 −1 biogeochem/FatesLitterMod.F90
+809 −0 biogeochem/FatesPatchMod.F90
+14 −16 biogeochem/FatesSoilBGCFluxMod.F90
+5 −4 biogeophys/EDAccumulateFluxesMod.F90
+6 −6 biogeophys/EDBtranMod.F90
+14 −23 biogeophys/EDSurfaceAlbedoMod.F90
+6 −6 biogeophys/FatesBstressMod.F90
+39 −108 biogeophys/FatesPlantHydraulicsMod.F90
+26 −25 biogeophys/FatesPlantRespPhotosynthMod.F90
+25 −25 fire/SFMainMod.F90
+1 −1 fire/SFParamsMod.F90
+9 −9 functional_unit_testing/parteh/f90src/FatesCohortWrapMod.F90
+0 −1 main/CMakeLists.txt
+7 −7 main/ChecksBalancesMod.F90
+314 −346 main/EDInitMod.F90
+22 −29 main/EDMainMod.F90
+45 −1 main/EDParamsMod.F90
+11 −9 main/EDPftvarcon.F90
+32 −787 main/EDTypesMod.F90
+74 −1 main/FatesConstantsMod.F90
+67 −29 main/FatesHistoryInterfaceMod.F90
+83 −2 main/FatesHydraulicsMemMod.F90
+192 −31 main/FatesInterfaceMod.F90
+37 −27 main/FatesInventoryInitMod.F90
+5 −15 main/FatesParametersInterface.F90
+102 −49 main/FatesRestartInterfaceMod.F90
+9 −3 main/FatesRunningMeanMod.F90
+1 −1 main/FatesSizeAgeTypeIndicesMod.F90
+100 −28 parteh/PRTAllometricCNPMod.F90
+43 −12 parteh/PRTAllometricCarbonMod.F90
+1 −1 parteh/PRTParametersMod.F90
+2 −2 parteh/PRTParamsFATESMod.F90
+55 −0 tools/luh2/README.md
+11 −0 tools/luh2/conda-luh2.yml
+138 −0 tools/luh2/luh2.py
+57 −0 tools/luh2/luh2.sh
+248 −0 tools/luh2/luh2mod.py
11 changes: 5 additions & 6 deletions components/elm/src/main/elmfates_interfaceMod.F90
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ module ELMFatesInterfaceMod
use FatesRestartInterfaceMod, only : fates_restart_interface_type

use PRTGenericMod , only : num_elements
use EDTypesMod , only : ed_patch_type
use FatesPatchMod , only : fates_patch_type
use FatesInterfaceTypesMod, only : hlm_stepsize
use EDMainMod , only : ed_ecosystem_dynamics
use EDMainMod , only : ed_update_site
Expand Down Expand Up @@ -1908,7 +1908,7 @@ subroutine wrap_sunfrac(this,bounds_clump,top_af_inst,canopystate_inst)
! on the site
integer :: nc ! clump index

type(ed_patch_type), pointer :: cpatch ! c"urrent" patch INTERF-TODO: SHOULD
type(fates_patch_type), pointer :: cpatch ! c"urrent" patch INTERF-TODO: SHOULD
! BE HIDDEN AS A FATES PRIVATE

associate( forc_solad => top_af_inst%solad, &
Expand Down Expand Up @@ -2189,7 +2189,6 @@ subroutine wrap_photosynthesis(this, bounds_clump, fn, filterp, &
use elm_varcon , only : rgas, tfrz, namep
use elm_varctl , only : iulog
use quadraticMod , only : quadratic
use EDtypesMod , only : ed_patch_type, ed_cohort_type, ed_site_type

!
! !ARGUMENTS:
Expand Down Expand Up @@ -3107,10 +3106,10 @@ subroutine hlm_bounds_to_fates_bounds(hlm, fates)
use FatesInterfaceTypesMod, only : nlevage_fates => nlevage
use FatesInterfaceTypesMod, only : nlevheight_fates => nlevheight
use FatesInterfaceTypesMod, only : nlevdamage_fates => nlevdamage
use EDtypesMod, only : nfsc_fates => nfsc
use FatesLitterMod, only : nfsc_fates => nfsc
use FatesLitterMod, only : ncwd_fates => ncwd
use EDtypesMod, only : nlevleaf_fates => nlevleaf
use EDtypesMod, only : nclmax_fates => nclmax
use EDParamsMod, only : nlevleaf_fates => nlevleaf
use EDParamsMod, only : nclmax_fates => nclmax
use FatesInterfaceTypesMod, only : numpft_fates => numpft
use FatesInterfaceTypesMod, only : nlevcoage

Expand Down
6 changes: 3 additions & 3 deletions components/elm/src/main/histFileMod.F90
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ module histFileMod
use ColumnType , only : col_pp
use VegetationType , only : veg_pp
use ncdio_pio
use EDTypesMod , only : nclmax_fates => nclmax
use EDTypesMod , only : nlevleaf_fates => nlevleaf
use EDParamsMod , only : nclmax_fates => nclmax
use EDParamsMod , only : nlevleaf_fates => nlevleaf
use FatesInterfaceTypesMod , only : nlevsclass_fates => nlevsclass
use FatesInterfaceTypesMod , only : nlevage_fates => nlevage
use FatesInterfaceTypesMod , only : nlevheight_fates => nlevheight
use FatesInterfaceTypesMod , only : nlevdamage_fates => nlevdamage
use FatesInterfaceTypesMod , only : nlevcoage
use EDTypesMod , only : nfsc_fates => nfsc
use FatesLitterMod , only : nfsc_fates => nfsc
use FatesLitterMod , only : ncwd_fates => ncwd
use FatesInterfaceTypesMod , only : numpft_fates => numpft
use PRTGenericMod , only : nelements_fates => num_elements
Expand Down

0 comments on commit b8be65d

Please sign in to comment.