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

Pass rgr structure through map functions #158

Open
czender opened this issue Nov 6, 2019 · 2 comments
Open

Pass rgr structure through map functions #158

czender opened this issue Nov 6, 2019 · 2 comments
Assignees

Comments

@czender
Copy link
Member

czender commented Nov 6, 2019

Please modify your branch to pass the rgr structure through as deep as nco_sph_plg_area(). This is necessary to finish the next steps in the non-spherical triangle work. When that's done, please commit and push your latest so I can hook in the non-spherical work.

@hmb1
Copy link
Contributor

hmb1 commented Nov 6, 2019

@czender
I can do this but its really really really horrible !!
What about setting the "rgr" as a file static variable --check it all works and then i can do the horrible stuff ? What members of rgr do you need ?

@czender
Copy link
Member Author

czender commented Nov 7, 2019

Just add this line to all the function protoypes down to nco_sph_plg_area():
(rgr_sct * const rgr, /* I/O [sct] Regridding structure */
It's the best way to expose all the regridding options to the routing that need them. I do not need any exisintg rgr members, I need to make available some new user-controlled flags to nco_sph_plg_area() and that is currently impossible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants