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

516 commits

Author SHA1 Message Date
Oliver Hahn
0f012ee9f9 a 64bit compliance fix in convolution_kernel
fixed a bug introduced in this branch in random.cc
2011-06-02 15:10:05 -07:00
Oliver Hahn
e470be5da7 added support for new linger++ transfer function file format
cleaned up a bit of code
2011-06-02 11:12:44 -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
df3ee81111 Fixed a bug in the ENZO output plugin for non-cubical subgrids when used in conjunction with PartitionNestedGrids=1 2011-04-27 10:46:44 -07:00
Oliver Hahn
480a087fa6 Added parameter to force cubical refinement regions 2011-04-27 10:01:24 -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
731641524c Added output of particle displacement file names to template parameter file in enzo output plugin. 2011-04-12 09:55:34 -07:00
Oliver Hahn
7cef5e69cc Fixed a bug when the transfer function tables contain negative values by clipping them off 2011-04-07 16:19:16 -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
c87804e602 Fixed another compiler error, where implicit conversion to 64bit integer failed.
Conversion now explicit.
2011-03-16 15:58:36 -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
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
fdd12c3d9c minor fixes (mainly constraints) 2010-12-16 12:05:03 +01:00
Oliver Hahn
839788910b Added tag beta_version for changeset 9d399557105c 2010-12-13 08:47:55 -08:00
Oliver Hahn
ff5d87273c Some minor fixes. No longer uses FFT to compute 2LPT terms when in unigrid mode and
when using deconolve=true (default=true).
2010-12-13 08:47:01 -08:00
Oliver Hahn
0545d63b8b Added tag beta_version for changeset 1f2433764da7 2010-12-13 08:45:27 -08:00
Oliver Hahn
39d679685c Re-enabled explicit averaging when using hybrid+deconvolution 2010-12-03 21:59:57 -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
dbe7cd0f8c Added tag beta_version for changeset 34002b1007a6 2010-11-24 15:24:10 -08: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
20d3549af9 Added tag beta_version for changeset 2372cc7e36f7 2010-11-24 14:36:41 -08:00
Oliver Hahn
477d23dc17 Added tag beta_version for changeset 6ff385bd0ffd 2010-11-19 09:35:39 -08:00
Oliver Hahn
c927462924 Fixed a bug that caused the baryon velocity field to be not shifted in the SPH
case when a transfer function with no velocity info was used.
2010-11-18 22:30:16 -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
bbba2b3d78 Added tag beta_version for changeset 64c79ee1fcea 2010-11-17 21:23:47 -08:00
Oliver Hahn
5d78e1e3ff Added tag beta_version for changeset d81ed7f5431d 2010-11-16 21:01:20 -08:00
Oliver Hahn
ccf7c3dab1 changed version number to 0.9b, this is the beta version.
no more features will be added.
2010-11-16 21:01:15 -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
f9f1ba197b Added tag beta_candidate for changeset 6c22ffb52c5b 2010-11-12 15:05:56 -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
f3364e9877 * Added support for velocity potentials for baryons and CDM
* Added new transfer function type 'music' which reads in a file with
  density and velocity transfer functions for baryons and CDM.
* Powerspectrum evolution in two-fluid sim appears to scale as
  predicted now at the per cent level
* Tool to compute velocity transfer functions is not included as of
  now. Let's see..
* Velocity potentials are not yet supported with 2LPT.
2010-11-02 23:35:57 -07:00
Oliver Hahn
37c0d4be36 Added tag beta_candidate for changeset f17f336c816a 2010-10-27 14:12:13 -07:00
Oliver Hahn
3f332540dc Disabled that FFTW3 is used by default in the Makefile 2010-10-26 22:48:34 -07:00
Oliver Hahn
69ab1a346d Added tag beta_candidate for changeset e457c2b4aee7 2010-10-26 22:46:38 -07:00
Oliver Hahn
61caef1575 2LPT now reuses velocity data to compute displacements in pure DM case (instead of recomputing everything).
Random number generator now creates 'dummy seeds' if seeds are not specified
2010-10-26 22:46:33 -07:00
Oliver Hahn
0f5cbaa8a8 Added tag beta_candidate for changeset 36271198aaf9 2010-10-26 21:54:18 -07:00
Oliver Hahn
6735894892 More 64bit fixes and some more OpenMP parallelizations 2010-10-26 21:54:15 -07:00
Oliver Hahn
32e3ef185f Added tag beta_candidate for changeset 1e095fb6c31b 2010-10-26 21:44:19 -07:00
Oliver Hahn
85ab2aa1ce Hybrid poisson solver is now default 2010-10-26 21:44:17 -07:00
Oliver Hahn
032031c078 Added tag beta_candidate for changeset ed36154e55dd 2010-10-26 21:43:02 -07: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
62b765002a fixed a bug in the RAMSES output plugin when grids are not cubical 2010-10-05 11:22:14 -07:00