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

tests[cartesian]: Increase horizontal region test coverage #1851

Merged

Conversation

romanc
Copy link
Contributor

@romanc romanc commented Feb 6, 2025

Description

A a test case where horizontal regions are used to write to a subset of the field. Note that this is different from
TestHorizontalRegionsCorners because we have specialized optimizations in place for corners of the cube.

Related issue: #720

Requirements

  • All fixes and/or new features come with corresponding tests.
    New tests added
  • Important design decisions have been documented in the appropriate ADR inside the docs/development/ADRs/ folder.
    N/A

A a test case where horizontal regions are used to write to a subset of
the field. Note that this is different from
`TestHorizontalRegionsCorners` because we have specialized optimizations
in place for corners of the cube.
@romanc
Copy link
Contributor Author

romanc commented Feb 6, 2025

The new bridge has one case where this new test fails. That bug is partly why I've seen nan's in the computation of e.g. DelnFlux where we use horizontal regions to only write to parts of a field.

Copy link
Contributor

@FlorianDeconinck FlorianDeconinck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@twicki twicki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Thanks for catching that

@romanc romanc merged commit 05b3b87 into GridTools:main Feb 10, 2025
23 checks passed
@romanc romanc deleted the romanc/horizontal-regions-test-coverage branch February 10, 2025 14:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants