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

Implicit rain fall always #3515

Closed
wants to merge 1 commit into from
Closed

Implicit rain fall always #3515

wants to merge 1 commit into from

Conversation

trontrytel
Copy link
Member

Fixes issue #3511

@trontrytel
Copy link
Member Author

I'll start the longrun_moist_baroclinic_wave with 1M to test what happens

Copy link
Member

@szy21 szy21 left a comment

Choose a reason for hiding this comment

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

Looks correct to me, thanks! Let's see if the test works.

@trontrytel trontrytel force-pushed the aj/issue_3511 branch 3 times, most recently from 3133708 to 67da7d6 Compare January 11, 2025 00:45
Comment on lines 231 to 234
MatrixFields.unrolled_map(
name -> (name, @name(c.ρ)) => similar(Y.c, TridiagonalRow),
available_tracer_names_precip,
)...,
Copy link
Member

Choose a reason for hiding this comment

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

Instead of initializing these blocks and setting them to 0, let's just remove them altogether.

dtγ * -(ᶜprecipdivᵥ_matrix()) ⋅
DiagonalMatrixRow(Geometry.WVector(1) * ᶠwinterp(ᶜJ, ᶜρ)) ⋅
ᶠright_bias_matrix() ⋅ DiagonalMatrixRow(-(ᶜwₚ) / ᶜρ) - (I,)
∂ᶜρqₚ_err_∂ᶜρ .= (zero(eltype(∂ᶜρqₚ_err_∂ᶜρ)),)
Copy link
Member

Choose a reason for hiding this comment

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

Since we're not planning to add these blocks later, we can just get rid of this. Hopefully it doesn't change anything.

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