Skip to content

Commit

Permalink
WIP: added missing factor of 0.5 in surface flux
Browse files Browse the repository at this point in the history
  • Loading branch information
tcew committed Sep 13, 2023
1 parent 2c97279 commit 99cbb2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion solvers/maxwell/okl/maxwellSurfaceTet3D.okl
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ void upwind(const dfloat nx,
}

// evaluate "flux" terms: (sJ/J)*(A*nx+B*ny)*(q^* - q^-)
const dfloat sc = invJ*sJ;
const dfloat sc = p_half*invJ*sJ;

dfloat fluxHx, fluxHy, fluxHz;
dfloat fluxEx, fluxEy, fluxEz;
Expand Down

0 comments on commit 99cbb2a

Please sign in to comment.