Draft: Small ginit change - #732
Open
kbarnhart wants to merge 1 commit into
Open
Conversation
Member
|
Thanks @kbarnhart. I remember you bringing this up and being confused about why this might be needed. I was able I think to puzzle out what I was not understanding and have a couple of comments:
I have not looked through what you did in D-Claw so far, but the implementation that I think should work would require (a) We may also want to add a comment mentioning what |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
In current D-Claw work we have recently found that this change is needed to allow values to persist in aux across regrinding.
For the moment we have made this change in a D-Claw specific ginit. But if the change does not cause problems in geoclaw, perhaps it should live here. For reference, in D-Claw we are working to create a storage layer of static material to put h<drytol. We'd like this to be in aux. If this change is not made, that value of aux is set to zero every time regridding occurs. With this change we can know which parts that aux variable need to be set.
@rjleveque @mandli @dlgeorge