Skip to content

Use columnwise for setting tendencies to zero#3852

Closed
charleskawczynski wants to merge 1 commit into
mainfrom
ck/columnwise_set_zero
Closed

Use columnwise for setting tendencies to zero#3852
charleskawczynski wants to merge 1 commit into
mainfrom
ck/columnwise_set_zero

Conversation

@charleskawczynski
Copy link
Copy Markdown
Member

I'm not getting much traction on #3833, so I'll open one more PR along these lines. This PR uses columnwise! to set Yₜ to zero. I've tried to cleanup / document functions so that this PR will pass CI and is merge-able.

Comment thread src/utils/utilities.jl Outdated
Comment thread src/utils/utilities.jl Outdated
#####
##### Cell center tendencies
#####
function ᶜremaining_tendency(ᶜY, ᶠY, p, t)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I can't figure out what this function does by its name so a docstring might help

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Yeah, I'll add one for this and the other top-level one that is passed to columnwise!.

Copy link
Copy Markdown
Member

@glwagner glwagner left a comment

Choose a reason for hiding this comment

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

I don't feel qualified to deliver an authoritative review, so I've made a few comments about aesthetics.

Update src/utils/utilities.jl

Co-authored-by: Gregory L. Wagner <[email protected]>

Update src/utils/utilities.jl

Co-authored-by: Gregory L. Wagner <[email protected]>
@szy21 szy21 closed this Nov 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants