From c3b80ce0c7d94732292113758f7b5621abbcb4e4 Mon Sep 17 00:00:00 2001 From: Oliver Hahn Date: Sat, 24 Feb 2024 10:52:43 +0100 Subject: [PATCH] updated file header license statements --- src/Numerics.cc | 25 ++++++++++++++++--------- src/Numerics.hh | 25 ++++++++++++++++--------- src/cmake_config.hh.in | 17 +++++++++++++++++ src/constraints.cc | 25 ++++++++++++++++--------- src/constraints.hh | 25 ++++++++++++++++--------- src/convolution_kernel.cc | 24 ++++++++++++++++-------- src/convolution_kernel.hh | 25 ++++++++++++++++--------- src/cosmology_calculator.hh | 4 ++-- src/cosmology_parameters.cc | 4 ++-- src/cosmology_parameters.hh | 4 ++-- src/defaults.cc | 25 ++++++++++++++++--------- src/defaults.hh | 25 ++++++++++++++++--------- src/densities.cc | 25 ++++++++++++++++--------- src/densities.hh | 25 ++++++++++++++++--------- src/density_grid.hh | 17 +++++++++++++++++ src/fd_schemes.hh | 25 ++++++++++++++++--------- src/general.hh | 25 ++++++++++++++++--------- src/logger.cc | 2 +- src/logger.hh | 2 +- src/main.cc | 25 ++++++++++++++++--------- src/mesh.hh | 25 ++++++++++++++++--------- src/mg_interp.hh | 24 ++++++++++++++++-------- src/mg_operators.hh | 25 ++++++++++++++++--------- src/mg_solver.hh | 25 ++++++++++++++++--------- src/output.cc | 25 ++++++++++++++++--------- src/output.hh | 25 ++++++++++++++++--------- src/perturbation_theory.cc | 25 ++++++++++++++++--------- src/perturbation_theory.hh | 25 ++++++++++++++++--------- src/physical_constants.hh | 4 ++-- src/poisson.cc | 25 ++++++++++++++++--------- src/poisson.hh | 25 ++++++++++++++++--------- src/random.cc | 24 ++++++++++++++++-------- src/random.hh | 25 ++++++++++++++++--------- src/region_generator.cc | 18 ++++++++++++++++++ src/region_generator.hh | 17 +++++++++++++++++ src/schemes.hh | 24 ++++++++++++++++-------- src/solver.hh | 24 ++++++++++++++++-------- src/system_stat.hh | 9 +++++---- src/tests.hh | 26 ++++++++++++++++---------- src/transfer_function.cc | 25 ++++++++++++++++--------- src/transfer_function.hh | 24 ++++++++++++++++-------- 41 files changed, 564 insertions(+), 279 deletions(-) diff --git a/src/Numerics.cc b/src/Numerics.cc index 1639b9a..ee96348 100644 --- a/src/Numerics.cc +++ b/src/Numerics.cc @@ -1,12 +1,19 @@ -/* - - numerics.cc - This file is part of MUSIC - - a code to generate multi-scale initial conditions - for cosmological simulations - - Copyright (C) 2010 Oliver Hahn - -*/ +// This file is part of MUSIC +// A software package to generate ICs for cosmological simulations +// Copyright (C) 2010-2024 by Oliver Hahn +// +// monofonIC is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// monofonIC is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . #ifdef WITH_MPI #ifdef MANNO diff --git a/src/Numerics.hh b/src/Numerics.hh index bfd93da..9bfb28c 100644 --- a/src/Numerics.hh +++ b/src/Numerics.hh @@ -1,12 +1,19 @@ -/* - - numerics.hh - This file is part of MUSIC - - a code to generate multi-scale initial conditions - for cosmological simulations - - Copyright (C) 2010 Oliver Hahn - - */ +// This file is part of MUSIC +// A software package to generate ICs for cosmological simulations +// Copyright (C) 2010-2024 by Oliver Hahn +// +// monofonIC is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// monofonIC is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . #ifndef __NUMERICS_HH #define __NUMERICS_HH diff --git a/src/cmake_config.hh.in b/src/cmake_config.hh.in index 5162967..17b2d2a 100644 --- a/src/cmake_config.hh.in +++ b/src/cmake_config.hh.in @@ -1,3 +1,20 @@ +// This file is part of monofonIC (MUSIC2) +// A software package to generate ICs for cosmological simulations +// Copyright (C) 2024 by Oliver Hahn +// +// monofonIC is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// monofonIC is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + #pragma once diff --git a/src/constraints.cc b/src/constraints.cc index 82bfa1d..fb59b10 100644 --- a/src/constraints.cc +++ b/src/constraints.cc @@ -1,12 +1,19 @@ -/* - - constraints.cc - This file is part of MUSIC - - a code to generate multi-scale initial conditions - for cosmological simulations - - Copyright (C) 2010 Oliver Hahn - - */ +// This file is part of monofonIC (MUSIC2) +// A software package to generate ICs for cosmological simulations +// Copyright (C) 2024 by Oliver Hahn +// +// monofonIC is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// monofonIC is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . #include "constraints.hh" diff --git a/src/constraints.hh b/src/constraints.hh index 450ae13..6c42a05 100644 --- a/src/constraints.hh +++ b/src/constraints.hh @@ -1,12 +1,19 @@ -/* - - constraints.hh - This file is part of MUSIC - - a code to generate multi-scale initial conditions - for cosmological simulations - - Copyright (C) 2010 Oliver Hahn - - */ +// This file is part of monofonIC (MUSIC2) +// A software package to generate ICs for cosmological simulations +// Copyright (C) 2024 by Oliver Hahn +// +// monofonIC is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// monofonIC is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . #pragma once #include diff --git a/src/convolution_kernel.cc b/src/convolution_kernel.cc index 03a9c54..4a4efc9 100644 --- a/src/convolution_kernel.cc +++ b/src/convolution_kernel.cc @@ -1,11 +1,19 @@ -/* - - convolution_kernel.cc - This file is part of MUSIC - - a code to generate multi-scale initial conditions for cosmological simulations - - Copyright (C) 2010-23 Oliver Hahn - -*/ +// This file is part of monofonIC (MUSIC2) +// A software package to generate ICs for cosmological simulations +// Copyright (C) 2024 by Oliver Hahn +// +// monofonIC is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// monofonIC is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . #include #include diff --git a/src/convolution_kernel.hh b/src/convolution_kernel.hh index 30bb851..b0265f9 100644 --- a/src/convolution_kernel.hh +++ b/src/convolution_kernel.hh @@ -1,12 +1,19 @@ -/* - - convolution_kernel.hh - This file is part of MUSIC - - a code to generate multi-scale initial conditions - for cosmological simulations - - Copyright (C) 2010-23 Oliver Hahn - -*/ +// This file is part of monofonIC (MUSIC2) +// A software package to generate ICs for cosmological simulations +// Copyright (C) 2024 by Oliver Hahn +// +// monofonIC is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// monofonIC is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . #ifndef __CONVOLUTION_KERNELS_HH #define __CONVOLUTION_KERNELS_HH diff --git a/src/cosmology_calculator.hh b/src/cosmology_calculator.hh index 1748430..c059bd7 100644 --- a/src/cosmology_calculator.hh +++ b/src/cosmology_calculator.hh @@ -1,6 +1,6 @@ -// This file is part of monofonIC (MUSIC2) +// This file is part of MUSIC // A software package to generate ICs for cosmological simulations -// Copyright (C) 2020 by Oliver Hahn +// Copyright (C) 2010-2024 by Oliver Hahn // // monofonIC is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/src/cosmology_parameters.cc b/src/cosmology_parameters.cc index 61c456d..74d3fec 100644 --- a/src/cosmology_parameters.cc +++ b/src/cosmology_parameters.cc @@ -1,6 +1,6 @@ -// This file is part of monofonIC (MUSIC2) +// This file is part of MUSIC // A software package to generate ICs for cosmological simulations -// Copyright (C) 2020 by Oliver Hahn +// Copyright (C) 2010-2024 by Oliver Hahn // // monofonIC is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/src/cosmology_parameters.hh b/src/cosmology_parameters.hh index e43f33a..458e481 100644 --- a/src/cosmology_parameters.hh +++ b/src/cosmology_parameters.hh @@ -1,6 +1,6 @@ -// This file is part of monofonIC (MUSIC2) +// This file is part of MUSIC // A software package to generate ICs for cosmological simulations -// Copyright (C) 2020 by Oliver Hahn +// Copyright (C) 2010-2024 by Oliver Hahn // // monofonIC is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/src/defaults.cc b/src/defaults.cc index d0efe52..704179e 100644 --- a/src/defaults.cc +++ b/src/defaults.cc @@ -1,12 +1,19 @@ -/* - - defaults.cc - This file is part of MUSIC - - a code to generate multi-scale initial conditions - for cosmological simulations - - Copyright (C) 2010 Oliver Hahn - - */ +// This file is part of MUSIC +// A software package to generate ICs for cosmological simulations +// Copyright (C) 2010-2024 by Oliver Hahn +// +// monofonIC is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// monofonIC is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . #include "defaults.hh" diff --git a/src/defaults.hh b/src/defaults.hh index 0c99178..c11c22f 100644 --- a/src/defaults.hh +++ b/src/defaults.hh @@ -1,12 +1,19 @@ -/* - - defaults.hh - This file is part of MUSIC - - a code to generate multi-scale initial conditions - for cosmological simulations - - Copyright (C) 2010 Oliver Hahn - - */ +// This file is part of MUSIC +// A software package to generate ICs for cosmological simulations +// Copyright (C) 2010-2024 by Oliver Hahn +// +// monofonIC is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// monofonIC is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . #ifndef __DEFAULTS_HH diff --git a/src/densities.cc b/src/densities.cc index ec09459..56f7445 100644 --- a/src/densities.cc +++ b/src/densities.cc @@ -1,12 +1,19 @@ -/* - - densities.cc - This file is part of MUSIC - - a code to generate multi-scale initial conditions - for cosmological simulations - - Copyright (C) 2010 Oliver Hahn - - */ +// This file is part of MUSIC +// A software package to generate ICs for cosmological simulations +// Copyright (C) 2010-2024 by Oliver Hahn +// +// monofonIC is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// monofonIC is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . #include diff --git a/src/densities.hh b/src/densities.hh index e6b52ae..bface34 100644 --- a/src/densities.hh +++ b/src/densities.hh @@ -1,12 +1,19 @@ -/* - - densities.hh - This file is part of MUSIC - - a code to generate multi-scale initial conditions - for cosmological simulations - - Copyright (C) 2010 Oliver Hahn - - */ +// This file is part of MUSIC +// A software package to generate ICs for cosmological simulations +// Copyright (C) 2010-2024 by Oliver Hahn +// +// monofonIC is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// monofonIC is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . #ifndef __DENSITIES_HH #define __DENSITIES_HH diff --git a/src/density_grid.hh b/src/density_grid.hh index 7eba1e2..61d526f 100644 --- a/src/density_grid.hh +++ b/src/density_grid.hh @@ -1,3 +1,20 @@ +// This file is part of MUSIC +// A software package to generate ICs for cosmological simulations +// Copyright (C) 2010-2024 by Oliver Hahn +// +// monofonIC is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// monofonIC is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + #pragma once #include diff --git a/src/fd_schemes.hh b/src/fd_schemes.hh index 1ad2dd9..f32010d 100644 --- a/src/fd_schemes.hh +++ b/src/fd_schemes.hh @@ -1,12 +1,19 @@ -/* - - fd_schemes.hh - This file is part of MUSIC - - a code to generate multi-scale initial conditions - for cosmological simulations - - Copyright (C) 2010 Oliver Hahn - -*/ +// This file is part of MUSIC +// A software package to generate ICs for cosmological simulations +// Copyright (C) 2010-2024 by Oliver Hahn +// +// monofonIC is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// monofonIC is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . #ifndef __FD_SCHEMES_HH #define __FD_SCHEMES_HH diff --git a/src/general.hh b/src/general.hh index f7eb32f..a71a3ad 100644 --- a/src/general.hh +++ b/src/general.hh @@ -1,12 +1,19 @@ -/* - - general.hh - This file is part of MUSIC - - a code to generate multi-scale initial conditions - for cosmological simulations - - Copyright (C) 2010 Oliver Hahn - -*/ +// This file is part of MUSIC +// A software package to generate ICs for cosmological simulations +// Copyright (C) 2010-2024 by Oliver Hahn +// +// monofonIC is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// monofonIC is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . #pragma once diff --git a/src/logger.cc b/src/logger.cc index b60963a..4220af1 100644 --- a/src/logger.cc +++ b/src/logger.cc @@ -1,4 +1,4 @@ -// This file is part of monofonIC (MUSIC2) +// This file is part of MUSIC // A software package to generate ICs for cosmological simulations // Copyright (C) 2020 by Oliver Hahn & Michael Michaux (this file) // diff --git a/src/logger.hh b/src/logger.hh index 03f7960..38ee168 100644 --- a/src/logger.hh +++ b/src/logger.hh @@ -1,4 +1,4 @@ -// This file is part of monofonIC (MUSIC2) +// This file is part of MUSIC // A software package to generate ICs for cosmological simulations // Copyright (C) 2020 by Oliver Hahn & Michael Michaux (this file) // diff --git a/src/main.cc b/src/main.cc index fcb0dbe..a050284 100644 --- a/src/main.cc +++ b/src/main.cc @@ -1,12 +1,19 @@ -/* - - main.cc - This file is part of MUSIC - - a code to generate multi-scale initial conditions - for cosmological simulations - - Copyright (C) 2010 Oliver Hahn - -*/ +// This file is part of MUSIC +// A software package to generate ICs for cosmological simulations +// Copyright (C) 2010-2024 by Oliver Hahn +// +// monofonIC is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// monofonIC is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . #include #include diff --git a/src/mesh.hh b/src/mesh.hh index 11f52f6..9aff209 100644 --- a/src/mesh.hh +++ b/src/mesh.hh @@ -1,12 +1,19 @@ -/* - - mesh.hh - This file is part of MUSIC - - a code to generate multi-scale initial conditions - for cosmological simulations - - Copyright (C) 2010 Oliver Hahn - -*/ +// This file is part of MUSIC +// A software package to generate ICs for cosmological simulations +// Copyright (C) 2010-2024 by Oliver Hahn +// +// monofonIC is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// monofonIC is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . #pragma once diff --git a/src/mg_interp.hh b/src/mg_interp.hh index 7a601da..8bacff3 100644 --- a/src/mg_interp.hh +++ b/src/mg_interp.hh @@ -1,11 +1,19 @@ -/* - * mg_interp.hh - * FROLIC_mg - * - * Created by Oliver Hahn on 5/27/10. - * Copyright 2010 KIPAC/Stanford University. All rights reserved. - * - */ +// This file is part of MUSIC +// A software package to generate ICs for cosmological simulations +// Copyright (C) 2010-2024 by Oliver Hahn +// +// monofonIC is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// monofonIC is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . #ifndef __MG_INTERP_HH #define __MG_INTERP_HH diff --git a/src/mg_operators.hh b/src/mg_operators.hh index c966b88..b2dee57 100644 --- a/src/mg_operators.hh +++ b/src/mg_operators.hh @@ -1,12 +1,19 @@ -/* - - mg_operators.hh - This file is part of MUSIC - - a code to generate multi-scale initial conditions - for cosmological simulations - - Copyright (C) 2010 Oliver Hahn - -*/ +// This file is part of MUSIC +// A software package to generate ICs for cosmological simulations +// Copyright (C) 2010-2024 by Oliver Hahn +// +// monofonIC is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// monofonIC is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . #ifndef __MG_OPERATORS_HH #define __MG_OPERATORS_HH diff --git a/src/mg_solver.hh b/src/mg_solver.hh index 89e4083..ea72922 100644 --- a/src/mg_solver.hh +++ b/src/mg_solver.hh @@ -1,12 +1,19 @@ -/* - - mg_solver.hh - This file is part of MUSIC - - a code to generate multi-scale initial conditions - for cosmological simulations - - Copyright (C) 2010 Oliver Hahn - -*/ +// This file is part of MUSIC +// A software package to generate ICs for cosmological simulations +// Copyright (C) 2010-2024 by Oliver Hahn +// +// monofonIC is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// monofonIC is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . #pragma once diff --git a/src/output.cc b/src/output.cc index e10dea1..9e70dad 100644 --- a/src/output.cc +++ b/src/output.cc @@ -1,12 +1,19 @@ -/* - - output.cc - This file is part of MUSIC - - a code to generate multi-scale initial conditions - for cosmological simulations - - Copyright (C) 2010 Oliver Hahn - -*/ +// This file is part of MUSIC +// A software package to generate ICs for cosmological simulations +// Copyright (C) 2010-2024 by Oliver Hahn +// +// monofonIC is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// monofonIC is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . #include "output.hh" diff --git a/src/output.hh b/src/output.hh index 027a3ce..1a04b9f 100644 --- a/src/output.hh +++ b/src/output.hh @@ -1,12 +1,19 @@ -/* - - output.hh - This file is part of MUSIC - - a code to generate multi-scale initial conditions - for cosmological simulations - - Copyright (C) 2010 Oliver Hahn - -*/ +// This file is part of MUSIC +// A software package to generate ICs for cosmological simulations +// Copyright (C) 2010-2024 by Oliver Hahn +// +// monofonIC is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// monofonIC is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . #ifndef __OUTPUT_HH #define __OUTPUT_HH diff --git a/src/perturbation_theory.cc b/src/perturbation_theory.cc index bbd4918..2f7b98b 100644 --- a/src/perturbation_theory.cc +++ b/src/perturbation_theory.cc @@ -1,12 +1,19 @@ -/* - - cosmology.cc - This file is part of MUSIC - - a code to generate multi-scale initial conditions - for cosmological simulations - - Copyright (C) 2010 Oliver Hahn - - */ +// This file is part of MUSIC +// A software package to generate ICs for cosmological simulations +// Copyright (C) 2010-2024 by Oliver Hahn +// +// monofonIC is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// monofonIC is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . #include #include diff --git a/src/perturbation_theory.hh b/src/perturbation_theory.hh index 7a688ed..4fcf95b 100644 --- a/src/perturbation_theory.hh +++ b/src/perturbation_theory.hh @@ -1,12 +1,19 @@ -/* - - cosmology.hh - This file is part of MUSIC - - a code to generate multi-scale initial conditions - for cosmological simulations - - Copyright (C) 2010 Oliver Hahn - - */ +// This file is part of MUSIC +// A software package to generate ICs for cosmological simulations +// Copyright (C) 2010-2024 by Oliver Hahn +// +// monofonIC is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// monofonIC is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . #pragma once diff --git a/src/physical_constants.hh b/src/physical_constants.hh index ceec634..c212d0a 100644 --- a/src/physical_constants.hh +++ b/src/physical_constants.hh @@ -1,6 +1,6 @@ -// This file is part of monofonIC (MUSIC2) +// This file is part of MUSIC // A software package to generate ICs for cosmological simulations -// Copyright (C) 2020 by Oliver Hahn +// Copyright (C) 2010-2024 by Oliver Hahn // // monofonIC is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/src/poisson.cc b/src/poisson.cc index 38bb59e..ecee6df 100644 --- a/src/poisson.cc +++ b/src/poisson.cc @@ -1,12 +1,19 @@ -/* - - poisson.cc - This file is part of MUSIC - - a code to generate multi-scale initial conditions - for cosmological simulations - - Copyright (C) 2010 Oliver Hahn - - */ +// This file is part of MUSIC +// A software package to generate ICs for cosmological simulations +// Copyright (C) 2010-2024 by Oliver Hahn +// +// monofonIC is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// monofonIC is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . /****** ABSTRACT FACTORY PATTERN IMPLEMENTATION *******/ diff --git a/src/poisson.hh b/src/poisson.hh index e1383bc..7e593fa 100644 --- a/src/poisson.hh +++ b/src/poisson.hh @@ -1,12 +1,19 @@ -/* - - poisson.cc - This file is part of MUSIC - - a code to generate multi-scale initial conditions - for cosmological simulations - - Copyright (C) 2010 Oliver Hahn - - */ +// This file is part of MUSIC +// A software package to generate ICs for cosmological simulations +// Copyright (C) 2010-2024 by Oliver Hahn +// +// monofonIC is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// monofonIC is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . #ifndef __POISSON_HH #define __POISSON_HH diff --git a/src/random.cc b/src/random.cc index 2ecb486..725c840 100644 --- a/src/random.cc +++ b/src/random.cc @@ -1,11 +1,19 @@ -/* - - random.cc - This file is part of MUSIC - - a code to generate multi-scale initial conditions for cosmological simulations - - Copyright (C) 2010-23 Oliver Hahn - - */ +// This file is part of MUSIC +// A software package to generate ICs for cosmological simulations +// Copyright (C) 2010-2024 by Oliver Hahn +// +// monofonIC is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// monofonIC is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . #include "random.hh" diff --git a/src/random.hh b/src/random.hh index 9f5df91..8bf7963 100644 --- a/src/random.hh +++ b/src/random.hh @@ -1,12 +1,19 @@ -/* - - random.hh - This file is part of MUSIC - - a code to generate multi-scale initial conditions - for cosmological simulations - - Copyright (C) 2010-23 by Oliver Hahn - -*/ +// This file is part of MUSIC +// A software package to generate ICs for cosmological simulations +// Copyright (C) 2010-2024 by Oliver Hahn +// +// monofonIC is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// monofonIC is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . //... for testing purposes............. // #define DEGRADE_RAND1 diff --git a/src/region_generator.cc b/src/region_generator.cc index 196a6a6..d0c054f 100644 --- a/src/region_generator.cc +++ b/src/region_generator.cc @@ -1,3 +1,21 @@ +// This file is part of MUSIC +// A software package to generate ICs for cosmological simulations +// Copyright (C) 2010-2024 by Oliver Hahn +// +// monofonIC is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// monofonIC is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + + #include #include "region_generator.hh" diff --git a/src/region_generator.hh b/src/region_generator.hh index 9b46634..f7363fd 100644 --- a/src/region_generator.hh +++ b/src/region_generator.hh @@ -1,3 +1,20 @@ +// This file is part of MUSIC +// A software package to generate ICs for cosmological simulations +// Copyright (C) 2010-2024 by Oliver Hahn +// +// monofonIC is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// monofonIC is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + #ifndef __REGION_GENERATOR_HH #define __REGION_GENERATOR_HH diff --git a/src/schemes.hh b/src/schemes.hh index 900118a..27d2700 100644 --- a/src/schemes.hh +++ b/src/schemes.hh @@ -1,11 +1,19 @@ -/* - * schemes.hh - * GravitySolver - * - * Created by Oliver Hahn on 2/1/10. - * Copyright 2010 KIPAC/Stanford University. All rights reserved. - * - */ +// This file is part of MUSIC +// A software package to generate ICs for cosmological simulations +// Copyright (C) 2010-2024 by Oliver Hahn +// +// monofonIC is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// monofonIC is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . #ifndef __SCHEME_HH #define __SCHEME_HH diff --git a/src/solver.hh b/src/solver.hh index 51d506b..ec23f45 100644 --- a/src/solver.hh +++ b/src/solver.hh @@ -1,11 +1,19 @@ -/* - * solver.h - * GravitySolver - * - * Created by Oliver Hahn on 1/20/10. - * Copyright 2010 KIPAC/Stanford University. All rights reserved. - * - */ +// This file is part of MUSIC +// A software package to generate ICs for cosmological simulations +// Copyright (C) 2010-2024 by Oliver Hahn +// +// monofonIC is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// monofonIC is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . #pragma once diff --git a/src/system_stat.hh b/src/system_stat.hh index 1a30566..9df25cb 100644 --- a/src/system_stat.hh +++ b/src/system_stat.hh @@ -1,19 +1,20 @@ -// This file is part of MUSIC2 +// This file is part of MUSIC // A software package to generate ICs for cosmological simulations -// Copyright (C) 2020-23 by Oliver Hahn +// Copyright (C) 2010-2024 by Oliver Hahn // -// MUSIC2 is free software: you can redistribute it and/or modify +// monofonIC is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // -// MUSIC2 is distributed in the hope that it will be useful, +// monofonIC is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License // along with this program. If not, see . + #pragma once #ifdef __APPLE__ diff --git a/src/tests.hh b/src/tests.hh index 565b533..5eee6aa 100644 --- a/src/tests.hh +++ b/src/tests.hh @@ -1,13 +1,19 @@ -/* - - tests.hh - This file is part of MUSIC - - a code to generate multi-scale initial conditions - for cosmological simulations - - Copyright (C) 2010 Oliver Hahn - -*/ - +// This file is part of MUSIC +// A software package to generate ICs for cosmological simulations +// Copyright (C) 2010-2024 by Oliver Hahn +// +// monofonIC is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// monofonIC is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . #ifndef __TESTS_HH #define __TESTS_HH diff --git a/src/transfer_function.cc b/src/transfer_function.cc index 84fd0a1..4d45504 100644 --- a/src/transfer_function.cc +++ b/src/transfer_function.cc @@ -1,12 +1,19 @@ -/* - - transfer_function.cc - This file is part of MUSIC - - a code to generate multi-scale initial conditions - for cosmological simulations - - Copyright (C) 2010 Oliver Hahn - -*/ +// This file is part of MUSIC +// A software package to generate ICs for cosmological simulations +// Copyright (C) 2010-2024 by Oliver Hahn +// +// monofonIC is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// monofonIC is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . #include "transfer_function.hh" diff --git a/src/transfer_function.hh b/src/transfer_function.hh index 0513557..2e4efaf 100644 --- a/src/transfer_function.hh +++ b/src/transfer_function.hh @@ -1,12 +1,20 @@ -/* +// This file is part of MUSIC +// A software package to generate ICs for cosmological simulations +// Copyright (C) 2010-2024 by Oliver Hahn +// +// monofonIC is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// monofonIC is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . - transfer_function.hh - This file is part of MUSIC - - a code to generate multi-scale initial conditions - for cosmological simulations - - Copyright (C) 2010 Oliver Hahn - -*/ #pragma once #include