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

207 commits

Author SHA1 Message Date
Oliver Hahn
eb870edb89 fixed a compilation error due to typor 2018-03-07 03:14:44 +01:00
Oliver Hahn
ed619e96f2 fixed a few bugs in the CAMB plugin (if header line was present, it was not skipped; baryon velocity was same as CDM) 2018-03-05 16:56:40 +01:00
Ben Keller
39e984d880 Merged ohahn/music into default 2017-09-18 15:15:38 +02:00
Oliver Hahn
085ea01af8 fixed possible compiler errors on previous commit when not using C++11 compiler 2016-04-16 13:58:36 +02:00
Oliver Hahn
3d8c218a77 fixed uninitialised value for line numbers read from CAMB file (also the flag whether linear interpolation should be used was uninitialised, but always set in the end). these fixes do not affect overall behavior 2016-04-16 13:24:22 +02:00
Oliver Hahn
87aea86e48 fixed an issue with region types ellipsoid and convex_hull if the points in region_point_file intersected box boundaries 2016-04-15 14:20:14 +02:00
Oliver Hahn
20c68cc3e5 improved accuracy of calculation of minimum bounding ellipsoid for small zoom regions 2016-03-24 01:08:46 +01:00
BW Keller
b207dba981 Added some extra hole-filling code to the refgrid building function. 2015-12-21 14:47:38 -05:00
BW Keller
5b22c86040 Fixed (I hope) offset issue 2015-12-16 10:54:39 -05:00
BW Keller
dd9f882a58 The particle input positions need to run from 0 to 1. 2015-12-10 18:04:26 -05:00
BW Keller
c3104f8a1f Fixed a bug with the query_point function and added the region_point_level parameter. 2015-11-25 23:48:29 -05:00
BW Keller
e12af5d9cb Finally got the basic one-level version working. 2015-11-17 20:11:10 -05:00
BW Keller
a5b539fe61 Bugs still in the multibox plugin, getting closer though... 2015-11-17 08:42:08 -05:00
BW Keller
1f05a84f6d Fixed periodicity for region_multibox query_point 2015-11-14 20:43:46 -05:00
BW Keller
3154f19ac0 Finished basic build of multibox region. Still bug-filled, needs fixing. 2015-11-13 22:46:13 -05:00
BW Keller
5f88186863 Added function to deposit particles onto refgrid 2015-11-13 15:23:30 -05:00
BW Keller
af98d51fe9 Added some skeleton code for the multibox region plugin 2015-11-13 12:15:38 -05:00
Dylan Nelson
5ded1bfbc2 Arepo plugin update: doubleprec and multifile. 2015-10-27 13:30:13 -04:00
Oliver Hahn
2cc50ee4b0 additionally included support for having separate density and velocity transfer functions even when running single-component sims 2015-10-19 15:37:10 +02:00
Oliver Hahn
44cdfc728b fixed compilation error (convex_hull.hh) when OpenMP is not available 2015-06-29 11:55:38 +02:00
Oliver Hahn
2b9bc68fac added support for velocity transfer functions added with the latest (early 2015) CAMB release 2015-06-15 16:10:57 +02:00
Oliver Hahn
86cd42f41f tipsy output can be made in double precision (format = tipsy_double) even if MUSIC is run in single precision. This improves accuracy anyway since the single precision displacement vectors are converted to double before being converted to particle positions 2015-06-14 19:43:24 +02:00
Douglas Rudd
abd1744be9 Change CART writer not to use SPH shifts and write at cell centers (using write_gas_density function) 2015-05-15 16:08:17 -05:00
Oliver Hahn
31d2dbf2f2 Fixed a bug in Eisenstein&Hu fitting functions, affecting power spectra at a few per cents. The TFset_parameters function takes Omega_b/Omega_m, *not* Omega_b/Omega_c as wrongly stated in the Eisenstein&Hu source code. 2015-04-05 11:44:33 +02:00
Oliver Hahn
cac22512ed added Gadget header flag for double vs single precision 2014-09-23 10:02:32 +02:00
Oliver Hahn
99581697f0 added new parameter 'tipsy_eps_gas' to set the force softening separately for the gas in the TIPSY/PKDgrav/Gasoline plugin 2014-09-18 11:24:13 +02:00
Oliver Hahn
2de9c8e730 added option 'tipse_eps_coarse' to tipsy/pkdgrav/gasoline plugin to set force softening separately for coarse and fine particles in units of the mean particle separation of each level 2014-09-18 11:04:50 +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
3fa2b126f2 fixed a compilation bug related to last fix in output_grafic2.cc 2014-03-30 20:30:38 +02:00
Oliver Hahn
0ee65c5d27 ramses: fix to mask output 2014-03-27 00:23:05 +01:00
Oliver Hahn
1fb3a02770 added some more checks for errors in the .conf files 2014-02-26 17:56:04 +01:00
Oliver Hahn
d4c0e2b701 merge 2014-02-25 18:33:12 +01:00
Oliver Hahn
e276a8a15c fix to TIPSY output plugin when running with baryons
also added more verbose error messages to TIPSY plugin
2014-02-25 18:32:28 +01: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
ed3fb54aae added Green+(2004) transfer function cut-off for small-scale CDM 2014-01-28 16:42:24 +01:00
Oliver Hahn
3d47491989 Fixed some bugs in the Gadget2 output plugin 2013-12-13 00:05:32 +01:00
Oliver Hahn
4ac0ea9323 added output of refinement masks for ENZO 2013-12-10 19:26:13 +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
7723c9b2a7 density coarsening is done using spectral sampling if spectral sampling of the transfer function is used, otherwise block averaging is used 2013-11-26 19:25:29 +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
caec0b9d76 new version number 1.5
fixed a compile error in tetmesh output
made k-space sampling the default
2013-11-14 11:04:08 +01:00
Oliver Hahn
144efb78ea updated output plugins to use new masking/refinement tagging API 2013-11-13 12:28:15 +01:00
Oliver Hahn
503aad8d53 and more fixes to the new masking 2013-11-06 23:48:00 +01:00
Oliver Hahn
436882c8d5 minor clean ups 2013-11-06 19:54:04 +01:00
Oliver Hahn
33465be8d6 more fixes to the masking 2013-11-06 15:25:14 +01:00
Oliver Hahn
35046923eb a few fixes. 2013-11-05 17:06:45 +01:00