Skip to content

Commit

Permalink
Merge branch 'main' into thermal_linear_solver_fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
nhartney authored Feb 26, 2024
2 parents 0350377 + 57d5778 commit a887283
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gusto/equations.py
Original file line number Diff line number Diff line change
Expand Up @@ -985,7 +985,8 @@ def __init__(self, domain, parameters, Omega=None, sponge=None,
# -------------------------------------------------------------------- #
# Gravitational Term
# -------------------------------------------------------------------- #
gravity_form = subject(prognostic(Term(g*inner(domain.k, w)*dx), 'u'), self.X)
gravity_form = name_label(subject(prognostic(Term(g*inner(domain.k, w)*dx),
'u'), self.X), "gravity")

residual = (mass_form + adv_form + pressure_gradient_form + gravity_form)

Expand Down

0 comments on commit a887283

Please sign in to comment.