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

307 commits

Author SHA1 Message Date
Matthieu Schaller
3a67c50f36 Write the redshift in the header of SWIFT ICs since the code will check that against the value provided in the param file upon startup 2021-02-28 17:56:06 +01:00
Matthieu Schaller
e9ebdc9e5d Extended all the header arrays to have 7 entries in the SWIFT output plugin 2021-02-28 17:49:24 +01:00
Matthieu Schaller
e3606275ad Moved the neutrinos to type 6 in the SWIFT plugin 2021-02-28 17:39:28 +01:00
Matthieu Schaller
622b61cac7 Set the smoothing-lengths to the mean inter-particle separation including the correct h-scaling 2021-02-28 17:33:27 +01:00
Michael Buehlmann
c28dc782e3 fix genericio plugin 2020-12-28 23:25:11 -06:00
Oliver Hahn
0c4cb7e5ae final polishing touches to PANPHASIA plugin as suggested by Adrian Jenkins 2020-12-13 11:19:45 +01:00
Oliver Hahn
315790a129 one more tuning of panphasia minimum noise grid size 2020-12-10 17:06:33 +01:00
Oliver Hahn
bce685d102 fixed a compiler error just introduced 2020-12-10 15:55:36 +01:00
Oliver Hahn
563a6c9f07 added a minimum panphasia resolution 2020-12-10 13:29:07 +01:00
Oliver Hahn
61eced697f fixed that DoBaryonVrel is in category 'setup', not 'cosmology' 2020-12-10 02:28:11 +01:00
Oliver Hahn
b6f4036353 fixed forgotten factor of 1/2 in panphasia phase shift (bug introduced in last commit) has no consequences besides tiny global shift 2020-12-10 02:03:49 +01:00
Oliver Hahn
3ce9198406 removed deprecated old binary format Gadget-2 plugin 2020-12-10 02:02:19 +01:00
Oliver Hahn
f61e26ab9f added phase shift from cell center to cell corner of panphasia field (change suggested by Adrian Jenkins) 2020-12-03 13:23:37 +01:00
Oliver Hahn
09074d43b3 fixed some bugs that can sometimes appear for combinations of some grid resolutions and/or numbers of mpi tasks 2020-11-16 23:20:52 +01:00
Oliver Hahn
9ac083db86 copy paste fix 2020-11-14 13:47:37 +01:00
Oliver Hahn
a467476327 made parallel recv dependent on whether mpi supports threading 2020-11-13 17:20:24 +01:00
Oliver Hahn
1bca9990dd fixed dealias communication bug for some combinations of resolution and mpi tasks 2020-11-13 15:52:20 +01:00
Oliver Hahn
d8cd286f87 fixed mpi_init_thread to allow for MPI_THREAD_MULTIPLE allowing multithread receives 2020-11-12 22:39:19 +01:00
Oliver Hahn
0420726270 substantial overhaul of PANPHASIA RNG, now supports any choice of resolution of panphasia descriptor with any target resolution 2020-11-11 16:28:52 +01:00
Oliver Hahn
bf81d6e474 optimised memory usage, wnoise is generated before anything else is allocated 2020-11-11 16:27:55 +01:00
Oliver Hahn
edcfbbab58 added new fourier copy-interpolation routine 2020-11-11 16:26:49 +01:00
Oliver Hahn
048ea5172c fixed leftover old nomenclature cosmological parameter in generic IO plugin 2020-11-11 10:53:59 +01:00
Oliver Hahn
326bfb7b9e fixed compilation problems when changing code precision 2020-10-29 19:50:05 +01:00
Oliver Hahn
8d8813c305 fix writing out neutrino mass class parameter if no massive neutrinos are present 2020-09-11 01:21:12 +02:00
Oliver Hahn
db5ce865a4 added pre-defined sets of cosmological parameters 2020-09-10 23:08:00 +02:00
Oliver Hahn
da7dc2b210 add back decaying relative velocity mode at linear order only, cleanup of cosmology calculator module 2020-09-10 05:02:43 +02:00
Oliver Hahn
f7a59c6634 output plugins use cosmology::parameters instead of config file to set dependent quantities 2020-09-10 04:12:32 +02:00
Oliver Hahn
25ddeffc76 use total matter instead of baryon+cdm as total 2020-09-07 23:55:56 +02:00
Oliver Hahn
086fb5f61b some cleanup 2020-09-07 23:20:28 +02:00
Oliver Hahn
c437e6f720 updated default cosmological model to Planck2018, added neutrinos in class module (not in backscaling model) 2020-09-07 22:55:39 +02:00
Oliver Hahn
e72547f81b changed CAMB plugin to use new interpolation interface rather than directly GSL 2020-09-02 13:07:23 +02:00
Oliver Hahn
bf6dd7e0ee new unified access to cosmological parameters 2020-09-01 15:29:40 +02:00
Oliver Hahn
8686c0365c fixed CAMB reader, CAMB and CLASS agree now if used at same reference redshift 2020-09-01 11:04:26 +02:00
Oliver Hahn
063a43d60e minor refactoring 2020-08-30 12:16:34 +02:00
Oliver Hahn
2aa94abe56 Merge branch 'master' of https://bitbucket.org/ohahn/monofonic into develop 2020-08-30 03:22:35 +02:00
Michael Buehlmann
ddd7957362 fix variable name 2020-08-27 11:05:44 -05:00
Oliver Hahn
cdeece5f24 Merge branch 'develop' of https://bitbucket.org/ohahn/monofonic into develop 2020-08-26 15:18:48 +02:00
Oliver Hahn
abf8d0ec9a added a dummy smoothing length (2 mean particle spacings) to the Swift ICs 2020-08-26 15:18:42 +02:00
Michael Buehlmann
3d9f2c1a77 fix mass/velocity units for HACC 2020-08-25 11:05:32 -05:00
Oliver Hahn
bce08680ea WIP Swift. fixed uninitialised variable 2020-08-25 17:10:59 +02:00
Oliver Hahn
90b8fbb4a1 removed forgotten warninig about gadget particle type 2020-08-25 16:58:37 +02:00
Oliver Hahn
881d428213 Merge branch 'master' of https://bitbucket.org/ohahn/monofonic into develop 2020-08-25 16:07:30 +02:00
Oliver Hahn
a4295ea951 WIP: Swift output plugin 2020-08-25 16:07:15 +02:00
Oliver Hahn
24f9406cb3 fixed gadget_hdf5 baryon type to be 0 not 2 (leftover from testing) 2020-08-25 11:47:14 +02:00
Oliver Hahn
ee8a4123d4 removed hand-coded versioning 2020-08-23 22:35:36 +02:00
Oliver Hahn
4b534fe306 hard coded phase flip in panphasia 2020-08-23 22:07:59 +02:00
Oliver Hahn
f3382d32fe added delta_bc to CAMB file, also caution message 2020-08-23 16:34:07 +02:00
Oliver Hahn
7086442712 added non-MPI version of MUSIC1 randum number generator 2020-08-23 16:09:13 +02:00
Oliver Hahn
5c46890468 updated licensing info for panphasia 2020-08-23 16:01:02 +02:00
Oliver Hahn
5170034218 cleaned up some compiler warnings 2020-08-23 00:26:26 +02:00
Michael Buehlmann
b39ab2c10b correct genericio mask type 2020-08-21 11:50:17 -05:00
Michael Buehlmann
87e13c004f fix: individual masses for genericio 2020-08-21 11:50:17 -05:00
Michael Buehlmann
c56a9b013a typo (double;) 2020-08-21 11:50:17 -05:00
Michael Buehlmann
f098c17bb7 add genericio output plugin, fix memory leak in fftw plans, modernize CMakeLists 2020-08-21 11:47:53 -05:00
Oliver Hahn
d5493ca70a added license info to each file 2020-08-21 17:03:33 +02:00
Oliver Hahn
143aaaf280 updated example conf file 2020-08-21 16:11:39 +02:00
Oliver Hahn
4138ce2026 removed particle position perturbations for multi-fluid 2020-08-20 17:10:44 +02:00
Oliver Hahn
6fd16e2927 commented out output of internally computed growth factor 2020-08-16 20:55:58 +02:00
Oliver Hahn
65746bac92 added possibility to have unallocated grids which can be allocated when needed 2020-08-16 20:48:31 +02:00
Oliver Hahn
c360368f15 added guarantee that fields are in right space 2020-08-16 18:31:21 +02:00
Oliver Hahn
950fe6b597 fixes to removal of 3a 3b split 2020-08-16 17:41:21 +02:00
Oliver Hahn
5aab63fdcb fixed compilation error (forgotten multiplication op) 2020-08-16 17:40:53 +02:00
Oliver Hahn
173cd7a63f Merge branch 'develop' of https://bitbucket.org/ohahn/monofonic into develop 2020-08-16 17:20:13 +02:00
Oliver Hahn
a593e9abb1 removed split in 3a and 3b for 3lpt longitudinal 2020-08-16 17:20:07 +02:00
Oliver Hahn
6709f9967c moved code for baryon displacement perturbations into ifdefs 2020-08-16 17:19:37 +02:00
Oliver Hahn
d0487c3748 Merged master into develop 2020-08-16 11:43:40 +02:00
Oliver Hahn
64be786c5e added option for phase inversion of white noise field 2020-08-14 21:41:48 +02:00
Oliver Hahn
a525c595f4 added output of transfer functions along with power spectra 2020-08-14 19:09:29 +02:00
Oliver Hahn
5721d54a61 added warning that CAMB missed delta_bc 2020-08-14 19:09:06 +02:00
Oliver Hahn
273c055bc8 add more header data in generic format 2020-07-30 01:53:33 +02:00
Oliver Hahn
4e2f821143 fixed bug in n-genic plugin with mpi 2020-07-06 23:57:44 +02:00
Oliver Hahn
2c4cf4d89a added OmegaBaryon to header of AREPO output 2020-07-06 18:29:26 +02:00
Oliver Hahn
00b0a6fd63 fixed grafic mass unit 2020-07-05 15:56:08 +02:00
Oliver Hahn
9b19709a14 added a warning if using perturbed masses with ramses 2020-07-02 03:24:23 +02:00
Oliver Hahn
0f54c30ca2 added particle mass output for grafic plugin 2020-07-02 03:20:45 +02:00
Oliver Hahn
a8e135c5e1 added first version of perturbed masses for multi-fluid 2020-07-02 01:27:53 +02:00
Oliver Hahn
8980ce8cf8 added correct calculation of minimum effective hbar 2020-06-07 20:55:28 +02:00
Oliver Hahn
73d4b53657 fixed a few 'fabs' that were 'abs' 2020-06-04 14:10:46 +02:00
Oliver Hahn
fdc607dafa fix overall minus in PANPHASIA noise 2020-06-04 13:59:02 +02:00
Oliver Hahn
17569ea172 fixed PPT velocity units 2020-05-26 00:49:04 +02:00
Oliver Hahn
c8b1fd538c fixed bugs with ID generation for Lagrangian codes 2020-05-25 18:55:40 +02:00
Oliver Hahn
dddd84eca6 fixes to how IDs are generated 2020-05-24 13:01:14 +02:00
Oliver Hahn
e4c72f93d8 changed x<->z in grafic2 output 2020-05-24 00:39:59 +02:00
Oliver Hahn
61c9943b97 bug fix, screwed up velocities in one of the previous commits 2020-05-24 00:37:54 +02:00
Oliver Hahn
ec4cfcef90 fixed output when using PPT module 2020-05-23 20:30:15 +02:00
Oliver Hahn
a326fcfcfa WPI: baryons, sign error 2020-05-23 16:38:13 +02:00
Oliver Hahn
01fdd973e7 WIP: higher order baryons 2020-05-23 16:14:37 +02:00
Oliver Hahn
68ae67f3db WIP: higher order baryons 2020-05-23 15:12:51 +02:00
Oliver Hahn
dcfa7ee318 WIP: baryon ICs 2020-05-22 18:44:15 +02:00
Oliver Hahn
993569afb4 fixed wrong sign in aniso term 2020-05-06 20:00:38 +02:00
Oliver Hahn
3dee265ef8 fixed wrong laplacian in aniso term just updated in last commit 2020-05-06 19:55:32 +02:00
Oliver Hahn
d59f3ed4ed fixes to anistropic separate Universe terms 2020-05-06 18:12:38 +02:00
Oliver Hahn
73627cede6 fixed mistake in status string 2020-05-06 17:43:03 +02:00
Oliver Hahn
9ebe27cb68 mpi bugfixes, refactoring of particle creation 2020-05-04 00:49:11 +02:00
Oliver Hahn
bae1701cb5 fixed compiler errors when not using MPI 2020-05-03 16:15:40 +02:00
Oliver Hahn
dd4688953c working commit, glass 2020-05-03 04:20:12 +02:00
Oliver Hahn
1313905660 working commit 2020-05-03 00:14:47 +02:00
Oliver Hahn
b534c7ff35 fixed normalisation of CLASS when using ztarget and zstart 2020-05-02 21:02:24 +02:00
Oliver Hahn
997b934f03 less screen output in panphasia plugin 2020-05-02 15:24:37 +02:00
Oliver Hahn
95a660f4ff added interface with PANPHASIA random number generator 2020-05-02 15:03:43 +02:00