Skip to content

Commit

Permalink
fix issure # 163 add the notes of the function
Browse files Browse the repository at this point in the history
  • Loading branch information
DanyangYu committed Jul 13, 2023
1 parent fe41d5f commit 4c51919
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/Root_properties.m
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,16 @@
%{
This function is used to calculate the dynamic growth of root
This part can refer to Wang et al. (2021) "Intergrated modelling of photosynthesis and transfer of energy, mass, and momentum in the SPAC system"
Input:
Rl: root length index at last step
Ac: the net assimilation of canopy
rroot: radius of root
Output:
Rl: root length index at current step
%}

function [Rl] = Root_properties(Rl, Ac, rroot, frac, bbx, KT, DeltZ, sfactor, LAI_msr)
%INPUTS
%global DeltZ sfactor LAI_msr

% calculate the fraction of root
fr = calculateRootfraction(KT);

DeltZ0 = DeltZ' / 100;
Expand Down

0 comments on commit 4c51919

Please sign in to comment.