Skip to content

Commit

Permalink
pass quokka gamma to microphysics eos
Browse files Browse the repository at this point in the history
  • Loading branch information
psharda committed Jul 27, 2023
1 parent 1112f9f commit ebbfe81
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/RadhydroSimulation.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,10 @@ template <typename problem_t> class RadhydroSimulation : public AMRSimulation<pr
defineComponentNames();
// read in runtime parameters
readParmParse();
// set gamma
amrex::ParmParse eos("eos");
eos.add("eos_gamma", quokka::EOS_Traits<problem_t>::gamma);

// initialize Microphysics params
init_extern_parameters();
// initialize Microphysics EOS
Expand All @@ -142,6 +146,10 @@ template <typename problem_t> class RadhydroSimulation : public AMRSimulation<pr
defineComponentNames();
// read in runtime parameters
readParmParse();
// set gamma
amrex::ParmParse eos("eos");
eos.add("eos_gamma", quokka::EOS_Traits<problem_t>::gamma);

// initialize Microphysics params
init_extern_parameters();
// initialize Microphysics EOS
Expand Down

0 comments on commit ebbfe81

Please sign in to comment.