Skip to content

Commit

Permalink
Merge pull request #102 from LLNL/bug-fix/GSPH-unitsError
Browse files Browse the repository at this point in the history
Bug fix/gsph units error
  • Loading branch information
jmikeowen authored Dec 10, 2021
2 parents dc88a2b + 38241ca commit aa28fb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/GSPH/RiemannSolvers/HLLC.cc
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ interfaceState(const int i,

}else{ // if ci & cj too small punt to normal av
const auto uij = std::min((vi-vj).dot(rhatij),0.0);
Pstar = 0.5 * (uij*uij)/(rhoi+rhoj);
Pstar += 0.25 * (rhoi+rhoj) * (uij*uij);
}
}// Scalar interface class

Expand Down

0 comments on commit aa28fb4

Please sign in to comment.