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

184 commits

Author SHA1 Message Date
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
Oliver Hahn
a9b1fba907 added RAMSES testing namelist and conf file 2019-08-08 18:54:10 +02:00
Oliver Hahn
d7063e824f grafic2 can also use SPT now, minor cleanup 2019-08-08 16:03:30 +02:00
Oliver Hahn
a4a40aae4b added multi-species IC infrastructure 2019-08-08 14:47:07 +02:00
Oliver Hahn
197c0a4948 added semiclassical NLO propagator (used if LPTorder>=2) 2019-08-08 10:35:13 +02:00
Oliver Hahn
cd2a730c76 more conservative automatic hbar choice 2019-08-07 20:29:56 +02:00
Oliver Hahn
11c6975dda added automatic choice of hbar based on variance of potential 2019-08-07 20:16:50 +02:00
Oliver Hahn
5beed1b498 some cleanup, moved testing output routines outside of main loop 2019-08-07 18:43:00 +02:00
Oliver Hahn
b501f984e3 changed code flow depending on what field/particle data the plugin requests 2019-08-07 17:51:40 +02:00
Oliver Hahn
e6434293dd merge in schroedinger 2019-08-05 18:01:28 +02:00
Oliver Hahn
fae7d11900 changed treatment of units, exchanged x<->z dimensions for grafic/fortran 2019-08-05 16:51:52 +02:00
Mateja Gosenca
bdd67e6770 Adding Schroedinger initialisation. 2019-08-05 15:04:50 +02:00
Oliver Hahn
fd397f3759 added grafic2/ramses plugin -- needs testing 2019-08-05 13:22:59 +02:00
Oliver Hahn
e6aded5e4c staggering shift operation now class member 2019-08-02 19:17:40 +02:00
Oliver Hahn
a2c228d208 made gadget-2 and generic output plugins work with output plugin structure again 2019-08-02 19:07:45 +02:00
Oliver Hahn
bcbb18ccb3 started modularity of output plugins, gadget-2 works 2019-08-02 17:55:00 +02:00
Oliver Hahn
3c54a9519a added implementation of BCC lattice 2019-07-31 19:47:47 +02:00
Oliver Hahn
f966cae631 minor cleanup and HDF5 in CMakeLists 2019-07-31 18:36:37 +02:00
Oliver Hahn
15ac21a098 fixed missing zeroing of field in ngenic RG module 2019-07-31 18:15:48 +02:00
Oliver Hahn
671805d0d6 rewrite of I/O infrastructure 2019-07-31 11:57:40 +02:00
Oliver Hahn
7a4b65c66a added test problem (hard coded) 2019-07-04 10:17:46 +02:00
Oliver Hahn
45d7c0480c improved CLASS integration 2019-05-29 05:18:37 +02:00
Oliver Hahn
49bbd4618d added symplectic PT variant, should be factored into proper independent routine 2019-05-27 22:41:39 +02:00
Oliver Hahn
040f0b1272 fixed possible division by zero in fixing 2019-05-27 21:17:48 +02:00
Oliver Hahn
b92529637f set kmax in CLASS to actual kmax of grid, fixed comp. error with fixing 2019-05-25 01:10:40 +02:00
Oliver Hahn
cfed29cb2e added Angulo&Pontzen fixing to config file 2019-05-25 00:59:25 +02:00
Oliver Hahn
5d6c779574 now really fixed eisenstein initialisation 2019-05-24 17:47:30 +02:00
Oliver Hahn
8d6687394e fixed forgotten initialisation for eisenstein TF 2019-05-24 17:44:12 +02:00
Oliver Hahn
002fc9b8ae write out nicely formatted initial spectrum 2019-05-24 11:32:15 +02:00
Oliver Hahn
aebb9bf258 fixed buffer aliasing problem with some MPI implementations 2019-05-24 10:33:10 +02:00
Oliver Hahn
a2bcb45b65 started separating out ic generation in separate files 2019-05-24 10:23:49 +02:00
Oliver Hahn
9ba57e1c0a changed global pointer variables to smart pointers,
added more diagnostic output
2019-05-24 08:13:58 +02:00