Skip to content
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

Merged
merged 9 commits into from
Apr 1, 2016
Merged

Conversation

martynpclark
Copy link
Collaborator

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.

anewman89 and others added 8 commits January 6, 2016 21:34
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
Copy link
Collaborator

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.

Copy link
Collaborator Author

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
Copy link
Collaborator

Choose a reason for hiding this comment

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

fix whitespace around ==

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Done.

@bartnijssen bartnijssen merged commit bfb79ef into CH-Earth:develop Apr 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants