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

Moved the neutrinos to type 6 in the SWIFT plugin

This commit is contained in:
Matthieu Schaller 2021-02-28 17:39:28 +01:00
parent 622b61cac7
commit e3606275ad

View file

@ -73,7 +73,7 @@ public:
blongids_ = cf_.get_value_safe<bool>("output", "UseLongids", false);
bdobaryons_ = cf_.get_value<bool>("setup","DoBaryons");
for (int i = 0; i < 6; ++i)
for (int i = 0; i < 7; ++i)
{
npart_[i] = 0;
npartTotal_[i] = 0;
@ -196,7 +196,7 @@ public:
case cosmo_species::baryon:
return 0;
case cosmo_species::neutrino:
return 3;
return 6;
}
return -1;
}