Skip to content

Commit

Permalink
fix non-cartesian PLM
Browse files Browse the repository at this point in the history
  • Loading branch information
glesur committed Oct 21, 2023
1 parent 391f2b2 commit 1bdfbef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fluid/RiemannSolver/extrapolateToFaces.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ class ExtrapolateToFaces {
} else { // No shock flattening
dv = SL::PLMLim(dvp,dvm,cp,cm);
}
PrimL(nv,k+koffset,j+joffset,i+ioffset) = v0 + dmArray(index)*dv;
PrimL(nv,k+koffset,j+joffset,i+ioffset) = v0 + dpArray(index)*dv;
PrimR(nv,k,j,i) = v0 - dmArray(index)*dv;
});
}
Expand Down

0 comments on commit 1bdfbef

Please sign in to comment.