Rev 372 | Rev 379 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 372 | Rev 377 | ||
---|---|---|---|
Line 100... | Line 100... | ||
100 | if (i->LAIfactor()>0) { |
100 | if (i->LAIfactor()>0) { |
101 | i->speciesResponse()->soilAtmosphereResponses(psi_kpa, vpd_kpa, min_response); |
101 | i->speciesResponse()->soilAtmosphereResponses(psi_kpa, vpd_kpa, min_response); |
102 | total_response += min_response * i->LAIfactor(); |
102 | total_response += min_response * i->LAIfactor(); |
103 | }
|
103 | }
|
104 | }
|
104 | }
|
- | 105 | // add an aging factor to the total response (averageAging: leaf area weighted mean aging value):
|
|
- | 106 | // conceptually: response = min(vpd_response, water_response)*aging
|
|
- | 107 | total_response *= mRU->averageAging(); |
|
105 | return total_response; |
108 | return total_response; |
106 | }
|
109 | }
|
107 | 110 | ||
108 | 111 | ||
109 | /// Main Water Cycle function. This function triggers all water related tasks for
|
112 | /// Main Water Cycle function. This function triggers all water related tasks for
|