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

546 commits

Author SHA1 Message Date
Matthieu Schaller
a3e6581902 Move the writing of header and other general properties to rank 0 only in the SWIFT i/o plugin 2021-03-28 22:19:14 +02:00
Matthieu Schaller
5aa59719da Merged in update_swift_plugin (pull request #20)
Update swift plugin
2021-03-28 17:55:32 +00:00
Matthieu Schaller
e6b5b6464f Write more information about the IC code to the ICs' header in the SWIFT i/o plugin 2021-03-13 21:26:45 +01:00
Matthieu Schaller
cf7060dc1a Print the initial energy as well as the initial temperature to the screen 2021-02-28 19:31:32 +01:00
Matthieu Schaller
012c306e30 Fix a bug where the wrong file name was used in the output plugin super-class in MPI mode 2021-02-28 19:29:23 +01:00
Matthieu Schaller
e9a6a1aa58 Small fixes 2021-02-28 19:07:58 +01:00
Matthieu Schaller
646968423c Update the units block written to the ICs by the SWIFT plugin to use the same constants as assumed internally by SWIFT. 2021-02-28 19:01:52 +01:00
Matthieu Schaller
408cefa1b3 Write some information about the monofonIC code into the generated IC file 2021-02-28 18:55:25 +01:00
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 Bühlmann
1ef2b417e3 Merged in master (pull request #19)
fix genericio plugin

Approved-by: Oliver Hahn
2020-12-29 09:09:12 +00: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
5dbf6d9398 Merge branch 'master' of https://bitbucket.org/ohahn/monofonic 2020-12-10 15:55:47 +01:00
Oliver Hahn
bce685d102 fixed a compiler error just introduced 2020-12-10 15:55:36 +01:00
Oliver Hahn
d314f63d37 Merged in develop (pull request #18)
allow also uppercase letters in 'true' 'false' parameters in config files
2020-12-10 14:38:24 +00:00
Oliver Hahn
563a6c9f07 added a minimum panphasia resolution 2020-12-10 13:29:07 +01:00
Oliver Hahn
1ce8287be2 allow also uppercase letters in 'true' 'false' parameters in config files 2020-12-10 12:40:10 +01:00
Oliver Hahn
61eced697f fixed that DoBaryonVrel is in category 'setup', not 'cosmology' 2020-12-10 02:28:11 +01:00
Oliver Hahn
da12cb1cb9 Merged in develop (pull request #17)
Develop
2020-12-10 01:24:04 +00: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
955b5987f8 changed old convolution padding routines to use new fourier interpolation routine 2020-11-12 22:40:03 +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
3bead20876 Fixed compiler errors with gcc6. Tested with gcc 6.2, 8.2, 9.3, and 10.2, no errors or warnings. 2020-09-15 18:57:03 +02:00
Oliver Hahn
fd8c661e23 cache cosmological variables in order to avoid slow acces to parameter dictionary 2020-09-11 01:25:45 +02: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
Michael Bühlmann
4ecc025ec7 shallow-fetch external libraries 2020-09-10 13:38:23 -05:00
Oliver Hahn
143e5382a9 added progress verbosity to cmake fetch to avoid impression that cmake hangs while it clones CLASS 2020-09-10 20:15:10 +02:00
Oliver Hahn
ad2af877f4 added missing GPL headers to math header files 2020-09-10 19:09:21 +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
d7cec75495 Merge branch 'master' of https://bitbucket.org/ohahn/monofonic into develop 2020-09-03 16:31:06 +02:00