Commit Graph

308 Commits

Author SHA1 Message Date
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
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
843291ae53 Added healpix backend. Added default copy implementation 2012-10-07 14:58:01 -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
Guilhem Lavaux
26a2e15cbe Added support for netcdf c++ 4.2 2012-09-15 18:53:47 -04:00
Guilhem Lavaux
0afe7b7eab Fixed build for handling only static lib 2012-09-12 21:30:20 -04:00
Guilhem Lavaux
dc03871f37 Upgraded ramses format-on-disk. DInterpolate assertion check 2012-06-28 09:36:28 -04:00
Guilhem Lavaux
17f3f74dd2 Merge branch 'master' of /home/lavaux/Dropbox/gitRoot/CosmoToolbox 2012-06-26 15:40:24 -04:00
Guilhem Lavaux
83753a9479 Updated for newer ramses 2012-06-26 15:40:19 -04:00
Guilhem Lavaux
0bbc9fe5eb Preliminary simple BSP tree, without automatic retriangulation 2012-06-10 19:04:00 -04:00
Guilhem Lavaux
134f4413eb Use the homogeneous splitter for interpolation 2012-06-08 09:49:22 -04:00
Your Name
ada4626131 Added support for negative powers in algo 2012-06-05 16:41:55 -04:00
Guilhem Lavaux
c1f1cf5a38 Merge branch 'master' of /home/lavaux/Dropbox/gitRoot/CosmoToolbox 2012-06-04 22:21:14 -04:00
Guilhem Lavaux
c5464dce31 Added some more methods to Interpolate (constness of compute and getYi) 2012-06-04 22:21:06 -04:00
Guilhem Lavaux
530c6f4fcd Few clever algorithms for fast power x^N 2012-05-21 19:11:14 -04:00
Guilhem Lavaux
604b19ce74 Fixed memory pool code 2012-05-21 14:19:36 -04:00
Guilhem Lavaux
80951b4b52 Fixed KDTree recursion and splitting technique 2012-05-21 14:04:21 -04:00
Guilhem Lavaux
d4a14d7d85 Merge branch 'master' of /home/guilhem/Dropbox/gitRoot/CosmoToolbox 2012-05-20 09:22:54 -04:00
Guilhem Lavaux
1ec0ac8d63 Added missing splitter 2012-05-20 09:22:51 -04:00
Guilhem Lavaux
b861dfe49a Merge branch 'master' of file:///home/guilhem/Dropbox/gitRoot/CosmoToolbox 2012-05-20 09:22:05 -04:00
Guilhem Lavaux
f56cbf7cc5 Added an incomplete implementation of a memory iterator 2012-05-20 09:22:02 -04:00
Guilhem Lavaux
5fa5a73104 Added more modularity in the way the KD tree is built 2012-05-20 09:21:00 -04:00
Guilhem Lavaux
e8d1edf453 Merge branch 'master' of file:///home/guilhem/Dropbox/gitRoot/CosmoToolbox 2012-05-18 18:16:42 -04:00
Guilhem Lavaux
59de27a696 New MemoryPool tool 2012-05-18 18:16:13 -04:00
Your Name
6d410dc129 Use std::string instead of C string in exception handling and yorick I/O 2012-05-03 11:45:38 -04:00
Guilhem Lavaux
7bd2ccbee4 Fixed bug in checking the maximum X value 2012-04-25 22:29:17 -04:00
Guilhem Lavaux
6035eaec4d Fixed gadget file writing. 2012-04-01 17:49:19 -05:00
Guilhem Lavaux
dae52ab257 Merge branch 'master' of /home/lavaux/Dropbox/gitRoot/CosmoToolbox 2012-03-30 11:47:51 -04:00
Guilhem Lavaux
d17fbbb66d Added support for writing gadget files 2012-03-30 11:47:48 -04:00
Your Name
2932240daf Merged 2012-03-29 15:55:08 -04:00
Your Name
6efe49a1ef Machine precision detection 2012-03-29 15:54:34 -04:00
Guilhem Lavaux
dc8ef0be34 Flash fixes 2011-12-15 12:12:10 -05:00
Guilhem Lavaux
196e17c242 Fixed decomposition. Add sample matrix. 2011-12-14 17:40:10 -05:00
Guilhem Lavaux
cf279bbb19 Added missing file 2011-12-13 22:43:53 -05:00
Your Name
8d4419d2fd Got a compiling version of the algorithm 2011-12-13 17:48:37 -05:00
Your Name
8dd58836e0 Finished draft implementation. 2011-12-13 17:23:50 -05:00
Your Name
75515949dc Incomplete implementatiof Eskow algorithm 2011-12-13 17:03:14 -05:00
Guilhem Lavaux
607f452f7c Fixed linking problems to GSL 2011-12-03 10:00:38 -05:00
Guilhem Lavaux
f94e2912d4 Added dummy function in case HDF5 is not found 2011-06-28 09:08:14 -04:00
Guilhem Lavaux
0eb308f1d0 Added dummy function in case HDF5 is not found 2011-06-28 09:08:12 -04:00
Guilhem Lavaux
1ae7233139 Have a recursion that only count particles 2011-06-22 13:57:06 -05:00
Guilhem Lavaux
97dbc381e0 Unit fix 2011-06-06 10:39:17 -05:00
Guilhem Lavaux
2f50155648 Fixed index ordering 2011-06-06 10:27:21 -05:00
Guilhem Lavaux
e96264e82c Fixed loop on particles 2011-06-06 11:23:29 -04:00
Guilhem Lavaux
6e72a5661a Fixed position&velocity computation 2011-06-06 11:22:39 -04:00
Guilhem Lavaux
0fbf6789f1 Use redshift for computing the scale factor 2011-06-06 11:20:03 -04:00
Guilhem Lavaux
1135be3bab Use correct table 2011-06-06 11:03:25 -04:00
Guilhem Lavaux
89a87303f1 Use proper conversion to Mpc/h 2011-06-06 11:00:03 -04:00
Guilhem Lavaux
b5b44fdead More cosmological parameters 2011-06-06 10:58:55 -04:00
Guilhem Lavaux
42c6f11034 Initialize TotalNumPart 2011-06-06 10:43:11 -04:00
Guilhem Lavaux
ed2d0c7841 Fixed exceptionhandling 2011-06-06 10:18:25 -04:00
Guilhem Lavaux
2fd8d06e36 Imported FLASH I/O functionality 2011-06-06 09:56:54 -04:00
Guilhem Lavaux
46a8ca36ae Merge branch 'master' of file:///home/guilhem/Dropbox/gitRoot/CosmoToolbox 2011-06-06 09:43:40 -04:00
Guilhem Lavaux
a16945bc6b Updated test 2011-06-06 09:43:38 -04:00
Your Name
474f791e97 Merge branch 'master' of /home/guilhem/Dropbox/gitRoot/CosmoToolbox 2011-05-31 10:08:55 -04:00
Your Name
9665bb9c6a Get GIT revision 2011-05-31 10:08:44 -04:00
Guilhem Lavaux
247fc4db6b Fixed to correctly support velocities in gadget. Fixed on-disk format on kdtree 2011-03-17 13:39:20 -05:00
Your Name
f04e7dd41b New functions to save the built KDTree on disk 2011-02-24 18:04:42 -05:00
Your Name
707eaefbe1 Support more parameters in simulation 2011-02-22 14:36:17 -05:00
Your Name
4c08fdc90d Added a testcase for newton's method 2011-02-10 22:07:24 -05:00
Your Name
5b3bef64b1 Added a functor to interface with newton 2011-02-09 14:32:01 -05:00
Your Name
bf1e581ce9 Added newton's method 2011-02-09 14:31:45 -05:00
Your Name
e5b0be92af Merge branch 'master' of /home/guilhem/Dropbox/gitRoot/CosmoToolbox 2011-02-09 14:17:43 -05:00
Guilhem Lavaux
ff1819d853 Fixed CMake 2011-01-24 10:15:28 -05:00
Guilhem Lavaux
872dea5a3e Fixed log interpolation 2011-01-18 06:56:19 -06:00
Your Name
f4aac855a2 Fix for interpolation class. KDTree leaf counting fix. 2011-01-15 16:01:50 +01:00
Guilhem Lavaux
e3ac7d9720 Small fixes 2010-12-05 21:55:12 -05:00
Guilhem Lavaux
2b7e4453dd Compute the linear growth factor 2010-12-01 18:09:14 -05:00
Guilhem Lavaux
1d7ecf051c Merge branch 'master' of file:///home/guilhem/Dropbox/gitRoot/CosmoToolbox 2010-12-01 10:04:20 -05:00
Guilhem Lavaux
06fa340de7 Implemented standard linear growth factor computation 2010-12-01 10:04:04 -05:00
Guilhem Lavaux
36cd54193f Added flexibility to the adaptive filter 2010-10-22 16:14:10 -04:00
Guilhem Lavaux
e9a9d64924 Merge branch 'master' of file:///home/guilhem/Dropbox/gitRoot/CosmoToolbox 2010-09-22 21:26:07 -04:00
Guilhem Lavaux
51c5e5dcb2 Better ramses loading 2010-09-22 15:33:06 -05:00
Guilhem Lavaux
5571202c2f Merge branch 'master' of file:///home/lavaux/Dropbox/gitRoot/CosmoToolbox 2010-09-15 14:00:47 -05:00
Guilhem Lavaux
85d3428cb0 Removed nonexisting file 2010-09-15 14:00:10 -05:00
Guilhem Lavaux
82666a0606 Updated CMake lists 2010-09-15 20:51:18 +02:00
Guilhem Lavaux
79ac022e34 Packaging 2010-09-12 21:22:20 +02:00
Guilhem Lavaux
f9bb9c64c5 Transformed to CMake makefile 2010-09-12 21:09:39 +02:00
Guilhem Lavaux
883d1170e2 Fixed use of pow 2010-09-12 10:33:51 +02:00
Guilhem Lavaux
5e01e4af59 Merge branch 'master' of file:///home/guilhem/Dropbox/gitRoot/CosmoToolbox 2010-08-26 15:35:18 -04:00
Guilhem Lavaux
779aa58900 U 2010-08-03 10:24:40 -05:00
Guilhem Lavaux
d9eb97525d Merge branch 'master' of file:///home/guilhem/Dropbox/gitRoot/CosmoToolbox 2010-06-29 17:54:20 -04:00
Guilhem Lavaux
91439c8cb5 Removed conflicted comments 2010-05-04 07:44:11 -05:00
Guilhem Lavaux
d0363d131e Fixed merge 2010-05-04 07:41:42 -05:00
Guilhem Lavaux
a9f9338849 Merge branch 'master' of file:///home/lavaux/Dropbox/gitRoot/CosmoToolbox 2010-04-27 07:16:34 -05:00
Guilhem Lavaux
37b41b5ac9 More fields + handling of multiple files in Gadget 2010-04-27 14:08:46 +02:00
Guilhem Lavaux
defa67cc9b Merge branch 'master' of file:///home/lavaux/Dropbox/gitRoot/CosmoToolbox 2010-04-27 06:47:32 -05:00
Guilhem Lavaux
063454ce2b Merge branch 'master' of file:///home/lavaux/Dropbox/gitRoot/CosmoToolbox 2010-04-27 06:45:20 -05:00
Guilhem Lavaux
36f4ddc51c Fixed boxsize initialization 2010-04-27 06:45:15 -05:00
Guilhem Lavaux
e4172f0cea New class to automatically cleanup arrays 2010-04-27 13:41:41 +02:00
Guilhem Lavaux
f142d87b93 New function to load gadget in any possible way 2010-04-27 13:38:00 +02:00
Guilhem Lavaux
cc6fcc8565 Add a function to lookup the sampled x coordinates 2010-04-27 13:36:17 +02:00
Guilhem Lavaux
73060dd6cb Merge branch 'master' of file:///home/lavaux/Dropbox/gitRoot/CosmoToolbox 2010-04-23 02:36:15 -05:00
Guilhem Lavaux
f6ed3c98f8 Merge branch 'master' of file:///home/lavaux/Dropbox/gitRoot/CosmoToolbox 2010-04-23 02:35:16 -05:00
Guilhem Lavaux
7adde40f6b more methods for UnformattedRead 2010-04-23 09:31:25 +02:00
Guilhem Lavaux
996a17b509 Load gadget data 2010-04-23 09:29:10 +02:00
Guilhem Lavaux
7d39b98db5 Fixed test. Compilation fixes 2010-03-02 10:59:41 -06:00
Guilhem Lavaux
f029c037f3 Merge branch 'master' of ssh://doucillon/tmp_mnt/netapp/users_home7/lavaux/git_root/CosmoToolbox 2009-12-07 15:48:30 +01:00
Guilhem Lavaux
1213155222 Small fixup 2009-12-07 15:46:59 +01:00
Guilhem Lavaux
2e097cb8cd Fixes. Support for precomputing the number of elements in a subtree 2009-12-07 15:46:39 +01:00
Guilhem Lavaux
1290fdb54c New kd tree type for count in range 2009-12-07 15:45:28 +01:00
Guilhem Lavaux
a194f1f00b Introduced proper conditioning of walking the tree 2009-11-27 18:06:04 +01:00
Guilhem Lavaux
b8a67a50eb Merge branch 'master' of ssh://doucillon/tmp_mnt/netapp/users_home7/lavaux/git_root/CosmoToolbox 2009-11-06 22:13:05 -06:00
Guilhem Lavaux
11218a4fd1 More ramses load modules 2009-11-06 22:12:31 -06:00
Guilhem Lavaux
145b298730 Allow conditioned walking 2009-11-06 22:05:00 -06:00
Guilhem Lavaux
a4ffa66b8d Fixed representation and walking of arbitrary sized OctTree 2009-11-02 07:27:00 -06:00
Guilhem Lavaux
bdb9825213 Adapt for a more general octTree 2009-11-01 18:56:10 -06:00
Guilhem Lavaux
bab3c3b111 Small compilation fixes 2009-11-01 11:21:14 -06:00
Guilhem Lavaux
6422e08208 New octtree tool 2009-11-01 11:20:50 -06:00
Guilhem Lavaux
9c52937c74 Fixed velocity scaling 2009-09-29 17:04:10 -05:00
Guilhem Lavaux
6c17e4c1b0 Support for hubble constant 2009-09-29 16:47:21 -05:00
Guilhem Lavaux
b18f06b606 Fixed SPH smoothing. Fixlet for dinterpolate 2009-09-29 16:26:56 -05:00
Guilhem Lavaux
afd706c1dc Added phase loading support in Ramses 2009-09-29 16:32:59 -05:00
Guilhem Lavaux
c09f426b7b Merge branch 'master' of ssh://doucillon/tmp_mnt/netapp/users_home7/lavaux/git_root/CosmoToolbox 2009-08-26 11:56:17 -05:00
Guilhem Lavaux
b601bd294f Support for quiet mode 2009-08-26 11:54:35 -05:00
Guilhem Lavaux
639635edcd Support for unformatted fortan dataformat 2009-08-26 11:54:26 -05:00
Guilhem Lavaux
65223d7069 Fixed size array 2009-07-07 11:29:31 +02:00
Guilhem Lavaux
b649f02143 3d linear interpolation 2009-07-07 11:29:03 +02:00
Guilhem Lavaux
9df2340837 Better error reporting 2009-03-08 22:05:15 -07:00
Guilhem Lavaux
c7a5c9c193 Added support for delaunay field estimator 2009-03-08 13:01:12 -07:00
Guilhem Lavaux
7b67b408ec Added support for log-log interpolation 2009-02-24 11:46:18 -06:00
Guilhem Lavaux
3957664ab5 Added SPH smoother 2009-02-03 19:01:14 -06:00
Guilhem Lavaux
648c6d5586 Changed MAK to COSMOTOOL 2009-02-03 19:01:00 -06:00
Guilhem Lavaux
4bd956e41f More type parametrization 2009-02-03 19:00:46 -06:00
Guilhem Lavaux
44f9f29bf6 More powerspectra 2009-02-03 19:00:28 -06:00
Guilhem Lavaux
031284bdbc Included standard power spectra 2009-01-15 16:42:55 -06:00
Guilhem Lavaux
6510accb2e Renamed NGB* KDTree to KD* to avoid conflict with OctTree 2009-01-11 09:39:57 -06:00
Guilhem Lavaux
48cd2e4268 UnformattedRead throws NoSuchFileException now 2009-01-09 19:11:05 -06:00
Guilhem Lavaux
b6b868f98d New specific coordinate type 2009-01-09 19:10:49 -06:00
Guilhem Lavaux
db5e9b5cde Imported all simu data loaders. loadRamses uses UnformattedRead now 2009-01-09 19:10:30 -06:00
Guilhem Lavaux
659cb9affe Implemented neighbour searching in KDTree (+ BoundedQueue) 2009-01-09 17:42:14 -06:00
Guilhem Lavaux
a41907f4a3 Read info file in Ramses. loadRamsesPosition by snapshot id 2009-01-08 09:19:01 -06:00
Guilhem Lavaux
1b54cb0953 EOF exception 2009-01-08 09:18:28 -06:00
Guilhem Lavaux
a6341d3378 Generic KD Tree 2009-01-08 09:18:14 -06:00
Guilhem Lavaux
de35eeabd8 Generic interpolation 2009-01-08 09:18:03 -06:00
Guilhem Lavaux
9c0c648fa5 Sparse grid support 2009-01-08 09:17:50 -06:00
Guilhem Lavaux
453f5b0a2d Added fortran unformatted file support 2009-01-08 09:17:32 -06:00
Guilhem Lavaux
35baf0675c Imported 2008-12-02 11:22:38 -06:00
Guilhem Lavaux
88157e5687 Fixed. Simplified 2008-12-02 11:22:30 -06:00
Guilhem Lavaux
1fea6371e6 Moved files 2008-12-02 11:01:21 -06:00