-
Notifications
You must be signed in to change notification settings - Fork 25
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
Implement standard definitions of Set_value
& Set_value_at_indices
#104
Implement standard definitions of Set_value
& Set_value_at_indices
#104
Conversation
Set_values
& Set_value_at_indices
Set_value
& Set_value_at_indices
// Use nested call to "by index" version | ||
|
||
// Here, for now at least, we know all the variables are scalar, so | ||
int inds[] = {0}; | ||
|
||
// Then we can just ... | ||
return Set_value_at_indices(self, name, inds, 1, array); | ||
return Set_value_at_indices(self, name, inds, 1, array);*/ |
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.
this only works for doubles
and not for array of doubles
, so it will potentially break the coupling with soil_moisture_profile
which is used in rootzone-based AET.
@madMatchstick while reviewing and testing this PR, which breaks the coupling with SMP, I found a bug in the rootzone-based AET (not directly related to this PR). so I think that PR (104) should be merged before this one, as we need to ensure that |
Ok, thanks Ahmad - looking at the PR you linked, I now understand what you mean by "breaks when coupling with SMP" as the |
sounds good.. we have to make sure that |
@madMatchstick should we close this?? |
Adjusts two BMI functions,
Set_value()
Set_value_at_indices()
to "standard" BMI definitions according to examples and readme documents
is_aet_rootzone
(boolean flag) name updates left over from PR bug_fix_aet rootzone #105Changes
Testing
ngen
build/run coupling cfe & petSoilFreezeThaw
; coupling cfe, sft, smp & petis_sft_coupled
&is_aet_rootzone
totrue
. e.g.,as outlined in configs/readme here & here.
Notes
Checklist
Testing checklist
Target Environment support