Commit Graph

506 Commits

Author SHA1 Message Date
Guilhem Lavaux
e49c3e1ed2 Added missing test 2013-02-19 11:28:50 -05:00
Guilhem Lavaux
f1a30f3537 Use long instead of int for particle identifiers 2013-02-19 11:15:46 -05:00
Guilhem Lavaux
72df7b6c66 Fully implemented cosmopower 2012-12-13 17:27:46 -05:00
Guilhem Lavaux
052bc78e5f Added new class to isolate cosmology/powerspectra 2012-12-13 10:39:27 -05:00
Guilhem Lavaux
975156d1f3 Added the correction from Jennings (2012) for the velocity field 2012-12-12 17:41:14 -05:00
Guilhem Lavaux
a3ef55c318 Multiply the power spectrum by the volume to have proper units 2012-11-30 17:16:45 -05:00
Guilhem Lavaux
01f36b9be7 Added a get_delta_k function to get the element phase volume 2012-11-30 17:11:21 -05:00
Guilhem Lavaux
523cc8e44e Introduced another intermediate function for retrieving integer indexes 2012-11-28 22:33:42 -05:00
Guilhem Lavaux
7db82b3bb1 Fixed parameter types and return values 2012-11-28 18:57:23 -05:00
Guilhem Lavaux
3ef6475121 Added pixel -> kvec function 2012-11-28 17:54:21 -05:00
Guilhem Lavaux
bcf4ae2deb Added a specific function for computing \vec{k} 2012-11-28 17:49:58 -05:00
Guilhem Lavaux
5d6ad978e8 Fixed initialization of 3d FFT 2012-11-27 20:10:40 -05:00
Guilhem Lavaux
126ec18317 Cast the proper pair and enfore NetCDF4 file format if possible (even for NetCDF3 C++ interface) 2012-11-24 17:45:19 -05:00
Guilhem Lavaux
4c9b2ef96b Removed support for loadGadgetPosition. Added attribute support to SimuData. 2012-11-20 16:58:10 -05:00
Guilhem Lavaux
50142e3189 Changed programming interface of newSpectrumRaw 2012-11-20 08:45:48 -05:00
Guilhem Lavaux
bb20fcee05 Check healpix utility calls 2012-11-18 16:36:18 -05:00
Guilhem Lavaux
4c482daf9b Fixed dof interface. Implement utility class for healpix 2012-11-18 16:18:18 -05:00
Guilhem Lavaux
b7156fcc76 Splitted healpix.hpp into several files for easier maintainability 2012-11-18 15:47:37 -05:00
Guilhem Lavaux
f67b04e57e Splitted euclidian.hpp into several files. Added implementation of binned powerspectrum 2012-11-12 20:27:32 -05:00
Guilhem Lavaux
60c6d789e3 Added the copy and sqrt operator to SpectrumFunction 2012-11-12 10:02:22 -05:00
Guilhem Lavaux
7ad4911872 Changed interface of newRandomFourier to avoid generating copies. 2012-11-11 15:46:03 -05:00
Guilhem Lavaux
ed1fede33d Link to fftw3f library. Added test with swapped dimensions 2012-11-11 14:30:45 -05:00
Guilhem Lavaux
c49c8cb232 Test float implementation 2012-11-11 14:26:26 -05:00
Guilhem Lavaux
db2ad96752 Templatized the test for future, to also test floats 2012-11-11 14:26:05 -05:00
Guilhem Lavaux
d8734b2a59 Fixed allocation and specification of dimensions to FFTW (must be swapped compared to CosmoTool convention) 2012-11-11 14:25:05 -05:00
Guilhem Lavaux
596dd5d681 Fixed use of constness in FourierMap::scale 2012-11-11 14:24:35 -05:00
Guilhem Lavaux
38eb21def8 Use size_t instead of int for alloc_* 2012-11-11 14:24:09 -05:00
Guilhem Lavaux
09551ae85b Fixed index computation in dot-product 2012-11-11 13:30:41 -05:00
Guilhem Lavaux
ff7b8dc45e Improved the test to check different size of maps 2012-11-11 13:30:29 -05:00
Guilhem Lavaux
b161ab0990 Fixed dot-product in case the first dimension is odd 2012-11-11 09:10:30 -05:00
Guilhem Lavaux
3c0e7ae8f8 Fixed K computation. Handle fully the Nyquist plane depending on the parity of dimensions. 2012-11-10 19:11:34 -05:00
Guilhem Lavaux
cc7996175c Implemented power spectrum support in Euclidian/Healpix 2012-11-10 17:35:27 -05:00
Guilhem Lavaux
db6831e594 Merge branch 'master' of bitbucket.org:glavaux/cosmotool 2012-11-10 12:24:35 -05:00
Guilhem Lavaux
352c6b6eb6 Added a test for the healpix/sharp tranform. Basic code compiles and work. 2012-11-10 12:22:37 -05:00
Guilhem Lavaux
707a25bda3 Build the sharp dependency 2012-11-10 11:10:04 -05:00
Guilhem Lavaux
72f658c7cf Fixed fft_calls test and dimensions of fourier space 2012-11-10 10:56:47 -05:00
Guilhem Lavaux
414edbd28a Changed dependency to libsharp (MPI support, better performance). Added new power spectrum abstraction 2012-11-10 09:02:08 -05:00
Guilhem Lavaux
bddd26a5ca Fixed error message. Imported libsharp 2012-11-10 09:01:12 -05:00
Guilhem Lavaux
19c5e446aa Allow to disable simplices if they are strange 2012-10-30 13:58:46 -04:00
Guilhem Lavaux
828a1d7e86 Merge branch 'master' of /home/lavaux/Dropbox/gitRoot/CosmoToolbox 2012-10-25 13:51:58 -04:00
Guilhem Lavaux
0c0b04548b Return data directly if flags is zero 2012-10-25 13:51:54 -04:00
Guilhem Lavaux
3aa898e636 Fixed link ordering on Ubuntu. Added const in testReadFlash 2012-10-18 10:15:25 -04:00
Guilhem Lavaux
843291ae53 Added healpix backend. Added default copy implementation 2012-10-07 14:58:01 -04:00
Guilhem Lavaux
6a833c7393 Added a new test for the fourier interface 2012-10-06 12:56:33 -04:00
Guilhem Lavaux
5341c8ed5d Added general fourier/real transform (Nd euclidian, sphere to come...) 2012-10-06 12:49:06 -04:00
Guilhem Lavaux
b2bf2cb042 Fixed link ordering and detection of HL libraries 2012-09-20 01:59:46 -04:00
Guilhem Lavaux
c7d0974857 Missing updates... 2012-09-19 09:15:09 -04:00
Guilhem Lavaux
fe289507c5 Support both for NetCDF-3 and NetCDF-4 2012-09-19 09:11:06 -04:00
Guilhem Lavaux
7b5b1d5002 Fixed conflict 2012-09-17 17:24:27 -04:00
Guilhem Lavaux
63223a661f Added basic BSP test 2012-09-17 17:24:04 -04:00