Commit Graph

296 Commits

Author SHA1 Message Date
Guilhem Lavaux
c853abe354 Simplified template substitution. Also more general. 2015-02-11 21:38:43 +01:00
Guilhem Lavaux
a26de4a2fa Fixed compilation error in HDF5 2015-02-11 21:27:27 +01:00
Guilhem Lavaux
ebaf13e336 HDF5 work 2015-02-11 21:23:44 +01:00
Guilhem Lavaux
1dbe46a358 Added missing FFTW call 2015-02-11 18:23:28 +01:00
Guilhem Lavaux
8af3dc4359 Made fourier library more flexible. Compatible with boost::multi_array now. 2015-02-11 15:10:09 +01:00
Guilhem Lavaux
8198cef3c5 Fixed openmp usage 2015-02-10 14:20:09 +01:00
Guilhem Lavaux
286d094dbb Merge branch 'master' of bitbucket.org:glavaux/cosmotool 2015-02-10 13:48:57 +01:00
Guilhem Lavaux
924c74eb24 Addded missing openmp file 2015-02-10 13:48:53 +01:00
Guilhem Lavaux
68bdc4fb31 Fixed compilation option for CosmoTool. Show a message to indicate which variant is used to build the python modules 2015-02-10 13:43:05 +01:00
Guilhem Lavaux
beb651c79a Fixed yorick_nc3, and necdf4 building (C++4). Fixed borg reading routines 2015-02-06 14:04:51 +01:00
Guilhem Lavaux
48900328d4 Removed spurious cout 2015-01-31 18:11:35 +01:00
Guilhem Lavaux
44756de2a9 Fixed support for automatic type saving in HDF5 2015-01-31 15:47:44 +01:00
Guilhem Lavaux
84e841814a Merge branch 'master' of bitbucket.org:glavaux/cosmotool 2015-01-31 15:11:51 +01:00
Guilhem Lavaux
2e2224982b Added managed of generic structures directly by the HDF5 array core 2015-01-31 15:11:44 +01:00
Guilhem Lavaux
29f991f0d4 OctTree is now a full template 2015-01-26 18:20:56 +01:00
Guilhem Lavaux
730185ff89 Changed tab 2015-01-26 18:16:43 +01:00
Guilhem Lavaux
37c677fd1f Fixed types for loading large simulations 2014-11-28 08:55:07 +01:00
Guilhem Lavaux
917a45b494 Added new timing helper in python 2014-07-28 09:33:08 +02:00
Guilhem Lavaux
8809d6c255 Upgraded gadget load to support variable masses. Adjusted simple3DFilter for that too. 2014-07-07 17:35:56 +02:00
Guilhem Lavaux
fc44597829 Added support for types and masses 2014-07-05 22:05:04 +02:00
Guilhem Lavaux
d23f79cbaf Templatized SPHSmooth. Reduced memory consumption of simple3DFilter 2014-06-14 17:18:28 +02:00
Guilhem Lavaux
cef0fb3786 Added a lean CIC filter 2014-06-12 17:16:59 +02:00
Guilhem Lavaux
302ed9a912 Fixed CIC errors. Added support for CosmoPower in _cosmotool.pyx 2014-06-03 09:51:26 +02:00
Guilhem Lavaux
5d3b56bfcb Tons of fixes in python binder. Loadgadget slightly more verbose 2014-05-31 08:43:22 +02:00
Guilhem Lavaux
f4187185a7 Hardened SimuData. Support writeGadget 2014-05-30 19:00:25 +02:00
Guilhem Lavaux
6d19fe666f Merged 2014-05-30 17:12:48 +02:00
Guilhem Lavaux
f0a951e38d Memory saving opportunities for lage KDTrees 2014-05-30 17:11:49 +02:00
Guilhem Lavaux
bf4977721f Added support for ramses in _cosmotool. Fixlet in gadget 2014-05-30 11:39:13 +02:00
Guilhem Lavaux
ab1a181bb6 First Python support 2014-05-25 11:11:44 +02:00
Guilhem Lavaux
bc655f1362 Merge branch 'master' of bitbucket.org:glavaux/cosmotool 2014-05-25 10:43:17 +02:00
Guilhem Lavaux
b584ff54a7 Added python 2014-05-25 10:43:06 +02:00
Guilhem Lavaux
7f27897b83 Updated copyright headers 2014-05-22 09:38:59 +02:00
Guilhem Lavaux
29c9536ff1 White space fix 2014-05-22 09:33:52 +02:00
Guilhem Lavaux
b89dbe0987 Finished packaging omptl 2014-05-22 09:27:53 +02:00
Guilhem Lavaux
950cfb3eb1 Fixed compilation issues 2014-05-21 21:57:37 +02:00
Guilhem Lavaux
47255ea25a HDF5 boost multi array transparent support 2014-05-20 16:16:46 +02:00
Guilhem Lavaux
11dd968f36 Compile CIC. Imported tool to convert gadget snapshot to density field 2014-05-20 11:19:45 +02:00
Guilhem Lavaux
c6668cbd0a Fixes to sphSmooth 2014-05-20 10:58:07 +02:00
Guilhem Lavaux
cc769b2b1d Added state definition in SPHSmooth. Fixed cmake LINK_FLAGS problem 2014-05-05 12:07:55 +02:00
Guilhem Lavaux
e3ff41e30a Added new calls specific to EuclidianTransform 2014-04-02 17:56:09 +02:00
Guilhem Lavaux
bba009ef42 Export correctly the const-ness of saveArray 2014-04-02 16:53:14 +02:00
Guilhem Lavaux
9ae42a2442 Fixed unit_vel in Ramses. Added a new type alias in FourierMap 2014-04-02 09:52:06 +02:00
Guilhem Lavaux
a2373d8919 Fixed types 2014-03-03 19:06:31 +01:00
Guilhem Lavaux
126e1461b9 Attempts to fix the conjugation in the dot-product 2014-03-03 18:27:38 +01:00
Guilhem Lavaux
c724700246 Fixed calls to get_K_p 2014-02-27 16:03:42 +01:00
Guilhem Lavaux
aed2920be7 Fixed interface get_Kvec_p 2014-02-27 15:59:25 +01:00
Guilhem Lavaux
fc2a0c9ddd Merged 2014-02-27 15:31:05 +01:00
Guilhem Lavaux
86dc4bd249 Fixed default arguments in healpix_transform. Fixed fftw detection in CMake 2014-02-27 15:30:21 +01:00
Guilhem Lavaux
bd310df1e3 Fixed incorrectly ordered parameters in prototype 2014-02-20 17:45:35 +01:00
Guilhem Lavaux
4737ee06a7 Removed 'critical' section as it may cause problem in calling function. The thread safety is left for the caller 2013-08-21 14:50:38 -04:00
Guilhem Lavaux
083cad3c77 Fix for NetCDF-4 ordering. Added new constructor to Fourier/Healpix to support weighted rings. 2013-07-17 12:11:55 +02:00
Guilhem Lavaux
cfae6184d5 Fixed initialization of realMap 2013-05-02 15:17:19 -04:00
Guilhem Lavaux
e2280a899f Moved plan creation into its subroutine 2013-05-02 15:04:25 -04:00
Guilhem Lavaux
0a412e0ec3 Merge branch 'master' of ssh://bitbucket.org/glavaux/cosmotool 2013-04-08 16:26:39 -04:00
Guilhem Lavaux
4f1a7f7c12 Added a critical barrier to fftw calls 2013-04-08 16:26:31 -04:00
Guilhem Lavaux
0f57cca2f5 Fixed missing explicit std namespace 2013-04-07 14:40:36 -04:00
Guilhem Lavaux
01f952865c Allow replication to be different along different dimensions 2013-03-07 09:45:52 -06:00
Guilhem Lavaux
766c86247a Merge branch 'master' of bitbucket.org:glavaux/cosmotool 2013-03-07 09:39:59 -06:00
Guilhem Lavaux
b1ad29a99b Merge branch 'master' of file:///home/lavaux/Dropbox/gitRoot/CosmoToolbox 2013-03-07 09:39:14 -06:00
Guilhem Lavaux
1dcdde7bf5 Fixlet to gadget writer and use std::string instead of char * 2013-03-07 09:39:10 -06:00
Guilhem Lavaux
e0e6ea7be2 Run gather_sources.py 2013-03-05 22:39:33 -05:00
Guilhem Lavaux
50d830cb97 Updated correctly the authorship of the flash file reader to P. M. Sutter 2013-03-05 22:36:03 -05:00
Guilhem Lavaux
81ab45d228 Added new test for periodic KDTree 2013-03-05 22:32:11 -05:00
Guilhem Lavaux
54d23331f3 Added missing replication multiplicative factor 2013-03-05 11:11:20 -05:00
Guilhem Lavaux
a0bf3dc2c2 Activated support for periodic box search 2013-03-05 11:08:19 -05:00
Guilhem Lavaux
1b06786e63 Started work to support periodic boundaries in KDTree 2013-03-04 22:48:13 -05:00
Guilhem Lavaux
d724a7be66 Merge branch 'master' of bitbucket.org:glavaux/cosmotool 2013-03-02 18:43:05 -05:00
Guilhem Lavaux
e919bd4a73 Added Copyright/LICENSE disclaimer 2013-03-02 18:42:56 -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
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
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
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