1
0
Fork 0
mirror of https://github.com/cosmo-sims/monofonIC.git synced 2024-09-19 17:03:45 +02:00

fixed that DoBaryonVrel is in category 'setup', not 'cosmology'

This commit is contained in:
Oliver Hahn 2020-12-10 02:28:11 +01:00
parent da12cb1cb9
commit 61eced697f

View file

@ -97,7 +97,7 @@ int run( config_file& the_config )
//! do baryon ICs?
const bool bDoBaryons = the_config.get_value_safe<bool>("setup", "DoBaryons", false );
//! enable also back-scaled decaying relative velocity mode? only first order!
const bool bDoLinearBCcorr = the_config.get_value_safe<bool>("cosmology", "DoBaryonVrel", false);
const bool bDoLinearBCcorr = the_config.get_value_safe<bool>("setup", "DoBaryonVrel", false);
// compute mass fractions
std::map< cosmo_species, double > Omega;
if( bDoBaryons ){