Oliver Hahn
6df708ce8d
code now explicitly fails if zoom region is more than half box size instead of having undefined behaviour.
...
fixed a missing default option for levelmin_TF in constraints.cc.
2013-07-29 17:56:15 +02:00
Oliver Hahn
8657bdee4d
fixed that region for refinement needs to be specified even if no zooms are performed.
...
fixed that whitespace after makefile options might lead to odd behaviour
2013-07-25 19:16:53 +02:00
Oliver Hahn
eb86e9c56b
Merged in jfe/music/nyx (pull request #6 )
...
merge des nyx plugins
2013-06-04 09:56:37 +02:00
Oliver Hahn
32f721f77c
fixed a bug that caused refinement masks (i.e. ellipsoid) not being applied properly when using 2LPT
2013-05-27 15:22:16 +02:00
JFEngels
48e4f7004d
we now enforce the blocking factor...this time for real
2013-05-10 12:24:50 +02:00
Oliver Hahn
9c89e837b5
added notification mechanism so that region generator plugins can be updated about the grid hierarchy that was actually created. this fixes also the problem with high res regions not being necessarily equal to the grid size available when using the is_refined member function
2013-02-22 00:01:37 +01:00
Oliver Hahn
2705f78e69
fixed correction for previous grid shift when centering velocities via explicit shift
2013-01-08 17:14:02 +01:00
Oliver Hahn
83e381f5cb
some code cleanup
2012-12-17 10:33:18 +01:00
Oliver Hahn
f36f73fba4
added back support for regions of fixed dimension
2012-12-17 10:01:28 +01:00
Oliver Hahn
1f6059943e
changed region code to have 1 cell additional bounding around ellipsoid
...
ramses output working with masks, needs more testing
2012-12-15 00:53:01 +01:00
Oliver Hahn
7cbfb01605
updates and fixes to refinement region infrastructure
...
support for gadget preliminary tests ok
2012-12-11 02:11:04 +01:00
Oliver Hahn
966e670a9d
fixed a bug in the grid hierarchy generation that could lead to inconsistent grid placement when using also the option 'force_equal_extent=yes'
2012-11-23 16:41:19 +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
0807dd6861
fixed a bug that required either ref_extent or ref_dims to be present even when setting up a unigrid simulation
2012-10-08 15:26:59 +02:00
Oliver Hahn
d9fbe83bbc
added new parameter [setup]/ref_dims=NX,NY,NZ to explicitly specify the resoluti
...
on of the high resolution region.
added output of comoving size of high-res region to screen
added output of densest point also when using the generic output plugin
2012-09-28 15:17:25 +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
a7535f3d89
fixed a bug that caused the refinement region to be always larger than specified, even
...
if it would fit exactly. THIS SHOULD BE TESTED MORE THOROUGHLY.
2012-03-28 13:56:34 -07:00
Oliver Hahn
6bc18e1aaf
More 64 bit compliance fixes for output plugins.
...
Gadget-2 output plugin now can write multiple output files.
Saved a bit of memory in main loop
2011-06-08 20:58:42 -07:00
Oliver Hahn
5181ca7b60
removed meshvar_bnd_double
2011-06-02 10:50:00 -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
480a087fa6
Added parameter to force cubical refinement regions
2011-04-27 10:01:24 -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
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
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
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
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
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
28701c3d8e
Added some logging infra structure.
2010-08-14 18:19:48 -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
hahn
506b882893
Fixed some stuff that caused intel c++ compiler warnings
2010-08-11 05:35:29 +02: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
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
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
c48c73488a
Initial commit, beta version release candidate
2010-07-02 11:49:30 -07:00