Oliver Hahn
cac22512ed
added Gadget header flag for double vs single precision
2014-09-23 10:02:32 +02:00
Oliver Hahn
a80fbf13d1
fixed a bug in the Gadget output plugin that caused masses not written to header when running with only one level of refinement
2014-08-17 19:35:31 +02:00
Oliver Hahn
f63e6bb80a
fixed typo in error message in Gadget plugin
2014-01-30 09:48:05 +01:00
Oliver Hahn
db38296f39
fixed wrong velocity unit in Gadget plugin
2014-01-29 14:44:10 +01:00
Oliver Hahn
51e23706aa
added new unit specification parameters to Gadget output plugin:
...
[output]
gadget_munit = 1e10Msol | Msol | Mearth
gadget_lunit = Mpc | kpc | pc
gadget_vunit = km/s | m/s | cm/s
(the first option in each case is the one used by default)
2014-01-29 14:38:41 +01:00
Oliver Hahn
3d47491989
Fixed some bugs in the Gadget2 output plugin
2013-12-13 00:05:32 +01:00
Oliver Hahn
2888f0d2d0
Gadget2-plugins does not spread coarse particles across all types by default any more.
...
Fixed a bug causing wrong number of particle masses being written out.
Type spreading is enabled using gadget_spreadcoarse=yes
2013-12-09 16:05:48 +01:00
Oliver Hahn
0b4d49ec06
some more fixes to the new Gadget plugin
2013-11-26 17:44:34 +01:00
Oliver Hahn
89dbf91b67
fixed a bug in the updated code for Gadget output, the correct number of coarse particle masses was not written out if more than 5 levels are present
2013-11-26 15:08:29 +01:00
Oliver Hahn
5318049e37
rewrote parts of gadgetX output plugin. It can now distribute particles across
...
several types for DMO simulations
2013-11-26 14:12:38 +01:00
Oliver Hahn
503aad8d53
and more fixes to the new masking
2013-11-06 23:48:00 +01:00
Oliver Hahn
7e69a43036
added new option "gadget_cell_centered=yes/no" to enable half-cell shift for gadget particle positions
2013-03-21 22:09:59 +01:00
Oliver Hahn
edb2dce773
gadget2: added option to write out long ids, even if not needed for ICs themselves
2013-03-15 16:15:36 -07:00
Oliver Hahn
65ed455e36
gadget2 plugin: empty part of header is now initialized to zero, this makes it compatible with non-public gadget-2 and 3
2013-01-22 22:10:02 +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
b6e86bb6fb
Merged in ohahn/music-iodevel (pull request #2 )
2012-10-25 14:14:16 +02:00
Oliver Hahn
8040f40104
Gadget-2 plugin: added new parameters for length and mass units, allowed gadget coarse particle type to be specified in parameter file. Fixed bug that H0 instead of h was written to Gadget header.
2012-08-19 13:38:49 -07:00
Oliver Hahn
c3f5a14438
made art plugin compilable
2012-07-20 19:27:33 -07:00
Oliver Hahn
f10f8f9a6c
version freeze for Santa Cruz Code Comparison Project
2012-07-11 17:15:45 -07:00
Oliver Hahn
06d1f88aa2
Gadget plugin: Fixed an overflow bug when using more than 2048**3 particles and baryons.
2011-09-06 17:08:36 -07:00
Oliver Hahn
29822726ec
Removed option "shift_back" for Gadget2 output as it can cause problems with zoom sims overlapping the periodic boundaries.
2011-08-29 14:00:47 -07:00
Oliver Hahn
ebd300f2fa
Some more bugfixes for Gadget-2 output with very large grids.
...
Verified to work with 2048**3.
2011-06-09 12:08:24 -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
af2f45763d
Fixed a bug for Gadget2 output with baryons that caused low-res DM particles to have the wrong mass
...
when using more than two levels
2011-04-15 10:04:40 -07:00
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
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
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
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
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
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
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
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
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
c48c73488a
Initial commit, beta version release candidate
2010-07-02 11:49:30 -07:00