1
0
Fork 0
mirror of https://github.com/cosmo-sims/MUSIC.git synced 2024-09-20 18:13:45 +02:00
Commit graph

198 commits

Author SHA1 Message Date
Oliver Hahn
77a6920ed1 added support to account for shifting of region defining particles when initializing from zoomed sim 2012-12-11 02:48:52 +01:00
Oliver Hahn
d1022359e9 added untested support for output of refinement mask with RAMSES 2012-12-11 02:40:40 +01:00
Oliver Hahn
ce3b5d3029 accuracy fixes to ellipsoid determination 2012-12-11 02:31:06 +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
1df02fcbf6 started infrastructure for more advanced high-res regions (not cuboid)
added implementation for minimal enclosing ellipsoid
2012-12-09 16:42:47 +01:00
Oliver Hahn
025c9fbad0 bit of cleanup in the ART plugin, avoid a few compiler warnings 2012-12-09 16:42:00 +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
0b382467ba fixed a bug that caused a failing assertion 2012-11-20 17:39:47 +01:00
Oliver Hahn
7a72cd4f0b updated code version to 1.2b 2012-11-20 16:07:50 +01:00
Oliver Hahn
f4556c30b3 merge 2012-11-20 16:06:49 +01:00
Oliver Hahn
fd9759e866 ENZO-plugin: added higher precision of refinement region position output to ENZO parameter file 2012-11-20 16:06:24 +01:00
Oliver Hahn
2236b9f29b fixed some code causing compiler warnings 2012-11-20 16:02:32 +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
4e1f4224fa more realistic calculation of multigrid error, no more 'no convergence' when using single precision 2012-11-20 16:00:53 +01:00
Jose Onorbe
c85b99f9cd - Some corrections to avoid warnings during compilation.
- Added information about initial temperature for the baryons in the log.
- Modified output file names when doing a baryon run.
- Corrected bug of hubble constant units in header. Did not affect dark matter only results.
2012-11-14 14:28:04 -08:00
Michael Kuhlen
f98688bd23 Added the option to write out tipsy files in native binary format, which is much faster to read in than the XDR encoded default. Choose this option by setting 'tipsy_native = yes' under [output]. 2012-11-14 13:01:58 -08:00
Michael Kuhlen
94f863917c Unified tabbing (whitespace) in plugins/output_tipsy.cc (BSD-style with 4-space indentation). 2012-11-14 10:59:22 -08:00
Oliver Hahn
b6e86bb6fb Merged in ohahn/music-iodevel (pull request #2) 2012-10-25 14:14:16 +02:00
Oliver Hahn
e505f97b9a fixed compatibility with gcc 4.7, unistd.h needs to be explicitly included 2012-10-16 10:13:14 +02:00
Oliver Hahn
1469906cd6 fixed a bug that refinement region parameters had to be specified even when doing unigrid setups 2012-10-10 17:17:19 +02: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
598e8889cb added info message to screen when CIC deconvolution for kernel is switched on 2012-10-01 18:15:30 +02:00
Oliver Hahn
8071a19a01 added support for arbitrary staggering shifts when using SPH through internal option [setup]/baryon_staggering=0..1 2012-10-01 18:06:39 +02:00
Oliver Hahn
709ffbe025 minor API adjustments to deal better with particle interpolation on finest grid 2012-10-01 16:45:37 +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
Jose Onorbe
8ccd7c7dfe Implemented baryon output for ART module. Still under testing.
Done some cleaning and commenting in all the ART module code.
2012-09-11 16:30:20 -07:00
Oliver Hahn
449dbfc431 fixed another bug with the hash-key random numbers, when coarsening of noise is needed 2012-09-10 16:26:33 +02:00
Oliver Hahn
6e8234c49e fixed a bug that caused the new hash-key based random number scheme to not work with noise read from file 2012-09-10 15:02:16 +02:00
Oliver Hahn
5589695ef6 updated code version to 1.1b, first version with significantly reduced memory usage for very deep zooms. 2012-09-07 16:53:43 +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
6db9e358fc fixed a bug that white noise was not read from file if levelmin_TF or levelmin was lower than the level with the white noise from file 2012-09-06 15:32:38 +02:00
Oliver Hahn
22ab605e1e can now read white noise file with 64bit Fortran unformatted block size indicators 2012-09-06 15:24:28 +02:00
jonorbeb
f45bed11a9 Dark matter only art module tested and working ok. Units checked and ok.
All previous questions solved.
Still waiting for one last zoom test (moderate resolution 512^3) to compare it with
gadget results but full box and low res zoom look ok.

We should start thinking in the baryon format output.
2012-09-04 20:28:22 -07:00
Oliver Hahn
a51296c172 added new parameter [random]/grafic_sign = yes|no, (default=no)
to set the sign of the input white noise file consistent with grafic2
2012-09-04 15:19:16 +02:00
Oliver Hahn
9275aa4529 added output of density extrema to ENZO plugin 2012-08-24 12:11:17 -07:00
jonorbe
bf38faaf23 Swap endianness option fully enabled for ART module: header, particle data and pt files. 2012-08-19 16:43:31 -07: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
e52e6ffd0b updated sample parameter file to features of current version of MUSIC 2012-08-18 16:27:57 -07:00
Oliver Hahn
9b34875aa5 added change of endianness to data arrays in ART plugin, header etc. still need to be adjusted 2012-08-17 17:38:35 -07:00
jonorbe
ab24981135 - Fixed velocity units conversion. Still final test needed.
- Header ascii variable can be set in the config file.
- astep variable for ART has to be given in the config file.
2012-07-31 01:36:58 -07:00
jonorbe
c7e6cd5825 ART module for dm-only operative. Right now the module generates all the files necessary with the correct format and (re-check mandatory) units. Therefore, ICs generated should run!
Here I write a list of to-do things:

- Find a clever way to set the char array in header. Should be set in the config file and then probably use some getValue?
- Re-check velocity units
- How important is the EKIN parameter of the header to start ART. We are not calculating it. It could be done when writing the files but seems to much work taking into account that it is probably calculated at each timestep.
- astep parameter: clarification on how is set/chosen for the initial conditions. It is important for subsequent steps or ART auto-regulates the next steps?
- Need some clarifications for zoom-in simulations:
	+ which NROWC and NGRIDC is used (now using levelmin, but levelmax?)
        + Number of files. Not clear if all together in one or one for each level (in the last case we will need to do some important changes in the module)
- Confirm our current format is standard for all ART versions.
2012-07-27 20:17:12 -07:00
Oliver Hahn
3806e940c6 added code outline to read DM temporary particle files and assemble them 2012-07-27 12:27:27 -07:00
jonorbe
39025f7173 Assigning correct values to the parameters in header file. 2012-07-27 11:43:58 -07:00
Oliver Hahn
bc7d5de346 added baryon support to tipsy output plugin 2012-07-23 12:17:24 -07:00
Oliver Hahn
2ed1414fba added correct averaging of SPH+DM particles in coarse region 2012-07-23 12:16:05 -07:00
Oliver Hahn
448796873d added temp file output for DM data in ART plugin 2012-07-20 19:36:59 -07:00
Oliver Hahn
c3f5a14438 made art plugin compilable 2012-07-20 19:27:33 -07:00
Oliver Hahn
b7dd1cd8e3 added baryons to tipsy file output plugin 2012-07-20 19:17:18 -07:00
jonorbe
6d43639fc6 changes output_art.cc 2012-07-19 20:26:19 +02:00
jonorbe
aa80db066a Changes is output_art.cc 2012-07-19 19:41:57 +02:00