Output variables that are conditionally available
@mdpiper There are some variables that are conditionally allocated. After talking with Parker I think I'm going to just take them out of the BMI. However for the sake of argument would something like this work fine in a bmi function?
case('gw_upslope')
if(this%model%control_data%cascadegw_flag%value > 0) then !Mark will this conditional work here?
size = sizeof(this%model%model_simulation%groundwater%gw_upslope(1))
bmi_status = BMI_SUCCESS
else
size = -1
bmi_status = BMI_FAILURE
endif
Edited by McDonald, Richard R.