Skip to content

Commit

Permalink
Fix an embarrassing bug for non-multizone production/speherical probl…
Browse files Browse the repository at this point in the history
…ems with Flux-CT
  • Loading branch information
Ben Prather committed Nov 21, 2023
1 parent 2a39af0 commit 30c53a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kharma/b_flux_ct/b_flux_ct.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ void FixBoundaryFlux(MeshData<Real> *md, IndexDomain domain, bool coarse)
);

}
if (domain == IndexDomain::outer_x2 &&
if (domain == IndexDomain::outer_x1 &&
pmb->boundary_flag[BoundaryFace::outer_x1] == BoundaryFlag::user)
{
pmb->par_for("fix_flux_b_out", kbs.s, kbs.e, jbs.s, jbs.e, ibf.e, ibf.e, // Hyerin (12/28/22) for 1st & 2nd prescription
Expand Down

0 comments on commit 30c53a2

Please sign in to comment.