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

548 commits

Author SHA1 Message Date
Oliver Hahn
4a82ab4723 disabled ghost zone update since it can lead to crashes and is only used for glasses, hence disabled also glasses 2021-11-11 21:33:14 +01:00
Oliver Hahn
b1d2ed2b5f removal of old LICENSE/README files from panphasia 2021-11-11 21:25:49 +01:00
Oliver Hahn
114b81051e Merged in develop (pull request #24)
Merge Panphasia development into master branch
2021-11-11 20:16:13 +00: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
cb8c6bf209 Merged in master (pull request #23)
Higher Order PANPHASIA merge into public develop version
2021-09-01 18:44:53 +00: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
2fad483587 Merged in small_swift_changes (pull request #22)
Small swift changes

Approved-by: Oliver Hahn
2021-09-01 18:40:32 +00:00
Matthieu Schaller
4eb41f01f4 Add the 'UseLongids' parameter to the example configuration script 2021-08-28 12:24:35 +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
Matthieu Schaller
3af7b096af Merged ohahn/monofonic into master 2021-08-28 12:17:55 +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
Adrian Jenkins
af2c77fcd8 Bug fix: Nyquist modes set to zero for case where the mode power would otherwise be set to the mean power, instead of NaN 2021-06-17 14:47:31 +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
Adrian Jenkins
f1d628edb6 Changed value of nsubvision from 7 to 21 to save memory 2021-06-02 09:45:43 +01:00
Oliver Hahn
f3d9c25e1e more fixes to expose precision selection also to C code. should work now for PANPHASIA_HO 2021-06-01 21:57:18 +02:00
Oliver Hahn
c3e647ef59 fixed compilation of PANPHASIA_HO for single precision 2021-06-01 21:41:20 +02:00
Matthieu Schaller
3fe061b10a Merged in update_swift_plugin_mpi (pull request #21)
Update MPI-flavour of swift plugin

Approved-by: Oliver Hahn
2021-06-01 16:03:38 +00:00
Matthieu Schaller
427c7f2e10 Small improvement to the example config file 2021-05-30 00:27:35 +02:00
Matthieu Schaller
0b6f7e2501 Add md5sum filter to the outputs of the SWIFT plugin 2021-05-30 00:20:52 +02: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
Adrian Jenkins
c13fdc0572 Added a transpose step at the bottom of pan_mpi_routines.c.
Fixed an error when fdim !=1 - not currently relevant to this version,
but will allow the code to use - say 1/8th as much memory for storing
the Panphasia coefficients - at the cost of less accurate reproduction
of the phases close to the Nyquist frequency of the Fourier grid.
2021-05-17 14:29:17 +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
8aec696340 fixed memset out of bounds (missing factor 1/2) 2021-05-14 15:42:04 +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
Adrian Jenkins
5a7aeffabe Edited main.c to receive the descriptor and particle load grid,
and to choose the correct relative level for the Panphasia field.
2021-05-11 14:51:53 +01:00
Adrian Jenkins
974900dc81 Added define statements for USE_PRECISION_FLOAT to make both the FFTW
and Panphasia routines either both single precision or both double
precision.

:wq
2021-05-11 12:26:18 +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
ffc3334847 changed a char* to const char* 2021-05-11 11:53:17 +02:00
Adrian Jenkins
2d5cc0ac50 Updated code with new panphasia_ho versions the allow the Fourier grid
to be a multiple of the grid of Panphasia cells. Fixed a few format
statements.
2021-05-07 14:30:28 +01: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
Oliver Hahn
b567ba8e68 first commit PANPHASIA_HO 2021-05-02 22:05:18 +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
6ed5afe473 Update README file and example configuration about the SWIFT output plugin. 2021-03-28 23:48:12 +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