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
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
Oliver Hahn
b09b9c7589 added compile time version information output and new logo 2019-09-04 12:07:40 +02:00
Oliver Hahn
e5d8aadcd2 fixed error in MPI parallel output to grafic2 2019-08-12 15:35:52 +02:00
Oliver
82198a1df9 fixed wrong header in linux sysinf 2019-08-12 00:25:33 +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
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
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
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
671805d0d6 rewrite of I/O infrastructure 2019-07-31 11:57:40 +02:00
Oliver Hahn
256ba106d9 added velocity spectra to some output 2019-05-29 05:16:56 +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
002fc9b8ae write out nicely formatted initial spectrum 2019-05-24 11:32:15 +02:00
Oliver Hahn
c75527db26 Fix #1, missing initialisation of MPI error status variable 2019-05-24 10:46:07 +02:00
Oliver Hahn
5e4f9e9fe2 fixed wrong units for mem on linux 2019-05-24 10:35:34 +02:00
Oliver Hahn
58459df67c fixed compilation error when getting mem stats on linux 2019-05-24 10:29:48 +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
Oliver Hahn
de08a882d1 fix entry not found errors bug on bools 2019-05-23 23:18:05 +02:00
Oliver Hahn
c27ecb6215 changed result assignment operators to new form 2019-05-23 14:53:11 +02:00
Oliver Hahn
f905045e0a number of threads from conf file, separated run and main 2019-05-22 22:25:27 +02:00
Oliver Hahn
c926fd6b98 added more Hessian convolutions routines 2019-05-21 22:26:15 +02:00
mmichaux
e8c31bb753 Removed <execution> include. 2019-05-21 11:24:16 +02:00
Oliver Hahn
e44196bb84 some optimizations, some cleanup 2019-05-21 00:24:09 +02:00
Oliver Hahn
3d51c2667b bugfix in convolution 2019-05-21 00:23:03 +02:00
Oliver Hahn
2deed619c1 added aliased naive convolution class 2019-05-20 17:23:52 +02:00
Oliver Hahn
1b20439d0a fixed grid cell pos for MPI 2019-05-19 17:35:39 +02:00
Oliver Hahn
91985eefce added N-GenIC compatible RNG 2019-05-19 17:19:41 +02:00
Oliver Hahn
06ed21cae0 on the fly output of power spectra 2019-05-19 12:05:04 +02:00
Oliver Hahn
7e9bbc6dc6 Added Laplacians as member func 2019-05-19 12:04:46 +02:00
Oliver Hahn
1068155458 cleanup, added mult/div operators 2019-05-19 10:02:32 +02:00
Oliver Hahn
e989fbc1fb added CLASS transfer function plugin 2019-05-15 21:03:10 +02:00
Oliver Hahn
55b109da47 MPI fixes (mostly 1 bug for real->complex conv.) 2019-05-15 05:30:47 +02:00
Oliver Hahn
105383684e removing some pedantic warnings 2019-05-14 16:33:18 +02:00
Oliver Hahn
a8a0df08b2 added 3b term, bugfixes for MPI 2019-05-14 12:29:27 +02:00
Oliver Hahn
6aa60ca218 minor MPI fixes 2019-05-13 17:02:31 +02:00
Oliver Hahn
a4c8c340d1 MPI fixes, but still buggy 2019-05-13 12:34:16 +02:00
Oliver Hahn
c8a30ffb18 clean up, working commit 2019-05-13 09:56:58 +02:00
Oliver Hahn
3e488acef6 separated out convolution routines into class 2019-05-12 21:12:07 +02:00
Oliver Hahn
f61dfcf74d some clean up, reduced number of convolutions 2019-05-12 18:48:01 +02:00
Oliver Hahn
80244b8b04 added more elegant Hessian convolution function 2019-05-12 18:28:37 +02:00
Oliver Hahn
21280cb922 added dealiasing for phi2 and phi3a 2019-05-12 17:39:15 +02:00
Oliver Hahn
8a8f05a01f just whitespace cleanup 2019-05-10 04:48:55 +02:00
Oliver Hahn
2f54498fc2 added convolution class 2019-05-10 04:48:35 +02:00
Oliver Hahn
17f2f7e8b6 added output to gadget2 particle files 2019-05-09 21:41:54 +02:00
Oliver Hahn
9549f5f195 initial commit 2019-05-07 01:05:16 +02:00