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

204 commits

Author SHA1 Message Date
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
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
Oliver
5b79b5ef30 removed spurious newline from linux cpu vendor string 2019-10-16 17:33:54 +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
5055e8039b forgot to commit routine to query MPI versions string 2019-10-13 17:17:38 +02:00
Oliver Hahn
cbec8c8f03 inlined global lambdas, requires upgrading to C++17 2019-10-12 15:06:49 +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
e2329cde74 added 2/3 dealiasing 2019-10-09 17:25:15 +02:00
Oliver Hahn
bf164f3855 added move constructor 2019-10-09 17:22:26 +02:00
Oliver Hahn
afc81349f6 Merge branch 'aniso' of https://bitbucket.org/ohahn/monofonic into aniso 2019-10-03 00:28:38 +02:00
Oliver Hahn
a912462dbd code formatting 2019-10-03 00:22:02 +02:00
Oliver Hahn
1d2f8135ac optimized memory and code in triple convolution 2019-10-02 20:57:40 +02:00
Jens Stuecker
1645f645a3 Added a missing include to grid_fft.h 2019-09-25 21:46:17 +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