Skip to content

Commit

Permalink
daniela's bug-fix psi
Browse files Browse the repository at this point in the history
  • Loading branch information
gimar15 committed Sep 30, 2020
1 parent 69eb6ca commit d150db5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions software/3D-CMCC-Forest-Model/src/modifiers.c
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,9 @@ void modifiers(cell_t *const c, const int layer, const int height, const int dbh
/* Uses the multivariate regressions from Cosby et al., 1984 */
/* volumetric water content */

//test Daniela bug-fix psi September 2020
c->vwc = c->asw / c->max_asw_fc;
c-> vwc= c-> asw/((c->soil_depth/100.)*1000.);
c->psi = c->psi_sat * pow((c->vwc/c->vwc_sat), c->soil_b);

/* no water stress */
Expand Down

1 comment on commit d150db5

@gimar15
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

under testing

Please sign in to comment.