diff --git a/build_tools/gather_sources.py b/build_tools/gather_sources.py index f787975..ca8c3d1 100644 --- a/build_tools/gather_sources.py +++ b/build_tools/gather_sources.py @@ -5,7 +5,7 @@ # # This software is a computer program whose purpose is to provide a toolbox for cosmological # data analysis (e.g. filters, generalized Fourier transforms, power spectra, ...) - +# # This software is governed by the CeCILL license under French law and # abiding by the rules of distribution of free software. You can use, # modify and/ or redistribute the software under the terms of the CeCILL @@ -61,7 +61,7 @@ def apply_python_license(filename): # # This software is a computer program whose purpose is to provide a toolbox for cosmological # data analysis (e.g. filters, generalized Fourier transforms, power spectra, ...) - +# # This software is governed by the CeCILL license under French law and # abiding by the rules of distribution of free software. You can use, # modify and/ or redistribute the software under the terms of the CeCILL @@ -143,6 +143,9 @@ def analyze_tree(prefix, t): if type(entry) == Tree: analyze_tree(prefix + "/" + ename, entry) elif type(entry) == Blob: + if ename == './src/hdf5_flash.h' or ename == './src/h5_readFlash.cpp' or ename == './src/h5_readFlash.hpp': + continue + if re.match(".*\.(sh|py|pyx)$",ename) != None: fname=prefix+"/"+ename apply_python_license(fname) diff --git a/sample/testAlgo.cpp b/sample/testAlgo.cpp index 07cd7fe..cdf7971 100644 --- a/sample/testAlgo.cpp +++ b/sample/testAlgo.cpp @@ -32,6 +32,7 @@ same conditions as regards security. The fact that you are presently reading this means that you have had knowledge of the CeCILL license and that you accept its terms. +*/ + #include #include #include "algo.hpp" diff --git a/sample/testBQueue.cpp b/sample/testBQueue.cpp index 261321e..08beb6d 100644 --- a/sample/testBQueue.cpp +++ b/sample/testBQueue.cpp @@ -32,6 +32,7 @@ same conditions as regards security. The fact that you are presently reading this means that you have had knowledge of the CeCILL license and that you accept its terms. +*/ + #include #include "bqueue.hpp" diff --git a/sample/testBSP.cpp b/sample/testBSP.cpp index 92597a3..def0717 100644 --- a/sample/testBSP.cpp +++ b/sample/testBSP.cpp @@ -32,6 +32,7 @@ same conditions as regards security. The fact that you are presently reading this means that you have had knowledge of the CeCILL license and that you accept its terms. +*/ + #if 0 #include "bsp_simple.hpp" diff --git a/sample/testDelaunay.cpp b/sample/testDelaunay.cpp index 59093db..8d2d9d4 100644 --- a/sample/testDelaunay.cpp +++ b/sample/testDelaunay.cpp @@ -32,6 +32,7 @@ same conditions as regards security. The fact that you are presently reading this means that you have had knowledge of the CeCILL license and that you accept its terms. +*/ + #include #include #include "dinterpolate.hpp" diff --git a/sample/testEskow.cpp b/sample/testEskow.cpp index 318bb48..aa48d2b 100644 --- a/sample/testEskow.cpp +++ b/sample/testEskow.cpp @@ -32,6 +32,7 @@ same conditions as regards security. The fact that you are presently reading this means that you have had knowledge of the CeCILL license and that you accept its terms. +*/ + #include #include #include diff --git a/sample/testInterpolate.cpp b/sample/testInterpolate.cpp index aa5eec0..b863170 100644 --- a/sample/testInterpolate.cpp +++ b/sample/testInterpolate.cpp @@ -32,6 +32,7 @@ same conditions as regards security. The fact that you are presently reading this means that you have had knowledge of the CeCILL license and that you accept its terms. +*/ + #include #include "interpolate3d.hpp" diff --git a/sample/testNewton.cpp b/sample/testNewton.cpp index febb5af..5677bbc 100644 --- a/sample/testNewton.cpp +++ b/sample/testNewton.cpp @@ -32,6 +32,7 @@ same conditions as regards security. The fact that you are presently reading this means that you have had knowledge of the CeCILL license and that you accept its terms. +*/ + #include #include diff --git a/sample/testPool.cpp b/sample/testPool.cpp index 53a6fb8..e4ff8c1 100644 --- a/sample/testPool.cpp +++ b/sample/testPool.cpp @@ -32,6 +32,7 @@ same conditions as regards security. The fact that you are presently reading this means that you have had knowledge of the CeCILL license and that you accept its terms. +*/ + #include "pool.hpp" using namespace CosmoTool; diff --git a/sample/testReadFlash.cpp b/sample/testReadFlash.cpp index b1129ec..93a5b64 100644 --- a/sample/testReadFlash.cpp +++ b/sample/testReadFlash.cpp @@ -32,6 +32,7 @@ same conditions as regards security. The fact that you are presently reading this means that you have had knowledge of the CeCILL license and that you accept its terms. +*/ + #include #include #include diff --git a/sample/testSmooth.cpp b/sample/testSmooth.cpp index 1bb1603..4f3011d 100644 --- a/sample/testSmooth.cpp +++ b/sample/testSmooth.cpp @@ -32,6 +32,7 @@ same conditions as regards security. The fact that you are presently reading this means that you have had knowledge of the CeCILL license and that you accept its terms. +*/ + #include #include "sphSmooth.hpp" #include "yorick.hpp" diff --git a/sample/test_cosmopower.cpp b/sample/test_cosmopower.cpp index f87677b..1bf1ec8 100644 --- a/sample/test_cosmopower.cpp +++ b/sample/test_cosmopower.cpp @@ -1,3 +1,37 @@ +/*+ +This is CosmoTool (./sample/test_cosmopower.cpp) -- Copyright (C) Guilhem Lavaux (2007-2013) + +guilhem.lavaux@gmail.com + +This software is a computer program whose purpose is to provide a toolbox for cosmological +data analysis (e.g. filters, generalized Fourier transforms, power spectra, ...) + +This software is governed by the CeCILL license under French law and +abiding by the rules of distribution of free software. You can use, +modify and/ or redistribute the software under the terms of the CeCILL +license as circulated by CEA, CNRS and INRIA at the following URL +"http://www.cecill.info". + +As a counterpart to the access to the source code and rights to copy, +modify and redistribute granted by the license, users are provided only +with a limited warranty and the software's author, the holder of the +economic rights, and the successive licensors have only limited +liability. + +In this respect, the user's attention is drawn to the risks associated +with loading, using, modifying and/or developing or reproducing the +software by the user in light of its specific status of free software, +that may mean that it is complicated to manipulate, and that also +therefore means that it is reserved for developers and experienced +professionals having in-depth computer knowledge. Users are therefore +encouraged to load and test the software's suitability as regards their +requirements in conditions enabling the security of their systems and/or +data to be ensured and, more generally, to use and operate it in the +same conditions as regards security. + +The fact that you are presently reading this means that you have had +knowledge of the CeCILL license and that you accept its terms. ++*/ #include #include #include "cosmopower.hpp" diff --git a/sample/test_fft_calls.cpp b/sample/test_fft_calls.cpp index 0739328..b98fcea 100644 --- a/sample/test_fft_calls.cpp +++ b/sample/test_fft_calls.cpp @@ -32,6 +32,7 @@ same conditions as regards security. The fact that you are presently reading this means that you have had knowledge of the CeCILL license and that you accept its terms. +*/ + #include #include "yorick.hpp" #include diff --git a/sample/test_healpix_calls.cpp b/sample/test_healpix_calls.cpp index ffd13fd..75473d8 100644 --- a/sample/test_healpix_calls.cpp +++ b/sample/test_healpix_calls.cpp @@ -32,6 +32,7 @@ same conditions as regards security. The fact that you are presently reading this means that you have had knowledge of the CeCILL license and that you accept its terms. +*/ + #include #include "fourier/healpix.hpp" diff --git a/sample/testkd.cpp b/sample/testkd.cpp index 71c0000..f810571 100644 --- a/sample/testkd.cpp +++ b/sample/testkd.cpp @@ -32,6 +32,7 @@ same conditions as regards security. The fact that you are presently reading this means that you have had knowledge of the CeCILL license and that you accept its terms. +*/ + #define __KD_TREE_SAVE_ON_DISK #include #include diff --git a/sample/testkd2.cpp b/sample/testkd2.cpp index 457c5b9..7c29b1e 100644 --- a/sample/testkd2.cpp +++ b/sample/testkd2.cpp @@ -32,6 +32,7 @@ same conditions as regards security. The fact that you are presently reading this means that you have had knowledge of the CeCILL license and that you accept its terms. +*/ + #include #include #include diff --git a/sample/testkd3.cpp b/sample/testkd3.cpp index 5744985..50eba07 100644 --- a/sample/testkd3.cpp +++ b/sample/testkd3.cpp @@ -1,5 +1,5 @@ /*+ -This is CosmoTool (./sample/testkd2.cpp) -- Copyright (C) Guilhem Lavaux (2007-2013) +This is CosmoTool (./sample/testkd3.cpp) -- Copyright (C) Guilhem Lavaux (2007-2013) guilhem.lavaux@gmail.com @@ -32,6 +32,7 @@ same conditions as regards security. The fact that you are presently reading this means that you have had knowledge of the CeCILL license and that you accept its terms. +*/ + #include #include #include diff --git a/src/algo.hpp b/src/algo.hpp index 927ef4c..2dce3eb 100644 --- a/src/algo.hpp +++ b/src/algo.hpp @@ -32,6 +32,7 @@ same conditions as regards security. The fact that you are presently reading this means that you have had knowledge of the CeCILL license and that you accept its terms. +*/ + #ifndef __COSMOTOOL_ALGO_HPP #define __COSMOTOOL_ALGO_HPP diff --git a/src/bqueue.hpp b/src/bqueue.hpp index 97d346c..872830e 100644 --- a/src/bqueue.hpp +++ b/src/bqueue.hpp @@ -32,6 +32,7 @@ same conditions as regards security. The fact that you are presently reading this means that you have had knowledge of the CeCILL license and that you accept its terms. +*/ + #ifndef __COSMO_QUEUE_HPP #define __COSMO_QUEUE_HPP diff --git a/src/bsp_simple.hpp b/src/bsp_simple.hpp index 3e4cce3..298256e 100644 --- a/src/bsp_simple.hpp +++ b/src/bsp_simple.hpp @@ -32,6 +32,7 @@ same conditions as regards security. The fact that you are presently reading this means that you have had knowledge of the CeCILL license and that you accept its terms. +*/ + #ifndef __COSMOTOOL_SIMPLE_BSP_HPP #define __COSMOTOOL_SIMPLE_BSP_HPP diff --git a/src/cic.cpp b/src/cic.cpp index 9d7b77f..8a24597 100644 --- a/src/cic.cpp +++ b/src/cic.cpp @@ -32,6 +32,7 @@ same conditions as regards security. The fact that you are presently reading this means that you have had knowledge of the CeCILL license and that you accept its terms. +*/ + #include #include #include diff --git a/src/cic.hpp b/src/cic.hpp index 3442c38..31ba069 100644 --- a/src/cic.hpp +++ b/src/cic.hpp @@ -32,6 +32,7 @@ same conditions as regards security. The fact that you are presently reading this means that you have had knowledge of the CeCILL license and that you accept its terms. +*/ + #ifndef __CICFILTER_HPP #define __CICFILTER_HPP diff --git a/src/config.hpp b/src/config.hpp index afb43f6..8fd7b2d 100644 --- a/src/config.hpp +++ b/src/config.hpp @@ -32,6 +32,7 @@ same conditions as regards security. The fact that you are presently reading this means that you have had knowledge of the CeCILL license and that you accept its terms. +*/ + #ifndef __COSMOTOOL_CONFIG_HPP #define __COSMOTOOL_CONFIG_HPP diff --git a/src/cosmopower.cpp b/src/cosmopower.cpp index 5d6b051..a96a6bb 100644 --- a/src/cosmopower.cpp +++ b/src/cosmopower.cpp @@ -32,6 +32,7 @@ same conditions as regards security. The fact that you are presently reading this means that you have had knowledge of the CeCILL license and that you accept its terms. +*/ + #include #include #include diff --git a/src/cosmopower.hpp b/src/cosmopower.hpp index 1cacfba..dd86cf1 100644 --- a/src/cosmopower.hpp +++ b/src/cosmopower.hpp @@ -32,6 +32,7 @@ same conditions as regards security. The fact that you are presently reading this means that you have had knowledge of the CeCILL license and that you accept its terms. +*/ + #ifndef _COSMOPOWER_HPP #define _COSMOPOWER_HPP diff --git a/src/dinterpolate.hpp b/src/dinterpolate.hpp index 29b3507..1bf3322 100644 --- a/src/dinterpolate.hpp +++ b/src/dinterpolate.hpp @@ -32,6 +32,7 @@ same conditions as regards security. The fact that you are presently reading this means that you have had knowledge of the CeCILL license and that you accept its terms. +*/ + #ifndef __COSMO_DINTERPOLATE_HPP #define __COSMO_DINTERPOLATE_HPP diff --git a/src/eskow.hpp b/src/eskow.hpp index d6516d6..987cb88 100644 --- a/src/eskow.hpp +++ b/src/eskow.hpp @@ -32,6 +32,7 @@ same conditions as regards security. The fact that you are presently reading this means that you have had knowledge of the CeCILL license and that you accept its terms. +*/ + #ifndef __ESKOW_CHOLESKY_HPP #define __ESKOW_CHOLESKY_HPP diff --git a/src/field.hpp b/src/field.hpp index e78e651..45f6eac 100644 --- a/src/field.hpp +++ b/src/field.hpp @@ -32,6 +32,7 @@ same conditions as regards security. The fact that you are presently reading this means that you have had knowledge of the CeCILL license and that you accept its terms. +*/ + #ifndef __COSMOTOOL_FIELD #define __COSMOTOOL_FIELD diff --git a/src/fixArray.hpp b/src/fixArray.hpp index 2f8744f..0d2e26d 100644 --- a/src/fixArray.hpp +++ b/src/fixArray.hpp @@ -32,6 +32,7 @@ same conditions as regards security. The fact that you are presently reading this means that you have had knowledge of the CeCILL license and that you accept its terms. +*/ + #ifndef __FIX_ARRAY_HPP #define __FIX_ARRAY_HPP diff --git a/src/fortran.cpp b/src/fortran.cpp index c8c38d6..79641ac 100644 --- a/src/fortran.cpp +++ b/src/fortran.cpp @@ -32,6 +32,7 @@ same conditions as regards security. The fact that you are presently reading this means that you have had knowledge of the CeCILL license and that you accept its terms. +*/ + #include "config.hpp" #include #include diff --git a/src/fortran.hpp b/src/fortran.hpp index bb98cc3..d63e8d3 100644 --- a/src/fortran.hpp +++ b/src/fortran.hpp @@ -32,6 +32,7 @@ same conditions as regards security. The fact that you are presently reading this means that you have had knowledge of the CeCILL license and that you accept its terms. +*/ + #ifndef __COSMO_FORTRAN_HPP #define __COSMO_FORTRAN_HPP diff --git a/src/fourier/base_types.hpp b/src/fourier/base_types.hpp index 5f805ec..f39e3a5 100644 --- a/src/fourier/base_types.hpp +++ b/src/fourier/base_types.hpp @@ -32,6 +32,7 @@ same conditions as regards security. The fact that you are presently reading this means that you have had knowledge of the CeCILL license and that you accept its terms. +*/ + #ifndef __BASE_FOURIER_TYPES_HPP #define __BASE_FOURIER_TYPES_HPP diff --git a/src/fourier/details/euclidian_maps.hpp b/src/fourier/details/euclidian_maps.hpp index 8e78c80..53b0278 100644 --- a/src/fourier/details/euclidian_maps.hpp +++ b/src/fourier/details/euclidian_maps.hpp @@ -32,6 +32,7 @@ same conditions as regards security. The fact that you are presently reading this means that you have had knowledge of the CeCILL license and that you accept its terms. +*/ + #ifndef __DETAILS_EUCLIDIAN_MAPS #define __DETAILS_EUCLIDIAN_MAPS diff --git a/src/fourier/details/euclidian_spectrum_1d.hpp b/src/fourier/details/euclidian_spectrum_1d.hpp index 613dde4..36b524a 100644 --- a/src/fourier/details/euclidian_spectrum_1d.hpp +++ b/src/fourier/details/euclidian_spectrum_1d.hpp @@ -32,6 +32,7 @@ same conditions as regards security. The fact that you are presently reading this means that you have had knowledge of the CeCILL license and that you accept its terms. +*/ + #ifndef __DETAILS_EUCLIDIAN_SPECTRUM_1D #define __DETAILS_EUCLIDIAN_SPECTRUM_1D diff --git a/src/fourier/details/euclidian_spectrum_1d_bin.hpp b/src/fourier/details/euclidian_spectrum_1d_bin.hpp index 1200f83..ee6cd0b 100644 --- a/src/fourier/details/euclidian_spectrum_1d_bin.hpp +++ b/src/fourier/details/euclidian_spectrum_1d_bin.hpp @@ -32,6 +32,7 @@ same conditions as regards security. The fact that you are presently reading this means that you have had knowledge of the CeCILL license and that you accept its terms. +*/ + #ifndef __DETAILS_EUCLIDIAN_SPECTRUM_1D_BIN #define __DETAILS_EUCLIDIAN_SPECTRUM_1D_BIN diff --git a/src/fourier/details/euclidian_transform.hpp b/src/fourier/details/euclidian_transform.hpp index 79bf75b..527d38b 100644 --- a/src/fourier/details/euclidian_transform.hpp +++ b/src/fourier/details/euclidian_transform.hpp @@ -32,6 +32,7 @@ same conditions as regards security. The fact that you are presently reading this means that you have had knowledge of the CeCILL license and that you accept its terms. +*/ + #ifndef __DETAILS_EUCLIDIAN_TRANSFORM #define __DETAILS_EUCLIDIAN_TRANSFORM diff --git a/src/fourier/details/healpix_alms.hpp b/src/fourier/details/healpix_alms.hpp index 5aa31ce..fb438a8 100644 --- a/src/fourier/details/healpix_alms.hpp +++ b/src/fourier/details/healpix_alms.hpp @@ -32,6 +32,7 @@ same conditions as regards security. The fact that you are presently reading this means that you have had knowledge of the CeCILL license and that you accept its terms. +*/ + #ifndef __COSMOTOOL_FOURIER_HEALPIX_DETAILS_ALM_HPP #define __COSMOTOOL_FOURIER_HEALPIX_DETAILS_ALM_HPP diff --git a/src/fourier/details/healpix_map.hpp b/src/fourier/details/healpix_map.hpp index 7e2479a..a2a3f18 100644 --- a/src/fourier/details/healpix_map.hpp +++ b/src/fourier/details/healpix_map.hpp @@ -32,6 +32,7 @@ same conditions as regards security. The fact that you are presently reading this means that you have had knowledge of the CeCILL license and that you accept its terms. +*/ + #ifndef __COSMOTOOL_FOURIER_HEALPIX_DETAILS_MAP_HPP #define __COSMOTOOL_FOURIER_HEALPIX_DETAILS_MAP_HPP diff --git a/src/fourier/details/healpix_spectrum.hpp b/src/fourier/details/healpix_spectrum.hpp index 0ddd58b..92f7085 100644 --- a/src/fourier/details/healpix_spectrum.hpp +++ b/src/fourier/details/healpix_spectrum.hpp @@ -32,6 +32,7 @@ same conditions as regards security. The fact that you are presently reading this means that you have had knowledge of the CeCILL license and that you accept its terms. +*/ + #ifndef __COSMOTOOL_FOURIER_HEALPIX_DETAILS_SPECTRUM_HPP #define __COSMOTOOL_FOURIER_HEALPIX_DETAILS_SPECTRUM_HPP diff --git a/src/fourier/details/healpix_transform.hpp b/src/fourier/details/healpix_transform.hpp index 564caff..6e89213 100644 --- a/src/fourier/details/healpix_transform.hpp +++ b/src/fourier/details/healpix_transform.hpp @@ -32,6 +32,7 @@ same conditions as regards security. The fact that you are presently reading this means that you have had knowledge of the CeCILL license and that you accept its terms. +*/ + #ifndef __COSMOTOOL_FOURIER_HEALPIX_DETAILS_TRANSFORM_HPP #define __COSMOTOOL_FOURIER_HEALPIX_DETAILS_TRANSFORM_HPP diff --git a/src/fourier/details/healpix_utility.hpp b/src/fourier/details/healpix_utility.hpp index 5e9775a..8803ae9 100644 --- a/src/fourier/details/healpix_utility.hpp +++ b/src/fourier/details/healpix_utility.hpp @@ -32,6 +32,7 @@ same conditions as regards security. The fact that you are presently reading this means that you have had knowledge of the CeCILL license and that you accept its terms. +*/ + #ifndef __COSMOTOOL_FOURIER_HEALPIX_DETAILS_SPECTRUM_HP #define __COSMOTOOL_FOURIER_HEALPIX_DETAILS_SPECTRUM_HP diff --git a/src/fourier/euclidian.hpp b/src/fourier/euclidian.hpp index ccaeced..efc76e7 100644 --- a/src/fourier/euclidian.hpp +++ b/src/fourier/euclidian.hpp @@ -32,6 +32,7 @@ same conditions as regards security. The fact that you are presently reading this means that you have had knowledge of the CeCILL license and that you accept its terms. +*/ + #ifndef __COSMOTOOL_FOURIER_EUCLIDIAN_HPP #define __COSMOTOOL_FOURIER_EUCLIDIAN_HPP diff --git a/src/fourier/fft/fftw_calls.hpp b/src/fourier/fft/fftw_calls.hpp index 6cb39ea..c811728 100644 --- a/src/fourier/fft/fftw_calls.hpp +++ b/src/fourier/fft/fftw_calls.hpp @@ -32,6 +32,7 @@ same conditions as regards security. The fact that you are presently reading this means that you have had knowledge of the CeCILL license and that you accept its terms. +*/ + #ifndef __FFTW_UNIFIED_CALLS_HPP #define __FFTW_UNIFIED_CALLS_HPP diff --git a/src/fourier/healpix.hpp b/src/fourier/healpix.hpp index 975ac00..e8b8b2d 100644 --- a/src/fourier/healpix.hpp +++ b/src/fourier/healpix.hpp @@ -32,6 +32,7 @@ same conditions as regards security. The fact that you are presently reading this means that you have had knowledge of the CeCILL license and that you accept its terms. +*/ + #ifndef __COSMOTOOL_FOURIER_HEALPIX_HPP #define __COSMOTOOL_FOURIER_HEALPIX_HPP diff --git a/src/growthFactor.cpp b/src/growthFactor.cpp index d954000..b718d4e 100644 --- a/src/growthFactor.cpp +++ b/src/growthFactor.cpp @@ -32,6 +32,7 @@ same conditions as regards security. The fact that you are presently reading this means that you have had knowledge of the CeCILL license and that you accept its terms. +*/ + #include #include #include "interpolate.hpp" diff --git a/src/growthFactor.hpp b/src/growthFactor.hpp index 01f0bd6..1a455df 100644 --- a/src/growthFactor.hpp +++ b/src/growthFactor.hpp @@ -32,6 +32,7 @@ same conditions as regards security. The fact that you are presently reading this means that you have had knowledge of the CeCILL license and that you accept its terms. +*/ + #ifndef COSMO_GROWTH_FACTOR_HPP #define COSMO_GROWTH_FACTOR_HPP diff --git a/src/interpolate.cpp b/src/interpolate.cpp index 3c175da..ec6575c 100644 --- a/src/interpolate.cpp +++ b/src/interpolate.cpp @@ -32,6 +32,7 @@ same conditions as regards security. The fact that you are presently reading this means that you have had knowledge of the CeCILL license and that you accept its terms. +*/ + #include #include #include diff --git a/src/interpolate.hpp b/src/interpolate.hpp index 4aa0573..2e30e29 100644 --- a/src/interpolate.hpp +++ b/src/interpolate.hpp @@ -32,6 +32,7 @@ same conditions as regards security. The fact that you are presently reading this means that you have had knowledge of the CeCILL license and that you accept its terms. +*/ + #ifndef __CTOOL_INTERPOLATE_HPP #define __CTOOL_INTERPOLATE_HPP diff --git a/src/interpolate3d.hpp b/src/interpolate3d.hpp index c50a905..0f66d02 100644 --- a/src/interpolate3d.hpp +++ b/src/interpolate3d.hpp @@ -32,6 +32,7 @@ same conditions as regards security. The fact that you are presently reading this means that you have had knowledge of the CeCILL license and that you accept its terms. +*/ + #ifndef __COSMO_INTERPOLATE3D_HPP #define __COSMO_INTERPOLATE3D_HPP diff --git a/src/kdtree_leaf.hpp b/src/kdtree_leaf.hpp index f89fa80..0481889 100644 --- a/src/kdtree_leaf.hpp +++ b/src/kdtree_leaf.hpp @@ -32,6 +32,7 @@ same conditions as regards security. The fact that you are presently reading this means that you have had knowledge of the CeCILL license and that you accept its terms. +*/ + #ifndef __LEAF_KDTREE_HPP #define __LEAF_KDTREE_HPP diff --git a/src/kdtree_splitters.hpp b/src/kdtree_splitters.hpp index 0dbfff7..c0364a6 100644 --- a/src/kdtree_splitters.hpp +++ b/src/kdtree_splitters.hpp @@ -32,6 +32,7 @@ same conditions as regards security. The fact that you are presently reading this means that you have had knowledge of the CeCILL license and that you accept its terms. +*/ + #ifndef __KDTREE_SPLITTERS_HPP #define __KDTREE_SPLITTERS_HPP diff --git a/src/loadFlash.cpp b/src/loadFlash.cpp index 6da91f6..d437f25 100644 --- a/src/loadFlash.cpp +++ b/src/loadFlash.cpp @@ -32,6 +32,7 @@ same conditions as regards security. The fact that you are presently reading this means that you have had knowledge of the CeCILL license and that you accept its terms. +*/ + /* Reads in FLASH v3 files in HDF5 format */ #include diff --git a/src/loadFlash.hpp b/src/loadFlash.hpp index fbc017f..62f511b 100644 --- a/src/loadFlash.hpp +++ b/src/loadFlash.hpp @@ -32,6 +32,7 @@ same conditions as regards security. The fact that you are presently reading this means that you have had knowledge of the CeCILL license and that you accept its terms. +*/ + #ifndef __COSMO_LOAD_FLASH_HPP #define __COSMO_LOAD_FLASH_HPP diff --git a/src/loadFlash_dummy.cpp b/src/loadFlash_dummy.cpp index f8a2a62..2c6a86c 100644 --- a/src/loadFlash_dummy.cpp +++ b/src/loadFlash_dummy.cpp @@ -32,6 +32,7 @@ same conditions as regards security. The fact that you are presently reading this means that you have had knowledge of the CeCILL license and that you accept its terms. +*/ + #include "load_data.hpp" #include "loadFlash.hpp" diff --git a/src/loadGadget.cpp b/src/loadGadget.cpp index 60e04e6..47100c8 100644 --- a/src/loadGadget.cpp +++ b/src/loadGadget.cpp @@ -32,6 +32,7 @@ same conditions as regards security. The fact that you are presently reading this means that you have had knowledge of the CeCILL license and that you accept its terms. +*/ + #include #include #include diff --git a/src/loadGadget.hpp b/src/loadGadget.hpp index d50816d..ad0e412 100644 --- a/src/loadGadget.hpp +++ b/src/loadGadget.hpp @@ -32,6 +32,7 @@ same conditions as regards security. The fact that you are presently reading this means that you have had knowledge of the CeCILL license and that you accept its terms. +*/ + #ifndef __COSMO_LOAD_GADGET_HPP #define __COSMO_LOAD_GADGET_HPP diff --git a/src/loadRamses.cpp b/src/loadRamses.cpp index 2b98b0f..3eb909c 100644 --- a/src/loadRamses.cpp +++ b/src/loadRamses.cpp @@ -32,6 +32,7 @@ same conditions as regards security. The fact that you are presently reading this means that you have had knowledge of the CeCILL license and that you accept its terms. +*/ + #include #include #include diff --git a/src/loadRamses.hpp b/src/loadRamses.hpp index 33f082d..5282a3c 100644 --- a/src/loadRamses.hpp +++ b/src/loadRamses.hpp @@ -32,6 +32,7 @@ same conditions as regards security. The fact that you are presently reading this means that you have had knowledge of the CeCILL license and that you accept its terms. +*/ + #ifndef _LOAD_RAMSES_HPP #define _LOAD_RAMSES_HPP diff --git a/src/loadSimu.hpp b/src/loadSimu.hpp index 1899cb4..1c360a4 100644 --- a/src/loadSimu.hpp +++ b/src/loadSimu.hpp @@ -32,6 +32,7 @@ same conditions as regards security. The fact that you are presently reading this means that you have had knowledge of the CeCILL license and that you accept its terms. +*/ + #ifndef __COSMOTOOLBOX_HPP #define __COSMOTOOLBOX_HPP diff --git a/src/load_data.cpp b/src/load_data.cpp index b5c0b22..f23f909 100644 --- a/src/load_data.cpp +++ b/src/load_data.cpp @@ -32,6 +32,7 @@ same conditions as regards security. The fact that you are presently reading this means that you have had knowledge of the CeCILL license and that you accept its terms. +*/ + #include #include #include diff --git a/src/load_data.hpp b/src/load_data.hpp index f657e13..6be3bbb 100644 --- a/src/load_data.hpp +++ b/src/load_data.hpp @@ -32,6 +32,7 @@ same conditions as regards security. The fact that you are presently reading this means that you have had knowledge of the CeCILL license and that you accept its terms. +*/ + #ifndef _LOAD_GADGET_DATA_HPP #define _LOAD_GADGET_DATA_HPP diff --git a/src/mach.hpp b/src/mach.hpp index e383574..6bea525 100644 --- a/src/mach.hpp +++ b/src/mach.hpp @@ -32,6 +32,7 @@ same conditions as regards security. The fact that you are presently reading this means that you have had knowledge of the CeCILL license and that you accept its terms. +*/ + #ifndef __COSMO_MACHINE_TEST_HPP #define __COSMO_MACHINE_TEST_HPP diff --git a/src/miniargs.cpp b/src/miniargs.cpp index 400760f..7c23230 100644 --- a/src/miniargs.cpp +++ b/src/miniargs.cpp @@ -32,6 +32,7 @@ same conditions as regards security. The fact that you are presently reading this means that you have had knowledge of the CeCILL license and that you accept its terms. +*/ + #include #include #include diff --git a/src/miniargs.hpp b/src/miniargs.hpp index db81c67..9f04b58 100644 --- a/src/miniargs.hpp +++ b/src/miniargs.hpp @@ -32,6 +32,7 @@ same conditions as regards security. The fact that you are presently reading this means that you have had knowledge of the CeCILL license and that you accept its terms. +*/ + #ifndef _MAK_MINIARGS_HPP #define _MAK_MINIARGS_HPP diff --git a/src/mykdtree.hpp b/src/mykdtree.hpp index dd912e1..27d66ae 100644 --- a/src/mykdtree.hpp +++ b/src/mykdtree.hpp @@ -32,6 +32,7 @@ same conditions as regards security. The fact that you are presently reading this means that you have had knowledge of the CeCILL license and that you accept its terms. +*/ + #ifndef __HV_KDTREE_HPP #define __HV_KDTREE_HPP diff --git a/src/newton.hpp b/src/newton.hpp index 7a85b1a..d3975fe 100644 --- a/src/newton.hpp +++ b/src/newton.hpp @@ -32,6 +32,7 @@ same conditions as regards security. The fact that you are presently reading this means that you have had knowledge of the CeCILL license and that you accept its terms. +*/ + #ifndef _COSMOTOOL_NEWTON_HPP #define _COSMOTOOL_NEWTON_HPP diff --git a/src/octTree.cpp b/src/octTree.cpp index ce3a97d..2c76609 100644 --- a/src/octTree.cpp +++ b/src/octTree.cpp @@ -32,6 +32,7 @@ same conditions as regards security. The fact that you are presently reading this means that you have had knowledge of the CeCILL license and that you accept its terms. +*/ + #include #include #include diff --git a/src/octTree.hpp b/src/octTree.hpp index 658d87b..425d8fd 100644 --- a/src/octTree.hpp +++ b/src/octTree.hpp @@ -32,6 +32,7 @@ same conditions as regards security. The fact that you are presently reading this means that you have had knowledge of the CeCILL license and that you accept its terms. +*/ + #ifndef __COSMOTOOL_AMR_HPP #define __COSMOTOOL_AMR_HPP diff --git a/src/pool.hpp b/src/pool.hpp index a09669b..b3e2637 100644 --- a/src/pool.hpp +++ b/src/pool.hpp @@ -32,6 +32,7 @@ same conditions as regards security. The fact that you are presently reading this means that you have had knowledge of the CeCILL license and that you accept its terms. +*/ + #ifndef __COSMO_POOL_HPP #define __COSMO_POOL_HPP diff --git a/src/powerSpectrum.cpp b/src/powerSpectrum.cpp index 0bc741a..b2a34be 100644 --- a/src/powerSpectrum.cpp +++ b/src/powerSpectrum.cpp @@ -32,6 +32,7 @@ same conditions as regards security. The fact that you are presently reading this means that you have had knowledge of the CeCILL license and that you accept its terms. +*/ + #include #include #include diff --git a/src/powerSpectrum.hpp b/src/powerSpectrum.hpp index ea19f5f..d4c6761 100644 --- a/src/powerSpectrum.hpp +++ b/src/powerSpectrum.hpp @@ -32,6 +32,7 @@ same conditions as regards security. The fact that you are presently reading this means that you have had knowledge of the CeCILL license and that you accept its terms. +*/ + #ifndef _POWERSPECTRUM_HPP #define _POWERSPECTRUM_HPP diff --git a/src/replicateGenerator.hpp b/src/replicateGenerator.hpp index 3b6d3b8..fd7035f 100644 --- a/src/replicateGenerator.hpp +++ b/src/replicateGenerator.hpp @@ -1,3 +1,37 @@ +/*+ +This is CosmoTool (./src/replicateGenerator.hpp) -- Copyright (C) Guilhem Lavaux (2007-2013) + +guilhem.lavaux@gmail.com + +This software is a computer program whose purpose is to provide a toolbox for cosmological +data analysis (e.g. filters, generalized Fourier transforms, power spectra, ...) + +This software is governed by the CeCILL license under French law and +abiding by the rules of distribution of free software. You can use, +modify and/ or redistribute the software under the terms of the CeCILL +license as circulated by CEA, CNRS and INRIA at the following URL +"http://www.cecill.info". + +As a counterpart to the access to the source code and rights to copy, +modify and redistribute granted by the license, users are provided only +with a limited warranty and the software's author, the holder of the +economic rights, and the successive licensors have only limited +liability. + +In this respect, the user's attention is drawn to the risks associated +with loading, using, modifying and/or developing or reproducing the +software by the user in light of its specific status of free software, +that may mean that it is complicated to manipulate, and that also +therefore means that it is reserved for developers and experienced +professionals having in-depth computer knowledge. Users are therefore +encouraged to load and test the software's suitability as regards their +requirements in conditions enabling the security of their systems and/or +data to be ensured and, more generally, to use and operate it in the +same conditions as regards security. + +The fact that you are presently reading this means that you have had +knowledge of the CeCILL license and that you accept its terms. ++*/ #ifndef __REPLICATE_GENERATOR_HPP #define __REPLICATE_GENERATOR_HPP diff --git a/src/sparseGrid.hpp b/src/sparseGrid.hpp index b529a6d..516be9d 100644 --- a/src/sparseGrid.hpp +++ b/src/sparseGrid.hpp @@ -32,6 +32,7 @@ same conditions as regards security. The fact that you are presently reading this means that you have had knowledge of the CeCILL license and that you accept its terms. +*/ + #ifndef __VOID_SPARSE_GRID_HPP #define __VOID_SPARSE_GRID_HPP diff --git a/src/sphSmooth.hpp b/src/sphSmooth.hpp index 0e6cf55..f6fe582 100644 --- a/src/sphSmooth.hpp +++ b/src/sphSmooth.hpp @@ -32,6 +32,7 @@ same conditions as regards security. The fact that you are presently reading this means that you have had knowledge of the CeCILL license and that you accept its terms. +*/ + #ifndef __COSMOTOOL_SPH_SMOOTH_HPP #define __COSMOTOOL_SPH_SMOOTH_HPP diff --git a/src/yorick.hpp b/src/yorick.hpp index 802d1cc..39fd20d 100644 --- a/src/yorick.hpp +++ b/src/yorick.hpp @@ -32,6 +32,7 @@ same conditions as regards security. The fact that you are presently reading this means that you have had knowledge of the CeCILL license and that you accept its terms. +*/ + #ifndef __YORICK_HELPERS_HPP #define __YORICK_HELPERS_HPP diff --git a/src/yorick_nc3.cpp b/src/yorick_nc3.cpp index 9f814b6..d80781e 100644 --- a/src/yorick_nc3.cpp +++ b/src/yorick_nc3.cpp @@ -32,6 +32,7 @@ same conditions as regards security. The fact that you are presently reading this means that you have had knowledge of the CeCILL license and that you accept its terms. +*/ + #include "ctool_netcdf_ver.hpp" #include "config.hpp" #ifdef NETCDFCPP4 diff --git a/src/yorick_nc4.cpp b/src/yorick_nc4.cpp index 7765093..9a6f501 100644 --- a/src/yorick_nc4.cpp +++ b/src/yorick_nc4.cpp @@ -32,6 +32,7 @@ same conditions as regards security. The fact that you are presently reading this means that you have had knowledge of the CeCILL license and that you accept its terms. +*/ + #include "ctool_netcdf_ver.hpp" #include "config.hpp" #include