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

19 commits

Author SHA1 Message Date
Oliver Hahn
449dbfc431 fixed another bug with the hash-key random numbers, when coarsening of noise is needed 2012-09-10 16:26:33 +02:00
Oliver Hahn
6e8234c49e fixed a bug that caused the new hash-key based random number scheme to not work with noise read from file 2012-09-10 15:02:16 +02:00
Oliver Hahn
aff77c90dc added hash-key based generation of random number subcubes, based on need
fixed a few minor bugs that could lead to crashes for small refinement regions close to the boundary
2012-09-07 16:39:53 +02:00
Oliver Hahn
6db9e358fc fixed a bug that white noise was not read from file if levelmin_TF or levelmin was lower than the level with the white noise from file 2012-09-06 15:32:38 +02:00
Oliver Hahn
22ab605e1e can now read white noise file with 64bit Fortran unformatted block size indicators 2012-09-06 15:24:28 +02:00
Oliver Hahn
a51296c172 added new parameter [random]/grafic_sign = yes|no, (default=no)
to set the sign of the input white noise file consistent with grafic2
2012-09-04 15:19:16 +02:00
Oliver Hahn
0754897c60 added possibility to restart using previously generated white noise fields
via option [random]/restart = yes/no
if set to yes, it will try to load the data, but all files have to exist,
and the refinement hierarchy cannot be changed.
2012-03-28 14:55:16 -07:00
Oliver Hahn
2ab09dd484 Cleaned up duplicate code for FFTW2/FFTW3 using some macros 2011-06-03 19:02:56 -07:00
Oliver Hahn
0f012ee9f9 a 64bit compliance fix in convolution_kernel
fixed a bug introduced in this branch in random.cc
2011-06-02 15:10:05 -07:00
Oliver Hahn
d6da7b16fc More 64 bit compliance changes.
New convergence criterium for multi-grid (No longer reduction of initial residual by X, but rel. error of X).
2011-06-01 18:05:12 -07:00
Oliver Hahn
aac5720a41 more fixes to ensure 64bit compliance throughout the code 2011-06-01 11:25:53 -07:00
Oliver Hahn
b7756e22a0 full64bitcompliance 2011-06-01 11:01:24 -07:00
Oliver Hahn
76a7a0559e Fixed a bug introduced with the last "fix", where a conversion to size_t fails. 2011-03-16 17:20:06 -07:00
Oliver Hahn
c87804e602 Fixed another compiler error, where implicit conversion to 64bit integer failed.
Conversion now explicit.
2011-03-16 15:58:36 -07:00
Oliver Hahn
088fb32c23 Fixed some compiler warnings (and possibly errors with GCC 4.3) 2011-03-16 15:33:03 -07:00
Oliver Hahn
61a460b3b6 * Fixed a compiler error with hybrid poisson solve when using single precision
* Some minor code cleanup
2011-02-22 14:17:34 -08:00
Oliver Hahn
39d679685c Re-enabled explicit averaging when using hybrid+deconvolution 2010-12-03 21:59:57 -08:00
Oliver Hahn
8d9068852e * IMPORTANT: removed code left over from testing that caused suppression of small scale perturbations
* added baryon staggering for SPH
* added 2LPT for baryons/DM two-component fluid
* cleaned up some code
2010-11-16 16:41:40 -08:00
Oliver Hahn
27fe21e3d4 Migrated several implementations to .cc files.
Some minor bugfixes.
No longer use Akima splines, use cubic splines in tabulated transfer functions
Added more ocnstraint infrastructure.
2010-11-12 15:05:45 -08:00