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

18 commits

Author SHA1 Message Date
Oliver Hahn
a015ec0f42 cleaned up some compiler warnings 2022-02-04 21:16:55 +01:00
Oliver Hahn
f053b86316 removed one more compiler warning in panphasia that was due to undefined behaviour 2021-11-28 13:05:23 +01:00
Oliver Hahn
ac2db23325 cleaned up some compiler warnings related to output formatting for panphasia_ho 2021-11-28 13:01:54 +01:00
Oliver Hahn
b1d2ed2b5f removal of old LICENSE/README files from panphasia 2021-11-11 21:25:49 +01: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
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
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
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
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
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
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
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