Skip to content

Commit

Permalink
Update agn_triggering.hpp
Browse files Browse the repository at this point in the history
  • Loading branch information
epanini authored Dec 30, 2024
1 parent 993b936 commit 9ad2113
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/pgen/cluster/agn_triggering.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,7 @@ class AGNTriggering {

public:
const AGNTriggeringMode triggering_mode_;

parthenon::Real inflow_cold_=0.0; // Cold mass inflow rate
parthenon::Real inflow_tot_=0.0; // Total gas mass inflow rate


const parthenon::Real accretion_radius_;

Expand Down Expand Up @@ -74,9 +72,9 @@ class AGNTriggering {
// Compute Cold gas accretion rate within the accretion radius for cold gas triggering
// and simultaneously remove cold gas (updating conserveds and primitives)
template <typename EOS>
void ReduceColdMass(parthenon::Real &cold_mass,parthenon::Real &total_mass,
void ReduceColdMass(parthenon::Real &cold_mass, parthenon::Real &total_mass,
parthenon::MeshData<parthenon::Real> *md, const parthenon::Real dt,
const EOS eos) ;
const EOS eos) const;

// Compute Mass-weighted total density, velocity, and sound speed and total mass
// for Bondi accretion
Expand Down

0 comments on commit 9ad2113

Please sign in to comment.