GEOS-ESM / NDSL

NOAA NASA Domain Specific Language middleware layer
0 stars 0 forks source link

GT4Py.cartesian: K indirect write #2

Open FlorianDeconinck opened 6 months ago

FlorianDeconinck commented 6 months ago

Any physics will show a pattern writing in K with an offset. It shouldn't be disallowed, it should potentially negate any optimization pass downstream.

Allow for K-offset on FORWARD and BACKWARD pattern only, as well in while conditional.

Pattern spotted in GEOS moist and radiation as well as GFDL microphysics v3


FlorianDeconinck commented 6 months ago

Tracking https://github.com/GridTools/gt4py/pull/1452

FlorianDeconinck commented 4 months ago

Still in review on GT4Py