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

307 commits

Author SHA1 Message Date
Oliver Hahn
99d506fffa Merge branch 'master' of bitbucket.org:ohahn/monofonic into enzo 2022-12-16 06:01:18 +01:00
Oliver Hahn
7407546a03 fixed old parameter name for bayons 2022-12-16 06:00:25 +01:00
Michael Bühlmann
981432269b Merged in master (pull request #32)
fix particle masses for HACCHydro, single species

Approved-by: Oliver Hahn
2022-12-15 12:42:36 +00:00
15be8f4b4f
put infomation about the gadget4 cosmology part of param.txt in output 2022-12-15 11:45:44 +01:00
Oliver Hahn
9a6b7ea92e first PoC implementation of enzo output plugin. no MPI support! 2022-12-14 23:08:11 +01:00
Oliver Hahn
a6e148ed00 fixed compiler warning 2022-11-10 19:59:22 +01:00
Oliver Hahn
ee391f2575 Merge branch 'master' of bitbucket.org:ohahn/monofonic into newbaryonlattice 2022-11-10 18:27:05 +01:00
Michael Buehlmann
091c9dee75 fix HACC masses for HACCHydro, single species 2022-07-18 14:37:40 -05:00
Michael Buehlmann
fbf6690458 add missing HACC/GenericIO fields 2022-04-28 15:50:14 -05:00
Oliver Hahn
9ea23ea581 first commit of the masked particle load for the upcoming Virgo consortium simulations 2022-02-04 00:33:54 +01:00
Oliver Hahn
daafcbef01 added more doxygen documentation to infrastructure files 2021-11-28 13:20:04 +01:00
Oliver Hahn
f2ae610143 some changes to default RNG, added error for MUSIC1 plugin if no seed is specified 2021-11-28 12:56:05 +01:00
Oliver Hahn
8386db3319 disable PANPHASIA when MPI is off, since implementation requires MPI 2021-11-23 13:02:45 +01:00
Oliver Hahn
3607afb244 check for negative masses with mass perturbations 2021-10-05 23:00:26 +02:00
Oliver Hahn
ffcc03831f cleanup of Adrian's PANPHASIA_ho code to avoid compiler warnings in pedantic mode 2021-09-01 21:30:34 +02:00
Oliver Hahn
9223a56620 Merged ohahn/monofonic:develop into AdrianRJenkins/monofonic:master 2021-09-01 18:44:24 +00:00
Oliver Hahn
561c9ffa06 Merged master into develop 2021-09-01 20:40:59 +02:00
Matthieu Schaller
4d69958b89 Make the SWIFT output plugin use 64-bit IDs unless by default. 2021-08-28 12:20:30 +02:00
Matthieu Schaller
352c47765b Make the SWIFT output plugin default to double precision 2021-08-28 12:19:31 +02:00
Oliver Hahn
d37cfc79b6 cleaned up PANPHASIA plugin so that now there is only one PANPHASIA and it selects automatically if it is 'ho' or v1 2021-08-08 12:03:39 +02:00
Adrian Jenkins
e3f5d65e0a Bug fix: non-integer box lenghts - thanks Willem Elbers 2021-07-05 08:50:17 +01:00
Oliver Hahn
ef8cc6d863 added fatal error when panphasia_ho is run and "DoFixing" is enabled 2021-06-02 15:30:19 +02:00
Adrian Jenkins
1edf50ac53 Changed value of fdim from 1 to 2 to save memory 2021-06-02 09:47:58 +01:00
Matthieu Schaller
cc1709304a Add md5sum filter to the outputs of the SWIFT plugin 2021-05-30 00:20:40 +02:00
Matthieu Schaller
ba3a82aea1 Always write out a mass array in the SWIFT plugin even if the masses are constant 2021-05-29 23:21:31 +02:00
Adrian Jenkins
57e6c6300d Corrected bug that chose the wrong Fourier grid size for the case
where the particle grid is not a power of two times the descriptor
S-value.
2021-05-27 14:27:40 +01:00
Oliver Hahn
316b187166 added old PANPHASIA to the new plugin, which can now deal with both old and new descriptors 2021-05-14 22:42:04 +02:00
Oliver Hahn
6a40a29eda PANPHASIA_HO plugin now executes calls formerly in main.c on a Grid_FFT object, result is Fourier interpolated back to size required by monofonic, modes are passed through to LPT module, not tested yet 2021-05-14 15:57:31 +02:00
Oliver Hahn
0ffa733344 moved all routines from main.c to the plugin, added external as included path 2021-05-14 13:57:57 +02:00
Adrian Jenkins
a787014b5f Edit plugin for panphasia_ho to pass descriptor and particle load grid.
Please enter the commit message for your changes. Lines starting
2021-05-11 14:55:51 +01:00
Oliver Hahn
69f9772cc5 added call to see if old or new descriptor is used 2021-05-11 11:53:40 +02:00
Oliver Hahn
73c0957b66 Merge branch 'master' of bitbucket.org:ohahn/monofonic into develop 2021-05-04 22:19:09 +02:00
Oliver Hahn
8137262ea7 bugfixes for RAMSES output with MPI 2021-05-04 22:14:10 +02:00
Oliver Hahn
f7c9d606f7 modified to have a minimally compilable PANPHASIA_HO example inside monofonic 2021-05-02 22:52:21 +02:00
Matthieu Schaller
515e2b3063 Add more information about what SWIFT parameters not to set in the SWIFT yaml file when using monofonIC outputs 2021-03-29 14:05:07 +02:00
Matthieu Schaller
d7273c7ae5 Write logging messages to report the writing progress 2021-03-28 23:40:33 +02:00
Matthieu Schaller
17f51ed8f4 Protect the MPI calls with correct ifdef's 2021-03-28 23:23:34 +02:00
Matthieu Schaller
c1f942907a Fix some whitespace problems 2021-03-28 23:19:51 +02:00
Matthieu Schaller
36bf7b0760 Make sure all ranks compute h and u, not just rank 0 2021-03-28 23:14:29 +02:00
Matthieu Schaller
098dafa1ef Fix constant used in the SWIFT i/o plugin to match exactly the value of the physical constants used internally by SWIFT 2021-03-28 22:19:14 +02:00
Matthieu Schaller
5207492b8e In the SWIFT i/o plugin, get each rank to write its data in a round-robin fashion using an offset in the previously-created array 2021-03-28 22:19:14 +02:00
Matthieu Schaller
c1ebf38aa1 Make rank 0 create the arrays in the hdf5 file for the SWIFT i/o plugin. 2021-03-28 22:19:14 +02:00
Matthieu Schaller
7a463aad2e Move the calculation of the temperatures to the constructor of the SWIFT i/o plugin 2021-03-28 22:19:14 +02:00
Matthieu Schaller
a3e6581902 Move the writing of header and other general properties to rank 0 only in the SWIFT i/o plugin 2021-03-28 22:19:14 +02:00
Matthieu Schaller
e6b5b6464f Write more information about the IC code to the ICs' header in the SWIFT i/o plugin 2021-03-13 21:26:45 +01:00
Matthieu Schaller
cf7060dc1a Print the initial energy as well as the initial temperature to the screen 2021-02-28 19:31:32 +01:00
Matthieu Schaller
012c306e30 Fix a bug where the wrong file name was used in the output plugin super-class in MPI mode 2021-02-28 19:29:23 +01:00
Matthieu Schaller
e9a6a1aa58 Small fixes 2021-02-28 19:07:58 +01:00
Matthieu Schaller
646968423c Update the units block written to the ICs by the SWIFT plugin to use the same constants as assumed internally by SWIFT. 2021-02-28 19:01:52 +01:00
Matthieu Schaller
408cefa1b3 Write some information about the monofonIC code into the generated IC file 2021-02-28 18:55:25 +01:00