Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions gusto/equations/shallow_water_equations.py
Original file line number Diff line number Diff line change
Expand Up @@ -566,6 +566,10 @@ def schur_complement_form(self, alpha=0.5, tau_values=None):
# bbar was be_bar and here we correct to become bbar
bref += self.parameters.beta2 * self.qvbar

# however, we leave b_ as is, and do not add a contribution from qv.
# It already represents the perturbation to b_e, and since we
# neglect perturbations to qv, the equation below is already correct

seqn = (
inner(w_, (u_)) * dx
- beta_u * (D_) * div(w_*bref) * dx
Expand Down