NOAA-GFDL / NDSL

NOAA NASA Domain Specific Language middleware layer
6 stars 8 forks source link

[feature] Expose stencil vertical domain to Frozen Stencil #78

Closed FlorianDeconinck closed 4 weeks ago

FlorianDeconinck commented 4 weeks ago

Description The new feature in development to allow absolute indexing in K allows to easily code patterns like "get the top of the column"... as long as you know what top is.

As we have done in the past for I and J, we expose via __externals__ the bounds of K for the stencil.

This is a zero-cost variable (no cost when not used, no perf cost when used)

How Has This Been Tested? Extended utest

Checklist: