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

436 commits

Author SHA1 Message Date
Oliver Hahn
965bc5c1c8 Added tag beta_candidate for changeset eabada1ee28b 2010-08-14 18:20:50 -07:00
Oliver Hahn
28701c3d8e Added some logging infra structure. 2010-08-14 18:19:48 -07:00
Oliver Hahn
b5d5cd0d90 Added tag beta_candidate for changeset 9473d7ef2abd 2010-08-14 18:01:54 -07:00
Oliver Hahn
785601d4ae Speeded up transfer function calculation significantly.
Added an approximate log10 algorithm.
Use spherical symmetry of problem to avoid computing duplicate values.
2010-08-14 16:52:25 -07:00
Oliver Hahn
ae0d833155 Fixed a bug that caused grid shifts to be wrong in some cases when using
levelmin_TF>levelmin
2010-08-14 16:51:17 -07:00
hahn
506b882893 Fixed some stuff that caused intel c++ compiler warnings 2010-08-11 05:35:29 +02:00
Oliver Hahn
5d3b66e96a Added new interpolation scheme for long-range component.
The LR part is now interpolated directly to fine grids from coarse grids not
involving intermediate grids. This improves accuracy for >=2 levels.
2010-08-10 15:51:49 -07:00
Oliver Hahn
b5bd5fe15a Fixed a bug when reading an external seed file 2010-08-10 15:50:02 -07:00
Oliver Hahn
67d3038e25 Fixed a bug that caused an error message when reading random values from
file and only using one unigrid level.
2010-08-06 10:23:45 -07:00
Oliver Hahn
587bf37802 Added tag beta_candidate for changeset 696daefc860e 2010-08-05 16:25:42 -07:00
Oliver Hahn
8e1ed3d284 Added option '[setup]/center_velocities' that centers the box rest-frame to
the mean velocity in the finest refinement grid.
2010-08-05 16:22:40 -07:00
Oliver Hahn
b3622955e8 Added a new averaged transfer function for coarse grids. This beats down errors there and
improves the solution.

Also fixed another bug related to the previous grid placement correction with align_top,
size corrected grids have to be enforced to have an even offset.
2010-08-05 12:14:41 -07:00
Oliver Hahn
a97d185644 Baryon density is now re-normalized when using LLA.
LLA baryon density might deviate from the mean density by up to a few percent.
This is now corrected explcitly by subtracting the mean after calculation
2010-08-05 10:22:03 -07:00
Oliver Hahn
6227b1179a Fixed a bug that sometimes caused wrong offset in multi-grid convolution.
Grid sizes have to be a multiple of 4 during density convolution when using
isolated boundary conditions. Otherwise the padding region is not coextensive
with coarse grid cells. This is now enforced during density generation but
is readjusted afterwards.
2010-08-05 10:19:47 -07:00
Oliver Hahn
a013f95452 Fixed that Gadget-2 particle masses were not written after last update. 2010-07-31 19:33:16 -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
93b7c21231 Changed linking order for FFTW multithread libraries.
This fixes a linker error on some systems.
2010-07-29 19:11:43 -07:00
Oliver Hahn
6b3b1c8ec3 Added tag beta_candidate for changeset c97c553774a7 2010-07-29 17:05:43 -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
41cbe38098 Fixed a bug that caused absolute grid offsets to be wrong.
Only affected enzo outputs with 'overlap!=0' at the moment.
2010-07-28 11:47:22 -07:00
Oliver Hahn
83f5fb9f39 Some fixes to the ENZO output plug-in
Added a fixed 'RefineBy=2' to ENZO parameter files.
Increased field width and precision for grid coordinates.
2010-07-28 01:02:47 -07:00
Oliver Hahn
02a822a92a resolving some mercurial issues 2010-07-27 17:01:37 -07:00
Oliver Hahn
5d1f35a6c1 cleaned up some mess 2010-07-27 15:56:14 -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
f9e6a8faca Fixed a bug that caused Poisson solver not to converge for baryons and some fields
to have wrong size when using baryons. Fixes bug #2 and #3
2010-07-25 11:40:44 -07:00
Oliver Hahn
5e0cbcbae8 added 2LPT and LLA for sixth order scheme (actually 8th order now for off-diagonal terms) 2010-07-21 01:31:10 -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
2b8e08172c Added tag beta_candidate for changeset 0adcfca329ff 2010-07-09 01:04:01 -07:00
Oliver Hahn
2383f8b68d Fixed a bug that lead to refinement grid centering being ignored when using levelmin_TF=levelmax.
Fixed a bug with top grid kernel normalization, this reduces errors a bit.
A non-cubic grid is now extended to a cubic grid in the density calculation. This should reduce artefacts due to TF truncation.
Added a new (undocumented and internal) parameter that forces grid centering on the specified refinement region also in unigrid mode. This should in the future also obey that the shift comes in multiples of the top grid cells (which are however unknown).
Fixed a bug in the generic output plugin that caused non-cubic grids to be cut to cubic grids.
2010-07-09 01:01:54 -07:00
Oliver Hahn
d805e99df3 Fixed a bug that prevented levelmin_TF from working properly.
Fixed a missing reduction operation when normalizing convolution kernels in an OpenMP loop.
Some other minor beauty fixes.
2010-07-07 22:15:33 -07:00
Oliver Hahn
b4c900b3dd Added tag beta_candidate for changeset 5f2d65c9e391 2010-07-07 15:44:23 -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
1c376c816a added a sample .conf file "ics_example.conf" 2010-07-02 17:07:31 -07:00
Oliver Hahn
1deeca1350 Added tag beta_candidate for changeset 1d4dec256a58 2010-07-02 16:22: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