You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While updating STEPWAT2's gridded code I changed the variable Globals to a pointer. There is one reference to Globals in setGlobalSTEPWAT2_OutputVariables() in SW_Output_outarray.c that needs to be updated.
Globals.runModelYears to Globals->runModelYears
The text was updated successfully, but these errors were encountered:
This is the only change I needed to make. Unfortunately merging this into master right now would break STEPWAT2's master branch. I will therefore leave this open until the gridded_code milestone in STEPWAT is complete.
@dschlaep if you would like me to close the milestone or issue let me know, I feel bad about cluttering the repo with such a minor change.
@chaukap Sounds good. Not much of a problem. Feel free to create a pull-request though (with above explanation) to mark that this is ready to go once the STEPWAT2-side is -- at least for me, PRs are more visible and I am l less likely to forget about them when they are becoming stale...
I identified one more problem: we are changing SXW to a pointer and there are a few places in SOILWAT that reference SXW. I will change these to pointers as well. Everything is still inside an #ifdef STEPWAT so this should not change SOILWAT.
SuperGlobals is a new STEPWAT2 struct that holds Global variabls that are not cell-specific. This includes runModelYears and runModelIterations. To account for this I had to extern the new variable and modify the calls.
(issue #247)
While updating STEPWAT2's gridded code I changed the variable Globals to a pointer. There is one reference to Globals in setGlobalSTEPWAT2_OutputVariables() in SW_Output_outarray.c that needs to be updated.
The text was updated successfully, but these errors were encountered: