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

228 commits

Author SHA1 Message Date
Oliver Hahn
1451f6e4e0 fix compiler error with Intel C++ 2020-08-20 17:02:48 +02:00
Oliver Hahn
af990c6edd cleaned up output of growth factors 2020-08-16 20:53:32 +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
950fe6b597 fixes to removal of 3a 3b split 2020-08-16 17:41:21 +02:00
Oliver Hahn
a525c595f4 added output of transfer functions along with power spectra 2020-08-14 19:09:29 +02:00
Oliver Hahn
66e801bcc2 added functions (unused) to compute global maxima/minima 2020-08-14 19:08:41 +02:00
Oliver Hahn
53a7dc3af0 fixed wrong individual particle masses with MPI 2020-07-05 14:26:53 +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
73d4b53657 fixed a few 'fabs' that were 'abs' 2020-06-04 14:10:46 +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
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
658a8ad418 cleanup 2020-05-04 10:34:58 +02:00
Oliver Hahn
fc448a21a0 some cleanup / compilation problem fixes 2020-05-04 02:09:42 +02:00
Oliver Hahn
0a6f8f51cb fixed bug in grid shifting with MPI (affects bcc and fcc) 2020-05-04 02:09:03 +02:00
Oliver Hahn
68aa31c59a fixed forgotten boundary update 2020-05-04 01:13:07 +02:00
Oliver Hahn
9ebe27cb68 mpi bugfixes, refactoring of particle creation 2020-05-04 00:49:11 +02:00
Oliver Hahn
226a9303db bug fixes to glass with MPI 2020-05-03 21:20:22 +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
52dfa9a72d Fill_Grid member function cannot be const 2020-05-02 15:02:16 +02:00
Oliver Hahn
0cafcfea19 added function to check if Nyquist mode to grd 2020-05-02 15:01:09 +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
096513e7e8 moved git version info to cmake_config.hh.in 2020-04-04 20:59:28 +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
c9fce7f210 fixed bug that Omega_k was not set 2020-04-03 07:04:41 +02:00
Oliver Hahn
b99597d300 updates fo cmake template header, forgotten in previous commit 2020-04-03 00:54:10 +02:00
Oliver Hahn
0678489386 fixed some nyquist plane errors in convolutions 2020-04-02 19:58:57 +02:00
Oliver Hahn
6dabf65ab2 added template cmake_config file that was forgotten in previous commit 2020-04-02 19:58:34 +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
809a03d59e more parameters and verbosity in cosmo parameters 2020-04-02 12:45:24 +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
23edbd63a9 added custom ODE integration module 2020-03-29 14:46:53 +02:00
Oliver Hahn
8423161d6b added new vector type for vectorized operations 2020-03-29 14:46:25 +02:00
Oliver Hahn
a587ad6b3e some refactoring (add '_t' to vec3 and mat3) 2020-03-29 14:45:43 +02:00
Oliver Hahn
ab2db06990 added useful physical constants 2020-03-29 14:42:55 +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
8855c75f43 Merge branch 'constraint' into develop 2020-03-01 17:41:44 +01:00
Oliver Hahn
a1a5e614cf fixed compilation error 2020-03-01 17:37:57 +01:00
Oliver Hahn
6c027d7094 fixed PLT correction interpolation 2020-03-01 17:21:17 +01:00
Oliver Hahn
5698315308 working commit 2020-02-28 18:35:26 +01:00
Oliver Hahn
77f9f06ebc working commit, PLT interpolation 2020-02-28 18:03:48 +01:00
Oliver Hahn
2dfab2b267 working commit 2020-02-28 16:15:37 +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
1fc2b2d677 added distinct amplitudes for cdm and baryons 2020-01-25 23:31:03 +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
2ef654f22a small optimizations 2019-12-19 13:54:24 +01:00
Oliver Hahn
6178b2f215 zeroed nyquist modes in plt 2019-12-05 22:26:16 +01:00
Oliver Hahn
6a998123c7 improved implementation of plt field interpolation 2019-12-05 05:43:49 +01:00
Oliver Hahn
d8cbc4fca6 improved PLT field interpolation, still has problems for FCC though 2019-12-04 14:26:42 +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
df791bbbc4 added interpolation of all fields, plt seems to work for all lattices, projection needs testing still 2019-12-02 01:04:03 +01:00
Oliver Hahn
06fa3c128e added interpolation to approximate infinite lattice 2019-12-01 20:10:58 +01:00
Oliver Hahn
0de486f552 added gridding back of dynamical matrix to ordinary Fourier space 2019-12-01 18:52:53 +01:00
Oliver Hahn
1d10f51941 more minor cleanup 2019-12-01 15:40:24 +01:00
Oliver Hahn
a71795cbb3 added other lattice types to dynamical matrix calculation 2019-12-01 15:04:25 +01:00
Oliver Hahn
0ea91247e2 working commit: optimizations/cleanup 2019-12-01 14:34:28 +01:00
Oliver Hahn
dcc59368ed working commit: dynamical matrix for bcc seems right, interpolation doesn't work yet, also too slow 2019-12-01 11:28:17 +01:00
Oliver Hahn
2cce64977a bcc plt working commit 2019-11-29 15:41:22 +01:00
Oliver Hahn
68d3aa4a4c working commit PLT other lattices 2019-11-27 16:23:43 +01:00
Oliver Hahn
9a36cc13fd unified calculation of growth factor and growth rate 2019-11-15 23:19:57 +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
5de14003c0 working commit 2019-11-14 14:09:24 +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
88ac5ab19a fix PS normalisation with PLT proj correction 2019-11-06 11:44:32 +01:00
Oliver Hahn
144d0d9e1a added projection onto plt eigenmodes. (not working) 2019-11-05 19:14:14 +01:00
Oliver Hahn
747031bee2 added calculation of Brillouin zone (from Bruno's Code) 2019-11-05 00:29:33 +01:00
Oliver Hahn
6d1a3bf7cc minor cleanup, calculation of D works for SC 2019-11-04 00:25:45 +01:00
Oliver Hahn
06264bfb51 PLT: output of eigenvalues and vectors to HDF5 2019-11-03 17:04:49 +01:00
Oliver Hahn
9356870841 fixed bug where eigenvectors and coordinate indices were mixed up 2019-11-03 17:04:05 +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
d80bf34c10 added file headers 2019-11-01 12:02:09 +01:00
Oliver Hahn
eb2743c61b removal of more deprecated member functions 2019-11-01 12:01:39 +01:00
Oliver Hahn
1ebc5f2ff7 removed deprecated member function 2019-11-01 10:46:31 +01:00
Oliver Hahn
c593a7067d cleanup particle generator 2019-11-01 04:49:40 +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
9a3ebc2bec updates to vec3 class, mostly arithmetics 2019-11-01 04:45:34 +01:00
Oliver Hahn
fa1abffd0d minor cleanup 2019-10-27 19:49:54 +01:00
Oliver Hahn
4de579ca78 revert back to C++14 by replacing inline lambdas with template funcs 2019-10-24 17:12:43 +02:00