From 287269a571817b7406e7d2dab01ae7b7fb6c996b Mon Sep 17 00:00:00 2001
From: Giovanni La Mura <giovanni.lamura@inaf.it>
Date: Sat, 11 May 2024 18:01:21 +0200
Subject: [PATCH] Update license information in source code files

---
 src/cluster/cluster.cpp          | 17 +++++++++++++++--
 src/cluster/np_cluster.cpp       | 15 ++++++++++++++-
 src/libnptm/Commons.cpp          | 15 ++++++++++++++-
 src/libnptm/Configuration.cpp    | 15 ++++++++++++++-
 src/libnptm/TransitionMatrix.cpp | 15 ++++++++++++++-
 src/libnptm/algebraic.cpp        | 15 ++++++++++++++-
 src/libnptm/clu_subs.cpp         | 15 ++++++++++++++-
 src/libnptm/lapack_calls.cpp     | 15 ++++++++++++++-
 src/libnptm/logging.cpp          | 15 ++++++++++++++-
 src/libnptm/sph_subs.cpp         | 15 ++++++++++++++-
 src/libnptm/tfrfme.cpp           | 15 ++++++++++++++-
 src/libnptm/tra_subs.cpp         | 15 ++++++++++++++-
 src/libnptm/types.cpp            | 15 ++++++++++++++-
 src/sphere/np_sphere.cpp         | 15 ++++++++++++++-
 src/sphere/sphere.cpp            | 15 ++++++++++++++-
 src/testing/test_TEDF.cpp        | 15 ++++++++++++++-
 src/testing/test_TTMS.cpp        | 15 ++++++++++++++-
 src/trapping/cfrfme.cpp          | 15 ++++++++++++++-
 src/trapping/clffft.cpp          | 15 ++++++++++++++-
 19 files changed, 267 insertions(+), 20 deletions(-)

diff --git a/src/cluster/cluster.cpp b/src/cluster/cluster.cpp
index 8429523f..a24d9503 100644
--- a/src/cluster/cluster.cpp
+++ b/src/cluster/cluster.cpp
@@ -1,6 +1,19 @@
-/* Distributed under the terms of GPLv3 or later. See COPYING for details. */
+/* Copyright 2024 INAF - Osservatorio Astronomico di Cagliari
 
-/*! \file cluster.cp
+   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.
+ */
+
+/*! \file cluster.cpp
  *
  * \brief Implementation of the calculation for a cluster of spheres.
  */
