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

Bug fix: non-integer box lenghts - thanks Willem Elbers

This commit is contained in:
Adrian Jenkins 2021-07-05 08:50:17 +01:00
parent af2c77fcd8
commit e3f5d65e0a

View file

@ -74,7 +74,7 @@ public:
descriptor_string_ = pcf_->get_value<std::string>("random", "descriptor"); descriptor_string_ = pcf_->get_value<std::string>("random", "descriptor");
grid_res_ = pcf_->get_value<size_t>("setup", "GridRes"); grid_res_ = pcf_->get_value<size_t>("setup", "GridRes");
boxlength_ = pcf_->get_value<size_t>("setup", "BoxLength"); boxlength_ = pcf_->get_value<real_t>("setup", "BoxLength");
if( pcf_->get_value<bool>("setup", "DoFixing") ){ if( pcf_->get_value<bool>("setup", "DoFixing") ){
music::flog << "Fixing all the modes to the mean power negates any advantage of using the Panphasia field.\n"; music::flog << "Fixing all the modes to the mean power negates any advantage of using the Panphasia field.\n";