Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enhance soil residue handling and biomass calculations in pl_mortality
- Added `use soil_module`. - Introduced a new integer variable `ly` to represent the soil layer number. - Modified the calculation of surface residue pools by adding above-ground biomass to the surface residue pools. -- Added a conditional block to check if `bsn_cc%cswat` equals 2, and if true, updated the `meta`, `str`, and `lig` pools in the first soil layer with specific fractions of the above-ground biomass. -- Added a new block to handle the addition of dead roots to soil residue pools, iterating over each soil layer and updating the `rsd`, `meta`, `str`, and `lig` pools based on the root fraction and specific fractions of the root biomass.
- Loading branch information