From 48c4f240c6c01dbaa4d9ed8522fcb410d6b56cf6 Mon Sep 17 00:00:00 2001
From: Giovanni La Mura <giovanni.lamura@inaf.it>
Date: Fri, 21 Jun 2024 18:37:20 +0200
Subject: [PATCH] Switch to GNU GPLv3 all header files

---
 src/include/Commons.h          | 27 ++++++++++++++-------------
 src/include/Configuration.h    | 25 +++++++++++++------------
 src/include/TransitionMatrix.h | 25 +++++++++++++------------
 src/include/algebraic.h        | 25 +++++++++++++------------
 src/include/clu_subs.h         | 25 +++++++++++++------------
 src/include/lapack_calls.h     | 25 +++++++++++++------------
 src/include/logging.h          | 25 +++++++++++++------------
 src/include/magma_calls.h      | 25 +++++++++++++------------
 src/include/sph_subs.h         | 25 +++++++++++++------------
 src/include/tfrfme.h           | 27 ++++++++++++++-------------
 src/include/tra_subs.h         | 27 ++++++++++++++-------------
 src/include/types.h            | 25 +++++++++++++------------
 12 files changed, 159 insertions(+), 147 deletions(-)

diff --git a/src/include/Commons.h b/src/include/Commons.h
index 7e4d2520..8d49d06f 100644
--- a/src/include/Commons.h
+++ b/src/include/Commons.h
@@ -1,16 +1,17 @@
-/* Copyright 2024 INAF - Osservatorio Astronomico di Cagliari
-
-   Licensed under the Apache License, Version 2.0 (the "License");
-   you may not use this file except in compliance with the License.
-   You may obtain a copy of the License at
-
-       http://www.apache.org/licenses/LICENSE-2.0
-
-   Unless required by applicable law or agreed to in writing, software
-   distributed under the License is distributed on an "AS IS" BASIS,
-   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-   See the License for the specific language governing permissions and
-   limitations under the License.
+/* Copyright (C) 2024   INAF - Osservatorio Astronomico di Cagliari
+
+   This program 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.
+   
+   This program 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.
+   
+   A copy of the GNU General Public License is distributed along with
+   this program in the COPYING file. If not, see: <https://www.gnu.org/licenses/>.
  */
 
 /*! \file Commons.h
diff --git a/src/include/Configuration.h b/src/include/Configuration.h
index 6ac94179..f51e8529 100644
--- a/src/include/Configuration.h
+++ b/src/include/Configuration.h
@@ -1,16 +1,17 @@
-/* Copyright 2024 INAF - Osservatorio Astronomico di Cagliari
+/* Copyright (C) 2024   INAF - Osservatorio Astronomico di Cagliari
 
-   Licensed under the Apache License, Version 2.0 (the "License");
-   you may not use this file except in compliance with the License.
-   You may obtain a copy of the License at
-
-       http://www.apache.org/licenses/LICENSE-2.0
-
-   Unless required by applicable law or agreed to in writing, software
-   distributed under the License is distributed on an "AS IS" BASIS,
-   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-   See the License for the specific language governing permissions and
-   limitations under the License.
+   This program 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.
+   
+   This program 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.
+   
+   A copy of the GNU General Public License is distributed along with
+   this program in the COPYING file. If not, see: <https://www.gnu.org/licenses/>.
  */
 
 /*! \file Configuration.h
diff --git a/src/include/TransitionMatrix.h b/src/include/TransitionMatrix.h
index b5a093bb..a0be4c77 100644
--- a/src/include/TransitionMatrix.h
+++ b/src/include/TransitionMatrix.h
@@ -1,16 +1,17 @@
-/* Copyright 2024 INAF - Osservatorio Astronomico di Cagliari
+/* Copyright (C) 2024   INAF - Osservatorio Astronomico di Cagliari
 
-   Licensed under the Apache License, Version 2.0 (the "License");
-   you may not use this file except in compliance with the License.
-   You may obtain a copy of the License at
-
-       http://www.apache.org/licenses/LICENSE-2.0
-
-   Unless required by applicable law or agreed to in writing, software
-   distributed under the License is distributed on an "AS IS" BASIS,
-   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-   See the License for the specific language governing permissions and
-   limitations under the License.
+   This program 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.
+   
+   This program 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.
+   
+   A copy of the GNU General Public License is distributed along with
+   this program in the COPYING file. If not, see: <https://www.gnu.org/licenses/>.
  */
 
 /*! \file TransitionMatrix.h
diff --git a/src/include/algebraic.h b/src/include/algebraic.h
index fe06bbaf..accdf818 100644
--- a/src/include/algebraic.h
+++ b/src/include/algebraic.h
@@ -1,16 +1,17 @@
-/* Copyright 2024 INAF - Osservatorio Astronomico di Cagliari
+/* Copyright (C) 2024   INAF - Osservatorio Astronomico di Cagliari
 
-   Licensed under the Apache License, Version 2.0 (the "License");
-   you may not use this file except in compliance with the License.
-   You may obtain a copy of the License at
-
-       http://www.apache.org/licenses/LICENSE-2.0
-
-   Unless required by applicable law or agreed to in writing, software
-   distributed under the License is distributed on an "AS IS" BASIS,
-   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-   See the License for the specific language governing permissions and
-   limitations under the License.
+   This program 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.
+   
+   This program 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.
+   
+   A copy of the GNU General Public License is distributed along with
+   this program in the COPYING file. If not, see: <https://www.gnu.org/licenses/>.
  */
 
 /*! \file algebraic.h
diff --git a/src/include/clu_subs.h b/src/include/clu_subs.h
index 3a94928f..295eed61 100644
--- a/src/include/clu_subs.h
+++ b/src/include/clu_subs.h
@@ -1,16 +1,17 @@
-/* Copyright 2024 INAF - Osservatorio Astronomico di Cagliari
+/* Copyright (C) 2024   INAF - Osservatorio Astronomico di Cagliari
 
-   Licensed under the Apache License, Version 2.0 (the "License");
-   you may not use this file except in compliance with the License.
-   You may obtain a copy of the License at
-
-       http://www.apache.org/licenses/LICENSE-2.0
-
-   Unless required by applicable law or agreed to in writing, software
-   distributed under the License is distributed on an "AS IS" BASIS,
-   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-   See the License for the specific language governing permissions and
-   limitations under the License.
+   This program 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.
+   
+   This program 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.
+   
+   A copy of the GNU General Public License is distributed along with
+   this program in the COPYING file. If not, see: <https://www.gnu.org/licenses/>.
  */
 
 /*! \file clu_subs.h
diff --git a/src/include/lapack_calls.h b/src/include/lapack_calls.h
index 0abfd747..e90aacf3 100644
--- a/src/include/lapack_calls.h
+++ b/src/include/lapack_calls.h
@@ -1,16 +1,17 @@
-/* Copyright 2024 INAF - Osservatorio Astronomico di Cagliari
+/* Copyright (C) 2024   INAF - Osservatorio Astronomico di Cagliari
 
-   Licensed under the Apache License, Version 2.0 (the "License");
-   you may not use this file except in compliance with the License.
-   You may obtain a copy of the License at
-
-       http://www.apache.org/licenses/LICENSE-2.0
-
-   Unless required by applicable law or agreed to in writing, software
-   distributed under the License is distributed on an "AS IS" BASIS,
-   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-   See the License for the specific language governing permissions and
-   limitations under the License.
+   This program 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.
+   
+   This program 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.
+   
+   A copy of the GNU General Public License is distributed along with
+   this program in the COPYING file. If not, see: <https://www.gnu.org/licenses/>.
  */
 
 /*! \file lapack_calls.h
diff --git a/src/include/logging.h b/src/include/logging.h
index 31a89025..e58522a1 100644
--- a/src/include/logging.h
+++ b/src/include/logging.h
@@ -1,16 +1,17 @@
-/* Copyright 2024 INAF - Osservatorio Astronomico di Cagliari
+/* Copyright (C) 2024   INAF - Osservatorio Astronomico di Cagliari
 
-   Licensed under the Apache License, Version 2.0 (the "License");
-   you may not use this file except in compliance with the License.
-   You may obtain a copy of the License at
-
-       http://www.apache.org/licenses/LICENSE-2.0
-
-   Unless required by applicable law or agreed to in writing, software
-   distributed under the License is distributed on an "AS IS" BASIS,
-   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-   See the License for the specific language governing permissions and
-   limitations under the License.
+   This program 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.
+   
+   This program 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.
+   
+   A copy of the GNU General Public License is distributed along with
+   this program in the COPYING file. If not, see: <https://www.gnu.org/licenses/>.
  */
 
 /*! \file logging.h
diff --git a/src/include/magma_calls.h b/src/include/magma_calls.h
index 4ee244c5..bf39c3a5 100644
--- a/src/include/magma_calls.h
+++ b/src/include/magma_calls.h
@@ -1,16 +1,17 @@
-/* Copyright 2004 INAF - Osservatorio Astronomico di Cagliari
+/* Copyright (C) 2024   INAF - Osservatorio Astronomico di Cagliari
 
-   Licensed under the Apache License, Version 2.0 (the "License");
-   you may not use this file except in compliance with the License.
-   You may obtain a copy of the License at
-
-       http://www.apache.org/licenses/LICENSE-2.0
-
-   Unless required by applicable law or agreed to in writing, software
-   distributed under the License is distributed on an "AS IS" BASIS,
-   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-   See the License for the specific language governing permissions and
-   limitations under the License.
+   This program 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.
+   
+   This program 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.
+   
+   A copy of the GNU General Public License is distributed along with
+   this program in the COPYING file. If not, see: <https://www.gnu.org/licenses/>.
  */
 
 /*! \file magma_calls.h
diff --git a/src/include/sph_subs.h b/src/include/sph_subs.h
index 4fef0bd5..aafd6f5e 100644
--- a/src/include/sph_subs.h
+++ b/src/include/sph_subs.h
@@ -1,16 +1,17 @@
-/* Copyright 2024 INAF - Osservatorio Astronomico di Cagliari
+/* Copyright (C) 2024   INAF - Osservatorio Astronomico di Cagliari
 
-   Licensed under the Apache License, Version 2.0 (the "License");
-   you may not use this file except in compliance with the License.
-   You may obtain a copy of the License at
-
-       http://www.apache.org/licenses/LICENSE-2.0
-
-   Unless required by applicable law or agreed to in writing, software
-   distributed under the License is distributed on an "AS IS" BASIS,
-   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-   See the License for the specific language governing permissions and
-   limitations under the License.
+   This program 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.
+   
+   This program 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.
+   
+   A copy of the GNU General Public License is distributed along with
+   this program in the COPYING file. If not, see: <https://www.gnu.org/licenses/>.
  */
 
 /*! \file sph_subs.h
diff --git a/src/include/tfrfme.h b/src/include/tfrfme.h
index d6ef0cbf..be6ac562 100644
--- a/src/include/tfrfme.h
+++ b/src/include/tfrfme.h
@@ -1,16 +1,17 @@
-/* Copyright 2024 INAF - Osservatorio Astronomico di Cagliari
-
-   Licensed under the Apache License, Version 2.0 (the "License");
-   you may not use this file except in compliance with the License.
-   You may obtain a copy of the License at
-
-       http://www.apache.org/licenses/LICENSE-2.0
-
-   Unless required by applicable law or agreed to in writing, software
-   distributed under the License is distributed on an "AS IS" BASIS,
-   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-   See the License for the specific language governing permissions and
-   limitations under the License.
+/* Copyright (C) 2024   INAF - Osservatorio Astronomico di Cagliari
+
+   This program 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.
+   
+   This program 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.
+   
+   A copy of the GNU General Public License is distributed along with
+   this program in the COPYING file. If not, see: <https://www.gnu.org/licenses/>.
  */
 
 /*! \file tfrfme.h
diff --git a/src/include/tra_subs.h b/src/include/tra_subs.h
index 132d0fd8..5ac6c1f5 100644
--- a/src/include/tra_subs.h
+++ b/src/include/tra_subs.h
@@ -1,16 +1,17 @@
-/* Copyright 2024 INAF - Osservatorio Astronomico di Cagliari
-
-   Licensed under the Apache License, Version 2.0 (the "License");
-   you may not use this file except in compliance with the License.
-   You may obtain a copy of the License at
-
-       http://www.apache.org/licenses/LICENSE-2.0
-
-   Unless required by applicable law or agreed to in writing, software
-   distributed under the License is distributed on an "AS IS" BASIS,
-   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-   See the License for the specific language governing permissions and
-   limitations under the License.
+/* Copyright (C) 2024   INAF - Osservatorio Astronomico di Cagliari
+
+   This program 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.
+   
+   This program 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.
+   
+   A copy of the GNU General Public License is distributed along with
+   this program in the COPYING file. If not, see: <https://www.gnu.org/licenses/>.
  */
 
 /*! \file tra_subs.h
diff --git a/src/include/types.h b/src/include/types.h
index 0ac02c19..93a1bfea 100644
--- a/src/include/types.h
+++ b/src/include/types.h
@@ -1,16 +1,17 @@
-/* Copyright 2024 INAF - Osservatorio Astronomico di Cagliari
+/* Copyright (C) 2024   INAF - Osservatorio Astronomico di Cagliari
 
-   Licensed under the Apache License, Version 2.0 (the "License");
-   you may not use this file except in compliance with the License.
-   You may obtain a copy of the License at
-
-       http://www.apache.org/licenses/LICENSE-2.0
-
-   Unless required by applicable law or agreed to in writing, software
-   distributed under the License is distributed on an "AS IS" BASIS,
-   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-   See the License for the specific language governing permissions and
-   limitations under the License.
+   This program 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.
+   
+   This program 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.
+   
+   A copy of the GNU General Public License is distributed along with
+   this program in the COPYING file. If not, see: <https://www.gnu.org/licenses/>.
  */
 
 /*! \file types.h
-- 
GitLab