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

allow broadcasting over horizontal spaces #1332

Merged
merged 2 commits into from
Jun 21, 2023
Merged

Conversation

simonbyrne
Copy link
Member

@simonbyrne simonbyrne commented Jun 15, 2023

Fixes #1331.

  • Code follows the style guidelines OR N/A.
  • Unit tests are included OR N/A.
  • Code is exercised in an integration test OR N/A.
  • Documentation has been added/updated OR N/A.

Copy link
Member

@charleskawczynski charleskawczynski left a comment

Choose a reason for hiding this comment

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

This looks great! I'm realizing now that the test I included exercises the correct broadcast parts, but there's no test. Also: can you confirm that this is equivalent behavior to the point-domain broadcasting?

I.e., a single point broadcasts over the entire column, or entire domain

@simonbyrne
Copy link
Member Author

i don't have a good test for that yet...

@charleskawczynski
Copy link
Member

This PR should basically allow us to do explicit held suarez and aqua planet runs (right now we are limited to baroclinic wave, which excludes vertical diffusion).

@simonbyrne
Copy link
Member Author

bors r+

bors bot added a commit that referenced this pull request Jun 20, 2023
1332: allow broadcasting over horizontal spaces r=simonbyrne a=simonbyrne

Fixes #1331.

- [x] Code follows the [style guidelines](https://clima.github.io/ClimateMachine.jl/latest/DevDocs/CodeStyle/) OR N/A.
- [x] Unit tests are included OR N/A.
- [x] Code is exercised in an integration test OR N/A.
- [x] Documentation has been added/updated OR N/A.


Co-authored-by: Simon Byrne <[email protected]>
@bors
Copy link
Contributor

bors bot commented Jun 20, 2023

Build failed:

@simonbyrne
Copy link
Member Author

bors r+

bors bot added a commit that referenced this pull request Jun 20, 2023
1332: allow broadcasting over horizontal spaces r=simonbyrne a=simonbyrne

Fixes #1331.

- [x] Code follows the [style guidelines](https://clima.github.io/ClimateMachine.jl/latest/DevDocs/CodeStyle/) OR N/A.
- [x] Unit tests are included OR N/A.
- [x] Code is exercised in an integration test OR N/A.
- [x] Documentation has been added/updated OR N/A.


Co-authored-by: Simon Byrne <[email protected]>
@bors
Copy link
Contributor

bors bot commented Jun 20, 2023

Build failed:

@simonbyrne
Copy link
Member Author

bors r+

@bors
Copy link
Contributor

bors bot commented Jun 21, 2023

Build succeeded!

The publicly hosted instance of bors-ng is deprecated and will go away soon.

If you want to self-host your own instance, instructions are here.
For more help, visit the forum.

If you want to switch to GitHub's built-in merge queue, visit their help page.

@bors bors bot merged commit e08fb5c into main Jun 21, 2023
6 checks passed
@bors bors bot deleted the sb/broadcast-horizontal branch June 21, 2023 21:57
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.

Broadcast 2d shells over 3d sphere
2 participants