File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -100,6 +100,7 @@ Bool initsoil(Stand *stand, /**< Pointer to stand data */
100100 for (l = 0 ;l < LASTLAYER ;l ++ )
101101 {
102102 soil -> wfc [l ]= soilpar -> wfc ;
103+ soil -> wpwp [l ]= soilpar -> wpwp ;
103104 soil -> whc [l ]= soilpar -> wfc - soilpar -> wpwp ;
104105 soil -> whcs [l ]= soil -> whc [l ]* soildepth [l ];
105106 soil -> wpwps [l ]= soilpar -> wpwp * soildepth [l ];
@@ -116,6 +117,7 @@ Bool initsoil(Stand *stand, /**< Pointer to stand data */
116117 }
117118 /*assume last layer is bedrock in 6-layer version */
118119 soil -> wfc [BOTTOMLAYER ]= soilpar -> wfc ;
120+ soil -> wpwp [BOTTOMLAYER ]= soilpar -> wpwp ;
119121 soil -> whc [BOTTOMLAYER ]= 0.002 ;/*0.006 wsats - 0.002 whc - 0.001 wpwps = 0.003 for free water */
120122 soil -> whcs [BOTTOMLAYER ]= soil -> whc [BOTTOMLAYER ]* soildepth [BOTTOMLAYER ];
121123 soil -> wpwps [BOTTOMLAYER ]= 0.001 * soildepth [BOTTOMLAYER ];
You can’t perform that action at this time.
0 commit comments