From aa62c706a779f6ef8d571affe8e85992b01f4e8a Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Wed, 21 Feb 2024 02:17:08 -0600 Subject: [PATCH] Update license header: ./contrib --- contrib/git-hooks/pre-commit | 15 +++++------ contrib/python-bindings/CMakeLists.txt | 15 +++++------ .../include/cell_accessor_wrapper.h | 15 +++++------ .../include/function_wrapper.h | 15 +++++------ .../include/manifold_wrapper.h | 15 +++++------ .../python-bindings/include/mapping_wrapper.h | 15 +++++------ .../python-bindings/include/point_wrapper.h | 15 +++++------ .../include/quadrature_wrapper.h | 15 +++++------ .../include/reference_cell_wrapper.h | 15 +++++------ .../include/tria_accessor_wrapper.h | 15 +++++------ .../include/triangulation_wrapper.h | 15 +++++------ contrib/python-bindings/source/CMakeLists.txt | 15 +++++------ contrib/python-bindings/source/__init__.py | 27 +++++++++---------- .../source/cell_accessor_wrapper.cc | 15 +++++------ .../source/export_cell_accessor.cc | 15 +++++------ .../python-bindings/source/export_manifold.cc | 15 +++++------ .../python-bindings/source/export_mapping.cc | 15 +++++------ .../python-bindings/source/export_point.cc | 15 +++++------ .../source/export_quadrature.cc | 15 +++++------ .../source/export_tria_accessor.cc | 15 +++++------ .../source/export_triangulation.cc | 15 +++++------ .../source/manifold_wrapper.cc | 15 +++++------ .../python-bindings/source/mapping_wrapper.cc | 15 +++++------ .../python-bindings/source/point_wrapper.cc | 15 +++++------ .../source/quadrature_wrapper.cc | 15 +++++------ .../source/reference_cell_wrapper.cc | 15 +++++------ .../source/tria_accessor_wrapper.cc | 15 +++++------ .../source/triangulation_wrapper.cc | 15 +++++------ contrib/python-bindings/source/wrappers.cc | 15 +++++------ contrib/python-bindings/tests/CMakeLists.txt | 15 +++++------ .../tests/cell_accessor_wrapper.py | 27 +++++++++---------- .../python-bindings/tests/manifold_wrapper.py | 27 +++++++++---------- .../python-bindings/tests/mapping_wrapper.py | 27 +++++++++---------- .../python-bindings/tests/point_wrapper.py | 27 +++++++++---------- .../tests/quadrature_wrapper.py | 27 +++++++++---------- .../tests/triangulation_wrapper.py | 27 +++++++++---------- contrib/utilities/CMakeLists.txt | 15 +++++------ contrib/utilities/check_encoding.py | 15 +++++------ contrib/utilities/check_indentation.sh | 15 +++++------ contrib/utilities/compile_clang_format | 15 +++++------ contrib/utilities/count_lines.sh | 15 +++++------ contrib/utilities/dotgdbinit.py | 27 +++++++++---------- contrib/utilities/double_word_typos.py | 27 +++++++++---------- contrib/utilities/download_clang_format | 15 +++++------ contrib/utilities/download_codecov | 15 +++++------ contrib/utilities/fe_table.pl | 15 +++++------ contrib/utilities/generate_lapack_templates | 18 ++++++------- contrib/utilities/indent | 15 +++++------ contrib/utilities/indent-all | 15 +++++------ contrib/utilities/indent.py | 15 +++++------ contrib/utilities/indent_common.sh | 15 +++++------ contrib/utilities/lowercase_cmake | 17 ++++++------ contrib/utilities/makeofflinedoc.sh | 15 +++++------ contrib/utilities/parse_ctest_output.py | 15 +++++------ contrib/utilities/print_deprecated.py | 15 +++++------ contrib/utilities/query_testsuite | 15 +++++------ contrib/utilities/relocate_libraries.py | 15 +++++------ contrib/utilities/run_clang_tidy.sh | 15 +++++------ contrib/utilities/update-copyright.sh | 15 +++++------ contrib/utilities/wrapcomments.py | 15 +++++------ 60 files changed, 476 insertions(+), 537 deletions(-) diff --git a/contrib/git-hooks/pre-commit b/contrib/git-hooks/pre-commit index 54c0655016a9..75fd3253a670 100755 --- a/contrib/git-hooks/pre-commit +++ b/contrib/git-hooks/pre-commit @@ -1,18 +1,17 @@ #!/bin/bash -## --------------------------------------------------------------------- +## ------------------------------------------------------------------------ ## +## SPDX-License-Identifier: LGPL-2.1-or-later ## Copyright (C) 2018 by the deal.II authors ## ## This file is part of the deal.II library. ## -## The deal.II library is free software; you can use it, redistribute -## it, and/or modify it under the terms of the GNU Lesser General -## Public License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## The full text of the license can be found in the file LICENSE at -## the top level of the deal.II distribution. +## Part of the source code is dual licensed under Apache-2.0 WITH +## LLVM-exception OR LGPL-2.1-or-later. Detailed license information +## governing the source code and code contributions can be found in +## LICENSE.md and CONTRIBUTING.md at the top level directory of deal.II. ## -## --------------------------------------------------------------------- +## ------------------------------------------------------------------------ # # This pre-commit hook checks formatting for each commit. diff --git a/contrib/python-bindings/CMakeLists.txt b/contrib/python-bindings/CMakeLists.txt index 997308de0161..fd05a29f81ff 100644 --- a/contrib/python-bindings/CMakeLists.txt +++ b/contrib/python-bindings/CMakeLists.txt @@ -1,17 +1,16 @@ -## --------------------------------------------------------------------- +## ------------------------------------------------------------------------ ## +## SPDX-License-Identifier: LGPL-2.1-or-later ## Copyright (C) 2016 - 2023 by the deal.II authors ## ## This file is part of the deal.II library. ## -## The deal.II library is free software; you can use it, redistribute -## it, and/or modify it under the terms of the GNU Lesser General -## Public License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## The full text of the license can be found in the file LICENSE.md at -## the top level directory of deal.II. +## Part of the source code is dual licensed under Apache-2.0 WITH +## LLVM-exception OR LGPL-2.1-or-later. Detailed license information +## governing the source code and code contributions can be found in +## LICENSE.md and CONTRIBUTING.md at the top level directory of deal.II. ## -## --------------------------------------------------------------------- +## ------------------------------------------------------------------------ if(DEAL_II_COMPONENT_PYTHON_BINDINGS) diff --git a/contrib/python-bindings/include/cell_accessor_wrapper.h b/contrib/python-bindings/include/cell_accessor_wrapper.h index ff96ee73bc1e..f5c36e9e2541 100644 --- a/contrib/python-bindings/include/cell_accessor_wrapper.h +++ b/contrib/python-bindings/include/cell_accessor_wrapper.h @@ -1,17 +1,16 @@ -// --------------------------------------------------------------------- +// ------------------------------------------------------------------------ // +// SPDX-License-Identifier: LGPL-2.1-or-later // Copyright (C) 2016 - 2021 by the deal.II authors // // This file is part of the deal.II library. // -// The deal.II library is free software; you can use it, redistribute -// it, and/or modify it under the terms of the GNU Lesser General -// Public License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// The full text of the license can be found in the file LICENSE.md at -// the top level directory of deal.II. +// Part of the source code is dual licensed under Apache-2.0 WITH +// LLVM-exception OR LGPL-2.1-or-later. Detailed license information +// governing the source code and code contributions can be found in +// LICENSE.md and CONTRIBUTING.md at the top level directory of deal.II. // -// --------------------------------------------------------------------- +// ------------------------------------------------------------------------ #ifndef dealii_cell_accessor_wrapper_h #define dealii_cell_accessor_wrapper_h diff --git a/contrib/python-bindings/include/function_wrapper.h b/contrib/python-bindings/include/function_wrapper.h index 5fb1a1d090e2..5222e5096028 100644 --- a/contrib/python-bindings/include/function_wrapper.h +++ b/contrib/python-bindings/include/function_wrapper.h @@ -1,17 +1,16 @@ -// --------------------------------------------------------------------- +// ------------------------------------------------------------------------ // +// SPDX-License-Identifier: LGPL-2.1-or-later // Copyright (C) 2020 by the deal.II authors // // This file is part of the deal.II library. // -// The deal.II library is free software; you can use it, redistribute -// it, and/or modify it under the terms of the GNU Lesser General -// Public License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// The full text of the license can be found in the file LICENSE.md at -// the top level directory of deal.II. +// Part of the source code is dual licensed under Apache-2.0 WITH +// LLVM-exception OR LGPL-2.1-or-later. Detailed license information +// governing the source code and code contributions can be found in +// LICENSE.md and CONTRIBUTING.md at the top level directory of deal.II. // -// --------------------------------------------------------------------- +// ------------------------------------------------------------------------ #ifndef dealii_function_wrapper_h #define dealii_function_wrapper_h diff --git a/contrib/python-bindings/include/manifold_wrapper.h b/contrib/python-bindings/include/manifold_wrapper.h index 8cbc3d624c1b..1f73aaa2e473 100644 --- a/contrib/python-bindings/include/manifold_wrapper.h +++ b/contrib/python-bindings/include/manifold_wrapper.h @@ -1,17 +1,16 @@ -// --------------------------------------------------------------------- +// ------------------------------------------------------------------------ // +// SPDX-License-Identifier: LGPL-2.1-or-later // Copyright (C) 2016 - 2020 by the deal.II authors // // This file is part of the deal.II library. // -// The deal.II library is free software; you can use it, redistribute -// it, and/or modify it under the terms of the GNU Lesser General -// Public License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// The full text of the license can be found in the file LICENSE.md at -// the top level directory of deal.II. +// Part of the source code is dual licensed under Apache-2.0 WITH +// LLVM-exception OR LGPL-2.1-or-later. Detailed license information +// governing the source code and code contributions can be found in +// LICENSE.md and CONTRIBUTING.md at the top level directory of deal.II. // -// --------------------------------------------------------------------- +// ------------------------------------------------------------------------ #ifndef dealii_manifold_wrapper_h #define dealii_manifold_wrapper_h diff --git a/contrib/python-bindings/include/mapping_wrapper.h b/contrib/python-bindings/include/mapping_wrapper.h index d377a6e4dced..f7c3fdf4038e 100644 --- a/contrib/python-bindings/include/mapping_wrapper.h +++ b/contrib/python-bindings/include/mapping_wrapper.h @@ -1,17 +1,16 @@ -// --------------------------------------------------------------------- +// ------------------------------------------------------------------------ // +// SPDX-License-Identifier: LGPL-2.1-or-later // Copyright (C) 2016 - 2023 by the deal.II authors // // This file is part of the deal.II library. // -// The deal.II library is free software; you can use it, redistribute -// it, and/or modify it under the terms of the GNU Lesser General -// Public License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// The full text of the license can be found in the file LICENSE.md at -// the top level directory of deal.II. +// Part of the source code is dual licensed under Apache-2.0 WITH +// LLVM-exception OR LGPL-2.1-or-later. Detailed license information +// governing the source code and code contributions can be found in +// LICENSE.md and CONTRIBUTING.md at the top level directory of deal.II. // -// --------------------------------------------------------------------- +// ------------------------------------------------------------------------ #ifndef dealii_mapping_wrapper_h #define dealii_mapping_wrapper_h diff --git a/contrib/python-bindings/include/point_wrapper.h b/contrib/python-bindings/include/point_wrapper.h index 8c0f38c681dc..a135e625ecbf 100644 --- a/contrib/python-bindings/include/point_wrapper.h +++ b/contrib/python-bindings/include/point_wrapper.h @@ -1,17 +1,16 @@ -// --------------------------------------------------------------------- +// ------------------------------------------------------------------------ // +// SPDX-License-Identifier: LGPL-2.1-or-later // Copyright (C) 2016 - 2021 by the deal.II authors // // This file is part of the deal.II library. // -// The deal.II library is free software; you can use it, redistribute -// it, and/or modify it under the terms of the GNU Lesser General -// Public License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// The full text of the license can be found in the file LICENSE.md at -// the top level directory of deal.II. +// Part of the source code is dual licensed under Apache-2.0 WITH +// LLVM-exception OR LGPL-2.1-or-later. Detailed license information +// governing the source code and code contributions can be found in +// LICENSE.md and CONTRIBUTING.md at the top level directory of deal.II. // -// --------------------------------------------------------------------- +// ------------------------------------------------------------------------ #ifndef dealii_point_wrapper_h #define dealii_point_wrapper_h diff --git a/contrib/python-bindings/include/quadrature_wrapper.h b/contrib/python-bindings/include/quadrature_wrapper.h index 874cc388539b..a6fc9d705622 100644 --- a/contrib/python-bindings/include/quadrature_wrapper.h +++ b/contrib/python-bindings/include/quadrature_wrapper.h @@ -1,17 +1,16 @@ -// --------------------------------------------------------------------- +// ------------------------------------------------------------------------ // +// SPDX-License-Identifier: LGPL-2.1-or-later // Copyright (C) 2016 - 2020 by the deal.II authors // // This file is part of the deal.II library. // -// The deal.II library is free software; you can use it, redistribute -// it, and/or modify it under the terms of the GNU Lesser General -// Public License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// The full text of the license can be found in the file LICENSE.md at -// the top level directory of deal.II. +// Part of the source code is dual licensed under Apache-2.0 WITH +// LLVM-exception OR LGPL-2.1-or-later. Detailed license information +// governing the source code and code contributions can be found in +// LICENSE.md and CONTRIBUTING.md at the top level directory of deal.II. // -// --------------------------------------------------------------------- +// ------------------------------------------------------------------------ #ifndef dealii_quadrature_wrapper_h #define dealii_quadrature_wrapper_h diff --git a/contrib/python-bindings/include/reference_cell_wrapper.h b/contrib/python-bindings/include/reference_cell_wrapper.h index aa4c20c9e2c7..9bc99589dbc9 100644 --- a/contrib/python-bindings/include/reference_cell_wrapper.h +++ b/contrib/python-bindings/include/reference_cell_wrapper.h @@ -1,17 +1,16 @@ -// --------------------------------------------------------------------- +// ------------------------------------------------------------------------ // +// SPDX-License-Identifier: LGPL-2.1-or-later // Copyright (C) 2021 by the deal.II authors // // This file is part of the deal.II library. // -// The deal.II library is free software; you can use it, redistribute -// it, and/or modify it under the terms of the GNU Lesser General -// Public License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// The full text of the license can be found in the file LICENSE.md at -// the top level directory of deal.II. +// Part of the source code is dual licensed under Apache-2.0 WITH +// LLVM-exception OR LGPL-2.1-or-later. Detailed license information +// governing the source code and code contributions can be found in +// LICENSE.md and CONTRIBUTING.md at the top level directory of deal.II. // -// --------------------------------------------------------------------- +// ------------------------------------------------------------------------ #ifndef dealii_reference_cell_wrapper_h #define dealii_reference_cell_wrapper_h diff --git a/contrib/python-bindings/include/tria_accessor_wrapper.h b/contrib/python-bindings/include/tria_accessor_wrapper.h index d494da80b344..bfbdd7bd0438 100644 --- a/contrib/python-bindings/include/tria_accessor_wrapper.h +++ b/contrib/python-bindings/include/tria_accessor_wrapper.h @@ -1,17 +1,16 @@ -// --------------------------------------------------------------------- +// ------------------------------------------------------------------------ // +// SPDX-License-Identifier: LGPL-2.1-or-later // Copyright (C) 2019 - 2023 by the deal.II authors // // This file is part of the deal.II library. // -// The deal.II library is free software; you can use it, redistribute -// it, and/or modify it under the terms of the GNU Lesser General -// Public License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// The full text of the license can be found in the file LICENSE.md at -// the top level directory of deal.II. +// Part of the source code is dual licensed under Apache-2.0 WITH +// LLVM-exception OR LGPL-2.1-or-later. Detailed license information +// governing the source code and code contributions can be found in +// LICENSE.md and CONTRIBUTING.md at the top level directory of deal.II. // -// --------------------------------------------------------------------- +// ------------------------------------------------------------------------ #ifndef dealii_tria_accessor_wrapper_h #define dealii_tria_accessor_wrapper_h diff --git a/contrib/python-bindings/include/triangulation_wrapper.h b/contrib/python-bindings/include/triangulation_wrapper.h index 658a8553c02a..cfd40a690bda 100644 --- a/contrib/python-bindings/include/triangulation_wrapper.h +++ b/contrib/python-bindings/include/triangulation_wrapper.h @@ -1,17 +1,16 @@ -// --------------------------------------------------------------------- +// ------------------------------------------------------------------------ // +// SPDX-License-Identifier: LGPL-2.1-or-later // Copyright (C) 2016 - 2023 by the deal.II authors // // This file is part of the deal.II library. // -// The deal.II library is free software; you can use it, redistribute -// it, and/or modify it under the terms of the GNU Lesser General -// Public License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// The full text of the license can be found in the file LICENSE.md at -// the top level directory of deal.II. +// Part of the source code is dual licensed under Apache-2.0 WITH +// LLVM-exception OR LGPL-2.1-or-later. Detailed license information +// governing the source code and code contributions can be found in +// LICENSE.md and CONTRIBUTING.md at the top level directory of deal.II. // -// --------------------------------------------------------------------- +// ------------------------------------------------------------------------ #ifndef dealii_triangulation_wrapper_h #define dealii_triangulation_wrapper_h diff --git a/contrib/python-bindings/source/CMakeLists.txt b/contrib/python-bindings/source/CMakeLists.txt index 10c935ed5b71..413402151161 100644 --- a/contrib/python-bindings/source/CMakeLists.txt +++ b/contrib/python-bindings/source/CMakeLists.txt @@ -1,17 +1,16 @@ -## --------------------------------------------------------------------- +## ------------------------------------------------------------------------ ## +## SPDX-License-Identifier: LGPL-2.1-or-later ## Copyright (C) 2016 - 2023 by the deal.II authors ## ## This file is part of the deal.II library. ## -## The deal.II library is free software; you can use it, redistribute -## it, and/or modify it under the terms of the GNU Lesser General -## Public License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## The full text of the license can be found in the file LICENSE.md at -## the top level directory of deal.II. +## Part of the source code is dual licensed under Apache-2.0 WITH +## LLVM-exception OR LGPL-2.1-or-later. Detailed license information +## governing the source code and code contributions can be found in +## LICENSE.md and CONTRIBUTING.md at the top level directory of deal.II. ## -## --------------------------------------------------------------------- +## ------------------------------------------------------------------------ include_directories( ${CMAKE_BINARY_DIR}/include/ diff --git a/contrib/python-bindings/source/__init__.py b/contrib/python-bindings/source/__init__.py index c4c793bbaec6..1b28abb70e9f 100644 --- a/contrib/python-bindings/source/__init__.py +++ b/contrib/python-bindings/source/__init__.py @@ -1,17 +1,16 @@ -# --------------------------------------------------------------------- -# -# Copyright (C) 2016 by the deal.II authors -# -# This file is part of the deal.II library. -# -# The deal.II library is free software; you can use it, redistribute -# it, and/or modify it under the terms of the GNU Lesser General -# Public License as published by the Free Software Foundation; either -# version 2.1 of the License, or (at your option) any later version. -# The full text of the license can be found in the file LICENSE.md at -# the top level directory of deal.II. -# -# --------------------------------------------------------------------- +## ------------------------------------------------------------------------ +## +## SPDX-License-Identifier: LGPL-2.1-or-later +## Copyright (C) 2016 - 2023 by the deal.II authors +## +## This file is part of the deal.II library. +## +## Part of the source code is dual licensed under Apache-2.0 WITH +## LLVM-exception OR LGPL-2.1-or-later. Detailed license information +## governing the source code and code contributions can be found in +## LICENSE.md and CONTRIBUTING.md at the top level directory of deal.II. +## +## ------------------------------------------------------------------------ __doc__ = 'PyDealII is just an empty shell. You need to either\n\ import PyDealII.Debug or PyDealII.Release. Do not\n\ diff --git a/contrib/python-bindings/source/cell_accessor_wrapper.cc b/contrib/python-bindings/source/cell_accessor_wrapper.cc index db46907472e1..14ea0cb0ada6 100644 --- a/contrib/python-bindings/source/cell_accessor_wrapper.cc +++ b/contrib/python-bindings/source/cell_accessor_wrapper.cc @@ -1,17 +1,16 @@ -// --------------------------------------------------------------------- +// ------------------------------------------------------------------------ // +// SPDX-License-Identifier: LGPL-2.1-or-later // Copyright (C) 2016 - 2021 by the deal.II authors // // This file is part of the deal.II library. // -// The deal.II library is free software; you can use it, redistribute -// it, and/or modify it under the terms of the GNU Lesser General -// Public License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// The full text of the license can be found in the file LICENSE.md at -// the top level directory of deal.II. +// Part of the source code is dual licensed under Apache-2.0 WITH +// LLVM-exception OR LGPL-2.1-or-later. Detailed license information +// governing the source code and code contributions can be found in +// LICENSE.md and CONTRIBUTING.md at the top level directory of deal.II. // -// --------------------------------------------------------------------- +// ------------------------------------------------------------------------ #include diff --git a/contrib/python-bindings/source/export_cell_accessor.cc b/contrib/python-bindings/source/export_cell_accessor.cc index dc2ec86aae5f..c77e82f69736 100644 --- a/contrib/python-bindings/source/export_cell_accessor.cc +++ b/contrib/python-bindings/source/export_cell_accessor.cc @@ -1,17 +1,16 @@ -// --------------------------------------------------------------------- +// ------------------------------------------------------------------------ // +// SPDX-License-Identifier: LGPL-2.1-or-later // Copyright (C) 2016 - 2021 by the deal.II authors // // This file is part of the deal.II library. // -// The deal.II library is free software; you can use it, redistribute -// it, and/or modify it under the terms of the GNU Lesser General -// Public License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// The full text of the license can be found in the file LICENSE.md at -// the top level directory of deal.II. +// Part of the source code is dual licensed under Apache-2.0 WITH +// LLVM-exception OR LGPL-2.1-or-later. Detailed license information +// governing the source code and code contributions can be found in +// LICENSE.md and CONTRIBUTING.md at the top level directory of deal.II. // -// --------------------------------------------------------------------- +// ------------------------------------------------------------------------ #include diff --git a/contrib/python-bindings/source/export_manifold.cc b/contrib/python-bindings/source/export_manifold.cc index 4dbde41273ca..f3994b8f1ac3 100644 --- a/contrib/python-bindings/source/export_manifold.cc +++ b/contrib/python-bindings/source/export_manifold.cc @@ -1,17 +1,16 @@ -// --------------------------------------------------------------------- +// ------------------------------------------------------------------------ // +// SPDX-License-Identifier: LGPL-2.1-or-later // Copyright (C) 2016 - 2020 by the deal.II authors // // This file is part of the deal.II library. // -// The deal.II library is free software; you can use it, redistribute -// it, and/or modify it under the terms of the GNU Lesser General -// Public License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// The full text of the license can be found in the file LICENSE.md at -// the top level directory of deal.II. +// Part of the source code is dual licensed under Apache-2.0 WITH +// LLVM-exception OR LGPL-2.1-or-later. Detailed license information +// governing the source code and code contributions can be found in +// LICENSE.md and CONTRIBUTING.md at the top level directory of deal.II. // -// --------------------------------------------------------------------- +// ------------------------------------------------------------------------ #include diff --git a/contrib/python-bindings/source/export_mapping.cc b/contrib/python-bindings/source/export_mapping.cc index efcb70922042..8315208e2973 100644 --- a/contrib/python-bindings/source/export_mapping.cc +++ b/contrib/python-bindings/source/export_mapping.cc @@ -1,17 +1,16 @@ -// --------------------------------------------------------------------- +// ------------------------------------------------------------------------ // +// SPDX-License-Identifier: LGPL-2.1-or-later // Copyright (C) 2016 - 2023 by the deal.II authors // // This file is part of the deal.II library. // -// The deal.II library is free software; you can use it, redistribute -// it, and/or modify it under the terms of the GNU Lesser General -// Public License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// The full text of the license can be found in the file LICENSE.md at -// the top level directory of deal.II. +// Part of the source code is dual licensed under Apache-2.0 WITH +// LLVM-exception OR LGPL-2.1-or-later. Detailed license information +// governing the source code and code contributions can be found in +// LICENSE.md and CONTRIBUTING.md at the top level directory of deal.II. // -// --------------------------------------------------------------------- +// ------------------------------------------------------------------------ #include diff --git a/contrib/python-bindings/source/export_point.cc b/contrib/python-bindings/source/export_point.cc index 78c83ef75631..3b08aef5f2b3 100644 --- a/contrib/python-bindings/source/export_point.cc +++ b/contrib/python-bindings/source/export_point.cc @@ -1,17 +1,16 @@ -// --------------------------------------------------------------------- +// ------------------------------------------------------------------------ // +// SPDX-License-Identifier: LGPL-2.1-or-later // Copyright (C) 2016 - 2020 by the deal.II authors // // This file is part of the deal.II library. // -// The deal.II library is free software; you can use it, redistribute -// it, and/or modify it under the terms of the GNU Lesser General -// Public License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// The full text of the license can be found in the file LICENSE.md at -// the top level directory of deal.II. +// Part of the source code is dual licensed under Apache-2.0 WITH +// LLVM-exception OR LGPL-2.1-or-later. Detailed license information +// governing the source code and code contributions can be found in +// LICENSE.md and CONTRIBUTING.md at the top level directory of deal.II. // -// --------------------------------------------------------------------- +// ------------------------------------------------------------------------ #include #include diff --git a/contrib/python-bindings/source/export_quadrature.cc b/contrib/python-bindings/source/export_quadrature.cc index af6755d8c812..b47eda37d0aa 100644 --- a/contrib/python-bindings/source/export_quadrature.cc +++ b/contrib/python-bindings/source/export_quadrature.cc @@ -1,17 +1,16 @@ -// --------------------------------------------------------------------- +// ------------------------------------------------------------------------ // +// SPDX-License-Identifier: LGPL-2.1-or-later // Copyright (C) 2016 - 2020 by the deal.II authors // // This file is part of the deal.II library. // -// The deal.II library is free software; you can use it, redistribute -// it, and/or modify it under the terms of the GNU Lesser General -// Public License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// The full text of the license can be found in the file LICENSE.md at -// the top level directory of deal.II. +// Part of the source code is dual licensed under Apache-2.0 WITH +// LLVM-exception OR LGPL-2.1-or-later. Detailed license information +// governing the source code and code contributions can be found in +// LICENSE.md and CONTRIBUTING.md at the top level directory of deal.II. // -// --------------------------------------------------------------------- +// ------------------------------------------------------------------------ #include diff --git a/contrib/python-bindings/source/export_tria_accessor.cc b/contrib/python-bindings/source/export_tria_accessor.cc index 675971c6324b..14aa4fde2c02 100644 --- a/contrib/python-bindings/source/export_tria_accessor.cc +++ b/contrib/python-bindings/source/export_tria_accessor.cc @@ -1,17 +1,16 @@ -// --------------------------------------------------------------------- +// ------------------------------------------------------------------------ // +// SPDX-License-Identifier: LGPL-2.1-or-later // Copyright (C) 2016 - 2020 by the deal.II authors // // This file is part of the deal.II library. // -// The deal.II library is free software; you can use it, redistribute -// it, and/or modify it under the terms of the GNU Lesser General -// Public License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// The full text of the license can be found in the file LICENSE.md at -// the top level directory of deal.II. +// Part of the source code is dual licensed under Apache-2.0 WITH +// LLVM-exception OR LGPL-2.1-or-later. Detailed license information +// governing the source code and code contributions can be found in +// LICENSE.md and CONTRIBUTING.md at the top level directory of deal.II. // -// --------------------------------------------------------------------- +// ------------------------------------------------------------------------ #include diff --git a/contrib/python-bindings/source/export_triangulation.cc b/contrib/python-bindings/source/export_triangulation.cc index afb1fe6f8458..298649df79f8 100644 --- a/contrib/python-bindings/source/export_triangulation.cc +++ b/contrib/python-bindings/source/export_triangulation.cc @@ -1,17 +1,16 @@ -// --------------------------------------------------------------------- +// ------------------------------------------------------------------------ // +// SPDX-License-Identifier: LGPL-2.1-or-later // Copyright (C) 2016 - 2023 by the deal.II authors // // This file is part of the deal.II library. // -// The deal.II library is free software; you can use it, redistribute -// it, and/or modify it under the terms of the GNU Lesser General -// Public License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// The full text of the license can be found in the file LICENSE.md at -// the top level directory of deal.II. +// Part of the source code is dual licensed under Apache-2.0 WITH +// LLVM-exception OR LGPL-2.1-or-later. Detailed license information +// governing the source code and code contributions can be found in +// LICENSE.md and CONTRIBUTING.md at the top level directory of deal.II. // -// --------------------------------------------------------------------- +// ------------------------------------------------------------------------ #include diff --git a/contrib/python-bindings/source/manifold_wrapper.cc b/contrib/python-bindings/source/manifold_wrapper.cc index a7cd3f8c6ef6..95938e133680 100644 --- a/contrib/python-bindings/source/manifold_wrapper.cc +++ b/contrib/python-bindings/source/manifold_wrapper.cc @@ -1,17 +1,16 @@ -// --------------------------------------------------------------------- +// ------------------------------------------------------------------------ // +// SPDX-License-Identifier: LGPL-2.1-or-later // Copyright (C) 2016 - 2020 by the deal.II authors // // This file is part of the deal.II library. // -// The deal.II library is free software; you can use it, redistribute -// it, and/or modify it under the terms of the GNU Lesser General -// Public License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// The full text of the license can be found in the file LICENSE.md at -// the top level directory of deal.II. +// Part of the source code is dual licensed under Apache-2.0 WITH +// LLVM-exception OR LGPL-2.1-or-later. Detailed license information +// governing the source code and code contributions can be found in +// LICENSE.md and CONTRIBUTING.md at the top level directory of deal.II. // -// --------------------------------------------------------------------- +// ------------------------------------------------------------------------ #include diff --git a/contrib/python-bindings/source/mapping_wrapper.cc b/contrib/python-bindings/source/mapping_wrapper.cc index 229c2e5ce0c9..ab8d86f7bbfc 100644 --- a/contrib/python-bindings/source/mapping_wrapper.cc +++ b/contrib/python-bindings/source/mapping_wrapper.cc @@ -1,17 +1,16 @@ -// --------------------------------------------------------------------- +// ------------------------------------------------------------------------ // +// SPDX-License-Identifier: LGPL-2.1-or-later // Copyright (C) 2016 - 2023 by the deal.II authors // // This file is part of the deal.II library. // -// The deal.II library is free software; you can use it, redistribute -// it, and/or modify it under the terms of the GNU Lesser General -// Public License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// The full text of the license can be found in the file LICENSE.md at -// the top level directory of deal.II. +// Part of the source code is dual licensed under Apache-2.0 WITH +// LLVM-exception OR LGPL-2.1-or-later. Detailed license information +// governing the source code and code contributions can be found in +// LICENSE.md and CONTRIBUTING.md at the top level directory of deal.II. // -// --------------------------------------------------------------------- +// ------------------------------------------------------------------------ #include #include diff --git a/contrib/python-bindings/source/point_wrapper.cc b/contrib/python-bindings/source/point_wrapper.cc index 870699614f17..89a743e0ecb6 100644 --- a/contrib/python-bindings/source/point_wrapper.cc +++ b/contrib/python-bindings/source/point_wrapper.cc @@ -1,17 +1,16 @@ -// --------------------------------------------------------------------- +// ------------------------------------------------------------------------ // +// SPDX-License-Identifier: LGPL-2.1-or-later // Copyright (C) 2016 - 2021 by the deal.II authors // // This file is part of the deal.II library. // -// The deal.II library is free software; you can use it, redistribute -// it, and/or modify it under the terms of the GNU Lesser General -// Public License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// The full text of the license can be found in the file LICENSE.md at -// the top level directory of deal.II. +// Part of the source code is dual licensed under Apache-2.0 WITH +// LLVM-exception OR LGPL-2.1-or-later. Detailed license information +// governing the source code and code contributions can be found in +// LICENSE.md and CONTRIBUTING.md at the top level directory of deal.II. // -// --------------------------------------------------------------------- +// ------------------------------------------------------------------------ #include diff --git a/contrib/python-bindings/source/quadrature_wrapper.cc b/contrib/python-bindings/source/quadrature_wrapper.cc index 2c0aaa17927c..25acfcb5182e 100644 --- a/contrib/python-bindings/source/quadrature_wrapper.cc +++ b/contrib/python-bindings/source/quadrature_wrapper.cc @@ -1,17 +1,16 @@ -// --------------------------------------------------------------------- +// ------------------------------------------------------------------------ // +// SPDX-License-Identifier: LGPL-2.1-or-later // Copyright (C) 2016 - 2020 by the deal.II authors // // This file is part of the deal.II library. // -// The deal.II library is free software; you can use it, redistribute -// it, and/or modify it under the terms of the GNU Lesser General -// Public License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// The full text of the license can be found in the file LICENSE.md at -// the top level directory of deal.II. +// Part of the source code is dual licensed under Apache-2.0 WITH +// LLVM-exception OR LGPL-2.1-or-later. Detailed license information +// governing the source code and code contributions can be found in +// LICENSE.md and CONTRIBUTING.md at the top level directory of deal.II. // -// --------------------------------------------------------------------- +// ------------------------------------------------------------------------ #include diff --git a/contrib/python-bindings/source/reference_cell_wrapper.cc b/contrib/python-bindings/source/reference_cell_wrapper.cc index 274e94e8e6d9..3db61189037b 100644 --- a/contrib/python-bindings/source/reference_cell_wrapper.cc +++ b/contrib/python-bindings/source/reference_cell_wrapper.cc @@ -1,17 +1,16 @@ -// --------------------------------------------------------------------- +// ------------------------------------------------------------------------ // +// SPDX-License-Identifier: LGPL-2.1-or-later // Copyright (C) 2021 - 2023 by the deal.II authors // // This file is part of the deal.II library. // -// The deal.II library is free software; you can use it, redistribute -// it, and/or modify it under the terms of the GNU Lesser General -// Public License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// The full text of the license can be found in the file LICENSE.md at -// the top level directory of deal.II. +// Part of the source code is dual licensed under Apache-2.0 WITH +// LLVM-exception OR LGPL-2.1-or-later. Detailed license information +// governing the source code and code contributions can be found in +// LICENSE.md and CONTRIBUTING.md at the top level directory of deal.II. // -// --------------------------------------------------------------------- +// ------------------------------------------------------------------------ #include diff --git a/contrib/python-bindings/source/tria_accessor_wrapper.cc b/contrib/python-bindings/source/tria_accessor_wrapper.cc index f445cc863b33..eb1b355c422b 100644 --- a/contrib/python-bindings/source/tria_accessor_wrapper.cc +++ b/contrib/python-bindings/source/tria_accessor_wrapper.cc @@ -1,17 +1,16 @@ -// --------------------------------------------------------------------- +// ------------------------------------------------------------------------ // +// SPDX-License-Identifier: LGPL-2.1-or-later // Copyright (C) 2021 - 2023 by the deal.II authors // // This file is part of the deal.II library. // -// The deal.II library is free software; you can use it, redistribute -// it, and/or modify it under the terms of the GNU Lesser General -// Public License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// The full text of the license can be found in the file LICENSE.md at -// the top level directory of deal.II. +// Part of the source code is dual licensed under Apache-2.0 WITH +// LLVM-exception OR LGPL-2.1-or-later. Detailed license information +// governing the source code and code contributions can be found in +// LICENSE.md and CONTRIBUTING.md at the top level directory of deal.II. // -// --------------------------------------------------------------------- +// ------------------------------------------------------------------------ #include diff --git a/contrib/python-bindings/source/triangulation_wrapper.cc b/contrib/python-bindings/source/triangulation_wrapper.cc index 24d276098baa..70b4a5dfa46e 100644 --- a/contrib/python-bindings/source/triangulation_wrapper.cc +++ b/contrib/python-bindings/source/triangulation_wrapper.cc @@ -1,17 +1,16 @@ -// --------------------------------------------------------------------- +// ------------------------------------------------------------------------ // +// SPDX-License-Identifier: LGPL-2.1-or-later // Copyright (C) 2016 - 2023 by the deal.II authors // // This file is part of the deal.II library. // -// The deal.II library is free software; you can use it, redistribute -// it, and/or modify it under the terms of the GNU Lesser General -// Public License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// The full text of the license can be found in the file LICENSE.md at -// the top level directory of deal.II. +// Part of the source code is dual licensed under Apache-2.0 WITH +// LLVM-exception OR LGPL-2.1-or-later. Detailed license information +// governing the source code and code contributions can be found in +// LICENSE.md and CONTRIBUTING.md at the top level directory of deal.II. // -// --------------------------------------------------------------------- +// ------------------------------------------------------------------------ #include diff --git a/contrib/python-bindings/source/wrappers.cc b/contrib/python-bindings/source/wrappers.cc index 59a9a796a0ca..26992d6cc23f 100644 --- a/contrib/python-bindings/source/wrappers.cc +++ b/contrib/python-bindings/source/wrappers.cc @@ -1,17 +1,16 @@ -// --------------------------------------------------------------------- +// ------------------------------------------------------------------------ // +// SPDX-License-Identifier: LGPL-2.1-or-later // Copyright (C) 2016 - 2023 by the deal.II authors // // This file is part of the deal.II library. // -// The deal.II library is free software; you can use it, redistribute -// it, and/or modify it under the terms of the GNU Lesser General -// Public License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// The full text of the license can be found in the file LICENSE.md at -// the top level directory of deal.II. +// Part of the source code is dual licensed under Apache-2.0 WITH +// LLVM-exception OR LGPL-2.1-or-later. Detailed license information +// governing the source code and code contributions can be found in +// LICENSE.md and CONTRIBUTING.md at the top level directory of deal.II. // -// --------------------------------------------------------------------- +// ------------------------------------------------------------------------ #include diff --git a/contrib/python-bindings/tests/CMakeLists.txt b/contrib/python-bindings/tests/CMakeLists.txt index 64f5b30d256d..51af0a9eba1a 100644 --- a/contrib/python-bindings/tests/CMakeLists.txt +++ b/contrib/python-bindings/tests/CMakeLists.txt @@ -1,17 +1,16 @@ -## --------------------------------------------------------------------- +## ------------------------------------------------------------------------ ## +## SPDX-License-Identifier: LGPL-2.1-or-later ## Copyright (C) 2020 - 2022 by the deal.II authors ## ## This file is part of the deal.II library. ## -## The deal.II library is free software; you can use it, redistribute -## it, and/or modify it under the terms of the GNU Lesser General -## Public License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## The full text of the license can be found in the file LICENSE.md at -## the top level directory of deal.II. +## Part of the source code is dual licensed under Apache-2.0 WITH +## LLVM-exception OR LGPL-2.1-or-later. Detailed license information +## governing the source code and code contributions can be found in +## LICENSE.md and CONTRIBUTING.md at the top level directory of deal.II. ## -## --------------------------------------------------------------------- +## ------------------------------------------------------------------------ # # Make sure that the tests are picked up by a global CTest call diff --git a/contrib/python-bindings/tests/cell_accessor_wrapper.py b/contrib/python-bindings/tests/cell_accessor_wrapper.py index a4f519879315..b0aff62ad5c8 100644 --- a/contrib/python-bindings/tests/cell_accessor_wrapper.py +++ b/contrib/python-bindings/tests/cell_accessor_wrapper.py @@ -1,17 +1,16 @@ -# --------------------------------------------------------------------- -# -# Copyright (C) 2016 - 2023 by the deal.II authors -# -# This file is part of the deal.II library. -# -# The deal.II library is free software; you can use it, redistribute -# it, and/or modify it under the terms of the GNU Lesser General -# Public License as published by the Free Software Foundation; either -# version 2.1 of the License, or (at your option) any later version. -# The full text of the license can be found in the file LICENSE.md at -# the top level directory of deal.II. -# -# --------------------------------------------------------------------- +## ------------------------------------------------------------------------ +## +## SPDX-License-Identifier: LGPL-2.1-or-later +## Copyright (C) 2016 - 2023 by the deal.II authors +## +## This file is part of the deal.II library. +## +## Part of the source code is dual licensed under Apache-2.0 WITH +## LLVM-exception OR LGPL-2.1-or-later. Detailed license information +## governing the source code and code contributions can be found in +## LICENSE.md and CONTRIBUTING.md at the top level directory of deal.II. +## +## ------------------------------------------------------------------------ import unittest diff --git a/contrib/python-bindings/tests/manifold_wrapper.py b/contrib/python-bindings/tests/manifold_wrapper.py index 52a3e142576b..2399f9f2790e 100644 --- a/contrib/python-bindings/tests/manifold_wrapper.py +++ b/contrib/python-bindings/tests/manifold_wrapper.py @@ -1,17 +1,16 @@ -# --------------------------------------------------------------------- -# -# Copyright (C) 2016 - 2023 by the deal.II authors -# -# This file is part of the deal.II library. -# -# The deal.II library is free software; you can use it, redistribute -# it, and/or modify it under the terms of the GNU Lesser General -# Public License as published by the Free Software Foundation; either -# version 2.1 of the License, or (at your option) any later version. -# The full text of the license can be found in the file LICENSE.md at -# the top level directory of deal.II. -# -# --------------------------------------------------------------------- +## ------------------------------------------------------------------------ +## +## SPDX-License-Identifier: LGPL-2.1-or-later +## Copyright (C) 2016 - 2023 by the deal.II authors +## +## This file is part of the deal.II library. +## +## Part of the source code is dual licensed under Apache-2.0 WITH +## LLVM-exception OR LGPL-2.1-or-later. Detailed license information +## governing the source code and code contributions can be found in +## LICENSE.md and CONTRIBUTING.md at the top level directory of deal.II. +## +## ------------------------------------------------------------------------ import math import os diff --git a/contrib/python-bindings/tests/mapping_wrapper.py b/contrib/python-bindings/tests/mapping_wrapper.py index fa43f34d0a1a..7b566df6ae27 100644 --- a/contrib/python-bindings/tests/mapping_wrapper.py +++ b/contrib/python-bindings/tests/mapping_wrapper.py @@ -1,17 +1,16 @@ -# --------------------------------------------------------------------- -# -# Copyright (C) 2016 - 2023 by the deal.II authors -# -# This file is part of the deal.II library. -# -# The deal.II library is free software; you can use it, redistribute -# it, and/or modify it under the terms of the GNU Lesser General -# Public License as published by the Free Software Foundation; either -# version 2.1 of the License, or (at your option) any later version. -# The full text of the license can be found in the file LICENSE.md at -# the top level directory of deal.II. -# -# --------------------------------------------------------------------- +## ------------------------------------------------------------------------ +## +## SPDX-License-Identifier: LGPL-2.1-or-later +## Copyright (C) 2016 - 2023 by the deal.II authors +## +## This file is part of the deal.II library. +## +## Part of the source code is dual licensed under Apache-2.0 WITH +## LLVM-exception OR LGPL-2.1-or-later. Detailed license information +## governing the source code and code contributions can be found in +## LICENSE.md and CONTRIBUTING.md at the top level directory of deal.II. +## +## ------------------------------------------------------------------------ import unittest diff --git a/contrib/python-bindings/tests/point_wrapper.py b/contrib/python-bindings/tests/point_wrapper.py index 3a0a138dd7ce..239a71426160 100644 --- a/contrib/python-bindings/tests/point_wrapper.py +++ b/contrib/python-bindings/tests/point_wrapper.py @@ -1,17 +1,16 @@ -# --------------------------------------------------------------------- -# -# Copyright (C) 2016 - 2023 by the deal.II authors -# -# This file is part of the deal.II library. -# -# The deal.II library is free software; you can use it, redistribute -# it, and/or modify it under the terms of the GNU Lesser General -# Public License as published by the Free Software Foundation; either -# version 2.1 of the License, or (at your option) any later version. -# The full text of the license can be found in the file LICENSE.md at -# the top level directory of deal.II. -# -# --------------------------------------------------------------------- +## ------------------------------------------------------------------------ +## +## SPDX-License-Identifier: LGPL-2.1-or-later +## Copyright (C) 2016 - 2023 by the deal.II authors +## +## This file is part of the deal.II library. +## +## Part of the source code is dual licensed under Apache-2.0 WITH +## LLVM-exception OR LGPL-2.1-or-later. Detailed license information +## governing the source code and code contributions can be found in +## LICENSE.md and CONTRIBUTING.md at the top level directory of deal.II. +## +## ------------------------------------------------------------------------ import unittest import math diff --git a/contrib/python-bindings/tests/quadrature_wrapper.py b/contrib/python-bindings/tests/quadrature_wrapper.py index 98cabf0213f9..d162933d1cee 100644 --- a/contrib/python-bindings/tests/quadrature_wrapper.py +++ b/contrib/python-bindings/tests/quadrature_wrapper.py @@ -1,17 +1,16 @@ -# --------------------------------------------------------------------- -# -# Copyright (C) 2016 - 2023 by the deal.II authors -# -# This file is part of the deal.II library. -# -# The deal.II library is free software; you can use it, redistribute -# it, and/or modify it under the terms of the GNU Lesser General -# Public License as published by the Free Software Foundation; either -# version 2.1 of the License, or (at your option) any later version. -# The full text of the license can be found in the file LICENSE.md at -# the top level directory of deal.II. -# -# --------------------------------------------------------------------- +## ------------------------------------------------------------------------ +## +## SPDX-License-Identifier: LGPL-2.1-or-later +## Copyright (C) 2016 - 2023 by the deal.II authors +## +## This file is part of the deal.II library. +## +## Part of the source code is dual licensed under Apache-2.0 WITH +## LLVM-exception OR LGPL-2.1-or-later. Detailed license information +## governing the source code and code contributions can be found in +## LICENSE.md and CONTRIBUTING.md at the top level directory of deal.II. +## +## ------------------------------------------------------------------------ import unittest diff --git a/contrib/python-bindings/tests/triangulation_wrapper.py b/contrib/python-bindings/tests/triangulation_wrapper.py index 57ac971477f7..b7f6bf4164b8 100644 --- a/contrib/python-bindings/tests/triangulation_wrapper.py +++ b/contrib/python-bindings/tests/triangulation_wrapper.py @@ -1,17 +1,16 @@ -# --------------------------------------------------------------------- -# -# Copyright (C) 2016 - 2023 by the deal.II authors -# -# This file is part of the deal.II library. -# -# The deal.II library is free software; you can use it, redistribute -# it, and/or modify it under the terms of the GNU Lesser General -# Public License as published by the Free Software Foundation; either -# version 2.1 of the License, or (at your option) any later version. -# The full text of the license can be found in the file LICENSE.md at -# the top level directory of deal.II. -# -# --------------------------------------------------------------------- +## ------------------------------------------------------------------------ +## +## SPDX-License-Identifier: LGPL-2.1-or-later +## Copyright (C) 2016 - 2023 by the deal.II authors +## +## This file is part of the deal.II library. +## +## Part of the source code is dual licensed under Apache-2.0 WITH +## LLVM-exception OR LGPL-2.1-or-later. Detailed license information +## governing the source code and code contributions can be found in +## LICENSE.md and CONTRIBUTING.md at the top level directory of deal.II. +## +## ------------------------------------------------------------------------ import unittest diff --git a/contrib/utilities/CMakeLists.txt b/contrib/utilities/CMakeLists.txt index 30acd83330cb..e03ef1639006 100644 --- a/contrib/utilities/CMakeLists.txt +++ b/contrib/utilities/CMakeLists.txt @@ -1,17 +1,16 @@ -## --------------------------------------------------------------------- +## ------------------------------------------------------------------------ ## +## SPDX-License-Identifier: LGPL-2.1-or-later ## Copyright (C) 2018 - 2022 by the deal.II authors ## ## This file is part of the deal.II library. ## -## The deal.II library is free software; you can use it, redistribute -## it, and/or modify it under the terms of the GNU Lesser General -## Public License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## The full text of the license can be found in the file LICENSE.md at -## the top level directory of deal.II. +## Part of the source code is dual licensed under Apache-2.0 WITH +## LLVM-exception OR LGPL-2.1-or-later. Detailed license information +## governing the source code and code contributions can be found in +## LICENSE.md and CONTRIBUTING.md at the top level directory of deal.II. ## -## --------------------------------------------------------------------- +## ------------------------------------------------------------------------ # # At the present time we only install one script from this directory. diff --git a/contrib/utilities/check_encoding.py b/contrib/utilities/check_encoding.py index 201fea6b747b..1dbf5a11d333 100755 --- a/contrib/utilities/check_encoding.py +++ b/contrib/utilities/check_encoding.py @@ -1,18 +1,17 @@ #!/usr/bin/env python -## --------------------------------------------------------------------- +## ------------------------------------------------------------------------ ## +## SPDX-License-Identifier: LGPL-2.1-or-later ## Copyright (C) 2019 - 2022 by the deal.II authors ## ## This file is part of the deal.II library. ## -## The deal.II library is free software; you can use it, redistribute -## it, and/or modify it under the terms of the GNU Lesser General -## Public License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## The full text of the license can be found in the file LICENSE at -## the top level of the deal.II distribution. +## Part of the source code is dual licensed under Apache-2.0 WITH +## LLVM-exception OR LGPL-2.1-or-later. Detailed license information +## governing the source code and code contributions can be found in +## LICENSE.md and CONTRIBUTING.md at the top level directory of deal.II. ## -## --------------------------------------------------------------------- +## ------------------------------------------------------------------------ # This script checks if the files in the deal.II repository are encoded with # valid UTF8. diff --git a/contrib/utilities/check_indentation.sh b/contrib/utilities/check_indentation.sh index 3e4cba506e96..f68d453d3980 100755 --- a/contrib/utilities/check_indentation.sh +++ b/contrib/utilities/check_indentation.sh @@ -1,18 +1,17 @@ #!/bin/sh -## --------------------------------------------------------------------- +## ------------------------------------------------------------------------ ## +## SPDX-License-Identifier: LGPL-2.1-or-later ## Copyright (C) 2014 - 2022 by the deal.II authors ## ## This file is part of the deal.II library. ## -## The deal.II library is free software; you can use it, redistribute -## it, and/or modify it under the terms of the GNU Lesser General -## Public License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## The full text of the license can be found in the file LICENSE.md at -## the top level directory of deal.II. +## Part of the source code is dual licensed under Apache-2.0 WITH +## LLVM-exception OR LGPL-2.1-or-later. Detailed license information +## governing the source code and code contributions can be found in +## LICENSE.md and CONTRIBUTING.md at the top level directory of deal.II. ## -## --------------------------------------------------------------------- +## ------------------------------------------------------------------------ # # This is a script that is used by the continuous integration servers diff --git a/contrib/utilities/compile_clang_format b/contrib/utilities/compile_clang_format index dddf1ca425ac..3b47d1c72e1f 100755 --- a/contrib/utilities/compile_clang_format +++ b/contrib/utilities/compile_clang_format @@ -1,18 +1,17 @@ #!/bin/bash -## --------------------------------------------------------------------- +## ------------------------------------------------------------------------ ## +## SPDX-License-Identifier: LGPL-2.1-or-later ## Copyright (C) 2018 - 2021 by the deal.II authors ## ## This file is part of the deal.II library. ## -## The deal.II library is free software; you can use it, redistribute -## it, and/or modify it under the terms of the GNU Lesser General -## Public License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## The full text of the license can be found in the file LICENSE.md at -## the top level directory of deal.II. +## Part of the source code is dual licensed under Apache-2.0 WITH +## LLVM-exception OR LGPL-2.1-or-later. Detailed license information +## governing the source code and code contributions can be found in +## LICENSE.md and CONTRIBUTING.md at the top level directory of deal.II. ## -## --------------------------------------------------------------------- +## ------------------------------------------------------------------------ # # This script downloads, compiles and installs the clang-format binary. The diff --git a/contrib/utilities/count_lines.sh b/contrib/utilities/count_lines.sh index 2d226dc9ef93..124218849be7 100755 --- a/contrib/utilities/count_lines.sh +++ b/contrib/utilities/count_lines.sh @@ -1,18 +1,17 @@ #!/bin/sh -## --------------------------------------------------------------------- +## ------------------------------------------------------------------------ ## +## SPDX-License-Identifier: LGPL-2.1-or-later ## Copyright (C) 2018 - 2023 by the deal.II authors ## ## This file is part of the deal.II library. ## -## The deal.II library is free software; you can use it, redistribute -## it, and/or modify it under the terms of the GNU Lesser General -## Public License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## The full text of the license can be found in the file LICENSE.md at -## the top level directory of deal.II. +## Part of the source code is dual licensed under Apache-2.0 WITH +## LLVM-exception OR LGPL-2.1-or-later. Detailed license information +## governing the source code and code contributions can be found in +## LICENSE.md and CONTRIBUTING.md at the top level directory of deal.II. ## -## --------------------------------------------------------------------- +## ------------------------------------------------------------------------ # # This is a little script that can be used to count the lines of source diff --git a/contrib/utilities/dotgdbinit.py b/contrib/utilities/dotgdbinit.py index 970fc9479ce2..e3e67a415b48 100644 --- a/contrib/utilities/dotgdbinit.py +++ b/contrib/utilities/dotgdbinit.py @@ -1,17 +1,16 @@ -# --------------------------------------------------------------------- -# -# Copyright (C) 2015 - 2022 by the deal.II authors -# -# This file is part of the deal.II library. -# -# The deal.II library is free software; you can use it, redistribute -# it, and/or modify it under the terms of the GNU Lesser General -# Public License as published by the Free Software Foundation; either -# version 2.1 of the License, or (at your option) any later version. -# The full text of the license can be found in the file LICENSE.md at -# the top level directory of deal.II. -# -# --------------------------------------------------------------------- +## ------------------------------------------------------------------------ +## +## SPDX-License-Identifier: LGPL-2.1-or-later +## Copyright (C) 2015 - 2022 by the deal.II authors +## +## This file is part of the deal.II library. +## +## Part of the source code is dual licensed under Apache-2.0 WITH +## LLVM-exception OR LGPL-2.1-or-later. Detailed license information +## governing the source code and code contributions can be found in +## LICENSE.md and CONTRIBUTING.md at the top level directory of deal.II. +## +## ------------------------------------------------------------------------ # # Instructions: Place a copy of this file, renamed as ".gdbinit", in your home diff --git a/contrib/utilities/double_word_typos.py b/contrib/utilities/double_word_typos.py index cbf05ba3685e..060066ebbf0c 100644 --- a/contrib/utilities/double_word_typos.py +++ b/contrib/utilities/double_word_typos.py @@ -1,18 +1,17 @@ #!/usr/bin/env python3 -# --------------------------------------------------------------------- -# -# Copyright (C) 2018 by the deal.II authors -# -# This file is part of the deal.II library. -# -# The deal.II library is free software; you can use it, redistribute -# it, and/or modify it under the terms of the GNU Lesser General -# Public License as published by the Free Software Foundation; either -# version 2.1 of the License, or (at your option) any later version. -# The full text of the license can be found in the file LICENSE.md at -# the top level directory of deal.II. -# -# --------------------------------------------------------------------- +## ------------------------------------------------------------------------ +## +## SPDX-License-Identifier: LGPL-2.1-or-later +## Copyright (C) 2018 by the deal.II authors +## +## This file is part of the deal.II library. +## +## Part of the source code is dual licensed under Apache-2.0 WITH +## LLVM-exception OR LGPL-2.1-or-later. Detailed license information +## governing the source code and code contributions can be found in +## LICENSE.md and CONTRIBUTING.md at the top level directory of deal.II. +## +## ------------------------------------------------------------------------ """A script that locates double word typos, e.g., from tria.h: This way it it possible to obtain neighbors across a periodic diff --git a/contrib/utilities/download_clang_format b/contrib/utilities/download_clang_format index bd888de21ea6..851e91694577 100755 --- a/contrib/utilities/download_clang_format +++ b/contrib/utilities/download_clang_format @@ -1,18 +1,17 @@ #!/bin/bash -## --------------------------------------------------------------------- +## ------------------------------------------------------------------------ ## +## SPDX-License-Identifier: LGPL-2.1-or-later ## Copyright (C) 2018 by the deal.II authors ## ## This file is part of the deal.II library. ## -## The deal.II library is free software; you can use it, redistribute -## it, and/or modify it under the terms of the GNU Lesser General -## Public License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## The full text of the license can be found in the file LICENSE.md at -## the top level directory of deal.II. +## Part of the source code is dual licensed under Apache-2.0 WITH +## LLVM-exception OR LGPL-2.1-or-later. Detailed license information +## governing the source code and code contributions can be found in +## LICENSE.md and CONTRIBUTING.md at the top level directory of deal.II. ## -## --------------------------------------------------------------------- +## ------------------------------------------------------------------------ # # This script downloads and installs the clang-format binary. The diff --git a/contrib/utilities/download_codecov b/contrib/utilities/download_codecov index 9dc21f0ddf24..dd8d0c946317 100755 --- a/contrib/utilities/download_codecov +++ b/contrib/utilities/download_codecov @@ -1,18 +1,17 @@ #!/bin/bash -## --------------------------------------------------------------------- +## ------------------------------------------------------------------------ ## +## SPDX-License-Identifier: LGPL-2.1-or-later ## Copyright (C) 2018 by the deal.II authors ## ## This file is part of the deal.II library. ## -## The deal.II library is free software; you can use it, redistribute -## it, and/or modify it under the terms of the GNU Lesser General -## Public License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## The full text of the license can be found in the file LICENSE.md at -## the top level directory of deal.II. +## Part of the source code is dual licensed under Apache-2.0 WITH +## LLVM-exception OR LGPL-2.1-or-later. Detailed license information +## governing the source code and code contributions can be found in +## LICENSE.md and CONTRIBUTING.md at the top level directory of deal.II. ## -## --------------------------------------------------------------------- +## ------------------------------------------------------------------------ # # This script downloads the global coverage report uploader for Codecov. diff --git a/contrib/utilities/fe_table.pl b/contrib/utilities/fe_table.pl index 93819c24d808..4890203c571e 100644 --- a/contrib/utilities/fe_table.pl +++ b/contrib/utilities/fe_table.pl @@ -1,17 +1,16 @@ -## --------------------------------------------------------------------- +## ------------------------------------------------------------------------ ## +## SPDX-License-Identifier: LGPL-2.1-or-later ## Copyright (C) 2005 - 2013 by the deal.II authors ## ## This file is part of the deal.II library. ## -## The deal.II library is free software; you can use it, redistribute -## it, and/or modify it under the terms of the GNU Lesser General -## Public License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## The full text of the license can be found in the file LICENSE.md at -## the top level directory of deal.II. +## Part of the source code is dual licensed under Apache-2.0 WITH +## LLVM-exception OR LGPL-2.1-or-later. Detailed license information +## governing the source code and code contributions can be found in +## LICENSE.md and CONTRIBUTING.md at the top level directory of deal.II. ## -## --------------------------------------------------------------------- +## ------------------------------------------------------------------------ # Author: Guido Kanschat diff --git a/contrib/utilities/generate_lapack_templates b/contrib/utilities/generate_lapack_templates index ffcec5acb26f..dbfc7157dd8f 100755 --- a/contrib/utilities/generate_lapack_templates +++ b/contrib/utilities/generate_lapack_templates @@ -595,11 +595,13 @@ def main(): # Generate output # with open(args["output_file"], 'w') as output: - print("// ---------------------------------------------------------------------", + print("// ------------------------------------------------------------------------", file=output) print("//", file=output) year = time.ctime().split(' ')[-1] + print("// SPDX-License-Identifier: LGPL-2.1-or-later", + file=output) print("// Copyright (C) 2005 - {} by the deal.II authors".format(year), file=output) print("//", @@ -608,21 +610,17 @@ def main(): file=output) print("//", file=output) - print("// The deal.II library is free software; you can use it, redistribute", - file=output) - print("// it, and/or modify it under the terms of the GNU Lesser General", - file=output) - print("// Public License as published by the Free Software Foundation; either", + print("// Part of the source code is dual licensed under Apache-2.0 WITH", file=output) - print("// version 2.1 of the License, or (at your option) any later version.", + print("// LLVM-exception OR LGPL-2.1-or-later. Detailed license information", file=output) - print("// The full text of the license can be found in the file LICENSE.md at", + print("// governing the source code and code contributions can be found in", file=output) - print("// the top level directory of deal.II.", + print("// LICENSE.md and CONTRIBUTING.md at the top level directory of deal.II.", file=output) print("//", file=output) - print("// ---------------------------------------------------------------------", + print("// ------------------------------------------------------------------------------", file=output) print("", file=output) diff --git a/contrib/utilities/indent b/contrib/utilities/indent index f8b475033d6d..ec0a01026571 100755 --- a/contrib/utilities/indent +++ b/contrib/utilities/indent @@ -1,18 +1,17 @@ #!/bin/bash -## --------------------------------------------------------------------- +## ------------------------------------------------------------------------ ## +## SPDX-License-Identifier: LGPL-2.1-or-later ## Copyright (C) 2018 - 2024 by the deal.II authors ## ## This file is part of the deal.II library. ## -## The deal.II library is free software; you can use it, redistribute -## it, and/or modify it under the terms of the GNU Lesser General -## Public License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## The full text of the license can be found in the file LICENSE at -## the top level of the deal.II distribution. +## Part of the source code is dual licensed under Apache-2.0 WITH +## LLVM-exception OR LGPL-2.1-or-later. Detailed license information +## governing the source code and code contributions can be found in +## LICENSE.md and CONTRIBUTING.md at the top level directory of deal.II. ## -## --------------------------------------------------------------------- +## ------------------------------------------------------------------------ # # This script does the same thing as contrib/utilities/indent-all but only diff --git a/contrib/utilities/indent-all b/contrib/utilities/indent-all index 5341b9eb2aee..abbad3b8ab0b 100755 --- a/contrib/utilities/indent-all +++ b/contrib/utilities/indent-all @@ -1,18 +1,17 @@ #!/bin/bash -## --------------------------------------------------------------------- +## ------------------------------------------------------------------------ ## +## SPDX-License-Identifier: LGPL-2.1-or-later ## Copyright (C) 2012 - 2018 by the deal.II authors ## ## This file is part of the deal.II library. ## -## The deal.II library is free software; you can use it, redistribute -## it, and/or modify it under the terms of the GNU Lesser General -## Public License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## The full text of the license can be found in the file LICENSE.md at -## the top level directory of deal.II. +## Part of the source code is dual licensed under Apache-2.0 WITH +## LLVM-exception OR LGPL-2.1-or-later. Detailed license information +## governing the source code and code contributions can be found in +## LICENSE.md and CONTRIBUTING.md at the top level directory of deal.II. ## -## --------------------------------------------------------------------- +## ------------------------------------------------------------------------ # # This script indents all source files of deal.II according to our usual diff --git a/contrib/utilities/indent.py b/contrib/utilities/indent.py index d59614d13dbc..67496ebcaa1a 100644 --- a/contrib/utilities/indent.py +++ b/contrib/utilities/indent.py @@ -1,19 +1,18 @@ #!/usr/bin/env python -## --------------------------------------------------------------------- +## ------------------------------------------------------------------------ ## +## SPDX-License-Identifier: LGPL-2.1-or-later ## Copyright (C) 2019 - 2023 by the deal.II authors ## ## This file is part of the deal.II library. ## -## The deal.II library is free software; you can use it, redistribute -## it, and/or modify it under the terms of the GNU Lesser General -## Public License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## The full text of the license can be found in the file LICENSE.md at -## the top level directory of deal.II. +## Part of the source code is dual licensed under Apache-2.0 WITH +## LLVM-exception OR LGPL-2.1-or-later. Detailed license information +## governing the source code and code contributions can be found in +## LICENSE.md and CONTRIBUTING.md at the top level directory of deal.II. ## -## --------------------------------------------------------------------- +## ------------------------------------------------------------------------ """This script can be used to format code in external projects (that use deal.II) by adding .clang_format files. diff --git a/contrib/utilities/indent_common.sh b/contrib/utilities/indent_common.sh index 97c67aabd48e..16ffc31f99c4 100644 --- a/contrib/utilities/indent_common.sh +++ b/contrib/utilities/indent_common.sh @@ -1,18 +1,17 @@ #!/bin/bash -## --------------------------------------------------------------------- +## ------------------------------------------------------------------------ ## +## SPDX-License-Identifier: LGPL-2.1-or-later ## Copyright (C) 2018 - 2023 by the deal.II authors ## ## This file is part of the deal.II library. ## -## The deal.II library is free software; you can use it, redistribute -## it, and/or modify it under the terms of the GNU Lesser General -## Public License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## The full text of the license can be found in the file LICENSE at -## the top level of the deal.II distribution. +## Part of the source code is dual licensed under Apache-2.0 WITH +## LLVM-exception OR LGPL-2.1-or-later. Detailed license information +## governing the source code and code contributions can be found in +## LICENSE.md and CONTRIBUTING.md at the top level directory of deal.II. ## -## --------------------------------------------------------------------- +## ------------------------------------------------------------------------ # # This file contains a number of common functions used all indent scripts diff --git a/contrib/utilities/lowercase_cmake b/contrib/utilities/lowercase_cmake index fb0dbdf77c5d..84a68d3333d2 100755 --- a/contrib/utilities/lowercase_cmake +++ b/contrib/utilities/lowercase_cmake @@ -1,18 +1,17 @@ #!/bin/bash -## --------------------------------------------------------------------- +## ------------------------------------------------------------------------ ## -## Copyright (C) 2022 - 2022 by the deal.II authors +## SPDX-License-Identifier: LGPL-2.1-or-later +## Copyright (C) 2020 - 2022 by the deal.II authors ## ## This file is part of the deal.II library. ## -## The deal.II library is free software; you can use it, redistribute -## it, and/or modify it under the terms of the GNU Lesser General -## Public License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## The full text of the license can be found in the file LICENSE at -## the top level of the deal.II distribution. +## Part of the source code is dual licensed under Apache-2.0 WITH +## LLVM-exception OR LGPL-2.1-or-later. Detailed license information +## governing the source code and code contributions can be found in +## LICENSE.md and CONTRIBUTING.md at the top level directory of deal.II. ## -## --------------------------------------------------------------------- +## ------------------------------------------------------------------------ # # diff --git a/contrib/utilities/makeofflinedoc.sh b/contrib/utilities/makeofflinedoc.sh index 8a831464e094..ee99539ad0a3 100755 --- a/contrib/utilities/makeofflinedoc.sh +++ b/contrib/utilities/makeofflinedoc.sh @@ -1,18 +1,17 @@ #!/bin/bash -## --------------------------------------------------------------------- +## ------------------------------------------------------------------------ ## +## SPDX-License-Identifier: LGPL-2.1-or-later ## Copyright (C) 2012 - 2020 by the deal.II authors ## ## This file is part of the deal.II library. ## -## The deal.II library is free software; you can use it, redistribute -## it, and/or modify it under the terms of the GNU Lesser General -## Public License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## The full text of the license can be found in the file LICENSE.md at -## the top level directory of deal.II. +## Part of the source code is dual licensed under Apache-2.0 WITH +## LLVM-exception OR LGPL-2.1-or-later. Detailed license information +## governing the source code and code contributions can be found in +## LICENSE.md and CONTRIBUTING.md at the top level directory of deal.II. ## -## --------------------------------------------------------------------- +## ------------------------------------------------------------------------ # This script downloads images referenced in the tutorial steps and patches # the URLs to point to the local files. To be run in the doc/doxygen/deal.II diff --git a/contrib/utilities/parse_ctest_output.py b/contrib/utilities/parse_ctest_output.py index 7210c865a0dd..751027d34983 100644 --- a/contrib/utilities/parse_ctest_output.py +++ b/contrib/utilities/parse_ctest_output.py @@ -1,19 +1,18 @@ #!/usr/bin/python -## --------------------------------------------------------------------- +## ------------------------------------------------------------------------ ## +## SPDX-License-Identifier: LGPL-2.1-or-later ## Copyright (C) 2016 - 2022 by the deal.II authors ## ## This file is part of the deal.II library. ## -## The deal.II library is free software; you can use it, redistribute -## it, and/or modify it under the terms of the GNU Lesser General -## Public License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## The full text of the license can be found in the file LICENSE.md at -## the top level directory of deal.II. +## Part of the source code is dual licensed under Apache-2.0 WITH +## LLVM-exception OR LGPL-2.1-or-later. Detailed license information +## governing the source code and code contributions can be found in +## LICENSE.md and CONTRIBUTING.md at the top level directory of deal.II. ## -## --------------------------------------------------------------------- +## ------------------------------------------------------------------------ # # Written by timo.heister@gmail.com diff --git a/contrib/utilities/print_deprecated.py b/contrib/utilities/print_deprecated.py index ca8ed0e836db..8074da2413db 100755 --- a/contrib/utilities/print_deprecated.py +++ b/contrib/utilities/print_deprecated.py @@ -1,19 +1,18 @@ #!/usr/bin/env python -## --------------------------------------------------------------------- +## ------------------------------------------------------------------------ ## +## SPDX-License-Identifier: LGPL-2.1-or-later ## Copyright (C) 2017 by the deal.II authors ## ## This file is part of the deal.II library. ## -## The deal.II library is free software; you can use it, redistribute -## it, and/or modify it under the terms of the GNU Lesser General -## Public License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## The full text of the license can be found in the file LICENSE.md at -## the top level directory of deal.II. +## Part of the source code is dual licensed under Apache-2.0 WITH +## LLVM-exception OR LGPL-2.1-or-later. Detailed license information +## governing the source code and code contributions can be found in +## LICENSE.md and CONTRIBUTING.md at the top level directory of deal.II. ## -## --------------------------------------------------------------------- +## ------------------------------------------------------------------------ """Search the ./include directory and print out a summary of each deprecated object, class, function, etc. Compatile with emacs' compilation-mode. diff --git a/contrib/utilities/query_testsuite b/contrib/utilities/query_testsuite index 2ae882bbe71a..f90e34322efa 100755 --- a/contrib/utilities/query_testsuite +++ b/contrib/utilities/query_testsuite @@ -1,18 +1,17 @@ #!/bin/bash -## --------------------------------------------------------------------- +## ------------------------------------------------------------------------ ## +## SPDX-License-Identifier: LGPL-2.1-or-later ## Copyright (C) 2018 by the deal.II authors ## ## This file is part of the deal.II library. ## -## The deal.II library is free software; you can use it, redistribute -## it, and/or modify it under the terms of the GNU Lesser General -## Public License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## The full text of the license can be found in the file LICENSE.md at -## the top level directory of deal.II. +## Part of the source code is dual licensed under Apache-2.0 WITH +## LLVM-exception OR LGPL-2.1-or-later. Detailed license information +## governing the source code and code contributions can be found in +## LICENSE.md and CONTRIBUTING.md at the top level directory of deal.II. ## -## --------------------------------------------------------------------- +## ------------------------------------------------------------------------ set -eu BASE_URL="https://cdash.dealii.org" diff --git a/contrib/utilities/relocate_libraries.py b/contrib/utilities/relocate_libraries.py index e06d11a6079b..e01561a92360 100755 --- a/contrib/utilities/relocate_libraries.py +++ b/contrib/utilities/relocate_libraries.py @@ -1,19 +1,18 @@ #!/usr/bin/env python -## --------------------------------------------------------------------- +## ------------------------------------------------------------------------ ## +## SPDX-License-Identifier: LGPL-2.1-or-later ## Copyright (C) 2016 by the deal.II authors ## ## This file is part of the deal.II library. ## -## The deal.II library is free software; you can use it, redistribute -## it, and/or modify it under the terms of the GNU Lesser General -## Public License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## The full text of the license can be found in the file LICENSE.md at -## the top level directory of deal.II. +## Part of the source code is dual licensed under Apache-2.0 WITH +## LLVM-exception OR LGPL-2.1-or-later. Detailed license information +## governing the source code and code contributions can be found in +## LICENSE.md and CONTRIBUTING.md at the top level directory of deal.II. ## -## --------------------------------------------------------------------- +## ------------------------------------------------------------------------ ## This script runs install_name_tool on each library under basedir (first argument ## on command line) and makes sure that all libraries are installed with absolute diff --git a/contrib/utilities/run_clang_tidy.sh b/contrib/utilities/run_clang_tidy.sh index ac71db6ac5d5..29b289f2706e 100755 --- a/contrib/utilities/run_clang_tidy.sh +++ b/contrib/utilities/run_clang_tidy.sh @@ -1,18 +1,17 @@ #!/bin/bash -## --------------------------------------------------------------------- +## ------------------------------------------------------------------------ ## +## SPDX-License-Identifier: LGPL-2.1-or-later ## Copyright (C) 2018 - 2020 by the deal.II authors ## ## This file is part of the deal.II library. ## -## The deal.II library is free software; you can use it, redistribute -## it, and/or modify it under the terms of the GNU Lesser General -## Public License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## The full text of the license can be found in the file LICENSE.md at -## the top level directory of deal.II. +## Part of the source code is dual licensed under Apache-2.0 WITH +## LLVM-exception OR LGPL-2.1-or-later. Detailed license information +## governing the source code and code contributions can be found in +## LICENSE.md and CONTRIBUTING.md at the top level directory of deal.II. ## -## --------------------------------------------------------------------- +## ------------------------------------------------------------------------ # # This script runs the clang-tidy tool on the deal.II code base. diff --git a/contrib/utilities/update-copyright.sh b/contrib/utilities/update-copyright.sh index 8086458f888f..f5cfd372718e 100755 --- a/contrib/utilities/update-copyright.sh +++ b/contrib/utilities/update-copyright.sh @@ -1,18 +1,17 @@ #!/bin/bash -## --------------------------------------------------------------------- +## ------------------------------------------------------------------------ ## +## SPDX-License-Identifier: LGPL-2.1-or-later ## Copyright (C) 2015 - 2022 by the deal.II authors ## ## This file is part of the deal.II library. ## -## The deal.II library is free software; you can use it, redistribute -## it, and/or modify it under the terms of the GNU Lesser General -## Public License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## The full text of the license can be found in the file LICENSE.md at -## the top level directory of deal.II. +## Part of the source code is dual licensed under Apache-2.0 WITH +## LLVM-exception OR LGPL-2.1-or-later. Detailed license information +## governing the source code and code contributions can be found in +## LICENSE.md and CONTRIBUTING.md at the top level directory of deal.II. ## -## --------------------------------------------------------------------- +## ------------------------------------------------------------------------ # Purpose: Update the copyright year of every file based on the last diff --git a/contrib/utilities/wrapcomments.py b/contrib/utilities/wrapcomments.py index bca94a4d2a75..1c940174b110 100755 --- a/contrib/utilities/wrapcomments.py +++ b/contrib/utilities/wrapcomments.py @@ -1,19 +1,18 @@ #!/usr/bin/python -## --------------------------------------------------------------------- +## ------------------------------------------------------------------------ ## +## SPDX-License-Identifier: LGPL-2.1-or-later ## Copyright (C) 2016 - 2022 by the deal.II authors ## ## This file is part of the deal.II library. ## -## The deal.II library is free software; you can use it, redistribute -## it, and/or modify it under the terms of the GNU Lesser General -## Public License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## The full text of the license can be found in the file LICENSE.md at -## the top level directory of deal.II. +## Part of the source code is dual licensed under Apache-2.0 WITH +## LLVM-exception OR LGPL-2.1-or-later. Detailed license information +## governing the source code and code contributions can be found in +## LICENSE.md and CONTRIBUTING.md at the top level directory of deal.II. ## -## --------------------------------------------------------------------- +## ------------------------------------------------------------------------ # # Written by timo.heister@gmail.com