Skip to content

Commit

Permalink
fixing
Browse files Browse the repository at this point in the history
  • Loading branch information
Olivia Alcabes committed Jan 16, 2025
1 parent a13fbef commit 14b4bb3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/prognostic_equations/implicit/implicit_solver.jl
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ function ImplicitEquationJacobian(
ρatke_if_available =
is_in_Y(@name(c.sgs⁰.ρatke)) ? (@name(c.sgs⁰.ρatke),) : ()
sfc_if_available = is_in_Y(@name(sfc)) ? (@name(sfc),) : ()
u₃_if_available = is_in_Y(@name(u₃)) ? (@name(f.sgsʲs.:(1).u₃),) : ()
u₃ʲ_if_available = is_in_Y(@name(f.sgsʲs.:(1).u₃)) ? (@name(f.sgsʲs.:(1).u₃),) : ()

tracer_names = (
@name(c.ρq_tot),
Expand Down Expand Up @@ -296,12 +296,13 @@ function ImplicitEquationJacobian(
names₁ = (
names₁_group₁...,
available_sgs_scalar_names...,
u₃_if_available,
u₃ʲ_if_available...,
names₁_group₂...,
names₁_group₃...,
)

alg₂ = MatrixFields.BlockLowerTriangularSolve(@name(c.uₕ))
@info(alg₂)
alg =
if use_derivative(diffusion_flag) || use_derivative(sgs_advection_flag)
alg₁_subalg₂ =
Expand Down

0 comments on commit 14b4bb3

Please sign in to comment.