Skip to content

Commit

Permalink
Update license header: ./contrib
Browse files Browse the repository at this point in the history
  • Loading branch information
tamiko committed Feb 21, 2024
1 parent 2eb7429 commit aa62c70
Show file tree
Hide file tree
Showing 60 changed files with 476 additions and 537 deletions.
15 changes: 7 additions & 8 deletions contrib/git-hooks/pre-commit
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
15 changes: 7 additions & 8 deletions contrib/python-bindings/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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)

Expand Down
15 changes: 7 additions & 8 deletions contrib/python-bindings/include/cell_accessor_wrapper.h
Original file line number Diff line number Diff line change
@@ -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
Expand Down
15 changes: 7 additions & 8 deletions contrib/python-bindings/include/function_wrapper.h
Original file line number Diff line number Diff line change
@@ -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
Expand Down
15 changes: 7 additions & 8 deletions contrib/python-bindings/include/manifold_wrapper.h
Original file line number Diff line number Diff line change
@@ -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
Expand Down
15 changes: 7 additions & 8 deletions contrib/python-bindings/include/mapping_wrapper.h
Original file line number Diff line number Diff line change
@@ -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
Expand Down
15 changes: 7 additions & 8 deletions contrib/python-bindings/include/point_wrapper.h
Original file line number Diff line number Diff line change
@@ -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
Expand Down
15 changes: 7 additions & 8 deletions contrib/python-bindings/include/quadrature_wrapper.h
Original file line number Diff line number Diff line change
@@ -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
Expand Down
15 changes: 7 additions & 8 deletions contrib/python-bindings/include/reference_cell_wrapper.h
Original file line number Diff line number Diff line change
@@ -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
Expand Down
15 changes: 7 additions & 8 deletions contrib/python-bindings/include/tria_accessor_wrapper.h
Original file line number Diff line number Diff line change
@@ -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
Expand Down
15 changes: 7 additions & 8 deletions contrib/python-bindings/include/triangulation_wrapper.h
Original file line number Diff line number Diff line change
@@ -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
Expand Down
15 changes: 7 additions & 8 deletions contrib/python-bindings/source/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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/
Expand Down
27 changes: 13 additions & 14 deletions contrib/python-bindings/source/__init__.py
Original file line number Diff line number Diff line change
@@ -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\
Expand Down
15 changes: 7 additions & 8 deletions contrib/python-bindings/source/cell_accessor_wrapper.cc
Original file line number Diff line number Diff line change
@@ -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 <boost/python.hpp>

Expand Down
15 changes: 7 additions & 8 deletions contrib/python-bindings/source/export_cell_accessor.cc
Original file line number Diff line number Diff line change
@@ -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 <boost/python.hpp>

Expand Down
Loading

0 comments on commit aa62c70

Please sign in to comment.