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

105 commits

Author SHA1 Message Date
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
8afc1f9b4a * fixed a bug in 'music' transfer function, where spline tables where not allocated correctly
* fixed a warning message of an unsigned loop variable with openmp in poisson.cc
2011-02-23 02:20:04 -08: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
fdd12c3d9c minor fixes (mainly constraints) 2010-12-16 12:05:03 +01:00
Oliver Hahn
839788910b Added tag beta_version for changeset 9d399557105c 2010-12-13 08:47:55 -08:00
Oliver Hahn
ff5d87273c Some minor fixes. No longer uses FFT to compute 2LPT terms when in unigrid mode and
when using deconolve=true (default=true).
2010-12-13 08:47:01 -08:00
Oliver Hahn
0545d63b8b Added tag beta_version for changeset 1f2433764da7 2010-12-13 08:45:27 -08:00
Oliver Hahn
39d679685c Re-enabled explicit averaging when using hybrid+deconvolution 2010-12-03 21:59:57 -08:00
Oliver Hahn
b730cd5b5f Ghost zones where not updated when using the hybrid Poisson solver so that
LLA failed in this combination at the boundaries.
2010-11-24 15:29:05 -08:00
Oliver Hahn
dbe7cd0f8c Added tag beta_version for changeset 34002b1007a6 2010-11-24 15:24:10 -08:00
Oliver Hahn
fa8cde6d29 Fixed a bug that cause negative grid offsets in some cases when overlapping with box edges. 2010-11-24 14:37:19 -08:00
Oliver Hahn
20d3549af9 Added tag beta_version for changeset 2372cc7e36f7 2010-11-24 14:36:41 -08:00
Oliver Hahn
477d23dc17 Added tag beta_version for changeset 6ff385bd0ffd 2010-11-19 09:35:39 -08:00
Oliver Hahn
c927462924 Fixed a bug that caused the baryon velocity field to be not shifted in the SPH
case when a transfer function with no velocity info was used.
2010-11-18 22:30:16 -08:00
Oliver Hahn
2ea869e85a Fixed a bug where memory was deallocated that shouldn't be
Re-enabled the staggering for SPH particles.
2010-11-17 21:24:21 -08:00
Oliver Hahn
bbba2b3d78 Added tag beta_version for changeset 64c79ee1fcea 2010-11-17 21:23:47 -08:00
Oliver Hahn
5d78e1e3ff Added tag beta_version for changeset d81ed7f5431d 2010-11-16 21:01:20 -08:00
Oliver Hahn
ccf7c3dab1 changed version number to 0.9b, this is the beta version.
no more features will be added.
2010-11-16 21:01:15 -08:00
Oliver Hahn
3ad0ac6a10 Fixed a memory leak.
Slightly better memory conservation.
Fixed a bug introduced in the previous revision that led to code termination.
2010-11-16 20:56:08 -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
f9f1ba197b Added tag beta_candidate for changeset 6c22ffb52c5b 2010-11-12 15:05:56 -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
Oliver Hahn
485d6f2a4e Gadget2 plugin: Important Bugfix. Bug introduced two versions ago that caused the first particle
to have zero mass, which caused Gadget to choose a zero time step.
2010-11-10 22:56:46 -08:00
Oliver Hahn
f3364e9877 * Added support for velocity potentials for baryons and CDM
* Added new transfer function type 'music' which reads in a file with
  density and velocity transfer functions for baryons and CDM.
* Powerspectrum evolution in two-fluid sim appears to scale as
  predicted now at the per cent level
* Tool to compute velocity transfer functions is not included as of
  now. Let's see..
