From 6d277186446a668fd1727b3aed37bc748c16048f Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Thu, 27 Sep 2018 14:49:44 -0600 Subject: [PATCH] Add copyright header on a bunch of files that are currently missing one. --- include/deal.II/base/sacado_product_type.h | 16 ++++++++++++++++ source/distributed/p4est_wrappers.cc | 16 ++++++++++++++++ tests/a-framework/dummy.cc | 16 ++++++++++++++++ tests/base/function_parser_05.cc | 16 ++++++++++++++++ tests/base/function_parser_08.cc | 16 ++++++++++++++++ tests/cuda/create_mesh.h | 16 +++++++++++++--- tests/fe/fe_nothing.cc | 18 ++++++++++++++++-- tests/fe/fe_project_2d.cc | 5 +++++ tests/fe/fe_project_3d.cc | 5 +++++ tests/fe/fe_values_function_manifold.cc | 16 ++++++++++++++++ tests/fe/shapes.h | 17 +++++++++++++++-- tests/hp/hp_q_hierarchical_constraints.cc | 16 ++++++++++++++++ tests/lac/quickmatrix.h | 15 +++++++++++++++ tests/lac/vector_memory_std_vector.cc | 16 ++++++++++++++++ tests/matrix_free/create_mesh.h | 16 +++++++++++++--- tests/mpi/interpolate_to_different_mesh_01.cc | 16 ++++++++++++++++ tests/mpi/interpolate_to_different_mesh_02.cc | 16 ++++++++++++++++ tests/petsc/petsc_mf_testmatrix.h | 15 +++++++++++++++ tests/slepc/testmatrix.h | 15 +++++++++++++++ tests/testmatrix.h | 15 +++++++++++++++ 20 files changed, 287 insertions(+), 10 deletions(-) diff --git a/include/deal.II/base/sacado_product_type.h b/include/deal.II/base/sacado_product_type.h index 696ded0574..36963d9809 100644 --- a/include/deal.II/base/sacado_product_type.h +++ b/include/deal.II/base/sacado_product_type.h @@ -1,3 +1,19 @@ +// --------------------------------------------------------------------- +// +// 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. +// +// --------------------------------------------------------------------- + + #ifndef dealii_sacado_product_type_h_deprecated #define dealii_sacado_product_type_h_deprecated diff --git a/source/distributed/p4est_wrappers.cc b/source/distributed/p4est_wrappers.cc index ba7dfebc5b..44aa31b901 100644 --- a/source/distributed/p4est_wrappers.cc +++ b/source/distributed/p4est_wrappers.cc @@ -1,3 +1,19 @@ +// --------------------------------------------------------------------- +// +// Copyright (C) 2008 - 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. +// +// --------------------------------------------------------------------- + + #include #include diff --git a/tests/a-framework/dummy.cc b/tests/a-framework/dummy.cc index 8e8f518aae..3c4d24595a 100644 --- a/tests/a-framework/dummy.cc +++ b/tests/a-framework/dummy.cc @@ -1,3 +1,19 @@ +// --------------------------------------------------------------------- +// +// Copyright (C) 2003 - 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. +// +// --------------------------------------------------------------------- + + int main() { diff --git a/tests/base/function_parser_05.cc b/tests/base/function_parser_05.cc index 7fe02b8c65..4f97a1f851 100644 --- a/tests/base/function_parser_05.cc +++ b/tests/base/function_parser_05.cc @@ -1,3 +1,19 @@ +// --------------------------------------------------------------------- +// +// Copyright (C) 2003 - 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. +// +// --------------------------------------------------------------------- + + #include #include diff --git a/tests/base/function_parser_08.cc b/tests/base/function_parser_08.cc index 0352f618bd..0f11e5fb5c 100644 --- a/tests/base/function_parser_08.cc +++ b/tests/base/function_parser_08.cc @@ -1,3 +1,19 @@ +// --------------------------------------------------------------------- +// +// Copyright (C) 2003 - 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. +// +// --------------------------------------------------------------------- + + #include #include diff --git a/tests/cuda/create_mesh.h b/tests/cuda/create_mesh.h index d22c71ddca..94edcbec07 100644 --- a/tests/cuda/create_mesh.h +++ b/tests/cuda/create_mesh.h @@ -1,7 +1,17 @@ -//----------------------- create_mesh.h ----------------------------- -// Version: $Name$ +// --------------------------------------------------------------------- // -//----------------------- create_mesh.h ----------------------------- +// Copyright (C) 2008 - 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. +// +// --------------------------------------------------------------------- // this creates a mesh that contains cells of all different kinds detected in diff --git a/tests/fe/fe_nothing.cc b/tests/fe/fe_nothing.cc index aad575ebb5..472d21fbde 100644 --- a/tests/fe/fe_nothing.cc +++ b/tests/fe/fe_nothing.cc @@ -1,3 +1,19 @@ +// --------------------------------------------------------------------- +// +// Copyright (C) 2003 - 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. +// +// --------------------------------------------------------------------- + + #include #include @@ -19,8 +35,6 @@ const double eps = 1e-10; -using namespace dealii; - template void test2cells(const unsigned int p1 = 2, const unsigned int p2 = 1) diff --git a/tests/fe/fe_project_2d.cc b/tests/fe/fe_project_2d.cc index 79e05fb9dd..ae249ea59c 100644 --- a/tests/fe/fe_project_2d.cc +++ b/tests/fe/fe_project_2d.cc @@ -1,3 +1,6 @@ +// --------------------------------------------------------------------- +// +// Copyright (C) 2003 - 2018 by the deal.II authors // // This file is part of the deal.II library. // @@ -9,6 +12,8 @@ // the top level directory of deal.II. // // --------------------------------------------------------------------- + + #include #include diff --git a/tests/fe/fe_project_3d.cc b/tests/fe/fe_project_3d.cc index 7878cfc8ec..66cd5cb2d9 100644 --- a/tests/fe/fe_project_3d.cc +++ b/tests/fe/fe_project_3d.cc @@ -1,3 +1,6 @@ +// --------------------------------------------------------------------- +// +// Copyright (C) 2003 - 2018 by the deal.II authors // // This file is part of the deal.II library. // @@ -9,6 +12,8 @@ // the top level directory of deal.II. // // --------------------------------------------------------------------- + + #include #include diff --git a/tests/fe/fe_values_function_manifold.cc b/tests/fe/fe_values_function_manifold.cc index 5f62e4c837..31e8988d57 100644 --- a/tests/fe/fe_values_function_manifold.cc +++ b/tests/fe/fe_values_function_manifold.cc @@ -1,3 +1,19 @@ +// --------------------------------------------------------------------- +// +// Copyright (C) 2003 - 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. +// +// --------------------------------------------------------------------- + + #include #include #include diff --git a/tests/fe/shapes.h b/tests/fe/shapes.h index f68fe13cf1..dbe5cda337 100644 --- a/tests/fe/shapes.h +++ b/tests/fe/shapes.h @@ -1,6 +1,19 @@ -// shapes.cc,v 1.18 2003/04/09 15:49:55 wolf Exp -// (c) Guido Kanschat +// --------------------------------------------------------------------- // +// Copyright (C) 2003 - 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. +// +// --------------------------------------------------------------------- + + // Show the shape functions implemented. #include diff --git a/tests/hp/hp_q_hierarchical_constraints.cc b/tests/hp/hp_q_hierarchical_constraints.cc index b0e001cbf6..1fc27dc29d 100644 --- a/tests/hp/hp_q_hierarchical_constraints.cc +++ b/tests/hp/hp_q_hierarchical_constraints.cc @@ -1,3 +1,19 @@ +// --------------------------------------------------------------------- +// +// Copyright (C) 2003 - 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. +// +// --------------------------------------------------------------------- + + #include #include #include diff --git a/tests/lac/quickmatrix.h b/tests/lac/quickmatrix.h index e2e240f675..a8f2849973 100644 --- a/tests/lac/quickmatrix.h +++ b/tests/lac/quickmatrix.h @@ -1,3 +1,18 @@ +// --------------------------------------------------------------------- +// +// Copyright (C) 2003 - 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. +// +// --------------------------------------------------------------------- + /** * Hard-coded Laplacian matrix. diff --git a/tests/lac/vector_memory_std_vector.cc b/tests/lac/vector_memory_std_vector.cc index 895cbd3430..a05a72a843 100644 --- a/tests/lac/vector_memory_std_vector.cc +++ b/tests/lac/vector_memory_std_vector.cc @@ -1,3 +1,19 @@ +// --------------------------------------------------------------------- +// +// Copyright (C) 2003 - 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. +// +// --------------------------------------------------------------------- + + #include #include diff --git a/tests/matrix_free/create_mesh.h b/tests/matrix_free/create_mesh.h index d22c71ddca..2a4629775c 100644 --- a/tests/matrix_free/create_mesh.h +++ b/tests/matrix_free/create_mesh.h @@ -1,7 +1,17 @@ -//----------------------- create_mesh.h ----------------------------- -// Version: $Name$ +// --------------------------------------------------------------------- // -//----------------------- create_mesh.h ----------------------------- +// Copyright (C) 2003 - 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. +// +// --------------------------------------------------------------------- // this creates a mesh that contains cells of all different kinds detected in diff --git a/tests/mpi/interpolate_to_different_mesh_01.cc b/tests/mpi/interpolate_to_different_mesh_01.cc index 7cacf4f6ac..676fada9b2 100644 --- a/tests/mpi/interpolate_to_different_mesh_01.cc +++ b/tests/mpi/interpolate_to_different_mesh_01.cc @@ -1,3 +1,19 @@ +// --------------------------------------------------------------------- +// +// Copyright (C) 2003 - 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. +// +// --------------------------------------------------------------------- + + #include #include diff --git a/tests/mpi/interpolate_to_different_mesh_02.cc b/tests/mpi/interpolate_to_different_mesh_02.cc index 6c3f8379ab..ae7a1fe470 100644 --- a/tests/mpi/interpolate_to_different_mesh_02.cc +++ b/tests/mpi/interpolate_to_different_mesh_02.cc @@ -1,3 +1,19 @@ +// --------------------------------------------------------------------- +// +// Copyright (C) 2003 - 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. +// +// --------------------------------------------------------------------- + + #include #include diff --git a/tests/petsc/petsc_mf_testmatrix.h b/tests/petsc/petsc_mf_testmatrix.h index 922f699928..bef7c87771 100644 --- a/tests/petsc/petsc_mf_testmatrix.h +++ b/tests/petsc/petsc_mf_testmatrix.h @@ -1,3 +1,18 @@ +// --------------------------------------------------------------------- +// +// Copyright (C) 2003 - 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. +// +// --------------------------------------------------------------------- + #include diff --git a/tests/slepc/testmatrix.h b/tests/slepc/testmatrix.h index d4d6bd2753..f8c8b20aeb 100644 --- a/tests/slepc/testmatrix.h +++ b/tests/slepc/testmatrix.h @@ -1,3 +1,18 @@ +// --------------------------------------------------------------------- +// +// Copyright (C) 2003 - 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. +// +// --------------------------------------------------------------------- + #include diff --git a/tests/testmatrix.h b/tests/testmatrix.h index 8994682804..b2c62b7d2d 100644 --- a/tests/testmatrix.h +++ b/tests/testmatrix.h @@ -1,3 +1,18 @@ +// --------------------------------------------------------------------- +// +// Copyright (C) 2003 - 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. +// +// --------------------------------------------------------------------- + #include -- 2.39.5