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

315 commits

Author SHA1 Message Date
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
Oliver Hahn
bd78c7468a added a default z_max_pk to class interface to avoid not having any if zstart==ztarget 2020-05-02 15:02:54 +02:00
Oliver Hahn
52dfa9a72d Fill_Grid member function cannot be const 2020-05-02 15:02:16 +02:00
Oliver Hahn
95502596dd added forgotten mods for kNy in grids 2020-05-02 15:01:36 +02:00
Oliver Hahn
3ac2012577 fixed forgotten h factor in A_s CLASS normalisation 2020-04-05 22:26:22 +02:00
Oliver Hahn
772ba93cdf Merge branch 'develop' of https://bitbucket.org/ohahn/monofonic into develop 2020-04-05 01:16:52 +02:00
Oliver Hahn
8d45906289 added a compiler version string 2020-04-05 01:15:56 +02:00
Oliver Hahn
7e196f3a14 added compiler version string 2020-04-05 01:13:40 +02:00
Oliver Hahn
83b8d9bbaf moved math headers to subdirectory 2020-04-04 23:59:13 +02:00
Oliver Hahn
5d60b59f6c removed superfluous grid operators 2020-04-04 21:35:16 +02:00
Oliver Hahn
f4d6b9e669 fixed baryon particle type, was used for testing 2020-04-04 21:19:11 +02:00
Oliver Hahn
4644840ee6 removed old files 2020-04-04 21:18:18 +02:00
Oliver Hahn
3f17e5a796 more naming convention homogenisation 2020-04-04 20:55:24 +02:00
Oliver Hahn
06b3a84bd3 naming convention homogenisation 2020-04-04 20:39:52 +02:00
Oliver Hahn
2315515305 renaming (csoca->music) 2020-04-04 20:27:51 +02:00
Oliver Hahn
734948c2a1 minor fixes 2020-04-04 01:24:05 +02:00
Oliver Hahn
dc5f87f216 added convolver and plt as options to cmake 2020-04-03 00:39:28 +02:00
Oliver Hahn
7ead43455c removed old debugging logging 2020-04-02 21:47:17 +02:00
Oliver Hahn
b8b9db3b99 made precision switchable from makefile 2020-04-02 19:57:41 +02:00
Oliver Hahn
3a8a22737f major update of class plugin 2020-04-02 19:25:54 +02:00
Oliver Hahn
4aba654797 wrapped interpolation into its own class, also transfer functions can come pre-normalised now 2020-04-02 12:48:52 +02:00
Oliver Hahn
4e013ec0d1 added global exception handler 2020-04-02 11:18:50 +02:00
Oliver Hahn
f5a9006299 some refactoring, mostly just homogenizing function names 2020-04-02 11:18:21 +02:00
Oliver Hahn
0d3a17b253 rewrote cosmology parameters and background evolution with full integration of 2nd order ODE 2020-03-29 14:49:17 +02:00
Oliver Hahn
a587ad6b3e some refactoring (add '_t' to vec3 and mat3) 2020-03-29 14:45:43 +02:00
Oliver Hahn
0abe891f86 added ID offset for baryon particles to avoid duplicate IDs 2020-03-10 19:01:44 +01:00
Oliver Hahn
b0b67086fd fixed particle type for baryons in gadget-hdf5 and arepo, disabled PLT by default 2020-03-06 16:44:53 +01:00
Oliver Hahn
8855c75f43 Merge branch 'constraint' into develop 2020-03-01 17:41:44 +01:00
Oliver Hahn
35344f0170 added arepo plugin, but this might get removed again since too similar to gadget-hdf5 2020-02-28 17:40:50 +01:00
Oliver Hahn
2dfab2b267 working commit 2020-02-28 16:15:37 +01:00
Oliver Hahn
f2ba17cfcd added enforced normalisation of read white noise 2020-02-27 22:56:40 +01:00
Oliver Hahn
ed9f30235c fixes to constraint inclusion 2020-02-26 06:03:19 +01:00
Oliver Hahn
2fe35aa2b4 fixes 2020-02-25 18:36:54 +01:00
Oliver Hahn
ccd813a2ad added constraint mode copying. needs testing 2020-02-25 18:36:46 +01:00
Oliver Hahn
64e13026fb can read hdf5 noise files 2020-02-24 21:26:36 +01:00
Oliver Hahn
8c9d2acf7a prepared adding in external large-scale modes 2020-02-24 18:23:51 +01:00
Oliver Hahn
89f660f059 Merge branch 'develop' into constraint 2020-02-24 18:14:24 +01:00
Oliver Hahn
816a52d4da added reading routine from HDF5 2020-02-24 18:10:09 +01:00
Oliver Hahn
2b66058619 fixed dual lattice two-fluid ICs 2020-01-26 21:42:07 +01:00
Oliver Hahn
401fec0ebd added place holder massive neutrino options for class 2020-01-26 16:45:26 +01:00
Oliver Hahn
1fc2b2d677 added distinct amplitudes for cdm and baryons 2020-01-25 23:31:03 +01:00
Oliver Hahn
cd7f451397 fixed bug with getting CLASS TF for two different redshifts 2020-01-25 17:55:34 +01:00
Oliver Hahn
a2f4cbb434 Merge branch 'dev-plt' of https://bitbucket.org/ohahn/monofonic into develop 2020-01-25 16:36:08 +01:00
Oliver Hahn
f7b2519b82 working commit, changes for multi-species, moved mean matter PT outside of species loop 2020-01-25 16:20:29 +01:00
Oliver Hahn
89c5f2758b added support for writing multiple species, staggered grids 2020-01-24 15:00:32 +01:00
Oliver Hahn
3bde11f1a5 Merge branch 'master' of https://bitbucket.org/ohahn/monofonic into dev-plt 2019-12-19 15:40:20 +01:00
Oliver Hahn
4020d5b33f added old MUSIC1 plugin for tabulated CAMB transfer function files back in 2019-12-19 14:37:30 +01:00
Oliver Hahn
2ef654f22a small optimizations 2019-12-19 13:54:24 +01:00
Oliver Hahn
beb40bfc35 added non-PLT back into the game. has to be switched by hand in ic_generator.cc right now... 2019-12-02 18:47:34 +01:00
Oliver Hahn
093363791e working commit, decaying mode integration for single fluid 2019-11-27 22:19:39 +01:00
Oliver Hahn
bcb301f338 can write non-distributed grids with MPI, but needs cleanup 2019-11-16 04:42:38 +01:00
Oliver Hahn
89ec1775f3 fixed inconsistency between NGENIC random numbers generated with MPI and without 2019-11-15 22:32:09 +01:00
Oliver Hahn
07b430f25c removed unused code to fill grids with random numbers 2019-11-15 11:54:16 +01:00
Oliver Hahn
675ba19a95 working commit, fft grids can be non-distributed memory even when using MPI 2019-11-14 15:36:39 +01:00
Oliver Hahn
dc2564994f minor cleanup 2019-11-06 17:55:09 +01:00
Oliver Hahn
d075e496be added correction of growth rates 2019-11-06 14:06:19 +01:00
Oliver Hahn
144d0d9e1a added projection onto plt eigenmodes. (not working) 2019-11-05 19:14:14 +01:00
Oliver Hahn
c71b844e16 enabled output to HDF5 of complex data when in Fourier space 2019-11-03 17:03:29 +01:00
Oliver Hahn
40be27c36f started implementation of PLT (working commit) 2019-11-03 15:54:17 +01:00
Oliver Hahn
a5253bcace cosmetic changes 2019-11-01 13:16:05 +01:00
Oliver Hahn
68080d2545 added possibility to write 32 or 64bit positions and ids 2019-11-01 12:03:02 +01:00
Oliver Hahn
248c460b71 rewrote particle load generator, added new load (refined sc lattice) 2019-11-01 04:47:02 +01:00
Oliver Hahn
fa1abffd0d minor cleanup 2019-10-27 19:49:54 +01:00
Oliver Hahn
80da0a4ff2 removed openmp loop collapse, problems with intel c++ 2019-10-24 17:26:44 +02:00
Michael Michaux
07ce5fcc10 Merge branch 'master' of https://bitbucket.org/ohahn/monofonic 2019-10-24 14:44:15 +02:00
Michael Michaux
01b22b76a3 Added theoretical convergence test. 2019-10-24 14:44:06 +02:00
Oliver Hahn
a58fbc9778 moved particle lattice creation to separate function in separate header 2019-10-19 12:56:43 +02:00
Oliver Hahn
e9b11b1bae added fcc lattice to possible initial particle loads 2019-10-17 17:39:26 +02:00
Oliver Hahn
35910d724b cosmetics... 2019-10-16 23:24:06 +02:00
Michael Michaux
e7c73fed52 Merge branch 'master' of https://bitbucket.org/ohahn/monofonic 2019-10-16 18:21:23 +02:00
Michael Michaux
b064928763 Added convergence test and made testings activable from the config file. 2019-10-16 18:18:46 +02:00
Michael Michaux
8bc6e5acac Fixed the seed initialization. 2019-10-16 18:14:06 +02:00
Oliver Hahn
98d148e4fc removed one character from delimiters to fit into 80 char terminals 2019-10-16 17:39:55 +02:00
Oliver Hahn
5cd6591866 added new gradient operator, fixed reversed gradient sign from before 2019-10-15 19:48:38 +02:00
Oliver Hahn
10ef0dc97d added diagnostic output about FFTW library 2019-10-13 17:16:54 +02:00
Oliver Hahn
d5d78e5dbe diagnostic output to logger instead of cout 2019-10-13 17:15:22 +02:00
Oliver Hahn
51f4f05973 poincare test now outputs field statistics 2019-10-12 14:43:06 +02:00
Oliver Hahn
a0b714790a added new test for poincare invariance 2019-10-10 21:48:00 +02:00
Oliver Hahn
8fe93b7cb2 flipped sign of gradient to be consistent with FFTW convention 2019-10-10 21:47:02 +02:00
Oliver Hahn
55aadae8d6 moved grid assignment operators to separate file and namespace 2019-10-10 21:44:57 +02:00
Oliver Hahn
92dabb8f8e added modified eisenstein transfer function with explicit Gaussian cutoff 2019-10-09 17:29:16 +02:00
Oliver Hahn
b8acbf842d new particle IDs encoding Lagrangian coordinates 2019-10-09 17:28:00 +02:00
Oliver Hahn
234dd539dc fixed 3LPT coefficients 2019-10-09 17:26:45 +02:00
Oliver Hahn
885a3d2530 code reformatting 2019-10-09 17:25:43 +02:00
Oliver Hahn
9c4c31ba53 fixed anisotropic velocity unit in presence of external tidal field 2019-09-17 14:21:52 +02:00
Oliver Hahn
c6535be970 bug fixes in cosmo coefficients for anisotropic external tides 2019-09-17 14:04:50 +02:00
Oliver Hahn
7283348406 first implementation of anisotropic large-scale tidal field 2019-09-16 17:55:42 +02:00
Oliver Hahn
8104d43178 made baryons switchable, and minor cosmics 2019-09-11 17:34:16 +02:00
Oliver Hahn
b09b9c7589 added compile time version information output and new logo 2019-09-04 12:07:40 +02:00
Oliver Hahn
6a515072ac fixed bug introduced with automatic power spectrum for semiclassical stuff, still automatic hbar needs to be improved/fixed 2019-08-12 23:33:04 +02:00
Oliver Hahn
e5d8aadcd2 fixed error in MPI parallel output to grafic2 2019-08-12 15:35:52 +02:00
Oliver Hahn
cc4b90d962 more/more accurate diagnostic output 2019-08-12 00:14:30 +02:00
Oliver Hahn
8307853f08 fixed some compilation errors 2019-08-11 22:48:04 +02:00