-
Notifications
You must be signed in to change notification settings - Fork 400
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/move max iter grnd canopy #771
Feature/move max iter grnd canopy #771
Conversation
dgergel
commented
Jan 16, 2018
- closes move MAX_ITER_GRND_CANOPY to parameters struct #770
- tests passed
- new tests added
- science test figures
- ran uncrustify prior to final commit
- ReleaseNotes entry
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. This looks pretty good. One change should be made before we merge.
vic/vic_run/src/surface_fluxes.c
Outdated
MAX_ITER_GRND_CANOPY = 0; | ||
if (!options.CLOSE_ENERGY) { | ||
// if not closing energy balance, don't iterate | ||
param.MAX_ITER_GRND_CANOPY = 0; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we move this change to the parameters initialization? No need to reset this variable each timestep.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I considered doing that but moving it to vic/drivers/shared_all/src/initialize_parameters.c
requires using the options
struct in that routine, which we don't currently do - do you think that's fine?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, I think that it probably cleanest.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've updated this as you suggested - I'll ping you once the tests pass and it's ready for another review.
… in shared_all from surface_fluxes.c in vic_run
…l/VIC into feature/move_max_iter_grnd_canopy
…l/VIC into feature/move_max_iter_grnd_canopy
@jhamman this is ready for another review. |