Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jul 27, 2023
1 parent 8146b4e commit 1fcab92
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/HydroContact/test_hydro_contact.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,9 @@ void RadhydroSimulation<ContactProblem>::computeReferenceSolution(amrex::MultiFa
stateExact(i, j, k, HydroSystem<ContactProblem>::x1Momentum_index) = rho * vx;
stateExact(i, j, k, HydroSystem<ContactProblem>::x2Momentum_index) = 0.;
stateExact(i, j, k, HydroSystem<ContactProblem>::x3Momentum_index) = 0.;
stateExact(i, j, k, HydroSystem<ContactProblem>::energy_index) = quokka::EOS<ContactProblem>::ComputeEintFromPres(rho, P) + 0.5 * rho * (vx * vx);
stateExact(i, j, k, HydroSystem<ContactProblem>::internalEnergy_index) = quokka::EOS<ContactProblem>::ComputeEintFromPres(rho, P);
stateExact(i, j, k, HydroSystem<ContactProblem>::energy_index) =
quokka::EOS<ContactProblem>::ComputeEintFromPres(rho, P) + 0.5 * rho * (vx * vx);
stateExact(i, j, k, HydroSystem<ContactProblem>::internalEnergy_index) = quokka::EOS<ContactProblem>::ComputeEintFromPres(rho, P);
});
}

Expand Down

0 comments on commit 1fcab92

Please sign in to comment.