There is currently no check that disallows usage of horizontal_dimension in the run phase of a physics scheme (where horizontal_loop_extent must be used).
Steps to Reproduce
Check out the head of feature/capgen
Attempt to run with a physics scheme (or modify an existing test scheme) that uses horizontal_dimension in the run phase in the metadata
See that it compiles without error.
Additional Context
The framework will currently error if you try to use horizontal_loop_extent outside of the run phase, so it should be updated to error when you try to misuse horizontal_dimension as well.
Description
There is currently no check that disallows usage of horizontal_dimension in the run phase of a physics scheme (where horizontal_loop_extent must be used).
Steps to Reproduce
Additional Context
The framework will currently error if you try to use horizontal_loop_extent outside of the run phase, so it should be updated to error when you try to misuse horizontal_dimension as well.