NGEET / E3SM

Energy Exascale Earth System Model source code. NOTE: use "maint" branches for your work. Head of master is not validated.
https://e3sm.org
Other
1 stars 0 forks source link

Enable fates sites to be initialized, but inactive, on virtual (i.e. zero-weight) columns #8

Open glemieux opened 5 months ago

glemieux commented 5 months ago

If I understand correctly, it is possible for a column's %active status to be dynamically updated during runtime. We currently only initialize fates to run on columns that are active during elm initialization here: https://github.com/NGEET/E3SM/blob/67abd002e90036f0c0d7baeb10b8a55a2965e7a7/components/elm/src/main/elmfates_interfaceMod.F90#L685-L689 In attempting to enable the creation of "virtual" columns that capture a time-since-fire disturbance age value, we will need to make sure that we have fates sites setup on these virtual columns, but inactive. Note that we currently check to make sure that every clump has a fates site and will end the run if it does not here: https://github.com/NGEET/E3SM/blob/67abd002e90036f0c0d7baeb10b8a55a2965e7a7/components/elm/src/main/elmfates_interfaceMod.F90#L800-L804