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

Error in BMI implementation for get_grid_origin function #11

Open
mdpiper opened this issue Jan 23, 2025 · 0 comments
Open

Error in BMI implementation for get_grid_origin function #11

mdpiper opened this issue Jan 23, 2025 · 0 comments

Comments

@mdpiper
Copy link
Member

mdpiper commented Jan 23, 2025

The implementation of the get_grid_origin function contains this block:

select case(grid_id)
case(0)
grid_origin = [0.d0, 0.d0]
bmi_status = BMI_SUCCESS
case default
grid_origin = [-1.d0]
bmi_status = BMI_FAILURE
end select

The matching case should be case(1) instead of case(0), since all of the exchange items listed in the get_var_grid function are assigned grid id 1.

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

No branches or pull requests

1 participant