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

DivU constraint with arbitrary sources #428

Merged
merged 9 commits into from
Oct 22, 2024
4 changes: 2 additions & 2 deletions Source/PeleLMeX_K.H
dmontgomeryNREL marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
Expand Up @@ -257,9 +257,9 @@ compute_divu(
if (do_react != 0) {
specTerm += rhoYdot(i, j, k, n);
}
divu(i, j, k) += specTerm * (mwtinv[n] * Wbar * rhoinv - hi[n] * denominv) +
rhoinv * extRho(i, j, k);
divu(i, j, k) += specTerm * (mwtinv[n] * Wbar * rhoinv - hi[n] * denominv);
}
divu(i, j, k) += rhoinv * extRho(i, j, k);
}

AMREX_GPU_DEVICE
Expand Down
Loading