Skip to content

Commit

Permalink
Small change on accr rate in hot halo mode Croto16
Browse files Browse the repository at this point in the history
  • Loading branch information
cdplagos committed Jan 18, 2022
1 parent 078ba18 commit 6c87005
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gas_cooling.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ double GasCooling::cooling_rate(Subhalo &subhalo, Galaxy &galaxy, double z, doub
}
}
else if(agnfeedback->parameters.model == AGNFeedbackParameters::CROTON16){
mheatrate = agnfeedback->agn_bolometric_luminosity(central_galaxy->smbh.macc_hh,central_galaxy->smbh.mass) * 1e40 /
mheatrate = agnfeedback->agn_bolometric_luminosity(central_galaxy->smbh.macc_hh, central_galaxy->smbh.mass) * 1e40 /
(0.5 * std::pow(vvir * KM2CM,2.0)) * MACCRETION_cgs_simu;
}

Expand Down

0 comments on commit 6c87005

Please sign in to comment.