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 26, 2023
1 parent f8094cb commit 289e160
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/hydro_system.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
#include "actual_eos_data.H"
#endif


// this struct is specialized by the user application code
//
template <typename problem_t> struct HydroSystem_Traits {
Expand Down Expand Up @@ -317,7 +316,7 @@ AMREX_GPU_DEVICE AMREX_FORCE_INLINE auto HydroSystem<problem_t>::ComputePressure

eos_t chemstate; // cannot use burn_t here; it does not contain pressure
chemstate.rho = rho;
chemstate.e = thermal_energy / rho;
chemstate.e = thermal_energy / rho;
const auto &massArray = *massScalars;
for (int nn = 0; nn < nmscalars_; ++nn) {
chemstate.xn[nn] = massArray[nn] / spmasses[nn]; // massScalars are partial densities (massFractions * rho)
Expand Down

0 comments on commit 289e160

Please sign in to comment.