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

15 commits

Author SHA1 Message Date
Oliver Hahn
4e1f4224fa more realistic calculation of multigrid error, no more 'no convergence' when using single precision 2012-11-20 16:00:53 +01:00
Oliver Hahn
e470be5da7 added support for new linger++ transfer function file format
cleaned up a bit of code
2011-06-02 11:12:44 -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
b7756e22a0 full64bitcompliance 2011-06-01 11:01:24 -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
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
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
Oliver Hahn
fcc53f6edf Massive code cleanup
New conservative transfer function scheme.
New random number generator that preserves coarse Fourier modes instead of applying Hoffman-Ribak
Some minor bugs fixed.
2010-09-24 16:14:09 -07:00
Oliver Hahn
275753ede2 Many minor changes
* Moved hybrid poisson solver from convolution_kernel.cc to poisson.cc
* Fine-tuned deconvolution schemes for various running modes
* Added lots of doxygen documentation
2010-08-31 21:59:31 -07:00
Oliver Hahn
dbaad65c5a MAJOR REV: FIXED 2LPT SIGNS, WHICH WERE ACTUALLY CORRECT!!
Note to myself: don't fix signs while listening to talks!!
Other mods/fixes:
* 2LPT is now supported also with distinct baryon/DM
  power spectra. This creates now an overhead when
  using Eisenstein&Hu or BBKS. But who cares.
* Reverted to determinant formulation of LLA rather than
  second order expansion. This is much more accurate.
* Added baryon density filter. Baryon density field is now
  consistent with CIC DM density. This is achieved by
  convolving with an additional grid cell filter (and
  no deconvolution).
* Tested LLA, skewness is now exact to a few per cent
  but tends to be systematically higher.
* 2LPT needs a bit less memory now in multigrid mode
  (FFT based 2LPT still needs humongous amounts).
* Cleaned up code output.
2010-07-31 05:38:55 -07:00
Oliver Hahn
fbebfabdfb Fixed a minus in 2LPT. Fixed an issue with a deconvolution filter.
Code needs cleanup! Added (undocumented) k-space 2LPT.
2010-07-27 15:21:50 -07:00
Oliver Hahn
002763346f major mod: added subgrid deconvolution for DM
* The DM transfer function is now deconvolved with the cell assignment
  function in order to restore power near the Nyquist wavenumber.
* Added an option to change the random number sample cube size
  [random]/cubesize. This should be set >128 to generate un-
  correlated numbers. True fix pending.
* Removed some unused code
* Increased Buffer size for Gadget-2 output plug-in
2010-07-21 01:10:29 -07:00
Oliver Hahn
288749aea9 minor fixes 2010-07-02 16:17:14 -07:00
Oliver Hahn
c48c73488a Initial commit, beta version release candidate 2010-07-02 11:49:30 -07:00