From 28c2cb585ea9789507342fb7abce52947d7a5763 Mon Sep 17 00:00:00 2001 From: Paul Kuberry Date: Tue, 2 Jul 2024 12:16:54 -0400 Subject: [PATCH] Update copyright --- COPYRIGHT | 10 +++++++++ LICENSE.md | 14 +----------- README.md | 14 ++++++++++++ examples/CommandLineProcessor.hpp | 8 +++++++ examples/Compadre_UnitTests.cpp | 8 +++++++ examples/GMLS_Device.cpp | 8 +++++++ examples/GMLS_DivergenceFree.cpp | 8 +++++++ examples/GMLS_Host.cpp | 8 +++++++ examples/GMLS_Manifold.cpp | 8 +++++++ examples/GMLS_Manifold.hpp | 8 +++++++ examples/GMLS_Manifold.py.in | 8 +++++++ ...MLS_Manifold_Multiple_Evaluation_Sites.cpp | 8 +++++++ examples/GMLS_Multiple_Evaluation_Sites.cpp | 8 +++++++ examples/GMLS_NeumannGradScalar.cpp | 8 +++++++ examples/GMLS_SmallBatchReuse_Device.cpp | 8 +++++++ examples/GMLS_Staggered.cpp | 8 +++++++ examples/GMLS_Staggered_Manifold.cpp | 8 +++++++ examples/GMLS_Tutorial.hpp | 8 +++++++ examples/GMLS_Vector.cpp | 8 +++++++ examples/NeighborSearchTest.cpp | 8 +++++++ examples/UtilityTest.cpp | 8 +++++++ examples/unittests/test_LinearAlgebra.hpp | 8 +++++++ examples/unittests/test_NeighborLists.hpp | 8 +++++++ examples/unittests/test_PointCloudSearch.hpp | 8 +++++++ examples/unittests/test_Targets.hpp | 8 +++++++ examples/unittests/test_XYZ.hpp | 8 +++++++ src/Compadre_ApplyTargetEvaluations.hpp | 8 +++++++ src/Compadre_Basis.hpp | 8 +++++++ src/Compadre_Evaluator.hpp | 8 +++++++ src/Compadre_Functors.hpp | 8 +++++++ src/Compadre_GMLS.cpp | 8 +++++++ src/Compadre_GMLS.hpp | 8 +++++++ src/Compadre_KokkosParser.cpp | 8 +++++++ src/Compadre_KokkosParser.hpp | 8 +++++++ src/Compadre_LinearAlgebra.cpp | 8 +++++++ src/Compadre_LinearAlgebra_Declarations.hpp | 8 +++++++ src/Compadre_LinearAlgebra_Definitions.hpp | 8 +++++++ src/Compadre_Manifold_Functions.hpp | 8 +++++++ src/Compadre_Misc.hpp | 8 +++++++ src/Compadre_NeighborLists.hpp | 8 +++++++ src/Compadre_Operators.hpp | 8 +++++++ src/Compadre_ParallelManager.hpp | 8 +++++++ src/Compadre_PointCloudSearch.hpp | 8 +++++++ src/Compadre_PointConnections.hpp | 8 +++++++ src/Compadre_Quadrature.hpp | 8 +++++++ src/Compadre_SolutionSet.hpp | 8 +++++++ src/Compadre_Targets.hpp | 8 +++++++ src/Compadre_Typedefs.hpp | 8 +++++++ ...ompadre_USER_ManifoldTargetFunctionals.hpp | 8 +++++++ ...ompadre_USER_StandardTargetFunctionals.hpp | 8 +++++++ src/Compadre_Utilities.hpp | 8 +++++++ src/basis/Compadre_BernsteinPolynomial.hpp | 8 +++++++ src/basis/Compadre_ScalarTaylorPolynomial.hpp | 8 +++++++ .../Compadre_CreateConstraints.hpp | 8 +++++++ .../KokkosBatched_SolveUTV_Decl_Compadre.hpp | 8 +++++++ ...ched_SolveUTV_TeamVector_Impl_Compadre.hpp | 8 +++++++ ..._SolveUTV_TeamVector_Internal_Compadre.hpp | 8 +++++++ src/tpl/nanoflann.hpp | 22 +++++++++---------- 58 files changed, 468 insertions(+), 24 deletions(-) create mode 100644 COPYRIGHT diff --git a/COPYRIGHT b/COPYRIGHT new file mode 100644 index 000000000..9643a520d --- /dev/null +++ b/COPYRIGHT @@ -0,0 +1,10 @@ + + Compadre: COMpatible PArticle Discretization and REmap Toolkit + Copyright (c) 2018 NTESS + +Copyright 2018 National Technology & Engineering Solutions of Sandia, +LLC (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the +U.S. Government retains certain rights in this software. + +Copyright the Compadre contributors. + diff --git a/LICENSE.md b/LICENSE.md index 31ef64e1a..d891546c4 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -1,9 +1,7 @@ License {#bsdlicense} ============= -Copyright 2018 National Technology & Engineering Solutions of Sandia, LLC (NTESS). -Under the terms of Contract DE-NA0003525, the U.S. Government retains certain rights -in this software. +Copyright (c) 2018 NTESS and the Compadre contributors. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: @@ -24,13 +22,3 @@ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -The views and conclusions contained in the software and documentation are those -of the authors and should not be interpreted as representing official policies, -either expressed or implied, of NTESS or the U.S. Government. - - - Questions? Contact Paul Kuberry (pakuber@sandia.gov), - Peter Bosler (pabosle@sandia.gov), or - Nat Trask (natrask@sandia.gov) - diff --git a/README.md b/README.md index fb2a4b0e0..d6be878f7 100644 --- a/README.md +++ b/README.md @@ -72,3 +72,17 @@ If you are using a particular release of the Compadre Toolkit and would like to ```diff ! DOI: 10.11578/dc.20190411.1 ``` + +## Copyright and License +See compadre/COPYRIGHT, compadre/LICENSE, https://trilinos.github.io/license.html and individual file headers for additional information. + + +## Questions? +Contact lead developers: + +* Compadre team (GitHub handle: @trilinos/Compadre) +* Paul Kuberry (GitHub handle: [kuberry](https://github.com/kuberry) or pakuber@sandia.gov@sandia.gov) + +The views and conclusions contained in the software and documentation are those +of the authors and should not be interpreted as representing official policies, +either expressed or implied, of NTESS or the U.S. Government. diff --git a/examples/CommandLineProcessor.hpp b/examples/CommandLineProcessor.hpp index 86f124d2a..b1cc25302 100644 --- a/examples/CommandLineProcessor.hpp +++ b/examples/CommandLineProcessor.hpp @@ -1,3 +1,11 @@ +// @HEADER +// ***************************************************************************** +// Compadre: COMpatible PArticle Discretization and REmap Toolkit +// +// Copyright 2018 NTESS and the Compadre contributors. +// SPDX-License-Identifier: BSD-2-Clause +// ***************************************************************************** +// @HEADER #ifndef COMMANDLINEPROCESSOR #define COMMANDLINEPROCESSOR diff --git a/examples/Compadre_UnitTests.cpp b/examples/Compadre_UnitTests.cpp index a1f4135a5..525ad45af 100644 --- a/examples/Compadre_UnitTests.cpp +++ b/examples/Compadre_UnitTests.cpp @@ -1,3 +1,11 @@ +// @HEADER +// ***************************************************************************** +// Compadre: COMpatible PArticle Discretization and REmap Toolkit +// +// Copyright 2018 NTESS and the Compadre contributors. +// SPDX-License-Identifier: BSD-2-Clause +// ***************************************************************************** +// @HEADER #include #include #include "unittests/test_XYZ.hpp" diff --git a/examples/GMLS_Device.cpp b/examples/GMLS_Device.cpp index af2dea6d8..da469cf15 100644 --- a/examples/GMLS_Device.cpp +++ b/examples/GMLS_Device.cpp @@ -1,3 +1,11 @@ +// @HEADER +// ***************************************************************************** +// Compadre: COMpatible PArticle Discretization and REmap Toolkit +// +// Copyright 2018 NTESS and the Compadre contributors. +// SPDX-License-Identifier: BSD-2-Clause +// ***************************************************************************** +// @HEADER #include #include #include diff --git a/examples/GMLS_DivergenceFree.cpp b/examples/GMLS_DivergenceFree.cpp index 0a28a2ff8..bbb6211a4 100644 --- a/examples/GMLS_DivergenceFree.cpp +++ b/examples/GMLS_DivergenceFree.cpp @@ -1,3 +1,11 @@ +// @HEADER +// ***************************************************************************** +// Compadre: COMpatible PArticle Discretization and REmap Toolkit +// +// Copyright 2018 NTESS and the Compadre contributors. +// SPDX-License-Identifier: BSD-2-Clause +// ***************************************************************************** +// @HEADER #include #include #include diff --git a/examples/GMLS_Host.cpp b/examples/GMLS_Host.cpp index 38bc3faea..1d1b757b4 100644 --- a/examples/GMLS_Host.cpp +++ b/examples/GMLS_Host.cpp @@ -1,3 +1,11 @@ +// @HEADER +// ***************************************************************************** +// Compadre: COMpatible PArticle Discretization and REmap Toolkit +// +// Copyright 2018 NTESS and the Compadre contributors. +// SPDX-License-Identifier: BSD-2-Clause +// ***************************************************************************** +// @HEADER #include #include #include diff --git a/examples/GMLS_Manifold.cpp b/examples/GMLS_Manifold.cpp index 2974291e5..dba828c26 100644 --- a/examples/GMLS_Manifold.cpp +++ b/examples/GMLS_Manifold.cpp @@ -1,3 +1,11 @@ +// @HEADER +// ***************************************************************************** +// Compadre: COMpatible PArticle Discretization and REmap Toolkit +// +// Copyright 2018 NTESS and the Compadre contributors. +// SPDX-License-Identifier: BSD-2-Clause +// ***************************************************************************** +// @HEADER #include #include #include diff --git a/examples/GMLS_Manifold.hpp b/examples/GMLS_Manifold.hpp index 58839fa61..8543741df 100644 --- a/examples/GMLS_Manifold.hpp +++ b/examples/GMLS_Manifold.hpp @@ -1,3 +1,11 @@ +// @HEADER +// ***************************************************************************** +// Compadre: COMpatible PArticle Discretization and REmap Toolkit +// +// Copyright 2018 NTESS and the Compadre contributors. +// SPDX-License-Identifier: BSD-2-Clause +// ***************************************************************************** +// @HEADER #ifndef _GMLS_MANIFOLD_HPP_ #define _GMLS_MANIFOLD_HPP_ diff --git a/examples/GMLS_Manifold.py.in b/examples/GMLS_Manifold.py.in index 09e31c7ee..943b72f8f 100644 --- a/examples/GMLS_Manifold.py.in +++ b/examples/GMLS_Manifold.py.in @@ -1,3 +1,11 @@ +# @HEADER +# ***************************************************************************** +# Compadre: COMpatible PArticle Discretization and REmap Toolkit +# +# Copyright 2018 NTESS and the Compadre contributors. +# SPDX-License-Identifier: BSD-2-Clause +# ***************************************************************************** +# @HEADER import subprocess import os import re diff --git a/examples/GMLS_Manifold_Multiple_Evaluation_Sites.cpp b/examples/GMLS_Manifold_Multiple_Evaluation_Sites.cpp index 5f044ea3c..b7c3fb93d 100644 --- a/examples/GMLS_Manifold_Multiple_Evaluation_Sites.cpp +++ b/examples/GMLS_Manifold_Multiple_Evaluation_Sites.cpp @@ -1,3 +1,11 @@ +// @HEADER +// ***************************************************************************** +// Compadre: COMpatible PArticle Discretization and REmap Toolkit +// +// Copyright 2018 NTESS and the Compadre contributors. +// SPDX-License-Identifier: BSD-2-Clause +// ***************************************************************************** +// @HEADER #include #include #include diff --git a/examples/GMLS_Multiple_Evaluation_Sites.cpp b/examples/GMLS_Multiple_Evaluation_Sites.cpp index 782c51177..54f515399 100644 --- a/examples/GMLS_Multiple_Evaluation_Sites.cpp +++ b/examples/GMLS_Multiple_Evaluation_Sites.cpp @@ -1,3 +1,11 @@ +// @HEADER +// ***************************************************************************** +// Compadre: COMpatible PArticle Discretization and REmap Toolkit +// +// Copyright 2018 NTESS and the Compadre contributors. +// SPDX-License-Identifier: BSD-2-Clause +// ***************************************************************************** +// @HEADER #include #include #include diff --git a/examples/GMLS_NeumannGradScalar.cpp b/examples/GMLS_NeumannGradScalar.cpp index d92851e3a..59e08d25c 100644 --- a/examples/GMLS_NeumannGradScalar.cpp +++ b/examples/GMLS_NeumannGradScalar.cpp @@ -1,3 +1,11 @@ +// @HEADER +// ***************************************************************************** +// Compadre: COMpatible PArticle Discretization and REmap Toolkit +// +// Copyright 2018 NTESS and the Compadre contributors. +// SPDX-License-Identifier: BSD-2-Clause +// ***************************************************************************** +// @HEADER #include #include #include diff --git a/examples/GMLS_SmallBatchReuse_Device.cpp b/examples/GMLS_SmallBatchReuse_Device.cpp index 8dd13cd44..37728bef4 100644 --- a/examples/GMLS_SmallBatchReuse_Device.cpp +++ b/examples/GMLS_SmallBatchReuse_Device.cpp @@ -1,3 +1,11 @@ +// @HEADER +// ***************************************************************************** +// Compadre: COMpatible PArticle Discretization and REmap Toolkit +// +// Copyright 2018 NTESS and the Compadre contributors. +// SPDX-License-Identifier: BSD-2-Clause +// ***************************************************************************** +// @HEADER /* * * This examples tests the ability to reuse a GMLS class instance, diff --git a/examples/GMLS_Staggered.cpp b/examples/GMLS_Staggered.cpp index 198abd698..f10a7f67b 100644 --- a/examples/GMLS_Staggered.cpp +++ b/examples/GMLS_Staggered.cpp @@ -1,3 +1,11 @@ +// @HEADER +// ***************************************************************************** +// Compadre: COMpatible PArticle Discretization and REmap Toolkit +// +// Copyright 2018 NTESS and the Compadre contributors. +// SPDX-License-Identifier: BSD-2-Clause +// ***************************************************************************** +// @HEADER #include #include #include diff --git a/examples/GMLS_Staggered_Manifold.cpp b/examples/GMLS_Staggered_Manifold.cpp index 9e808deb0..717e031b7 100644 --- a/examples/GMLS_Staggered_Manifold.cpp +++ b/examples/GMLS_Staggered_Manifold.cpp @@ -1,3 +1,11 @@ +// @HEADER +// ***************************************************************************** +// Compadre: COMpatible PArticle Discretization and REmap Toolkit +// +// Copyright 2018 NTESS and the Compadre contributors. +// SPDX-License-Identifier: BSD-2-Clause +// ***************************************************************************** +// @HEADER #include #include #include diff --git a/examples/GMLS_Tutorial.hpp b/examples/GMLS_Tutorial.hpp index bee612fd9..1448b6d62 100644 --- a/examples/GMLS_Tutorial.hpp +++ b/examples/GMLS_Tutorial.hpp @@ -1,3 +1,11 @@ +// @HEADER +// ***************************************************************************** +// Compadre: COMpatible PArticle Discretization and REmap Toolkit +// +// Copyright 2018 NTESS and the Compadre contributors. +// SPDX-License-Identifier: BSD-2-Clause +// ***************************************************************************** +// @HEADER #ifndef _GMLS_TUTORIAL_HPP_ #define _GMLS_TUTORIAL_HPP_ diff --git a/examples/GMLS_Vector.cpp b/examples/GMLS_Vector.cpp index fdb9da747..ee180305b 100644 --- a/examples/GMLS_Vector.cpp +++ b/examples/GMLS_Vector.cpp @@ -1,3 +1,11 @@ +// @HEADER +// ***************************************************************************** +// Compadre: COMpatible PArticle Discretization and REmap Toolkit +// +// Copyright 2018 NTESS and the Compadre contributors. +// SPDX-License-Identifier: BSD-2-Clause +// ***************************************************************************** +// @HEADER #include #include #include diff --git a/examples/NeighborSearchTest.cpp b/examples/NeighborSearchTest.cpp index 81f0cd9ac..29ddcbc86 100644 --- a/examples/NeighborSearchTest.cpp +++ b/examples/NeighborSearchTest.cpp @@ -1,3 +1,11 @@ +// @HEADER +// ***************************************************************************** +// Compadre: COMpatible PArticle Discretization and REmap Toolkit +// +// Copyright 2018 NTESS and the Compadre contributors. +// SPDX-License-Identifier: BSD-2-Clause +// ***************************************************************************** +// @HEADER #include #include #include diff --git a/examples/UtilityTest.cpp b/examples/UtilityTest.cpp index 80930046b..cd26d6714 100644 --- a/examples/UtilityTest.cpp +++ b/examples/UtilityTest.cpp @@ -1,3 +1,11 @@ +// @HEADER +// ***************************************************************************** +// Compadre: COMpatible PArticle Discretization and REmap Toolkit +// +// Copyright 2018 NTESS and the Compadre contributors. +// SPDX-License-Identifier: BSD-2-Clause +// ***************************************************************************** +// @HEADER #include #include #include diff --git a/examples/unittests/test_LinearAlgebra.hpp b/examples/unittests/test_LinearAlgebra.hpp index bd07cced3..27eccecef 100644 --- a/examples/unittests/test_LinearAlgebra.hpp +++ b/examples/unittests/test_LinearAlgebra.hpp @@ -1,3 +1,11 @@ +// @HEADER +// ***************************************************************************** +// Compadre: COMpatible PArticle Discretization and REmap Toolkit +// +// Copyright 2018 NTESS and the Compadre contributors. +// SPDX-License-Identifier: BSD-2-Clause +// ***************************************************************************** +// @HEADER #ifndef TEST_LINEARALGEBRA #define TEST_LINEARALGEBRA diff --git a/examples/unittests/test_NeighborLists.hpp b/examples/unittests/test_NeighborLists.hpp index e3a9c8b3c..3c8ef6fcc 100644 --- a/examples/unittests/test_NeighborLists.hpp +++ b/examples/unittests/test_NeighborLists.hpp @@ -1,3 +1,11 @@ +// @HEADER +// ***************************************************************************** +// Compadre: COMpatible PArticle Discretization and REmap Toolkit +// +// Copyright 2018 NTESS and the Compadre contributors. +// SPDX-License-Identifier: BSD-2-Clause +// ***************************************************************************** +// @HEADER #ifndef TEST_NEIGHBORLISTS #define TEST_NEIGHBORLISTS diff --git a/examples/unittests/test_PointCloudSearch.hpp b/examples/unittests/test_PointCloudSearch.hpp index 25d6dfb40..428368676 100644 --- a/examples/unittests/test_PointCloudSearch.hpp +++ b/examples/unittests/test_PointCloudSearch.hpp @@ -1,3 +1,11 @@ +// @HEADER +// ***************************************************************************** +// Compadre: COMpatible PArticle Discretization and REmap Toolkit +// +// Copyright 2018 NTESS and the Compadre contributors. +// SPDX-License-Identifier: BSD-2-Clause +// ***************************************************************************** +// @HEADER #ifndef TEST_POINTCLOUDSEARCH #define TEST_POINTCLOUDSEARCH diff --git a/examples/unittests/test_Targets.hpp b/examples/unittests/test_Targets.hpp index af4901f33..955ca1090 100644 --- a/examples/unittests/test_Targets.hpp +++ b/examples/unittests/test_Targets.hpp @@ -1,3 +1,11 @@ +// @HEADER +// ***************************************************************************** +// Compadre: COMpatible PArticle Discretization and REmap Toolkit +// +// Copyright 2018 NTESS and the Compadre contributors. +// SPDX-License-Identifier: BSD-2-Clause +// ***************************************************************************** +// @HEADER #ifndef TEST_TARGETS #define TEST_TARGETS diff --git a/examples/unittests/test_XYZ.hpp b/examples/unittests/test_XYZ.hpp index bfef30d05..718507288 100644 --- a/examples/unittests/test_XYZ.hpp +++ b/examples/unittests/test_XYZ.hpp @@ -1,3 +1,11 @@ +// @HEADER +// ***************************************************************************** +// Compadre: COMpatible PArticle Discretization and REmap Toolkit +// +// Copyright 2018 NTESS and the Compadre contributors. +// SPDX-License-Identifier: BSD-2-Clause +// ***************************************************************************** +// @HEADER #ifndef TEST_XYZ #define TEST_XYZ diff --git a/src/Compadre_ApplyTargetEvaluations.hpp b/src/Compadre_ApplyTargetEvaluations.hpp index a370b2b79..c7655697d 100644 --- a/src/Compadre_ApplyTargetEvaluations.hpp +++ b/src/Compadre_ApplyTargetEvaluations.hpp @@ -1,3 +1,11 @@ +// @HEADER +// ***************************************************************************** +// Compadre: COMpatible PArticle Discretization and REmap Toolkit +// +// Copyright 2018 NTESS and the Compadre contributors. +// SPDX-License-Identifier: BSD-2-Clause +// ***************************************************************************** +// @HEADER #ifndef _COMPADRE_APPLY_TARGET_EVALUATIONS_HPP_ #define _COMPADRE_APPLY_TARGET_EVALUATIONS_HPP_ diff --git a/src/Compadre_Basis.hpp b/src/Compadre_Basis.hpp index fd814b8f1..b6aa72544 100644 --- a/src/Compadre_Basis.hpp +++ b/src/Compadre_Basis.hpp @@ -1,3 +1,11 @@ +// @HEADER +// ***************************************************************************** +// Compadre: COMpatible PArticle Discretization and REmap Toolkit +// +// Copyright 2018 NTESS and the Compadre contributors. +// SPDX-License-Identifier: BSD-2-Clause +// ***************************************************************************** +// @HEADER #ifndef _COMPADRE_BASIS_HPP_ #define _COMPADRE_BASIS_HPP_ diff --git a/src/Compadre_Evaluator.hpp b/src/Compadre_Evaluator.hpp index 98bf2fd82..41c599bd2 100644 --- a/src/Compadre_Evaluator.hpp +++ b/src/Compadre_Evaluator.hpp @@ -1,3 +1,11 @@ +// @HEADER +// ***************************************************************************** +// Compadre: COMpatible PArticle Discretization and REmap Toolkit +// +// Copyright 2018 NTESS and the Compadre contributors. +// SPDX-License-Identifier: BSD-2-Clause +// ***************************************************************************** +// @HEADER #ifndef _COMPADRE_EVALUATOR_HPP_ #define _COMPADRE_EVALUATOR_HPP_ diff --git a/src/Compadre_Functors.hpp b/src/Compadre_Functors.hpp index 83d30393e..20059676e 100644 --- a/src/Compadre_Functors.hpp +++ b/src/Compadre_Functors.hpp @@ -1,3 +1,11 @@ +// @HEADER +// ***************************************************************************** +// Compadre: COMpatible PArticle Discretization and REmap Toolkit +// +// Copyright 2018 NTESS and the Compadre contributors. +// SPDX-License-Identifier: BSD-2-Clause +// ***************************************************************************** +// @HEADER #ifndef _COMPADRE_FUNCTORS_HPP_ #define _COMPADRE_FUNCTORS_HPP_ diff --git a/src/Compadre_GMLS.cpp b/src/Compadre_GMLS.cpp index 1f718f3de..d847190f6 100644 --- a/src/Compadre_GMLS.cpp +++ b/src/Compadre_GMLS.cpp @@ -1,3 +1,11 @@ +// @HEADER +// ***************************************************************************** +// Compadre: COMpatible PArticle Discretization and REmap Toolkit +// +// Copyright 2018 NTESS and the Compadre contributors. +// SPDX-License-Identifier: BSD-2-Clause +// ***************************************************************************** +// @HEADER #include "Compadre_GMLS.hpp" #include "Compadre_Functors.hpp" diff --git a/src/Compadre_GMLS.hpp b/src/Compadre_GMLS.hpp index 25d83d339..5e814ee31 100644 --- a/src/Compadre_GMLS.hpp +++ b/src/Compadre_GMLS.hpp @@ -1,3 +1,11 @@ +// @HEADER +// ***************************************************************************** +// Compadre: COMpatible PArticle Discretization and REmap Toolkit +// +// Copyright 2018 NTESS and the Compadre contributors. +// SPDX-License-Identifier: BSD-2-Clause +// ***************************************************************************** +// @HEADER #ifndef _COMPADRE_GMLS_HPP_ #define _COMPADRE_GMLS_HPP_ diff --git a/src/Compadre_KokkosParser.cpp b/src/Compadre_KokkosParser.cpp index 8d11bf827..e488e0cb4 100644 --- a/src/Compadre_KokkosParser.cpp +++ b/src/Compadre_KokkosParser.cpp @@ -1,3 +1,11 @@ +// @HEADER +// ***************************************************************************** +// Compadre: COMpatible PArticle Discretization and REmap Toolkit +// +// Copyright 2018 NTESS and the Compadre contributors. +// SPDX-License-Identifier: BSD-2-Clause +// ***************************************************************************** +// @HEADER #include "Compadre_KokkosParser.hpp" using namespace Compadre; diff --git a/src/Compadre_KokkosParser.hpp b/src/Compadre_KokkosParser.hpp index c16b8c340..83f69bcaf 100644 --- a/src/Compadre_KokkosParser.hpp +++ b/src/Compadre_KokkosParser.hpp @@ -1,3 +1,11 @@ +// @HEADER +// ***************************************************************************** +// Compadre: COMpatible PArticle Discretization and REmap Toolkit +// +// Copyright 2018 NTESS and the Compadre contributors. +// SPDX-License-Identifier: BSD-2-Clause +// ***************************************************************************** +// @HEADER #ifndef _COMPADRE_KOKKOSPARSER_HPP_ #define _COMPADRE_KOKKOSPARSER_HPP_ diff --git a/src/Compadre_LinearAlgebra.cpp b/src/Compadre_LinearAlgebra.cpp index 7fa648cee..687c0f6e3 100644 --- a/src/Compadre_LinearAlgebra.cpp +++ b/src/Compadre_LinearAlgebra.cpp @@ -1,3 +1,11 @@ +// @HEADER +// ***************************************************************************** +// Compadre: COMpatible PArticle Discretization and REmap Toolkit +// +// Copyright 2018 NTESS and the Compadre contributors. +// SPDX-License-Identifier: BSD-2-Clause +// ***************************************************************************** +// @HEADER #include "Compadre_LinearAlgebra_Definitions.hpp" #include "KokkosBatched_Copy_Decl.hpp" diff --git a/src/Compadre_LinearAlgebra_Declarations.hpp b/src/Compadre_LinearAlgebra_Declarations.hpp index 4a93ec579..c5837402c 100644 --- a/src/Compadre_LinearAlgebra_Declarations.hpp +++ b/src/Compadre_LinearAlgebra_Declarations.hpp @@ -1,3 +1,11 @@ +// @HEADER +// ***************************************************************************** +// Compadre: COMpatible PArticle Discretization and REmap Toolkit +// +// Copyright 2018 NTESS and the Compadre contributors. +// SPDX-License-Identifier: BSD-2-Clause +// ***************************************************************************** +// @HEADER #ifndef _COMPADRE_LINEAR_ALGEBRA_DECLARATIONS_HPP_ #define _COMPADRE_LINEAR_ALGEBRA_DECLARATIONS_HPP_ diff --git a/src/Compadre_LinearAlgebra_Definitions.hpp b/src/Compadre_LinearAlgebra_Definitions.hpp index 24aeb979c..0efc4bd08 100644 --- a/src/Compadre_LinearAlgebra_Definitions.hpp +++ b/src/Compadre_LinearAlgebra_Definitions.hpp @@ -1,3 +1,11 @@ +// @HEADER +// ***************************************************************************** +// Compadre: COMpatible PArticle Discretization and REmap Toolkit +// +// Copyright 2018 NTESS and the Compadre contributors. +// SPDX-License-Identifier: BSD-2-Clause +// ***************************************************************************** +// @HEADER #ifndef _COMPADRE_LINEAR_ALGEBRA_DEFINITIONS_HPP_ #define _COMPADRE_LINEAR_ALGEBRA_DEFINITIONS_HPP_ diff --git a/src/Compadre_Manifold_Functions.hpp b/src/Compadre_Manifold_Functions.hpp index e6ca2e81a..aab298bea 100644 --- a/src/Compadre_Manifold_Functions.hpp +++ b/src/Compadre_Manifold_Functions.hpp @@ -1,3 +1,11 @@ +// @HEADER +// ***************************************************************************** +// Compadre: COMpatible PArticle Discretization and REmap Toolkit +// +// Copyright 2018 NTESS and the Compadre contributors. +// SPDX-License-Identifier: BSD-2-Clause +// ***************************************************************************** +// @HEADER namespace Compadre { diff --git a/src/Compadre_Misc.hpp b/src/Compadre_Misc.hpp index 80677ca41..aa9a74550 100644 --- a/src/Compadre_Misc.hpp +++ b/src/Compadre_Misc.hpp @@ -1,3 +1,11 @@ +// @HEADER +// ***************************************************************************** +// Compadre: COMpatible PArticle Discretization and REmap Toolkit +// +// Copyright 2018 NTESS and the Compadre contributors. +// SPDX-License-Identifier: BSD-2-Clause +// ***************************************************************************** +// @HEADER #ifndef _COMPADRE_MISC_HPP_ #define _COMPADRE_MISC_HPP_ diff --git a/src/Compadre_NeighborLists.hpp b/src/Compadre_NeighborLists.hpp index e44325d48..94da53de1 100644 --- a/src/Compadre_NeighborLists.hpp +++ b/src/Compadre_NeighborLists.hpp @@ -1,3 +1,11 @@ +// @HEADER +// ***************************************************************************** +// Compadre: COMpatible PArticle Discretization and REmap Toolkit +// +// Copyright 2018 NTESS and the Compadre contributors. +// SPDX-License-Identifier: BSD-2-Clause +// ***************************************************************************** +// @HEADER #ifndef _COMPADRE_NEIGHBORLISTS_HPP_ #define _COMPADRE_NEIGHBORLISTS_HPP_ diff --git a/src/Compadre_Operators.hpp b/src/Compadre_Operators.hpp index 20aeddaf0..af00b694a 100644 --- a/src/Compadre_Operators.hpp +++ b/src/Compadre_Operators.hpp @@ -1,3 +1,11 @@ +// @HEADER +// ***************************************************************************** +// Compadre: COMpatible PArticle Discretization and REmap Toolkit +// +// Copyright 2018 NTESS and the Compadre contributors. +// SPDX-License-Identifier: BSD-2-Clause +// ***************************************************************************** +// @HEADER #ifndef _COMPADRE_OPERATORS_HPP_ #define _COMPADRE_OPERATORS_HPP_ diff --git a/src/Compadre_ParallelManager.hpp b/src/Compadre_ParallelManager.hpp index ad14af00a..75723874e 100644 --- a/src/Compadre_ParallelManager.hpp +++ b/src/Compadre_ParallelManager.hpp @@ -1,3 +1,11 @@ +// @HEADER +// ***************************************************************************** +// Compadre: COMpatible PArticle Discretization and REmap Toolkit +// +// Copyright 2018 NTESS and the Compadre contributors. +// SPDX-License-Identifier: BSD-2-Clause +// ***************************************************************************** +// @HEADER #ifndef _COMPADRE_PARALLELMANAGER_HPP_ #define _COMPADRE_PARALLELMANAGER_HPP_ diff --git a/src/Compadre_PointCloudSearch.hpp b/src/Compadre_PointCloudSearch.hpp index 9d6f85448..0704aabd0 100644 --- a/src/Compadre_PointCloudSearch.hpp +++ b/src/Compadre_PointCloudSearch.hpp @@ -1,3 +1,11 @@ +// @HEADER +// ***************************************************************************** +// Compadre: COMpatible PArticle Discretization and REmap Toolkit +// +// Copyright 2018 NTESS and the Compadre contributors. +// SPDX-License-Identifier: BSD-2-Clause +// ***************************************************************************** +// @HEADER #ifndef _COMPADRE_POINTCLOUDSEARCH_HPP_ #define _COMPADRE_POINTCLOUDSEARCH_HPP_ diff --git a/src/Compadre_PointConnections.hpp b/src/Compadre_PointConnections.hpp index 065c6eac4..ec10b444c 100644 --- a/src/Compadre_PointConnections.hpp +++ b/src/Compadre_PointConnections.hpp @@ -1,3 +1,11 @@ +// @HEADER +// ***************************************************************************** +// Compadre: COMpatible PArticle Discretization and REmap Toolkit +// +// Copyright 2018 NTESS and the Compadre contributors. +// SPDX-License-Identifier: BSD-2-Clause +// ***************************************************************************** +// @HEADER #ifndef _COMPADRE_POINTCONNECTIONS_HPP_ #define _COMPADRE_POINTCONNECTIONS_HPP_ diff --git a/src/Compadre_Quadrature.hpp b/src/Compadre_Quadrature.hpp index 23d10e39b..a2b917350 100644 --- a/src/Compadre_Quadrature.hpp +++ b/src/Compadre_Quadrature.hpp @@ -1,3 +1,11 @@ +// @HEADER +// ***************************************************************************** +// Compadre: COMpatible PArticle Discretization and REmap Toolkit +// +// Copyright 2018 NTESS and the Compadre contributors. +// SPDX-License-Identifier: BSD-2-Clause +// ***************************************************************************** +// @HEADER #ifndef _COMPADRE_QUADRATUREMANAGER_HPP_ #define _COMPADRE_QUADRATUREMANAGER_HPP_ diff --git a/src/Compadre_SolutionSet.hpp b/src/Compadre_SolutionSet.hpp index f7dc83e5c..bc4286cda 100644 --- a/src/Compadre_SolutionSet.hpp +++ b/src/Compadre_SolutionSet.hpp @@ -1,3 +1,11 @@ +// @HEADER +// ***************************************************************************** +// Compadre: COMpatible PArticle Discretization and REmap Toolkit +// +// Copyright 2018 NTESS and the Compadre contributors. +// SPDX-License-Identifier: BSD-2-Clause +// ***************************************************************************** +// @HEADER #ifndef _COMPADRE_SOLUTIONSET_HPP_ #define _COMPADRE_SOLUTIONSET_HPP_ diff --git a/src/Compadre_Targets.hpp b/src/Compadre_Targets.hpp index 80f87f231..938b0acc1 100644 --- a/src/Compadre_Targets.hpp +++ b/src/Compadre_Targets.hpp @@ -1,3 +1,11 @@ +// @HEADER +// ***************************************************************************** +// Compadre: COMpatible PArticle Discretization and REmap Toolkit +// +// Copyright 2018 NTESS and the Compadre contributors. +// SPDX-License-Identifier: BSD-2-Clause +// ***************************************************************************** +// @HEADER #ifndef _COMPADRE_TARGETS_HPP_ #define _COMPADRE_TARGETS_HPP_ diff --git a/src/Compadre_Typedefs.hpp b/src/Compadre_Typedefs.hpp index 289b43f7e..b515c1161 100644 --- a/src/Compadre_Typedefs.hpp +++ b/src/Compadre_Typedefs.hpp @@ -1,3 +1,11 @@ +// @HEADER +// ***************************************************************************** +// Compadre: COMpatible PArticle Discretization and REmap Toolkit +// +// Copyright 2018 NTESS and the Compadre contributors. +// SPDX-License-Identifier: BSD-2-Clause +// ***************************************************************************** +// @HEADER #ifndef _COMPADRE_TYPEDEFS_HPP_ #define _COMPADRE_TYPEDEFS_HPP_ diff --git a/src/Compadre_USER_ManifoldTargetFunctionals.hpp b/src/Compadre_USER_ManifoldTargetFunctionals.hpp index bd3a6132c..e11676864 100644 --- a/src/Compadre_USER_ManifoldTargetFunctionals.hpp +++ b/src/Compadre_USER_ManifoldTargetFunctionals.hpp @@ -1,3 +1,11 @@ +// @HEADER +// ***************************************************************************** +// Compadre: COMpatible PArticle Discretization and REmap Toolkit +// +// Copyright 2018 NTESS and the Compadre contributors. +// SPDX-License-Identifier: BSD-2-Clause +// ***************************************************************************** +// @HEADER // this file picks up at the beginning of the computeTargetFunctionalsOnManifold function #ifndef _USER_MANIFOLD_TARGET_FUNCTIONALS_HPP_ #define _USER_MANIFOLD_TARGET_FUNCTIONALS_HPP_ diff --git a/src/Compadre_USER_StandardTargetFunctionals.hpp b/src/Compadre_USER_StandardTargetFunctionals.hpp index 398ce4136..0f94e56fc 100644 --- a/src/Compadre_USER_StandardTargetFunctionals.hpp +++ b/src/Compadre_USER_StandardTargetFunctionals.hpp @@ -1,3 +1,11 @@ +// @HEADER +// ***************************************************************************** +// Compadre: COMpatible PArticle Discretization and REmap Toolkit +// +// Copyright 2018 NTESS and the Compadre contributors. +// SPDX-License-Identifier: BSD-2-Clause +// ***************************************************************************** +// @HEADER // this file picks up at the beginning of the computeTargetFunctionals function #ifndef _USER_STANDARD_TARGET_FUNCTIONALS_HPP_ #define _USER_STANDARD_TARGET_FUNCTIONALS_HPP_ diff --git a/src/Compadre_Utilities.hpp b/src/Compadre_Utilities.hpp index 707dde115..ed30313b3 100644 --- a/src/Compadre_Utilities.hpp +++ b/src/Compadre_Utilities.hpp @@ -1,3 +1,11 @@ +// @HEADER +// ***************************************************************************** +// Compadre: COMpatible PArticle Discretization and REmap Toolkit +// +// Copyright 2018 NTESS and the Compadre contributors. +// SPDX-License-Identifier: BSD-2-Clause +// ***************************************************************************** +// @HEADER #ifndef _COMPADRE_UTILITIES_HPP_ #define _COMPADRE_UTILITIES_HPP_ diff --git a/src/basis/Compadre_BernsteinPolynomial.hpp b/src/basis/Compadre_BernsteinPolynomial.hpp index 15d090226..0f89c850f 100644 --- a/src/basis/Compadre_BernsteinPolynomial.hpp +++ b/src/basis/Compadre_BernsteinPolynomial.hpp @@ -1,3 +1,11 @@ +// @HEADER +// ***************************************************************************** +// Compadre: COMpatible PArticle Discretization and REmap Toolkit +// +// Copyright 2018 NTESS and the Compadre contributors. +// SPDX-License-Identifier: BSD-2-Clause +// ***************************************************************************** +// @HEADER #ifndef _COMPADRE_GMLS_BERNSTEIN_BASIS_HPP_ #define _COMPADRE_GMLS_BERNSTEIN_BASIS_HPP_ diff --git a/src/basis/Compadre_ScalarTaylorPolynomial.hpp b/src/basis/Compadre_ScalarTaylorPolynomial.hpp index 6bb3d003b..3d42140fc 100644 --- a/src/basis/Compadre_ScalarTaylorPolynomial.hpp +++ b/src/basis/Compadre_ScalarTaylorPolynomial.hpp @@ -1,3 +1,11 @@ +// @HEADER +// ***************************************************************************** +// Compadre: COMpatible PArticle Discretization and REmap Toolkit +// +// Copyright 2018 NTESS and the Compadre contributors. +// SPDX-License-Identifier: BSD-2-Clause +// ***************************************************************************** +// @HEADER #ifndef _COMPADRE_SCALAR_TAYLORPOLYNOMIAL_BASIS_HPP_ #define _COMPADRE_SCALAR_TAYLORPOLYNOMIAL_BASIS_HPP_ diff --git a/src/constraints/Compadre_CreateConstraints.hpp b/src/constraints/Compadre_CreateConstraints.hpp index ed9e5acdf..29016cfb9 100644 --- a/src/constraints/Compadre_CreateConstraints.hpp +++ b/src/constraints/Compadre_CreateConstraints.hpp @@ -1,3 +1,11 @@ +// @HEADER +// ***************************************************************************** +// Compadre: COMpatible PArticle Discretization and REmap Toolkit +// +// Copyright 2018 NTESS and the Compadre contributors. +// SPDX-License-Identifier: BSD-2-Clause +// ***************************************************************************** +// @HEADER #ifndef _CREATE_CONSTRAINTS_ #define _CREATE_CONSTRAINTS_ diff --git a/src/tpl/KokkosBatched_SolveUTV_Decl_Compadre.hpp b/src/tpl/KokkosBatched_SolveUTV_Decl_Compadre.hpp index 8e2dafa48..22a329b0e 100644 --- a/src/tpl/KokkosBatched_SolveUTV_Decl_Compadre.hpp +++ b/src/tpl/KokkosBatched_SolveUTV_Decl_Compadre.hpp @@ -1,3 +1,11 @@ +// @HEADER +// ***************************************************************************** +// Compadre: COMpatible PArticle Discretization and REmap Toolkit +// +// Copyright 2018 NTESS and the Compadre contributors. +// SPDX-License-Identifier: BSD-2-Clause +// ***************************************************************************** +// @HEADER #ifndef __KOKKOSBATCHED_SOLVE_UTV_DECL_COMPADRE_HPP__ #define __KOKKOSBATCHED_SOLVE_UTV_DECL_COMPADRE_HPP__ diff --git a/src/tpl/KokkosBatched_SolveUTV_TeamVector_Impl_Compadre.hpp b/src/tpl/KokkosBatched_SolveUTV_TeamVector_Impl_Compadre.hpp index 83d81bdc7..1386d89c4 100644 --- a/src/tpl/KokkosBatched_SolveUTV_TeamVector_Impl_Compadre.hpp +++ b/src/tpl/KokkosBatched_SolveUTV_TeamVector_Impl_Compadre.hpp @@ -1,3 +1,11 @@ +// @HEADER +// ***************************************************************************** +// Compadre: COMpatible PArticle Discretization and REmap Toolkit +// +// Copyright 2018 NTESS and the Compadre contributors. +// SPDX-License-Identifier: BSD-2-Clause +// ***************************************************************************** +// @HEADER #ifndef __KOKKOSBATCHED_SOLVE_UTV_TEAMVECTOR_IMPL_COMPADRE_HPP__ #define __KOKKOSBATCHED_SOLVE_UTV_TEAMVECTOR_IMPL_COMPADRE_HPP__ diff --git a/src/tpl/KokkosBatched_SolveUTV_TeamVector_Internal_Compadre.hpp b/src/tpl/KokkosBatched_SolveUTV_TeamVector_Internal_Compadre.hpp index 9a681ab12..3486b4220 100644 --- a/src/tpl/KokkosBatched_SolveUTV_TeamVector_Internal_Compadre.hpp +++ b/src/tpl/KokkosBatched_SolveUTV_TeamVector_Internal_Compadre.hpp @@ -1,3 +1,11 @@ +// @HEADER +// ***************************************************************************** +// Compadre: COMpatible PArticle Discretization and REmap Toolkit +// +// Copyright 2018 NTESS and the Compadre contributors. +// SPDX-License-Identifier: BSD-2-Clause +// ***************************************************************************** +// @HEADER #ifndef __KOKKOSBATCHED_SOLVE_UTV_TEAMVECTOR_INTERNAL_COMPADRE_HPP__ #define __KOKKOSBATCHED_SOLVE_UTV_TEAMVECTOR_INTERNAL_COMPADRE_HPP__ diff --git a/src/tpl/nanoflann.hpp b/src/tpl/nanoflann.hpp index 422637afe..d169f95c9 100755 --- a/src/tpl/nanoflann.hpp +++ b/src/tpl/nanoflann.hpp @@ -457,7 +457,7 @@ namespace nanoflann }; }; /** Metaprogramming helper traits class for the L2 (Euclidean) metric */ - struct metric_L2 : public Metric + struct metric_L2 : public Metric { template struct traits { @@ -473,7 +473,7 @@ namespace nanoflann }; }; /** Metaprogramming helper traits class for the SO3_InnerProdQuat metric */ - struct metric_SO2 : public Metric + struct metric_SO2 : public Metric { template struct traits { @@ -790,7 +790,7 @@ namespace nanoflann struct array_or_vector_selector<-1, T> { typedef std::vector container_t; }; - + /** @} */ /** kd-tree base-class @@ -837,7 +837,7 @@ namespace nanoflann } node_type; Node *child1, *child2; //!< Child nodes (both=NULL mean its a leaf node) }; - + typedef Node* NodePtr; struct Interval @@ -865,7 +865,7 @@ namespace nanoflann typedef typename array_or_vector_selector::container_t distance_vector_t; /** The KD-tree used to find neighbours */ - + BoundingBox root_bbox; /** @@ -1163,7 +1163,7 @@ namespace nanoflann /** Hidden copy constructor, to disallow copying indices (Not implemented) */ KDTreeSingleIndexAdaptor(const KDTreeSingleIndexAdaptor&); public: - + /** * The dataset used by this index */ @@ -1466,7 +1466,7 @@ namespace nanoflann * \tparam Distance The distance metric to use: nanoflann::metric_L1, nanoflann::metric_L2, nanoflann::metric_L2_Simple, etc. * \tparam DIM Dimensionality of data points (e.g. 3 for 3D points) * \tparam IndexType Will be typically size_t or int - */ + */ template class KDTreeSingleIndexDynamicAdaptor_ : public KDTreeBaseClass, Distance, DatasetAdaptor, DIM, IndexType> { @@ -1588,7 +1588,7 @@ namespace nanoflann * the result object. * \sa radiusSearch, findNeighbors * \note nChecks_IGNORED is ignored but kept for compatibility with the original FLANN interface. - * \return Number `N` of valid points in the result set. Only the first `N` entries in `out_indices` and `out_distances_sq` will be valid. + * \return Number `N` of valid points in the result set. Only the first `N` entries in `out_indices` and `out_distances_sq` will be valid. * Return may be less than `num_closest` only if the number of elements in the tree is less than `num_closest`. */ size_t knnSearch(const ElementType *query_point, const size_t num_closest, IndexType *out_indices, DistanceType *out_distances_sq, const int /* nChecks_IGNORED */ = 10) const @@ -1742,7 +1742,7 @@ namespace nanoflann /** kd-tree dynaimic index * * class to create multiple static index and merge their results to behave as single dynamic index as proposed in Logarithmic Approach. - * + * * Example of usage: * examples/dynamic_pointcloud_example.cpp * @@ -1778,7 +1778,7 @@ namespace nanoflann std::vector index; public: - /** Get a const ref to the internal list of indices; the number of indices is adapted dynamically as + /** Get a const ref to the internal list of indices; the number of indices is adapted dynamically as * the dataset grows in size. */ const std::vector & getAllIndices() const { return index; @@ -1889,7 +1889,7 @@ namespace nanoflann return result.full(); } - }; + }; /** An L2-metric KD-tree adaptor for working with data directly stored in an Eigen Matrix, without duplicating the data storage. * Each row in the matrix represents a point in the state space.