diff --git a/src/cluster/np_cluster.cpp b/src/cluster/np_cluster.cpp
index f6cac7c2..8b3dab77 100644
--- a/src/cluster/np_cluster.cpp
+++ b/src/cluster/np_cluster.cpp
@@ -1,4 +1,17 @@
-/* Distributed under the terms of GPLv3 or later. See COPYING for details. */
+/* 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.
+ */
 
 /*! \file np_cluster.cpp
  *
diff --git a/src/libnptm/Commons.cpp b/src/libnptm/Commons.cpp
index 694854ec..f6a1c46a 100644
--- a/src/libnptm/Commons.cpp
+++ b/src/libnptm/Commons.cpp
@@ -1,4 +1,17 @@
-/* Distributed under the terms of GPLv3 or later. See COPYING for details. */
+/* 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.
+ */
 
 /*! \file Commons.cpp
  *
diff --git a/src/libnptm/Configuration.cpp b/src/libnptm/Configuration.cpp
index 79968b97..3aaa1bb4 100644
--- a/src/libnptm/Configuration.cpp
+++ b/src/libnptm/Configuration.cpp
@@ -1,4 +1,17 @@
-/* Distributed under the terms of GPLv3 or later. See COPYING for details. */
+/* 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.
+ */
 
 /*! \file Configuration.cpp
  *
diff --git a/src/libnptm/TransitionMatrix.cpp b/src/libnptm/TransitionMatrix.cpp
index cb383e9f..12d0671d 100644
--- a/src/libnptm/TransitionMatrix.cpp
+++ b/src/libnptm/TransitionMatrix.cpp
@@ -1,4 +1,17 @@
-/* Distributed under the terms of GPLv3 or later. See COPYING for details. */
+/* 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.
+ */
 
 /*! \file TransitionMatrix.cpp
  *
diff --git a/src/libnptm/algebraic.cpp b/src/libnptm/algebraic.cpp
index 8811abca..63709176 100644
--- a/src/libnptm/algebraic.cpp
+++ b/src/libnptm/algebraic.cpp
@@ -1,4 +1,17 @@
-/* Distributed under the terms of GPLv3 or later. See COPYING for details. */
+/* 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.
+ */
 
 /*! \file algebraic.cpp
  *
diff --git a/src/libnptm/clu_subs.cpp b/src/libnptm/clu_subs.cpp
index 937ac24d..5a7e3db5 100644
--- a/src/libnptm/clu_subs.cpp
+++ b/src/libnptm/clu_subs.cpp
@@ -1,4 +1,17 @@
-/* Distributed under the terms of GPLv3 or later. See COPYING for details. */
+/* 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.
+ */
 
 /*! \file clu_subs.cpp
  *
diff --git a/src/libnptm/lapack_calls.cpp b/src/libnptm/lapack_calls.cpp
index 363ba2af..718b1ecb 100644
--- a/src/libnptm/lapack_calls.cpp
+++ b/src/libnptm/lapack_calls.cpp
@@ -1,4 +1,17 @@
-/* Distributed under the terms of GPLv3 or later. See COPYING for details. */
+/* 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.
+ */
 
 /*! \file lapack_calls.cpp
  *
diff --git a/src/libnptm/logging.cpp b/src/libnptm/logging.cpp
index cbec2056..7565e913 100644
--- a/src/libnptm/logging.cpp
+++ b/src/libnptm/logging.cpp
@@ -1,4 +1,17 @@
-/* Distributed under the terms of GPLv3 or later. See COPYING for details. */
+/* 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.
+ */
 
 /*! \file logging.cpp
  *
diff --git a/src/libnptm/sph_subs.cpp b/src/libnptm/sph_subs.cpp
index ec130527..208f4bd3 100644
--- a/src/libnptm/sph_subs.cpp
+++ b/src/libnptm/sph_subs.cpp
@@ -1,4 +1,17 @@
-/* Distributed under the terms of GPLv3 or later. See COPYING for details. */
+/* 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.
+ */
 
 /*! \file sph_subs.cpp
  *
diff --git a/src/libnptm/tfrfme.cpp b/src/libnptm/tfrfme.cpp
index 081563e3..b0216522 100644
--- a/src/libnptm/tfrfme.cpp
+++ b/src/libnptm/tfrfme.cpp
@@ -1,4 +1,17 @@
-/* Distributed under the terms of GPLv3 or later. See COPYING for details. */
+/* 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.
+ */
 
 /*! \file tfrfme.cpp
  *
diff --git a/src/libnptm/tra_subs.cpp b/src/libnptm/tra_subs.cpp
index 74b8f1b6..b952d467 100644
--- a/src/libnptm/tra_subs.cpp
+++ b/src/libnptm/tra_subs.cpp
@@ -1,4 +1,17 @@
-/* Distributed under the terms of GPLv3 or later. See COPYING for details. */
+/* 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.
+ */
 
 /*! \file tra_subs.cpp
  *
diff --git a/src/libnptm/types.cpp b/src/libnptm/types.cpp
index a9fd71be..2f17bc96 100644
--- a/src/libnptm/types.cpp
+++ b/src/libnptm/types.cpp
@@ -1,4 +1,17 @@
-/* Distributed under the terms of GPLv3 or later. See COPYING for details. */
+/* 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.
+ */
 
 /*! \file types.cpp
  *
diff --git a/src/sphere/np_sphere.cpp b/src/sphere/np_sphere.cpp
index afb3fdbd..506931cc 100644
--- a/src/sphere/np_sphere.cpp
+++ b/src/sphere/np_sphere.cpp
@@ -1,4 +1,17 @@
-/* Distributed under the terms of GPLv3 or later. See COPYING for details. */
+/* 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.
+ */
 
 /*! \file np_sphere.cpp
  *
diff --git a/src/sphere/sphere.cpp b/src/sphere/sphere.cpp
index 2c0dd6fd..c7f6b11f 100644
--- a/src/sphere/sphere.cpp
+++ b/src/sphere/sphere.cpp
@@ -1,4 +1,17 @@
-/* Distributed under the terms of GPLv3 or later. See COPYING for details. */
+/* 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.
+ */
 
 /*! \file sphere.cpp
  *
diff --git a/src/testing/test_TEDF.cpp b/src/testing/test_TEDF.cpp
index b790afd9..11ba3f55 100644
--- a/src/testing/test_TEDF.cpp
+++ b/src/testing/test_TEDF.cpp
@@ -1,4 +1,17 @@
-/* Distributed under the terms of GPLv3 or later. See COPYING for details. */
+/* 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.
+ */
 
 //! \file test_TEDF.cpp
 
diff --git a/src/testing/test_TTMS.cpp b/src/testing/test_TTMS.cpp
index 77b8d7c2..1ed1615d 100644
--- a/src/testing/test_TTMS.cpp
+++ b/src/testing/test_TTMS.cpp
@@ -1,4 +1,17 @@
-/* Distributed under the terms of GPLv3 or later. See COPYING for details. */
+/* 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.
+ */
 
 //! \file test_TTMS.cpp
 
diff --git a/src/trapping/cfrfme.cpp b/src/trapping/cfrfme.cpp
index eb26b6c0..d67d464d 100644
--- a/src/trapping/cfrfme.cpp
+++ b/src/trapping/cfrfme.cpp
@@ -1,4 +1,17 @@
-/* Distributed under the terms of GPLv3 or later. See COPYING for details. */
+/* 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.
+ */
 
 /*! \file cfrfme.cpp
  *
diff --git a/src/trapping/clffft.cpp b/src/trapping/clffft.cpp
index 4107563a..0fe64aec 100644
--- a/src/trapping/clffft.cpp
+++ b/src/trapping/clffft.cpp
@@ -1,4 +1,17 @@
-/* Distributed under the terms of GPLv3 or later. See COPYING for details. */
+/* 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.
+ */
 
 /*! \file clffft.cpp
  *
-- 
GitLab