We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
A lot of physics code have this pattern
[some calculation to Float field X] index = nint(X) v = other_field[index]
We have no cast to int in gt4py, which means breaking into two stencils. Fix that.
cast
int
Parent: GEOS-ESM/SMT-Nebulae#36
int(X)
The text was updated successfully, but these errors were encountered:
gt4py.cartesian
Working prototype at: https://github.com/FlorianDeconinck/gt4py/tree/cartesian/cast_to_int
Issues:
dace
upcaster
Sorry, something went wrong.
FlorianDeconinck
No branches or pull requests
A lot of physics code have this pattern
We have no
cast
toint
in gt4py, which means breaking into two stencils. Fix that.Parent: GEOS-ESM/SMT-Nebulae#36
int(X)
operation is allowed in gt4pyThe text was updated successfully, but these errors were encountered: