-
Notifications
You must be signed in to change notification settings - Fork 105
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/merge gru #116
Feature/merge gru #116
Conversation
Corrected previous erroneous GRU commit
Conflicts: build/Makefile build/source/dshare/var_lookup.f90 build/source/engine/allocspace.f90 build/source/engine/coupled_em.f90 build/source/engine/mDecisions.f90 build/source/engine/read_attrb.f90 build/source/engine/read_force.f90 build/source/engine/read_param.f90 build/source/engine/time_utils.f90 Merged new GRU dimension addition into develop branch Fixed errors in eariler GRU dimension attempt
USE allocspace_module,only:allocLocal ! module to allocate space for data structures | ||
USE allocspace_module,only:allocate_gru_struc ! read/allocate space for gru-hru mask structures | ||
USE allocspace_module,only:allocGlobal ! module to allocate space for global data structures | ||
USE allocspace_module,only:allocLocal ! module to allocate space for local data structures |
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.
There seems to be a difference between the underscore and camelBack notation in these three allocate routines. Perhaps choose one syntax convention.
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, this will be useful, though it should not hold up the merging of this PR. I've opened an issue so this can be addressed.
upArea(iGRU)%hru(iHRU) = 0._dp | ||
do jHRU=1,nHRU | ||
! check if jHRU flows into iHRU | ||
if(typeStruct%gru(iGRU)%hru(jHRU)%var(iLookTYPE%downHRUindex) == typeStruct%gru(iGRU)%hru(iHRU)%var(iLookTYPE%hruIndex))then |
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.
fix whitespace around ==
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.
Done.
Merge the extensions to the GRU dimension, as implemented by Andy Newman. Includes upgrades to new data structures.
Code was run for all test cases and matches output from branch feature/refactorNumerix to within machine precision.