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

28 commits

Author SHA1 Message Date
Oliver Hahn
f4556c30b3 merge 2012-11-20 16:06:49 +01:00
Oliver Hahn
cd902e787b added CIC deconvolution step to hybrid Poisson solver. This is necessary when glass or resampling is employed via CIC particle interpolation 2012-11-20 16:01:45 +01:00
Oliver Hahn
598e8889cb added info message to screen when CIC deconvolution for kernel is switched on 2012-10-01 18:15:30 +02:00
Oliver Hahn
709ffbe025 minor API adjustments to deal better with particle interpolation on finest grid 2012-10-01 16:45:37 +02:00
Oliver Hahn
19cc12a603 moved all omp function calls into #ifndef SINGLETHREAD_FFTW so that the code also compiles on non-openmp compilers 2012-03-28 12:38:31 -07:00
Oliver Hahn
db54d01b2a Re-enabled the possibility to apply a deconvolution filter when using CIC interpolation to particles positions
(e.g. for a glass) by setting [output]/glass_cicdeconvolve=yes/no, default is off
2011-09-16 17:19:23 -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
3d02bca2b9 fixed an overflow in the FFT poisson solver normalization when using very large unigrids 2011-06-03 07:19:52 -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
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
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
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
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
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
e424f3c205 Some fixes
* Fixed a normalisation bug in the hybrid Poisson solver
* Added calculation of the exact T(r=0) by summing modes rather than by analytical integration
* Fixed a bug in the deconvolution that caused the Nyquist mode to be excluded in the deconv.
* Fixed a bug in the random number generator when using single thereaded FFTW.
2010-09-28 15:58:41 -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
aa9e88310e Fixed a normalization issue for they hybrid Poisson solver.
Option 'avg_fine' now defaults to 'true'.
2010-09-08 01:06:18 -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
af02e4ef4e Added new fine-grid hybrid poisson solver. This can be turned on with '[poisson]/fft_fine=yes'. Needs more testing though.
Also added a cut-off for baryons when using CAMB tabulated transfer functions to reduce ringing.
2010-08-21 19:43:21 -07:00
Oliver Hahn
55170f18d5 Re-enabled optimized unigrid version for cases when trivially possible.
This fixes issue #1
2010-07-29 15:08:09 -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
689484eb68 Fixed a bug that caused only 4th order gradients to be used.
Fixed a bug causing wrong shift-backs of particle positions for Gadget.
Disabled optimized unigrid mode as it did not work in all circumstances (issue posted).
2010-07-07 15:31:15 -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