* Velocity potentials are not yet supported with 2LPT.
2010-11-02 23:35:57 -07:00
Oliver Hahn
37c0d4be36 Added tag beta_candidate for changeset f17f336c816a 2010-10-27 14:12:13 -07:00
Oliver Hahn
3f332540dc Disabled that FFTW3 is used by default in the Makefile 2010-10-26 22:48:34 -07:00
Oliver Hahn
69ab1a346d Added tag beta_candidate for changeset e457c2b4aee7 2010-10-26 22:46:38 -07:00
Oliver Hahn
61caef1575 2LPT now reuses velocity data to compute displacements in pure DM case (instead of recomputing everything).
Random number generator now creates 'dummy seeds' if seeds are not specified
2010-10-26 22:46:33 -07:00
Oliver Hahn
0f5cbaa8a8 Added tag beta_candidate for changeset 36271198aaf9 2010-10-26 21:54:18 -07:00
Oliver Hahn
6735894892 More 64bit fixes and some more OpenMP parallelizations 2010-10-26 21:54:15 -07:00
Oliver Hahn
32e3ef185f Added tag beta_candidate for changeset 1e095fb6c31b 2010-10-26 21:44:19 -07:00
Oliver Hahn
85ab2aa1ce Hybrid poisson solver is now default 2010-10-26 21:44:17 -07:00
Oliver Hahn
032031c078 Added tag beta_candidate for changeset ed36154e55dd 2010-10-26 21:43:02 -07:00
Oliver Hahn
dec2181626 Some more 64bit related fixes.
Fixed a bug in the Gadget-2 output that was left from an unfinished modification.
2010-10-26 21:42:49 -07:00
Oliver Hahn
c98e030c7c Updated MUSIC internal array access to 64bit compatibility.
Added support for FFTW3 (can be switched on in the Makefile), needed for
64bit compatible FFTs.
2010-10-26 11:37:31 -07:00
Oliver Hahn
332362ce0c Added buffered writing for Gadget-2 I/O plugin that prevents overflows of STL ofstream operations.
Buffer block size can be set by [output]/gadget_blksize, default is 2**20=1048576 so that the
buffer contains 8*2**20 bytes for doubles = 8MB for one write/read operation
2010-10-15 23:11:10 -07:00
Oliver Hahn
62b765002a fixed a bug in the RAMSES output plugin when grids are not cubical 2010-10-05 11:22:14 -07:00
Oliver Hahn
c09f2adbe4 Random numbers are now only generated once. Can choose between memory caching and disk caching of random numbers
in conf file (option '[random]/disk_cache={yes|no}').
2010-10-04 18:57:24 -07:00
Oliver Hahn
7eeba48408 Changed T(r=0) determination to 3D adaptive Gauss-Kronrod integration rather than spherical approximation.
Seems very accurate in very first tests.
2010-10-04 16:34:01 -07:00
Oliver Hahn
eff7846ec9 Changed to 'unsigned long long' in exact shotnoise sum to avoid overflow. 2010-10-01 19:20:49 -07:00
Oliver Hahn
a25b9ffe3c Added explicit inclusion of <cstdarg> in log.hh, otherwise got compile errors on some systems 2010-10-01 15:26:09 -07:00
Oliver Hahn
1dee46e390 Fixed a bug that caused k-mode averaging not to be used when it should be in some cases.
Disabled staggered particles for Gadget temporarily.
2010-10-01 15:18:06 -07:00
Oliver Hahn
db164ddc83 Added tag beta_candidate for changeset 4bf26f93896b 2010-09-30 16:25:30 -07:00
Oliver Hahn
a07e5e59ba Added some more transparent infrastructure for default parameter values 2010-09-30 16:19:10 -07:00
Oliver Hahn
bf3a3ee104 Added tag beta_candidate for changeset ef17480b490a 2010-09-30 16:06:03 -07:00
Oliver Hahn
745f9dc543 Added a strictly conservative cubic spline interpolation.
This reduces errors further below 1e-4 in the entire interior.
2010-09-30 16:05:59 -07:00
Oliver Hahn
d94763e0d3 Added tag beta_candidate for changeset 960b39975d06 2010-09-29 15:42:41 -07:00
Oliver Hahn
ad709d7400 Various minor fixes.
* Fixed a bug in the coarse grid density correction that lead to a shift in the correction in some rare cases
* Fixed a bug in restricting fine grid noise when the double size fine grid (for FFT) is actually larger than the domain.
* Added new log file routines that use printf syntax
* Added log file output to most parts of the code
* Removed the stats file output, it is now appended to the log file
2010-09-29 15:42:07 -07:00