diff --git a/.github/workflows/cuda.yml b/.github/workflows/cuda.yml index 389f297249..e93e40eec0 100644 --- a/.github/workflows/cuda.yml +++ b/.github/workflows/cuda.yml @@ -1,3 +1,10 @@ +# Copyright 2022 +# +# This file is part of HiPACE++. +# +# Authors: Axel Huebl +# License: BSD-3-Clause-LBNL + name: 🐧 CUDA on: [push, pull_request] diff --git a/.github/workflows/disabled/macos.yml b/.github/workflows/disabled/macos.yml index 98ae36db45..5651a2ed67 100644 --- a/.github/workflows/disabled/macos.yml +++ b/.github/workflows/disabled/macos.yml @@ -1,3 +1,10 @@ +# Copyright 2020 +# +# This file is part of HiPACE++. +# +# Authors: Axel Huebl, MaxThevenet +# License: BSD-3-Clause-LBNL + name: macos on: [pull_request] diff --git a/.github/workflows/hip.yml b/.github/workflows/hip.yml index 42beb0ee19..f8a8b931f9 100644 --- a/.github/workflows/hip.yml +++ b/.github/workflows/hip.yml @@ -1,3 +1,10 @@ +# Copyright 2021-2022 +# +# This file is part of HiPACE++. +# +# Authors: Axel Huebl +# License: BSD-3-Clause-LBNL + name: 🐧 HIP on: [push, pull_request] diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index d82489c4cf..689247d624 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -1,3 +1,10 @@ +# Copyright 2020-2022 +# +# This file is part of HiPACE++. +# +# Authors: Axel Huebl, MaxThevenet, Severin Diederichs +# License: BSD-3-Clause-LBNL + name: linux on: diff --git a/.github/workflows/setup/hip.sh b/.github/workflows/setup/hip.sh index 74625e5ec9..5c1e98b857 100755 --- a/.github/workflows/setup/hip.sh +++ b/.github/workflows/setup/hip.sh @@ -1,4 +1,12 @@ #!/usr/bin/env bash + +# Copyright 2021-2022 +# +# This file is part of HiPACE++. +# +# Authors: Axel Huebl +# License: BSD-3-Clause-LBNL + # # Copyright 2020 The WarpX Community # diff --git a/.github/workflows/setup/macos.sh b/.github/workflows/setup/macos.sh index 42998b95d9..22621145ee 100755 --- a/.github/workflows/setup/macos.sh +++ b/.github/workflows/setup/macos.sh @@ -1,9 +1,11 @@ #!/usr/bin/env bash + +# Copyright 2020-2021 # -# Copyright 2020 The HiPACE++ Community +# This file is part of HiPACE++. # +# Authors: Axel Huebl, MaxThevenet, Severin Diederichs # License: BSD-3-Clause-LBNL -# Authors: Axel Huebl set -eu -o pipefail diff --git a/.github/workflows/setup/macos_omp.sh b/.github/workflows/setup/macos_omp.sh index be7a9fbc35..055337603d 100755 --- a/.github/workflows/setup/macos_omp.sh +++ b/.github/workflows/setup/macos_omp.sh @@ -1,4 +1,12 @@ #!/usr/bin/env bash + +# Copyright 2020-2021 +# +# This file is part of HiPACE++. +# +# Authors: Axel Huebl, MaxThevenet, Severin Diederichs +# License: BSD-3-Clause-LBNL + # # Copyright 2020 The HiPACE++ Community # diff --git a/.github/workflows/setup/nvcc11.sh b/.github/workflows/setup/nvcc11.sh index b02d058e66..e995b8715b 100755 --- a/.github/workflows/setup/nvcc11.sh +++ b/.github/workflows/setup/nvcc11.sh @@ -1,4 +1,12 @@ #!/usr/bin/env bash + +# Copyright 2022 +# +# This file is part of HiPACE++. +# +# Authors: Axel Huebl +# License: BSD-3-Clause-LBNL + # # Copyright 2021-2022 Axel Huebl # diff --git a/.github/workflows/setup/nvhpc.sh b/.github/workflows/setup/nvhpc.sh index 39b5bf89dc..169b2fc572 100755 --- a/.github/workflows/setup/nvhpc.sh +++ b/.github/workflows/setup/nvhpc.sh @@ -1,4 +1,12 @@ #!/usr/bin/env bash + +# Copyright 2022 +# +# This file is part of HiPACE++. +# +# Authors: Axel Huebl +# License: BSD-3-Clause-LBNL + # # Copyright 2021-2022 Axel Huebl # diff --git a/.github/workflows/setup/ubuntu.sh b/.github/workflows/setup/ubuntu.sh index 8c25ecab01..2343326226 100755 --- a/.github/workflows/setup/ubuntu.sh +++ b/.github/workflows/setup/ubuntu.sh @@ -1,9 +1,12 @@ #!/usr/bin/env bash + +# Copyright 2020-2022 +# +# This file is part of HiPACE++. # -# Copyright 2020 The HiPACE++ Community +# Authors: AlexanderSinn, Axel Huebl, MaxThevenet, Severin Diederichs # # License: BSD-3-Clause-LBNL -# Authors: Axel Huebl set -eu -o pipefail diff --git a/.github/workflows/setup/ubuntu_clang.sh b/.github/workflows/setup/ubuntu_clang.sh index ff2ee2e595..212c59402b 100755 --- a/.github/workflows/setup/ubuntu_clang.sh +++ b/.github/workflows/setup/ubuntu_clang.sh @@ -1,9 +1,11 @@ #!/usr/bin/env bash + +# Copyright 2020-2022 # -# Copyright 2020-2022 The HiPACE++ Community +# This file is part of HiPACE++. # +# Authors: Axel Huebl, MaxThevenet, Severin Diederichs # License: BSD-3-Clause-LBNL -# Authors: Axel Huebl set -eu -o pipefail diff --git a/.github/workflows/setup/ubuntu_ompi.sh b/.github/workflows/setup/ubuntu_ompi.sh index 98e4c49071..b70d70fd28 100755 --- a/.github/workflows/setup/ubuntu_ompi.sh +++ b/.github/workflows/setup/ubuntu_ompi.sh @@ -1,9 +1,12 @@ #!/usr/bin/env bash + +# Copyright 2020-2021 +# +# This file is part of HiPACE++. # -# Copyright 2020 The HiPACE++ Community +# Authors: AlexanderSinn, Axel Huebl, MaxThevenet, Severin Diederichs # # License: BSD-3-Clause-LBNL -# Authors: Axel Huebl set -eu -o pipefail diff --git a/.github/workflows/setup/ubuntu_ompi_cuda.sh b/.github/workflows/setup/ubuntu_ompi_cuda.sh index fd0d82359d..989392d73e 100755 --- a/.github/workflows/setup/ubuntu_ompi_cuda.sh +++ b/.github/workflows/setup/ubuntu_ompi_cuda.sh @@ -1,9 +1,11 @@ #!/usr/bin/env bash + +# Copyright 2020-2021 # -# Copyright 2020 The HiPACE++ Community +# This file is part of HiPACE++. # +# Authors: Axel Huebl, MaxThevenet, Severin Diederichs # License: BSD-3-Clause-LBNL -# Authors: Axel Huebl set -eu -o pipefail diff --git a/.github/workflows/source.yml b/.github/workflows/source.yml index 945f46f23a..fed244d747 100644 --- a/.github/workflows/source.yml +++ b/.github/workflows/source.yml @@ -1,7 +1,8 @@ -# Copyright 2020 Axel Huebl, Maxence Thevenet +# Copyright 2020-2021 # # This file is part of HiPACE++. # +# Authors: Axel Huebl, MaxThevenet, Severin Diederichs # License: BSD-3-Clause-LBNL name: source diff --git a/CMakeLists.txt b/CMakeLists.txt index 70cc8c04a7..5605a672b1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,3 +1,11 @@ +# Copyright 2020-2022 +# +# This file is part of HiPACE++. +# +# Authors: AlexanderSinn, Andrew Myers, Axel Huebl, MaxThevenet +# Severin Diederichs +# License: BSD-3-Clause-LBNL + # Preamble #################################################################### # cmake_minimum_required(VERSION 3.18.0) diff --git a/docs/equations_hipace.tex b/docs/equations_hipace.tex index 19cd8d7f5b..6ba5d84989 100644 --- a/docs/equations_hipace.tex +++ b/docs/equations_hipace.tex @@ -1,3 +1,10 @@ +% Copyright 2021 +% +% This file is part of HiPACE++. +% +% Authors: MaxThevenet, Remi Lehe, Severin Diederichs +% License: BSD-3-Clause-LBNL + \documentclass{article} \usepackage[a4paper, total={6in, 8in}]{geometry} \usepackage[utf8]{inputenc} diff --git a/docs/optimizations.txt b/docs/optimizations.txt index 53365aa374..22edda07ba 100644 --- a/docs/optimizations.txt +++ b/docs/optimizations.txt @@ -1,3 +1,10 @@ +# Copyright 2021 +# +# This file is part of HiPACE++. +# +# Authors: MaxThevenet, Severin Diederichs +# License: BSD-3-Clause-LBNL + In order to kick-start HiPACE++, things were done in the simplest way possible, leaving obvious optimizations for later. This file lists these easy optimizations, to avoid missing low-hanging fruits. diff --git a/docs/requirements.txt b/docs/requirements.txt index 6bcee42a36..42e947e2a2 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,3 +1,10 @@ +# Copyright 2021 +# +# This file is part of HiPACE++. +# +# Authors: MaxThevenet, Severin Diederichs +# License: BSD-3-Clause-LBNL + sphinx_rtd_theme>=0.4.0 recommonmark sphinx>=3.0 diff --git a/docs/source/conf.py b/docs/source/conf.py index 25e2ab1598..8fa5610ec5 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -1,3 +1,10 @@ +# Copyright 2021-2022 +# +# This file is part of HiPACE++. +# +# Authors: Axel Huebl, MaxThevenet, Severin Diederichs +# License: BSD-3-Clause-LBNL + # Configuration file for the Sphinx documentation builder. # # This file only contains a selection of the most common options. For a full diff --git a/examples/beam_in_vacuum/analysis.py b/examples/beam_in_vacuum/analysis.py index 062ff24c91..1dcc2b12eb 100755 --- a/examples/beam_in_vacuum/analysis.py +++ b/examples/beam_in_vacuum/analysis.py @@ -1,8 +1,14 @@ #! /usr/bin/env python3 -# This Python analysis script is part of the code HiPACE++ +# Copyright 2020-2021 # -# It compares the transverse field By with the theoretical value, plots both +# This file is part of HiPACE++. +# +# Authors: MaxThevenet, Severin Diederichs +# License: BSD-3-Clause-LBNL + + +# This script compares the transverse field By with the theoretical value, plots both # the simulation result and the theory on the same plot, and asserts that the # difference is small. # diff --git a/examples/beam_in_vacuum/analysis_2ranks.py b/examples/beam_in_vacuum/analysis_2ranks.py index c8633e2b4f..90192eb4d3 100755 --- a/examples/beam_in_vacuum/analysis_2ranks.py +++ b/examples/beam_in_vacuum/analysis_2ranks.py @@ -1,5 +1,13 @@ #!/usr/bin/env python3 +# Copyright 2020-2021 +# +# This file is part of HiPACE++. +# +# Authors: MaxThevenet, Severin Diederichs +# License: BSD-3-Clause-LBNL + + import matplotlib.pyplot as plt import numpy as np import argparse diff --git a/examples/beam_in_vacuum/analysis_adaptive_ts.py b/examples/beam_in_vacuum/analysis_adaptive_ts.py index 95535500ca..7e152089d0 100755 --- a/examples/beam_in_vacuum/analysis_adaptive_ts.py +++ b/examples/beam_in_vacuum/analysis_adaptive_ts.py @@ -1,5 +1,13 @@ #! /usr/bin/env python3 +# Copyright 2020-2021 +# +# This file is part of HiPACE++. +# +# Authors: MaxThevenet, Severin Diederichs +# License: BSD-3-Clause-LBNL + + import numpy as np import re diff --git a/examples/beam_in_vacuum/analysis_beam_push.py b/examples/beam_in_vacuum/analysis_beam_push.py index 691e903935..65fdb3c43b 100755 --- a/examples/beam_in_vacuum/analysis_beam_push.py +++ b/examples/beam_in_vacuum/analysis_beam_push.py @@ -1,5 +1,13 @@ #! /usr/bin/env python3 +# Copyright 2020-2021 +# +# This file is part of HiPACE++. +# +# Authors: MaxThevenet, Severin Diederichs +# License: BSD-3-Clause-LBNL + + import matplotlib.pyplot as plt import matplotlib import argparse diff --git a/examples/beam_in_vacuum/analysis_from_file.py b/examples/beam_in_vacuum/analysis_from_file.py index df03d60136..dbee4a961e 100755 --- a/examples/beam_in_vacuum/analysis_from_file.py +++ b/examples/beam_in_vacuum/analysis_from_file.py @@ -1,8 +1,14 @@ #! /usr/bin/env python3 -# This Python analysis script is part of the code HiPACE++ +# Copyright 2021 # -# It is used in the beam from_file test and compares three beams, +# This file is part of HiPACE++. +# +# Authors: AlexanderSinn, Severin Diederichs +# License: BSD-3-Clause-LBNL + + +# This script is used in the beam from_file test and compares three beams, # one from the write_beam script, two from hipace, # with each other and asserts if they are different. diff --git a/examples/beam_in_vacuum/analysis_grid_current.py b/examples/beam_in_vacuum/analysis_grid_current.py index 06de4d8d88..dcb4984fae 100755 --- a/examples/beam_in_vacuum/analysis_grid_current.py +++ b/examples/beam_in_vacuum/analysis_grid_current.py @@ -1,8 +1,14 @@ #! /usr/bin/env python3 -# This Python analysis script is part of the code Hipace +# Copyright 2021 # -# It calculates the sum of jz. The beam current and the grid current should cancel each other. +# This file is part of HiPACE++. +# +# Authors: MaxThevenet, Severin Diederichs +# License: BSD-3-Clause-LBNL + +# This script calculates the sum of jz. +# The beam current and the grid current should cancel each other. import argparse import numpy as np diff --git a/examples/beam_in_vacuum/analysis_transverse.py b/examples/beam_in_vacuum/analysis_transverse.py index 1480eefb27..c3990d06c6 100755 --- a/examples/beam_in_vacuum/analysis_transverse.py +++ b/examples/beam_in_vacuum/analysis_transverse.py @@ -1,8 +1,14 @@ #! /usr/bin/env python3 -# This Python analysis script is part of the code Hipace +# Copyright 2021 # -# It compares the transverse field By from a serial and a parallel simulation +# This file is part of HiPACE++. +# +# Authors: MaxThevenet +# License: BSD-3-Clause-LBNL + + +# This script compares the transverse field By from a serial and a parallel simulation # with transverse beam currents and asserts that the results are the same import matplotlib.pyplot as plt diff --git a/examples/blowout_wake/analysis.py b/examples/blowout_wake/analysis.py index 8c98b990fd..c5ed184df9 100755 --- a/examples/blowout_wake/analysis.py +++ b/examples/blowout_wake/analysis.py @@ -1,8 +1,14 @@ #! /usr/bin/env python3 -# This Python analysis script is part of the code HiPACE++ +# Copyright 2020-2021 # -# It compares the transverse field By with the theoretical value, plots both +# This file is part of HiPACE++. +# +# Authors: MaxThevenet, Severin Diederichs +# License: BSD-3-Clause-LBNL + + +# This script compares the transverse field By with the theoretical value, plots both # the simulation result and the theory on the same plot, and asserts that the # difference is small. # diff --git a/examples/blowout_wake/analysis_coarsening.py b/examples/blowout_wake/analysis_coarsening.py index 7585f2af51..893a606d6d 100755 --- a/examples/blowout_wake/analysis_coarsening.py +++ b/examples/blowout_wake/analysis_coarsening.py @@ -1,8 +1,13 @@ #! /usr/bin/env python3 -# This Python analysis script is part of the code Hipace +# Copyright 2021 # -# It compares a field from a simulation with full IO and from a simulation with coarse IO +# This file is part of HiPACE++. +# +# Authors: AlexanderSinn +# License: BSD-3-Clause-LBNL + +# This script compares a field from a simulation with full IO and from a simulation with coarse IO import matplotlib.pyplot as plt import scipy.constants as scc diff --git a/examples/blowout_wake/analysis_slice_IO.py b/examples/blowout_wake/analysis_slice_IO.py index a2bc7c7b5f..aef2d71d89 100755 --- a/examples/blowout_wake/analysis_slice_IO.py +++ b/examples/blowout_wake/analysis_slice_IO.py @@ -1,8 +1,15 @@ #! /usr/bin/env python3 -# This Python analysis script is part of the code Hipace +# Copyright 2020-2021 # -# It compares a field from a simulation with full IO and from a simulation with only slice IO +# This file is part of HiPACE++. +# +# Authors: MaxThevenet +# License: BSD-3-Clause-LBNL + + +# This script compares a field from a simulation with +# full IO and from a simulation with only slice IO import matplotlib.pyplot as plt import scipy.constants as scc diff --git a/examples/gaussian_weight/analysis.py b/examples/gaussian_weight/analysis.py index 1e07725ce1..c1e766c6b3 100755 --- a/examples/gaussian_weight/analysis.py +++ b/examples/gaussian_weight/analysis.py @@ -1,5 +1,13 @@ #!/usr/bin/env python3 +# Copyright 2020-2021 +# +# This file is part of HiPACE++. +# +# Authors: MaxThevenet, Severin Diederichs +# License: BSD-3-Clause-LBNL + + import matplotlib.pyplot as plt import numpy as np import scipy.constants as scc diff --git a/examples/linear_wake/analysis.py b/examples/linear_wake/analysis.py index 245218a7d9..a1069bd48a 100755 --- a/examples/linear_wake/analysis.py +++ b/examples/linear_wake/analysis.py @@ -1,5 +1,14 @@ #! /usr/bin/env python3 +# Copyright 2020-2021 +# +# This file is part of HiPACE++. +# +# Authors: Axel Huebl, MathisMewes, MaxThevenet, Severin Diederichs +# +# License: BSD-3-Clause-LBNL + + # This Python analysis script is part of the code Hipace # # It compares the transverse field By with the theoretical value, plots both diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 0972309c8f..4ef18cb823 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,3 +1,11 @@ +# Copyright 2020 +# +# This file is part of HiPACE++. +# +# Authors: Andrew Myers, Axel Huebl, MaxThevenet, Severin Diederichs +# atmyers +# License: BSD-3-Clause-LBNL + target_sources(HiPACE PRIVATE main.cpp diff --git a/src/Hipace.H b/src/Hipace.H index f7f9d65927..3e6c8c25a6 100644 --- a/src/Hipace.H +++ b/src/Hipace.H @@ -1,3 +1,11 @@ +/* Copyright 2020-2022 + * + * This file is part of HiPACE++. + * + * Authors: AlexanderSinn, Andrew Myers, Axel Huebl, MaxThevenet + * Remi Lehe, Severin Diederichs, WeiqunZhang + * License: BSD-3-Clause-LBNL + */ #ifndef HIPACE_H_ #define HIPACE_H_ diff --git a/src/Hipace.cpp b/src/Hipace.cpp index 78a0fc6a70..116ae700d8 100644 --- a/src/Hipace.cpp +++ b/src/Hipace.cpp @@ -1,3 +1,12 @@ +/* Copyright 2020-2022 + * + * This file is part of HiPACE++. + * + * Authors: AlexanderSinn, Andrew Myers, Axel Huebl, MaxThevenet + * Remi Lehe, Severin Diederichs, WeiqunZhang, coulibaly-mouhamed + * + * License: BSD-3-Clause-LBNL + */ #include "Hipace.H" #include "utils/HipaceProfilerWrapper.H" #include "particles/SliceSort.H" diff --git a/src/diagnostics/CMakeLists.txt b/src/diagnostics/CMakeLists.txt index 1e73ebcfb4..e12dad7d71 100644 --- a/src/diagnostics/CMakeLists.txt +++ b/src/diagnostics/CMakeLists.txt @@ -1,3 +1,10 @@ +# Copyright 2020-2021 +# +# This file is part of HiPACE++. +# +# Authors: MaxThevenet, Severin Diederichs +# License: BSD-3-Clause-LBNL + target_sources(HiPACE PRIVATE OpenPMDWriter.cpp diff --git a/src/diagnostics/Diagnostic.H b/src/diagnostics/Diagnostic.H index d46b762986..26ba4f8999 100644 --- a/src/diagnostics/Diagnostic.H +++ b/src/diagnostics/Diagnostic.H @@ -1,3 +1,10 @@ +/* Copyright 2021-2022 + * + * This file is part of HiPACE++. + * + * Authors: AlexanderSinn, MaxThevenet, Severin Diederichs + * License: BSD-3-Clause-LBNL + */ #ifndef DIAGNOSTIC_H_ #define DIAGNOSTIC_H_ diff --git a/src/diagnostics/Diagnostic.cpp b/src/diagnostics/Diagnostic.cpp index f5b8ac3ba0..0f407fdb75 100644 --- a/src/diagnostics/Diagnostic.cpp +++ b/src/diagnostics/Diagnostic.cpp @@ -1,3 +1,10 @@ +/* Copyright 2021-2022 + * + * This file is part of HiPACE++. + * + * Authors: AlexanderSinn, MaxThevenet, Severin Diederichs + * License: BSD-3-Clause-LBNL + */ #include "Diagnostic.H" #include "Hipace.H" #include diff --git a/src/diagnostics/OpenPMDWriter.H b/src/diagnostics/OpenPMDWriter.H index ffac732144..4450c6c753 100644 --- a/src/diagnostics/OpenPMDWriter.H +++ b/src/diagnostics/OpenPMDWriter.H @@ -1,3 +1,10 @@ +/* Copyright 2020-2022 + * + * This file is part of HiPACE++. + * + * Authors: AlexanderSinn, MaxThevenet, Severin Diederichs + * License: BSD-3-Clause-LBNL + */ #ifndef OPENPMDWRITER_H_ #define OPENPMDWRITER_H_ diff --git a/src/diagnostics/OpenPMDWriter.cpp b/src/diagnostics/OpenPMDWriter.cpp index 68867bc57d..ee5385bf43 100644 --- a/src/diagnostics/OpenPMDWriter.cpp +++ b/src/diagnostics/OpenPMDWriter.cpp @@ -1,3 +1,10 @@ +/* Copyright 2020-2022 + * + * This file is part of HiPACE++. + * + * Authors: AlexanderSinn, MaxThevenet, Severin Diederichs + * License: BSD-3-Clause-LBNL + */ #include "diagnostics/OpenPMDWriter.H" #include "fields/Fields.H" #include "utils/HipaceProfilerWrapper.H" diff --git a/src/fields/CMakeLists.txt b/src/fields/CMakeLists.txt index dc18ffe81f..af1cbd678b 100644 --- a/src/fields/CMakeLists.txt +++ b/src/fields/CMakeLists.txt @@ -1,3 +1,10 @@ +# Copyright 2020 +# +# This file is part of HiPACE++. +# +# Authors: Andrew Myers, MaxThevenet, Remi Lehe +# License: BSD-3-Clause-LBNL + target_sources(HiPACE PRIVATE Fields.cpp diff --git a/src/fields/Fields.H b/src/fields/Fields.H index df3636f49a..3e73774fff 100644 --- a/src/fields/Fields.H +++ b/src/fields/Fields.H @@ -1,3 +1,11 @@ +/* Copyright 2020-2022 + * + * This file is part of HiPACE++. + * + * Authors: AlexanderSinn, Axel Huebl, MaxThevenet, Remi Lehe + * Severin Diederichs, WeiqunZhang, coulibaly-mouhamed + * License: BSD-3-Clause-LBNL + */ #ifndef FIELDS_H_ #define FIELDS_H_ diff --git a/src/fields/Fields.cpp b/src/fields/Fields.cpp index 9822688f18..386f7db0f5 100644 --- a/src/fields/Fields.cpp +++ b/src/fields/Fields.cpp @@ -1,3 +1,11 @@ +/* Copyright 2020-2022 + * + * This file is part of HiPACE++. + * + * Authors: AlexanderSinn, MaxThevenet, Severin Diederichs, WeiqunZhang + * coulibaly-mouhamed + * License: BSD-3-Clause-LBNL + */ #include "Fields.H" #include "fft_poisson_solver/FFTPoissonSolverPeriodic.H" #include "fft_poisson_solver/FFTPoissonSolverDirichlet.H" diff --git a/src/fields/fft_poisson_solver/CMakeLists.txt b/src/fields/fft_poisson_solver/CMakeLists.txt index 3d46374dfc..4fe3bbaed4 100644 --- a/src/fields/fft_poisson_solver/CMakeLists.txt +++ b/src/fields/fft_poisson_solver/CMakeLists.txt @@ -1,3 +1,10 @@ +# Copyright 2020 +# +# This file is part of HiPACE++. +# +# Authors: Andrew Myers, MaxThevenet, Remi Lehe +# License: BSD-3-Clause-LBNL + target_sources(HiPACE PRIVATE FFTPoissonSolver.cpp diff --git a/src/fields/fft_poisson_solver/FFTPoissonSolver.H b/src/fields/fft_poisson_solver/FFTPoissonSolver.H index d5e7fee5ca..6089c8faca 100644 --- a/src/fields/fft_poisson_solver/FFTPoissonSolver.H +++ b/src/fields/fft_poisson_solver/FFTPoissonSolver.H @@ -1,3 +1,11 @@ +/* Copyright 2020 + * + * This file is part of HiPACE++. + * + * Authors: Axel Huebl, MaxThevenet, Remi Lehe, WeiqunZhang + * + * License: BSD-3-Clause-LBNL + */ #ifndef FFT_POISSON_SOLVER_H_ #define FFT_POISSON_SOLVER_H_ diff --git a/src/fields/fft_poisson_solver/FFTPoissonSolver.cpp b/src/fields/fft_poisson_solver/FFTPoissonSolver.cpp index 8fba4020c3..57af458411 100644 --- a/src/fields/fft_poisson_solver/FFTPoissonSolver.cpp +++ b/src/fields/fft_poisson_solver/FFTPoissonSolver.cpp @@ -1,3 +1,10 @@ +/* Copyright 2020 + * + * This file is part of HiPACE++. + * + * Authors: MaxThevenet, Remi Lehe, WeiqunZhang + * License: BSD-3-Clause-LBNL + */ #include "FFTPoissonSolver.H" FFTPoissonSolver::~FFTPoissonSolver () diff --git a/src/fields/fft_poisson_solver/FFTPoissonSolverDirichlet.H b/src/fields/fft_poisson_solver/FFTPoissonSolverDirichlet.H index 61682605f0..48d5be00df 100644 --- a/src/fields/fft_poisson_solver/FFTPoissonSolverDirichlet.H +++ b/src/fields/fft_poisson_solver/FFTPoissonSolverDirichlet.H @@ -1,3 +1,10 @@ +/* Copyright 2020-2021 + * + * This file is part of HiPACE++. + * + * Authors: AlexanderSinn, MaxThevenet, Severin Diederichs + * License: BSD-3-Clause-LBNL + */ #ifndef FFT_POISSON_SOLVER_DIRICHLET_H_ #define FFT_POISSON_SOLVER_DIRICHLET_H_ diff --git a/src/fields/fft_poisson_solver/FFTPoissonSolverDirichlet.cpp b/src/fields/fft_poisson_solver/FFTPoissonSolverDirichlet.cpp index 2994e73140..ec2f1e0f18 100644 --- a/src/fields/fft_poisson_solver/FFTPoissonSolverDirichlet.cpp +++ b/src/fields/fft_poisson_solver/FFTPoissonSolverDirichlet.cpp @@ -1,3 +1,11 @@ +/* Copyright 2020-2022 + * + * This file is part of HiPACE++. + * + * Authors: AlexanderSinn, Axel Huebl, MaxThevenet, Severin Diederichs + * + * License: BSD-3-Clause-LBNL + */ #include "FFTPoissonSolverDirichlet.H" #include "fft/AnyDST.H" #include "utils/Constants.H" diff --git a/src/fields/fft_poisson_solver/FFTPoissonSolverPeriodic.H b/src/fields/fft_poisson_solver/FFTPoissonSolverPeriodic.H index dfdb219d95..35092c8a88 100644 --- a/src/fields/fft_poisson_solver/FFTPoissonSolverPeriodic.H +++ b/src/fields/fft_poisson_solver/FFTPoissonSolverPeriodic.H @@ -1,3 +1,11 @@ +/* Copyright 2020 + * + * This file is part of HiPACE++. + * + * Authors: Axel Huebl, MaxThevenet, Remi Lehe, WeiqunZhang + * + * License: BSD-3-Clause-LBNL + */ #ifndef FFT_POISSON_SOLVER_PERIODIC_H_ #define FFT_POISSON_SOLVER_PERIODIC_H_ diff --git a/src/fields/fft_poisson_solver/FFTPoissonSolverPeriodic.cpp b/src/fields/fft_poisson_solver/FFTPoissonSolverPeriodic.cpp index 64b98dee55..32102c4cf2 100644 --- a/src/fields/fft_poisson_solver/FFTPoissonSolverPeriodic.cpp +++ b/src/fields/fft_poisson_solver/FFTPoissonSolverPeriodic.cpp @@ -1,3 +1,11 @@ +/* Copyright 2020-2022 + * + * This file is part of HiPACE++. + * + * Authors: AlexanderSinn, Axel Huebl, MaxThevenet, Remi Lehe + * WeiqunZhang + * License: BSD-3-Clause-LBNL + */ #include "FFTPoissonSolverPeriodic.H" #include "fft/AnyFFT.H" #include "utils/Constants.H" diff --git a/src/fields/fft_poisson_solver/fft/AnyDST.H b/src/fields/fft_poisson_solver/fft/AnyDST.H index 3ae42befdd..c102f2b069 100644 --- a/src/fields/fft_poisson_solver/fft/AnyDST.H +++ b/src/fields/fft_poisson_solver/fft/AnyDST.H @@ -1,3 +1,10 @@ +/* Copyright 2020-2022 + * + * This file is part of HiPACE++. + * + * Authors: AlexanderSinn, MaxThevenet + * License: BSD-3-Clause-LBNL + */ #ifndef ANYDST_H_ #define ANYDST_H_ diff --git a/src/fields/fft_poisson_solver/fft/AnyFFT.H b/src/fields/fft_poisson_solver/fft/AnyFFT.H index 328a6a3add..79727ab166 100644 --- a/src/fields/fft_poisson_solver/fft/AnyFFT.H +++ b/src/fields/fft_poisson_solver/fft/AnyFFT.H @@ -1,3 +1,11 @@ +/* Copyright 2020-2021 + * + * This file is part of HiPACE++. + * + * Authors: Axel Huebl, MaxThevenet, Remi Lehe, Severin Diederichs + * WeiqunZhang + * License: BSD-3-Clause-LBNL + */ /* Copyright 2019-2020 * * This file is part of WarpX. diff --git a/src/fields/fft_poisson_solver/fft/CMakeLists.txt b/src/fields/fft_poisson_solver/fft/CMakeLists.txt index 5dd88365c9..e89ecd84f3 100644 --- a/src/fields/fft_poisson_solver/fft/CMakeLists.txt +++ b/src/fields/fft_poisson_solver/fft/CMakeLists.txt @@ -1,3 +1,10 @@ +# Copyright 2020-2021 +# +# This file is part of HiPACE++. +# +# Authors: Axel Huebl, MaxThevenet, Remi Lehe +# License: BSD-3-Clause-LBNL + if (HiPACE_COMPUTE STREQUAL CUDA) target_sources(HiPACE PRIVATE diff --git a/src/fields/fft_poisson_solver/fft/CuFFTUtils.H b/src/fields/fft_poisson_solver/fft/CuFFTUtils.H index 1b6e973d5a..01daf5c2b9 100644 --- a/src/fields/fft_poisson_solver/fft/CuFFTUtils.H +++ b/src/fields/fft_poisson_solver/fft/CuFFTUtils.H @@ -1,3 +1,10 @@ +/* Copyright 2020-2021 + * + * This file is part of HiPACE++. + * + * Authors: Axel Huebl, MaxThevenet + * License: BSD-3-Clause-LBNL + */ #ifndef CUFFTUTILS_H_ #define CUFFTUTILS_H_ diff --git a/src/fields/fft_poisson_solver/fft/CuFFTUtils.cpp b/src/fields/fft_poisson_solver/fft/CuFFTUtils.cpp index 3456baa498..090dcf2b9c 100644 --- a/src/fields/fft_poisson_solver/fft/CuFFTUtils.cpp +++ b/src/fields/fft_poisson_solver/fft/CuFFTUtils.cpp @@ -1,3 +1,10 @@ +/* Copyright 2020 + * + * This file is part of HiPACE++. + * + * Authors: MaxThevenet + * License: BSD-3-Clause-LBNL + */ #include "CuFFTUtils.H" #include diff --git a/src/fields/fft_poisson_solver/fft/RocFFTUtils.H b/src/fields/fft_poisson_solver/fft/RocFFTUtils.H index 32a40fe077..7f18dc4ba1 100644 --- a/src/fields/fft_poisson_solver/fft/RocFFTUtils.H +++ b/src/fields/fft_poisson_solver/fft/RocFFTUtils.H @@ -1,3 +1,10 @@ +/* Copyright 2021 + * + * This file is part of HiPACE++. + * + * Authors: Axel Huebl + * License: BSD-3-Clause-LBNL + */ #ifndef ROCFFTUTILS_H_ #define ROCFFTUTILS_H_ diff --git a/src/fields/fft_poisson_solver/fft/RocFFTUtils.cpp b/src/fields/fft_poisson_solver/fft/RocFFTUtils.cpp index 583ca5abae..5c6f3d68ed 100644 --- a/src/fields/fft_poisson_solver/fft/RocFFTUtils.cpp +++ b/src/fields/fft_poisson_solver/fft/RocFFTUtils.cpp @@ -1,3 +1,10 @@ +/* Copyright 2021 + * + * This file is part of HiPACE++. + * + * Authors: Axel Huebl + * License: BSD-3-Clause-LBNL + */ #include "RocFFTUtils.H" #include diff --git a/src/fields/fft_poisson_solver/fft/WrapCuDST.cpp b/src/fields/fft_poisson_solver/fft/WrapCuDST.cpp index c043124ac3..a2e0b6ff1f 100644 --- a/src/fields/fft_poisson_solver/fft/WrapCuDST.cpp +++ b/src/fields/fft_poisson_solver/fft/WrapCuDST.cpp @@ -1,3 +1,10 @@ +/* Copyright 2020-2022 + * + * This file is part of HiPACE++. + * + * Authors: AlexanderSinn, MaxThevenet, Severin Diederichs + * License: BSD-3-Clause-LBNL + */ #include "AnyDST.H" #include "CuFFTUtils.H" #include "utils/HipaceProfilerWrapper.H" diff --git a/src/fields/fft_poisson_solver/fft/WrapCuFFT.cpp b/src/fields/fft_poisson_solver/fft/WrapCuFFT.cpp index 1505748a8b..2c56633c32 100644 --- a/src/fields/fft_poisson_solver/fft/WrapCuFFT.cpp +++ b/src/fields/fft_poisson_solver/fft/WrapCuFFT.cpp @@ -1,3 +1,10 @@ +/* Copyright 2020-2022 + * + * This file is part of HiPACE++. + * + * Authors: MaxThevenet, Remi Lehe, Severin Diederichs + * License: BSD-3-Clause-LBNL + */ /* Copyright 2019-2020 * * This file is part of WarpX. diff --git a/src/fields/fft_poisson_solver/fft/WrapDSTW.cpp b/src/fields/fft_poisson_solver/fft/WrapDSTW.cpp index 846bc9cd18..84464db3ce 100644 --- a/src/fields/fft_poisson_solver/fft/WrapDSTW.cpp +++ b/src/fields/fft_poisson_solver/fft/WrapDSTW.cpp @@ -1,3 +1,10 @@ +/* Copyright 2020-2022 + * + * This file is part of HiPACE++. + * + * Authors: AlexanderSinn, MaxThevenet, Severin Diederichs + * License: BSD-3-Clause-LBNL + */ #include "AnyDST.H" #include "utils/HipaceProfilerWrapper.H" diff --git a/src/fields/fft_poisson_solver/fft/WrapFFTW.cpp b/src/fields/fft_poisson_solver/fft/WrapFFTW.cpp index 448f62ca78..1cdbc64d00 100644 --- a/src/fields/fft_poisson_solver/fft/WrapFFTW.cpp +++ b/src/fields/fft_poisson_solver/fft/WrapFFTW.cpp @@ -1,3 +1,10 @@ +/* Copyright 2020 + * + * This file is part of HiPACE++. + * + * Authors: MaxThevenet, Remi Lehe + * License: BSD-3-Clause-LBNL + */ /* Copyright 2019-2020 * * This file is part of WarpX. diff --git a/src/fields/fft_poisson_solver/fft/WrapRocDST.cpp b/src/fields/fft_poisson_solver/fft/WrapRocDST.cpp index 0d1fa891f9..886ecf8e39 100644 --- a/src/fields/fft_poisson_solver/fft/WrapRocDST.cpp +++ b/src/fields/fft_poisson_solver/fft/WrapRocDST.cpp @@ -1,3 +1,11 @@ +/* Copyright 2021-2022 + * + * This file is part of HiPACE++. + * + * Authors: AlexanderSinn, Axel Huebl, MaxThevenet, Severin Diederichs + * + * License: BSD-3-Clause-LBNL + */ #include "AnyDST.H" #include "RocFFTUtils.H" #include "utils/HipaceProfilerWrapper.H" diff --git a/src/fields/fft_poisson_solver/fft/WrapRocFFT.cpp b/src/fields/fft_poisson_solver/fft/WrapRocFFT.cpp index 748e60af85..84738465f4 100644 --- a/src/fields/fft_poisson_solver/fft/WrapRocFFT.cpp +++ b/src/fields/fft_poisson_solver/fft/WrapRocFFT.cpp @@ -1,3 +1,10 @@ +/* Copyright 2021 + * + * This file is part of HiPACE++. + * + * Authors: Axel Huebl + * License: BSD-3-Clause-LBNL + */ /* Copyright 2019-2020 * * This file is part of WarpX. diff --git a/src/main.cpp b/src/main.cpp index af02b8de4e..855ae6a3ce 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1,3 +1,11 @@ +/* Copyright 2020-2022 + * + * This file is part of HiPACE++. + * + * Authors: AlexanderSinn, Axel Huebl, MaxThevenet, Weiqun Zhang + * + * License: BSD-3-Clause-LBNL + */ #include "Hipace.H" #include "utils/HipaceProfilerWrapper.H" diff --git a/src/particles/BeamParticleContainer.H b/src/particles/BeamParticleContainer.H index 221b019038..80231a9633 100644 --- a/src/particles/BeamParticleContainer.H +++ b/src/particles/BeamParticleContainer.H @@ -1,3 +1,11 @@ +/* Copyright 2020-2021 + * + * This file is part of HiPACE++. + * + * Authors: AlexanderSinn, Andrew Myers, Axel Huebl, MaxThevenet + * Remi Lehe, Severin Diederichs, atmyers + * License: BSD-3-Clause-LBNL + */ #ifndef HIPACE_BeamParticleContainer_H_ #define HIPACE_BeamParticleContainer_H_ diff --git a/src/particles/BeamParticleContainer.cpp b/src/particles/BeamParticleContainer.cpp index b00444ee06..49f980568f 100644 --- a/src/particles/BeamParticleContainer.cpp +++ b/src/particles/BeamParticleContainer.cpp @@ -1,3 +1,11 @@ +/* Copyright 2020-2021 + * + * This file is part of HiPACE++. + * + * Authors: AlexanderSinn, Andrew Myers, MaxThevenet, Remi Lehe + * Severin Diederichs + * License: BSD-3-Clause-LBNL + */ #include "BeamParticleContainer.H" #include "utils/Constants.H" #include "Hipace.H" diff --git a/src/particles/BeamParticleContainerInit.cpp b/src/particles/BeamParticleContainerInit.cpp index 3fdb8172e6..9eaaf76cf6 100644 --- a/src/particles/BeamParticleContainerInit.cpp +++ b/src/particles/BeamParticleContainerInit.cpp @@ -1,3 +1,11 @@ +/* Copyright 2020-2021 + * + * This file is part of HiPACE++. + * + * Authors: AlexanderSinn, Andrew Myers, Axel Huebl, MaxThevenet + * Severin Diederichs, Weiqun Zhang + * License: BSD-3-Clause-LBNL + */ #include "BeamParticleContainer.H" #include "utils/Constants.H" #include "ParticleUtil.H" diff --git a/src/particles/BoxSort.H b/src/particles/BoxSort.H index bbaae5c849..118df3b5a3 100644 --- a/src/particles/BoxSort.H +++ b/src/particles/BoxSort.H @@ -1,3 +1,10 @@ +/* Copyright 2021 + * + * This file is part of HiPACE++. + * + * Authors: MaxThevenet + * License: BSD-3-Clause-LBNL + */ #ifndef HIPACE_BoxSort_H_ #define HIPACE_BoxSort_H_ diff --git a/src/particles/BoxSort.cpp b/src/particles/BoxSort.cpp index 5eac417b9e..d6876fa784 100644 --- a/src/particles/BoxSort.cpp +++ b/src/particles/BoxSort.cpp @@ -1,3 +1,10 @@ +/* Copyright 2021 + * + * This file is part of HiPACE++. + * + * Authors: AlexanderSinn, MaxThevenet + * License: BSD-3-Clause-LBNL + */ #include "BoxSort.H" #include diff --git a/src/particles/CMakeLists.txt b/src/particles/CMakeLists.txt index 09f9800c5b..d665319b0d 100644 --- a/src/particles/CMakeLists.txt +++ b/src/particles/CMakeLists.txt @@ -1,3 +1,11 @@ +# Copyright 2020-2021 +# +# This file is part of HiPACE++. +# +# Authors: Andrew Myers, Axel Huebl, MaxThevenet, Remi Lehe +# Severin Diederichs, atmyers +# License: BSD-3-Clause-LBNL + target_sources(HiPACE PRIVATE BeamParticleContainer.cpp diff --git a/src/particles/ExternalFields.H b/src/particles/ExternalFields.H index 225bb5b1b0..de47f06c68 100644 --- a/src/particles/ExternalFields.H +++ b/src/particles/ExternalFields.H @@ -1,3 +1,10 @@ +/* Copyright 2020-2021 + * + * This file is part of HiPACE++. + * + * Authors: MaxThevenet, Severin Diederichs + * License: BSD-3-Clause-LBNL + */ #ifndef EXTERNALFIELDS_H_ #define EXTERNALFIELDS_H_ diff --git a/src/particles/MultiBeam.H b/src/particles/MultiBeam.H index e1870e9d67..2955fdb0e4 100644 --- a/src/particles/MultiBeam.H +++ b/src/particles/MultiBeam.H @@ -1,3 +1,10 @@ +/* Copyright 2020-2022 + * + * This file is part of HiPACE++. + * + * Authors: AlexanderSinn, MaxThevenet, Severin Diederichs + * License: BSD-3-Clause-LBNL + */ #ifndef MULTIBEAM_H_ #define MULTIBEAM_H_ diff --git a/src/particles/MultiBeam.cpp b/src/particles/MultiBeam.cpp index 9fc549abba..88c605376d 100644 --- a/src/particles/MultiBeam.cpp +++ b/src/particles/MultiBeam.cpp @@ -1,3 +1,10 @@ +/* Copyright 2020-2022 + * + * This file is part of HiPACE++. + * + * Authors: AlexanderSinn, MaxThevenet, Severin Diederichs + * License: BSD-3-Clause-LBNL + */ #include "MultiBeam.H" #include "deposition/BeamDepositCurrent.H" #include "particles/SliceSort.H" diff --git a/src/particles/MultiPlasma.H b/src/particles/MultiPlasma.H index 6aa9936499..0d094bb5ca 100644 --- a/src/particles/MultiPlasma.H +++ b/src/particles/MultiPlasma.H @@ -1,3 +1,10 @@ +/* Copyright 2021-2022 + * + * This file is part of HiPACE++. + * + * Authors: AlexanderSinn, MaxThevenet, Severin Diederichs + * License: BSD-3-Clause-LBNL + */ #ifndef MULTIPLASMA_H_ #define MULTIPLASMA_H_ diff --git a/src/particles/MultiPlasma.cpp b/src/particles/MultiPlasma.cpp index 6635d08b4c..9b7eeaf215 100644 --- a/src/particles/MultiPlasma.cpp +++ b/src/particles/MultiPlasma.cpp @@ -1,3 +1,10 @@ +/* Copyright 2021-2022 + * + * This file is part of HiPACE++. + * + * Authors: AlexanderSinn, MaxThevenet, Severin Diederichs + * License: BSD-3-Clause-LBNL + */ #include "MultiPlasma.H" #include "particles/deposition/PlasmaDepositCurrent.H" #include "particles/pusher/PlasmaParticleAdvance.H" diff --git a/src/particles/ParticleUtil.H b/src/particles/ParticleUtil.H index 49b6a2e216..c6fac8ec2a 100644 --- a/src/particles/ParticleUtil.H +++ b/src/particles/ParticleUtil.H @@ -1,3 +1,11 @@ +/* Copyright 2020-2021 + * + * This file is part of HiPACE++. + * + * Authors: Andrew Myers, MaxThevenet, Remi Lehe, Severin Diederichs + * Weiqun Zhang + * License: BSD-3-Clause-LBNL + */ #ifndef HIPACE_ParticleUtil_H_ #define HIPACE_ParticleUtil_H_ diff --git a/src/particles/PlasmaParticleContainer.H b/src/particles/PlasmaParticleContainer.H index 9e2d4705ac..bb21a010f9 100644 --- a/src/particles/PlasmaParticleContainer.H +++ b/src/particles/PlasmaParticleContainer.H @@ -1,3 +1,11 @@ +/* Copyright 2020-2022 + * + * This file is part of HiPACE++. + * + * Authors: AlexanderSinn, Andrew Myers, Axel Huebl, MaxThevenet + * Severin Diederichs, atmyers, Angel Ferran Pousa + * License: BSD-3-Clause-LBNL + */ #ifndef HIPACE_PlasmaParticleContainer_H_ #define HIPACE_PlasmaParticleContainer_H_ diff --git a/src/particles/PlasmaParticleContainer.cpp b/src/particles/PlasmaParticleContainer.cpp index e215dd6cdd..1dae5a3668 100644 --- a/src/particles/PlasmaParticleContainer.cpp +++ b/src/particles/PlasmaParticleContainer.cpp @@ -1,3 +1,11 @@ +/* Copyright 2020-2022 + * + * This file is part of HiPACE++. + * + * Authors: AlexanderSinn, Andrew Myers, MaxThevenet, Severin Diederichs + * Weiqun Zhang, Angel Ferran Pousa + * License: BSD-3-Clause-LBNL + */ #include "Hipace.H" #include "PlasmaParticleContainer.H" #include "utils/HipaceProfilerWrapper.H" diff --git a/src/particles/PlasmaParticleContainerInit.cpp b/src/particles/PlasmaParticleContainerInit.cpp index 4602f9b7a3..e4119a0021 100644 --- a/src/particles/PlasmaParticleContainerInit.cpp +++ b/src/particles/PlasmaParticleContainerInit.cpp @@ -1,3 +1,11 @@ +/* Copyright 2020-2022 + * + * This file is part of HiPACE++. + * + * Authors: AlexanderSinn, Andrew Myers, Axel Huebl, MaxThevenet + * Severin Diederichs, Weiqun Zhang + * License: BSD-3-Clause-LBNL + */ #include "PlasmaParticleContainer.H" #include "utils/Constants.H" #include "ParticleUtil.H" diff --git a/src/particles/ShapeFactors.H b/src/particles/ShapeFactors.H index 04b3696b2e..54b537c646 100644 --- a/src/particles/ShapeFactors.H +++ b/src/particles/ShapeFactors.H @@ -1,3 +1,11 @@ +/* Copyright 2020-2022 + * + * This file is part of HiPACE++. + * + * Authors: AlexanderSinn, Andrew Myers, MaxThevenet, Remi Lehe + * Severin Diederichs, WeiqunZhang + * License: BSD-3-Clause-LBNL + */ /* Copyright 2019 Maxence Thevenet * * This file is part of WarpX. diff --git a/src/particles/SliceSort.H b/src/particles/SliceSort.H index fa5e8f5235..acf9970acf 100644 --- a/src/particles/SliceSort.H +++ b/src/particles/SliceSort.H @@ -1,3 +1,10 @@ +/* Copyright 2021-2022 + * + * This file is part of HiPACE++. + * + * Authors: MaxThevenet, Severin Diederichs + * License: BSD-3-Clause-LBNL + */ #ifndef HIPACE_SLICESORT_H_ #define HIPACE_SLICESORT_H_ diff --git a/src/particles/SliceSort.cpp b/src/particles/SliceSort.cpp index 2bd1b25dc5..427e4b109d 100644 --- a/src/particles/SliceSort.cpp +++ b/src/particles/SliceSort.cpp @@ -1,3 +1,10 @@ +/* Copyright 2021-2022 + * + * This file is part of HiPACE++. + * + * Authors: Axel Huebl, MaxThevenet, Severin Diederichs + * License: BSD-3-Clause-LBNL + */ #include "SliceSort.H" #include "utils/HipaceProfilerWrapper.H" #include "Hipace.H" diff --git a/src/particles/TileSort.H b/src/particles/TileSort.H index 716cc8bb03..cf84680c54 100644 --- a/src/particles/TileSort.H +++ b/src/particles/TileSort.H @@ -1,3 +1,10 @@ +/* Copyright 2021 + * + * This file is part of HiPACE++. + * + * Authors: MaxThevenet + * License: BSD-3-Clause-LBNL + */ #ifndef HIPACE_TILESORT_H_ #define HIPACE_TILESORT_H_ diff --git a/src/particles/TileSort.cpp b/src/particles/TileSort.cpp index 11e6f82aae..8815980cf1 100644 --- a/src/particles/TileSort.cpp +++ b/src/particles/TileSort.cpp @@ -1,3 +1,10 @@ +/* Copyright 2021-2022 + * + * This file is part of HiPACE++. + * + * Authors: Axel Huebl, MaxThevenet + * License: BSD-3-Clause-LBNL + */ #include "TileSort.H" #include "utils/HipaceProfilerWrapper.H" diff --git a/src/particles/deposition/BeamDepositCurrent.H b/src/particles/deposition/BeamDepositCurrent.H index 5631fa0972..86d602c6e6 100644 --- a/src/particles/deposition/BeamDepositCurrent.H +++ b/src/particles/deposition/BeamDepositCurrent.H @@ -1,3 +1,11 @@ +/* Copyright 2020-2022 + * + * This file is part of HiPACE++. + * + * Authors: AlexanderSinn, MaxThevenet, Remi Lehe, Severin Diederichs + * + * License: BSD-3-Clause-LBNL + */ #ifndef BEAMDEPOSITCURRENT_H_ #define BEAMDEPOSITCURRENT_H_ diff --git a/src/particles/deposition/BeamDepositCurrent.cpp b/src/particles/deposition/BeamDepositCurrent.cpp index da6e58c96b..30bbe5fdbd 100644 --- a/src/particles/deposition/BeamDepositCurrent.cpp +++ b/src/particles/deposition/BeamDepositCurrent.cpp @@ -1,3 +1,11 @@ +/* Copyright 2020-2022 + * + * This file is part of HiPACE++. + * + * Authors: AlexanderSinn, Andrew Myers, MaxThevenet, Remi Lehe + * Severin Diederichs + * License: BSD-3-Clause-LBNL + */ #include "BeamDepositCurrent.H" #include "particles/BeamParticleContainer.H" #include "particles/deposition/BeamDepositCurrentInner.H" diff --git a/src/particles/deposition/BeamDepositCurrentInner.H b/src/particles/deposition/BeamDepositCurrentInner.H index e48fe2182d..689e6a6bf5 100644 --- a/src/particles/deposition/BeamDepositCurrentInner.H +++ b/src/particles/deposition/BeamDepositCurrentInner.H @@ -1,3 +1,11 @@ +/* Copyright 2020-2022 + * + * This file is part of HiPACE++. + * + * Authors: AlexanderSinn, Axel Huebl, MaxThevenet, Remi Lehe + * Severin Diederichs + * License: BSD-3-Clause-LBNL + */ /* Copyright 2019 Axel Huebl, David Grote, Maxence Thevenet * Remi Lehe, Weiqun Zhang, Michael Rowan * diff --git a/src/particles/deposition/CMakeLists.txt b/src/particles/deposition/CMakeLists.txt index cc46753770..763f0f8ac8 100644 --- a/src/particles/deposition/CMakeLists.txt +++ b/src/particles/deposition/CMakeLists.txt @@ -1,3 +1,10 @@ +# Copyright 2020 +# +# This file is part of HiPACE++. +# +# Authors: Andrew Myers, MaxThevenet, Remi Lehe +# License: BSD-3-Clause-LBNL + target_sources(HiPACE PRIVATE BeamDepositCurrent.cpp diff --git a/src/particles/deposition/PlasmaDepositCurrent.H b/src/particles/deposition/PlasmaDepositCurrent.H index eb267a83b5..bb86abf690 100644 --- a/src/particles/deposition/PlasmaDepositCurrent.H +++ b/src/particles/deposition/PlasmaDepositCurrent.H @@ -1,3 +1,10 @@ +/* Copyright 2020-2021 + * + * This file is part of HiPACE++. + * + * Authors: MaxThevenet, Severin Diederichs + * License: BSD-3-Clause-LBNL + */ #ifndef PLASMADEPOSITCURRENT_H_ #define PLASMADEPOSITCURRENT_H_ diff --git a/src/particles/deposition/PlasmaDepositCurrent.cpp b/src/particles/deposition/PlasmaDepositCurrent.cpp index 4af7d11a03..678b0b6c91 100644 --- a/src/particles/deposition/PlasmaDepositCurrent.cpp +++ b/src/particles/deposition/PlasmaDepositCurrent.cpp @@ -1,3 +1,10 @@ +/* Copyright 2020-2022 + * + * This file is part of HiPACE++. + * + * Authors: AlexanderSinn, MaxThevenet, Severin Diederichs + * License: BSD-3-Clause-LBNL + */ #include "PlasmaDepositCurrent.H" #include "particles/PlasmaParticleContainer.H" diff --git a/src/particles/deposition/PlasmaDepositCurrentInner.H b/src/particles/deposition/PlasmaDepositCurrentInner.H index a1f5ae479a..7631971919 100644 --- a/src/particles/deposition/PlasmaDepositCurrentInner.H +++ b/src/particles/deposition/PlasmaDepositCurrentInner.H @@ -1,3 +1,11 @@ +/* Copyright 2020-2022 + * + * This file is part of HiPACE++. + * + * Authors: AlexanderSinn, Andrew Myers, MaxThevenet, Severin Diederichs + * + * License: BSD-3-Clause-LBNL + */ /* Copyright 2019 Axel Huebl, David Grote, Maxence Thevenet * Remi Lehe, Weiqun Zhang, Michael Rowan * diff --git a/src/particles/profiles/CMakeLists.txt b/src/particles/profiles/CMakeLists.txt index f5b3be47b1..50e01479d2 100644 --- a/src/particles/profiles/CMakeLists.txt +++ b/src/particles/profiles/CMakeLists.txt @@ -1,3 +1,10 @@ +# Copyright 2020 +# +# This file is part of HiPACE++. +# +# Authors: Severin Diederichs +# License: BSD-3-Clause-LBNL + target_sources(HiPACE PRIVATE GetInitialDensity.cpp diff --git a/src/particles/profiles/GetInitialDensity.H b/src/particles/profiles/GetInitialDensity.H index 3b3957af2c..e9984c9478 100644 --- a/src/particles/profiles/GetInitialDensity.H +++ b/src/particles/profiles/GetInitialDensity.H @@ -1,3 +1,10 @@ +/* Copyright 2020 + * + * This file is part of HiPACE++. + * + * Authors: MaxThevenet, Severin Diederichs + * License: BSD-3-Clause-LBNL + */ #ifndef GETINTIALDENSITY_H_ #define GETINTIALDENSITY_H_ diff --git a/src/particles/profiles/GetInitialDensity.cpp b/src/particles/profiles/GetInitialDensity.cpp index 58cf2e7fa4..8be3818870 100644 --- a/src/particles/profiles/GetInitialDensity.cpp +++ b/src/particles/profiles/GetInitialDensity.cpp @@ -1,3 +1,10 @@ +/* Copyright 2020-2021 + * + * This file is part of HiPACE++. + * + * Authors: AlexanderSinn, MaxThevenet, Severin Diederichs + * License: BSD-3-Clause-LBNL + */ #include "GetInitialDensity.H" #include "utils/Parser.H" diff --git a/src/particles/profiles/GetInitialMomentum.H b/src/particles/profiles/GetInitialMomentum.H index 25afa5da5a..147ae36bbd 100644 --- a/src/particles/profiles/GetInitialMomentum.H +++ b/src/particles/profiles/GetInitialMomentum.H @@ -1,3 +1,10 @@ +/* Copyright 2020-2021 + * + * This file is part of HiPACE++. + * + * Authors: MaxThevenet, Severin Diederichs, Weiqun Zhang + * License: BSD-3-Clause-LBNL + */ #ifndef GETINTIALMOMENTUM_H_ #define GETINTIALMOMENTUM_H_ diff --git a/src/particles/profiles/GetInitialMomentum.cpp b/src/particles/profiles/GetInitialMomentum.cpp index 41a8d6bb64..fd335f5d0c 100644 --- a/src/particles/profiles/GetInitialMomentum.cpp +++ b/src/particles/profiles/GetInitialMomentum.cpp @@ -1,3 +1,10 @@ +/* Copyright 2020-2021 + * + * This file is part of HiPACE++. + * + * Authors: AlexanderSinn, MaxThevenet, Severin Diederichs + * License: BSD-3-Clause-LBNL + */ #include "GetInitialMomentum.H" #include "utils/Parser.H" diff --git a/src/particles/pusher/BeamParticleAdvance.H b/src/particles/pusher/BeamParticleAdvance.H index a1e32043aa..a4ea48cb66 100644 --- a/src/particles/pusher/BeamParticleAdvance.H +++ b/src/particles/pusher/BeamParticleAdvance.H @@ -1,3 +1,10 @@ +/* Copyright 2020-2022 + * + * This file is part of HiPACE++. + * + * Authors: MaxThevenet, Severin Diederichs + * License: BSD-3-Clause-LBNL + */ #ifndef BEAMPARTICLEADVANCE_H_ #define BEAMPARTICLEADVANCE_H_ diff --git a/src/particles/pusher/BeamParticleAdvance.cpp b/src/particles/pusher/BeamParticleAdvance.cpp index 2f83961b6d..2b31d0810b 100644 --- a/src/particles/pusher/BeamParticleAdvance.cpp +++ b/src/particles/pusher/BeamParticleAdvance.cpp @@ -1,3 +1,11 @@ +/* Copyright 2020-2022 + * + * This file is part of HiPACE++. + * + * Authors: AlexanderSinn, Andrew Myers, MaxThevenet, Severin Diederichs + * + * License: BSD-3-Clause-LBNL + */ #include "BeamParticleAdvance.H" #include "particles/ExternalFields.H" #include "FieldGather.H" diff --git a/src/particles/pusher/CMakeLists.txt b/src/particles/pusher/CMakeLists.txt index 0b41becb51..ed7a122906 100644 --- a/src/particles/pusher/CMakeLists.txt +++ b/src/particles/pusher/CMakeLists.txt @@ -1,3 +1,10 @@ +# Copyright 2020 +# +# This file is part of HiPACE++. +# +# Authors: Severin Diederichs +# License: BSD-3-Clause-LBNL + target_sources(HiPACE PRIVATE PlasmaParticleAdvance.cpp diff --git a/src/particles/pusher/FieldGather.H b/src/particles/pusher/FieldGather.H index 54c035ca40..0cca7b492f 100644 --- a/src/particles/pusher/FieldGather.H +++ b/src/particles/pusher/FieldGather.H @@ -1,3 +1,10 @@ +/* Copyright 2020-2022 + * + * This file is part of HiPACE++. + * + * Authors: AlexanderSinn, MaxThevenet, Severin Diederichs + * License: BSD-3-Clause-LBNL + */ /* Copyright 2019 Axel Huebl, David Grote, Maxence Thevenet * Revathi Jambunathan, Weiqun Zhang * diff --git a/src/particles/pusher/GetAndSetPosition.H b/src/particles/pusher/GetAndSetPosition.H index ca8d7c308d..8883affd0b 100644 --- a/src/particles/pusher/GetAndSetPosition.H +++ b/src/particles/pusher/GetAndSetPosition.H @@ -1,3 +1,10 @@ +/* Copyright 2020-2021 + * + * This file is part of HiPACE++. + * + * Authors: MaxThevenet, Severin Diederichs + * License: BSD-3-Clause-LBNL + */ /* Copyright 2019 David Grote, Maxence Thevenet, Remi Lehe * Weiqun Zhang * diff --git a/src/particles/pusher/GetDomainLev.H b/src/particles/pusher/GetDomainLev.H index e4725a3fca..d2a1cfd422 100644 --- a/src/particles/pusher/GetDomainLev.H +++ b/src/particles/pusher/GetDomainLev.H @@ -1,3 +1,10 @@ +/* Copyright 2021 + * + * This file is part of HiPACE++. + * + * Authors: MaxThevenet, Severin Diederichs + * License: BSD-3-Clause-LBNL + */ #ifndef HIPACE_GETDOMAINLEV_H_ #define HIPACE_GETDOMAINLEV_H_ diff --git a/src/particles/pusher/PlasmaParticleAdvance.H b/src/particles/pusher/PlasmaParticleAdvance.H index fa918795fc..9af9200737 100644 --- a/src/particles/pusher/PlasmaParticleAdvance.H +++ b/src/particles/pusher/PlasmaParticleAdvance.H @@ -1,3 +1,10 @@ +/* Copyright 2020-2021 + * + * This file is part of HiPACE++. + * + * Authors: MaxThevenet, Severin Diederichs + * License: BSD-3-Clause-LBNL + */ #ifndef PLASMAPARTICLEADVANCE_H_ #define PLASMAPARTICLEADVANCE_H_ diff --git a/src/particles/pusher/PlasmaParticleAdvance.cpp b/src/particles/pusher/PlasmaParticleAdvance.cpp index 744cf053d4..77a32c166a 100644 --- a/src/particles/pusher/PlasmaParticleAdvance.cpp +++ b/src/particles/pusher/PlasmaParticleAdvance.cpp @@ -1,3 +1,10 @@ +/* Copyright 2020-2022 + * + * This file is part of HiPACE++. + * + * Authors: AlexanderSinn, MaxThevenet, Severin Diederichs + * License: BSD-3-Clause-LBNL + */ #include "PlasmaParticleAdvance.H" #include "particles/PlasmaParticleContainer.H" diff --git a/src/particles/pusher/PushPlasmaParticles.H b/src/particles/pusher/PushPlasmaParticles.H index fd25541bc9..a7bf73a452 100644 --- a/src/particles/pusher/PushPlasmaParticles.H +++ b/src/particles/pusher/PushPlasmaParticles.H @@ -1,3 +1,10 @@ +/* Copyright 2020-2021 + * + * This file is part of HiPACE++. + * + * Authors: MaxThevenet, Severin Diederichs + * License: BSD-3-Clause-LBNL + */ #ifndef PUSHPLASMAPARTICLES_H_ #define PUSHPLASMAPARTICLES_H_ diff --git a/src/particles/pusher/UpdateForceTerms.H b/src/particles/pusher/UpdateForceTerms.H index 9ec1956848..71f99bd355 100644 --- a/src/particles/pusher/UpdateForceTerms.H +++ b/src/particles/pusher/UpdateForceTerms.H @@ -1,3 +1,10 @@ +/* Copyright 2020-2022 + * + * This file is part of HiPACE++. + * + * Authors: AlexanderSinn, MaxThevenet, Severin Diederichs + * License: BSD-3-Clause-LBNL + */ #ifndef UPDATEFORCETERMS_H_ #define UPDATEFORCETERMS_H_ diff --git a/src/utils/AdaptiveTimeStep.H b/src/utils/AdaptiveTimeStep.H index 60e3527468..53ed2e4b9a 100644 --- a/src/utils/AdaptiveTimeStep.H +++ b/src/utils/AdaptiveTimeStep.H @@ -1,3 +1,10 @@ +/* Copyright 2020-2021 + * + * This file is part of HiPACE++. + * + * Authors: MaxThevenet, Severin Diederichs + * License: BSD-3-Clause-LBNL + */ #ifndef ADAPTIVETIMESTEP_H_ #define ADAPTIVETIMESTEP_H_ diff --git a/src/utils/AdaptiveTimeStep.cpp b/src/utils/AdaptiveTimeStep.cpp index 9dd28cbb84..dff200c73b 100644 --- a/src/utils/AdaptiveTimeStep.cpp +++ b/src/utils/AdaptiveTimeStep.cpp @@ -1,3 +1,10 @@ +/* Copyright 2020-2021 + * + * This file is part of HiPACE++. + * + * Authors: AlexanderSinn, MaxThevenet, Severin Diederichs + * License: BSD-3-Clause-LBNL + */ #include "AdaptiveTimeStep.H" #include "utils/DeprecatedInput.H" #include "Hipace.H" diff --git a/src/utils/AtomicWeightTable.H b/src/utils/AtomicWeightTable.H index 0f9595f429..38989e1d81 100644 --- a/src/utils/AtomicWeightTable.H +++ b/src/utils/AtomicWeightTable.H @@ -1,3 +1,10 @@ +/* Copyright 2021 + * + * This file is part of HiPACE++. + * + * Authors: AlexanderSinn + * License: BSD-3-Clause-LBNL + */ // This script was automatically generated! // Edit src/utils/write_atomic_weight_cpp.py instead! #ifndef HIPACE_ATOMIC_WEIGHT_TABLE_H_ diff --git a/src/utils/CMakeLists.txt b/src/utils/CMakeLists.txt index 858bbb1d40..4b04e2d997 100644 --- a/src/utils/CMakeLists.txt +++ b/src/utils/CMakeLists.txt @@ -1,3 +1,10 @@ +# Copyright 2020-2021 +# +# This file is part of HiPACE++. +# +# Authors: MaxThevenet, Severin Diederichs +# License: BSD-3-Clause-LBNL + target_sources(HiPACE PRIVATE Constants.cpp diff --git a/src/utils/Constants.H b/src/utils/Constants.H index e509e6a71f..8148f2e3f1 100644 --- a/src/utils/Constants.H +++ b/src/utils/Constants.H @@ -1,3 +1,10 @@ +/* Copyright 2020 + * + * This file is part of HiPACE++. + * + * Authors: Axel Huebl, MaxThevenet, Remi Lehe + * License: BSD-3-Clause-LBNL + */ #ifndef HIPACE_Constants_H_ #define HIPACE_Constants_H_ diff --git a/src/utils/Constants.cpp b/src/utils/Constants.cpp index 332a6792b0..f6e9237439 100644 --- a/src/utils/Constants.cpp +++ b/src/utils/Constants.cpp @@ -1,3 +1,10 @@ +/* Copyright 2020 + * + * This file is part of HiPACE++. + * + * Authors: MaxThevenet + * License: BSD-3-Clause-LBNL + */ #include "Constants.H" #include "Hipace.H" diff --git a/src/utils/DeprecatedInput.H b/src/utils/DeprecatedInput.H index 7e4a70842d..c369e5cc6d 100644 --- a/src/utils/DeprecatedInput.H +++ b/src/utils/DeprecatedInput.H @@ -1,3 +1,10 @@ +/* Copyright 2021 + * + * This file is part of HiPACE++. + * + * Authors: MaxThevenet + * License: BSD-3-Clause-LBNL + */ #ifndef HIPACE_DeprecatedInput_H_ #define HIPACE_DeprecatedInput_H_ diff --git a/src/utils/GridCurrent.H b/src/utils/GridCurrent.H index 75fcdd47e9..69e384c361 100644 --- a/src/utils/GridCurrent.H +++ b/src/utils/GridCurrent.H @@ -1,3 +1,10 @@ +/* Copyright 2021 + * + * This file is part of HiPACE++. + * + * Authors: Severin Diederichs + * License: BSD-3-Clause-LBNL + */ #ifndef GRIDCURRENT_H_ #define GRIDCURRENT_H_ diff --git a/src/utils/GridCurrent.cpp b/src/utils/GridCurrent.cpp index 125c2ba4d8..e9a28b29ec 100644 --- a/src/utils/GridCurrent.cpp +++ b/src/utils/GridCurrent.cpp @@ -1,3 +1,10 @@ +/* Copyright 2021 + * + * This file is part of HiPACE++. + * + * Authors: AlexanderSinn, Severin Diederichs + * License: BSD-3-Clause-LBNL + */ #include "GridCurrent.H" #include "Hipace.H" #include "HipaceProfilerWrapper.H" diff --git a/src/utils/HipaceProfilerWrapper.H b/src/utils/HipaceProfilerWrapper.H index c5fb5ef120..c80d628fe1 100644 --- a/src/utils/HipaceProfilerWrapper.H +++ b/src/utils/HipaceProfilerWrapper.H @@ -1,3 +1,10 @@ +/* Copyright 2020-2021 + * + * This file is part of HiPACE++. + * + * Authors: AlexanderSinn, MaxThevenet + * License: BSD-3-Clause-LBNL + */ /* Copyright 2020 Axel Huebl, Maxence Thevenet * * This file is part of WarpX. diff --git a/src/utils/IOUtil.H b/src/utils/IOUtil.H index d0ae8d91b1..1f5c82c0a0 100644 --- a/src/utils/IOUtil.H +++ b/src/utils/IOUtil.H @@ -1,3 +1,10 @@ +/* Copyright 2020-2021 + * + * This file is part of HiPACE++. + * + * Authors: MaxThevenet, Severin Diederichs + * License: BSD-3-Clause-LBNL + */ #ifndef HIPACE_IOUTIL_H_ #define HIPACE_IOUTIL_H_ diff --git a/src/utils/IOUtil.cpp b/src/utils/IOUtil.cpp index a1a949f983..db8c145028 100644 --- a/src/utils/IOUtil.cpp +++ b/src/utils/IOUtil.cpp @@ -1,3 +1,10 @@ +/* Copyright 2020-2021 + * + * This file is part of HiPACE++. + * + * Authors: MaxThevenet, Severin Diederichs + * License: BSD-3-Clause-LBNL + */ #include "IOUtil.H" #include diff --git a/src/utils/IonizationEnergiesTable.H b/src/utils/IonizationEnergiesTable.H index 7eae2619c0..71861a5c08 100644 --- a/src/utils/IonizationEnergiesTable.H +++ b/src/utils/IonizationEnergiesTable.H @@ -1,3 +1,10 @@ +/* Copyright 2021 + * + * This file is part of HiPACE++. + * + * Authors: AlexanderSinn + * License: BSD-3-Clause-LBNL + */ // This script was automatically generated! // Edit src/utils/write_atomic_data_cpp.py instead! #ifndef HIPACE_IONIZATION_TABLE_H_ diff --git a/src/utils/Parser.H b/src/utils/Parser.H index 64079ead6d..8c3c984893 100755 --- a/src/utils/Parser.H +++ b/src/utils/Parser.H @@ -1,3 +1,10 @@ +/* Copyright 2021 + * + * This file is part of HiPACE++. + * + * Authors: AlexanderSinn + * License: BSD-3-Clause-LBNL + */ #ifndef HIPACE_Parser_H_ #define HIPACE_Parser_H_ diff --git a/src/utils/write_atomic_data_cpp.py b/src/utils/write_atomic_data_cpp.py index 67cb9c5b36..580c4cb177 100755 --- a/src/utils/write_atomic_data_cpp.py +++ b/src/utils/write_atomic_data_cpp.py @@ -1,4 +1,12 @@ #!/usr/bin/env python3 + +# Copyright 2021 +# +# This file is part of HiPACE++. +# +# Authors: AlexanderSinn +# License: BSD-3-Clause-LBNL + # # Copyright 2019-2020 Axel Huebl, Luca Fedeli, Maxence Thevenet # diff --git a/src/utils/write_atomic_weight_cpp.py b/src/utils/write_atomic_weight_cpp.py index fd69c6c9e0..bb95d558d8 100755 --- a/src/utils/write_atomic_weight_cpp.py +++ b/src/utils/write_atomic_weight_cpp.py @@ -1,5 +1,13 @@ #! /usr/bin/env python +# Copyright 2021 +# +# This file is part of HiPACE++. +# +# Authors: AlexanderSinn +# License: BSD-3-Clause-LBNL + + """ This python script reads atomic masses tables in relative_atomic_masses.txt (generated from the NIST website) and extracts diff --git a/tests/adaptive_time_step.1Rank.sh b/tests/adaptive_time_step.1Rank.sh index ec048bf5b7..6af61f73b6 100755 --- a/tests/adaptive_time_step.1Rank.sh +++ b/tests/adaptive_time_step.1Rank.sh @@ -1,5 +1,13 @@ #! /usr/bin/env bash +# Copyright 2020-2021 +# +# This file is part of HiPACE++. +# +# Authors: MaxThevenet, Severin Diederichs +# License: BSD-3-Clause-LBNL + + # This file is part of the HiPACE++ test suite. # It runs a HiPACE++ simulation in the blowout regime and compares the result # with SI units. diff --git a/tests/beam_evolution.1Rank.sh b/tests/beam_evolution.1Rank.sh index cb96bb69c7..c46e4c33cf 100755 --- a/tests/beam_evolution.1Rank.sh +++ b/tests/beam_evolution.1Rank.sh @@ -1,5 +1,13 @@ #! /usr/bin/env bash +# Copyright 2020-2021 +# +# This file is part of HiPACE++. +# +# Authors: MaxThevenet, Severin Diederichs +# License: BSD-3-Clause-LBNL + + # This file is part of the HiPACE++ test suite. # It runs a Hipace simulation in the blowout regime and compares the result # with SI units. diff --git a/tests/beam_in_vacuum.SI.1Rank.sh b/tests/beam_in_vacuum.SI.1Rank.sh index 082d067193..ab12e6e162 100755 --- a/tests/beam_in_vacuum.SI.1Rank.sh +++ b/tests/beam_in_vacuum.SI.1Rank.sh @@ -1,5 +1,13 @@ #! /usr/bin/env bash +# Copyright 2020-2021 +# +# This file is part of HiPACE++. +# +# Authors: Axel Huebl, MaxThevenet, Severin Diederichs +# License: BSD-3-Clause-LBNL + + # This file is part of the HiPACE++ test suite. # It runs a Hipace simulation for a can beam in vacuum, and compares the result # of the simulation to theory. diff --git a/tests/beam_in_vacuum.SI.Serial.sh b/tests/beam_in_vacuum.SI.Serial.sh index 21278690d3..14848f76b8 100755 --- a/tests/beam_in_vacuum.SI.Serial.sh +++ b/tests/beam_in_vacuum.SI.Serial.sh @@ -1,5 +1,13 @@ #! /usr/bin/env bash +# Copyright 2020-2021 +# +# This file is part of HiPACE++. +# +# Authors: Axel Huebl, MaxThevenet, Severin Diederichs +# License: BSD-3-Clause-LBNL + + # This file is part of the HiPACE++ test suite. # It runs a Hipace simulation for a can beam in vacuum, and compares the result # of the simulation to theory. diff --git a/tests/beam_in_vacuum.normalized.1Rank.sh b/tests/beam_in_vacuum.normalized.1Rank.sh index 165dd1ff91..eda9b4deef 100755 --- a/tests/beam_in_vacuum.normalized.1Rank.sh +++ b/tests/beam_in_vacuum.normalized.1Rank.sh @@ -1,5 +1,13 @@ #! /usr/bin/env bash +# Copyright 2020-2021 +# +# This file is part of HiPACE++. +# +# Authors: Axel Huebl, MaxThevenet, Severin Diederichs +# License: BSD-3-Clause-LBNL + + # This file is part of the HiPACE++ test suite. # It runs a Hipace simulation for a can beam in vacuum, and compares the result # of the simulation to theory. diff --git a/tests/beam_in_vacuum.normalized.2Rank.sh b/tests/beam_in_vacuum.normalized.2Rank.sh index a87ba0b6c5..c61e214d9f 100755 --- a/tests/beam_in_vacuum.normalized.2Rank.sh +++ b/tests/beam_in_vacuum.normalized.2Rank.sh @@ -1,5 +1,13 @@ #! /usr/bin/env bash +# Copyright 2020-2021 +# +# This file is part of HiPACE++. +# +# Authors: MaxThevenet, Severin Diederichs +# License: BSD-3-Clause-LBNL + + # This file is part of the HiPACE++ test suite. # It runs a Hipace simulation for a can beam in vacuum in serial and parallel and # checks that they give the same result diff --git a/tests/beam_in_vacuum.normalized.Serial.sh b/tests/beam_in_vacuum.normalized.Serial.sh index 80cdc62e49..0941bbc1e3 100755 --- a/tests/beam_in_vacuum.normalized.Serial.sh +++ b/tests/beam_in_vacuum.normalized.Serial.sh @@ -1,5 +1,13 @@ #! /usr/bin/env bash +# Copyright 2020-2021 +# +# This file is part of HiPACE++. +# +# Authors: Axel Huebl, MaxThevenet, Severin Diederichs +# License: BSD-3-Clause-LBNL + + # This file is part of the HiPACE++ test suite. # It runs a Hipace simulation for a can beam in vacuum, and compares the result # of the simulation to theory. diff --git a/tests/blowout_wake.2Rank.sh b/tests/blowout_wake.2Rank.sh index 9d5db97699..e07ce57fe0 100755 --- a/tests/blowout_wake.2Rank.sh +++ b/tests/blowout_wake.2Rank.sh @@ -1,5 +1,14 @@ #! /usr/bin/env bash +# Copyright 2020-2021 +# +# This file is part of HiPACE++. +# +# Authors: Andrew Myers, Axel Huebl, MaxThevenet, Severin Diederichs +# +# License: BSD-3-Clause-LBNL + + # This file is part of the HiPACE++ test suite. # It runs a Hipace simulation in the blowout regime and compares the result # with SI units. diff --git a/tests/blowout_wake.Serial.sh b/tests/blowout_wake.Serial.sh index 137801a65d..e5fd0ffc06 100755 --- a/tests/blowout_wake.Serial.sh +++ b/tests/blowout_wake.Serial.sh @@ -1,5 +1,13 @@ #! /usr/bin/env bash +# Copyright 2020-2021 +# +# This file is part of HiPACE++. +# +# Authors: Axel Huebl, MaxThevenet, Severin Diederichs +# License: BSD-3-Clause-LBNL + + # This file is part of the HiPACE++ test suite. # It runs a Hipace simulation in the blowout regime and cand compares the result # of the simulation to a benchmark. diff --git a/tests/blowout_wake_explicit.2Rank.sh b/tests/blowout_wake_explicit.2Rank.sh index 48eab64985..449cab5829 100755 --- a/tests/blowout_wake_explicit.2Rank.sh +++ b/tests/blowout_wake_explicit.2Rank.sh @@ -1,5 +1,14 @@ #! /usr/bin/env bash +# Copyright 2021 +# +# This file is part of HiPACE++. +# +# Authors: Andrew Myers, Axel Huebl, MaxThevenet, Severin Diederichs +# +# License: BSD-3-Clause-LBNL + + # This file is part of the HiPACE++ test suite. # It runs a Hipace simulation in normalized units with the explicit solver # in the blowout regime and compares the checksum with a benchmark. diff --git a/tests/checksum/backend/amrex_backend.py b/tests/checksum/backend/amrex_backend.py index b00cb0e599..6721116e57 100644 --- a/tests/checksum/backend/amrex_backend.py +++ b/tests/checksum/backend/amrex_backend.py @@ -1,10 +1,9 @@ -""" -Copyright 2021 - -This file is part of HiPACE++ - -License: BSD-3-Clause-LBNL -""" +# Copyright 2021 +# +# This file is part of HiPACE++. +# +# Authors: MaxThevenet, Severin Diederichs +# License: BSD-3-Clause-LBNL import re import numpy as np diff --git a/tests/checksum/backend/openpmd_backend.py b/tests/checksum/backend/openpmd_backend.py index b43e2d1f12..b6fb600f15 100644 --- a/tests/checksum/backend/openpmd_backend.py +++ b/tests/checksum/backend/openpmd_backend.py @@ -1,10 +1,9 @@ -""" -Copyright 2021 - -This file is part of HiPACE++ - -License: BSD-3-Clause-LBNL -""" +# Copyright 2021 +# +# This file is part of HiPACE++. +# +# Authors: MaxThevenet, Severin Diederichs +# License: BSD-3-Clause-LBNL import re import numpy as np diff --git a/tests/checksum/benchmark.py b/tests/checksum/benchmark.py index ba6482a1d9..8115ebf5a4 100644 --- a/tests/checksum/benchmark.py +++ b/tests/checksum/benchmark.py @@ -1,3 +1,10 @@ +# Copyright 2020-2021 +# +# This file is part of HiPACE++. +# +# Authors: MaxThevenet +# License: BSD-3-Clause-LBNL + """ Copyright 2020 diff --git a/tests/checksum/checksum.py b/tests/checksum/checksum.py index 621b27750c..1a7ede6b34 100644 --- a/tests/checksum/checksum.py +++ b/tests/checksum/checksum.py @@ -1,3 +1,10 @@ +# Copyright 2020-2021 +# +# This file is part of HiPACE++. +# +# Authors: Axel Huebl, MaxThevenet +# License: BSD-3-Clause-LBNL + """ Copyright 2020 diff --git a/tests/checksum/checksumAPI.py b/tests/checksum/checksumAPI.py index ab813d19fd..890ffed88f 100755 --- a/tests/checksum/checksumAPI.py +++ b/tests/checksum/checksumAPI.py @@ -1,5 +1,13 @@ #! /usr/bin/env python3 +# Copyright 2020-2021 +# +# This file is part of HiPACE++. +# +# Authors: MaxThevenet, Severin Diederichs +# License: BSD-3-Clause-LBNL + + """ Copyright 2020 diff --git a/tests/checksum/config.py b/tests/checksum/config.py index e723491f0d..fe9e239155 100644 --- a/tests/checksum/config.py +++ b/tests/checksum/config.py @@ -1,3 +1,10 @@ +# Copyright 2020 +# +# This file is part of HiPACE++. +# +# Authors: MaxThevenet +# License: BSD-3-Clause-LBNL + """ Copyright 2020 diff --git a/tests/checksum/reset_all_benchmarks.sh b/tests/checksum/reset_all_benchmarks.sh index 00a6aa4093..81ac6a806d 100755 --- a/tests/checksum/reset_all_benchmarks.sh +++ b/tests/checksum/reset_all_benchmarks.sh @@ -1,5 +1,14 @@ #!/usr/bin/env bash +# Copyright 2020-2022 +# +# This file is part of HiPACE++. +# +# Authors: AlexanderSinn, Axel Huebl, MaxThevenet, Severin Diederichs +# +# License: BSD-3-Clause-LBNL + + # This file is part of the HiPACE++ test suite. # It resets all checksum benchmarks one by one, # based on the current version of the code. diff --git a/tests/from_file.SI.1Rank.sh b/tests/from_file.SI.1Rank.sh index 1046ba478d..d17e9cd704 100755 --- a/tests/from_file.SI.1Rank.sh +++ b/tests/from_file.SI.1Rank.sh @@ -1,8 +1,14 @@ #! /usr/bin/env bash -# This file is part of the Hipace test suite. -# It runs a Hipace simulation in the blowout regime and cand compares the result -# of the simulation to a benchmark. +# Copyright 2021 +# +# This file is part of HiPACE++. +# +# Authors: AlexanderSinn, MaxThevenet +# License: BSD-3-Clause-LBNL + +# This script runs a simulation in the blowout regime and +# compares the result of the simulation to a benchmark. # abort on first encounted error set -eu -o pipefail diff --git a/tests/from_file.normalized.1Rank.sh b/tests/from_file.normalized.1Rank.sh index 3055dbefd2..07506d952b 100755 --- a/tests/from_file.normalized.1Rank.sh +++ b/tests/from_file.normalized.1Rank.sh @@ -1,7 +1,14 @@ #! /usr/bin/env bash -# This file is part of the Hipace test suite. -# It runs a Hipace simulation in the blowout regime and cand compares the result +# Copyright 2021 +# +# This file is part of HiPACE++. +# +# Authors: AlexanderSinn, MaxThevenet +# License: BSD-3-Clause-LBNL + + +# This script runs a Hipace simulation in the blowout regime and cand compares the result # of the simulation to a benchmark. # abort on first encounted error diff --git a/tests/gaussian_linear_wake.SI.1Rank.sh b/tests/gaussian_linear_wake.SI.1Rank.sh index ee92bd1a2d..4c48fae59c 100755 --- a/tests/gaussian_linear_wake.SI.1Rank.sh +++ b/tests/gaussian_linear_wake.SI.1Rank.sh @@ -1,5 +1,13 @@ #! /usr/bin/env bash +# Copyright 2020-2021 +# +# This file is part of HiPACE++. +# +# Authors: MaxThevenet, Severin Diederichs +# License: BSD-3-Clause-LBNL + + # This file is part of the HiPACE++ test suite. # It runs a Hipace simulation in the linear regime with a Gaussian drive beam # and compares the result with theory. diff --git a/tests/gaussian_linear_wake.normalized.1Rank.sh b/tests/gaussian_linear_wake.normalized.1Rank.sh index c553a37408..5f41f601e9 100755 --- a/tests/gaussian_linear_wake.normalized.1Rank.sh +++ b/tests/gaussian_linear_wake.normalized.1Rank.sh @@ -1,5 +1,13 @@ #! /usr/bin/env bash +# Copyright 2020-2021 +# +# This file is part of HiPACE++. +# +# Authors: Axel Huebl, MaxThevenet, Severin Diederichs +# License: BSD-3-Clause-LBNL + + # This file is part of the HiPACE++ test suite. # It runs a Hipace simulation in the linear regime and compares the result # with theory. diff --git a/tests/gaussian_weight.1Rank.sh b/tests/gaussian_weight.1Rank.sh index 56eff9cdf8..4afbfa172a 100755 --- a/tests/gaussian_weight.1Rank.sh +++ b/tests/gaussian_weight.1Rank.sh @@ -1,5 +1,13 @@ #! /usr/bin/env bash +# Copyright 2020-2021 +# +# This file is part of HiPACE++. +# +# Authors: Axel Huebl, MaxThevenet, Severin Diederichs +# License: BSD-3-Clause-LBNL + + # This file is part of the HiPACE++ test suite. # It runs a Hipace simulation initializing a Gaussian beam, and compares the result # of the simulation to theory. diff --git a/tests/grid_current.1Rank.sh b/tests/grid_current.1Rank.sh index cf4e573710..f2862ea86d 100755 --- a/tests/grid_current.1Rank.sh +++ b/tests/grid_current.1Rank.sh @@ -1,5 +1,13 @@ #! /usr/bin/env bash +# Copyright 2021 +# +# This file is part of HiPACE++. +# +# Authors: MaxThevenet, Severin Diederichs +# License: BSD-3-Clause-LBNL + + # This file is part of the HiPACE++ test suite. # It runs a small simulation with a fixed ppc beam and a grid current and ensures that they cancel # each other diff --git a/tests/hosing.2Rank.sh b/tests/hosing.2Rank.sh index 020b9b7ee5..b5fbb72ccf 100755 --- a/tests/hosing.2Rank.sh +++ b/tests/hosing.2Rank.sh @@ -1,5 +1,13 @@ #! /usr/bin/env bash +# Copyright 2021 +# +# This file is part of HiPACE++. +# +# Authors: AlexanderSinn, MaxThevenet, Severin Diederichs +# License: BSD-3-Clause-LBNL + + # This file is part of the HiPACE++ test suite. # It runs a Hipace simulation in the blowout regime and compares the result # with SI units. diff --git a/tests/ionization.2Rank.sh b/tests/ionization.2Rank.sh index 520979738e..2b8f2ddd3e 100755 --- a/tests/ionization.2Rank.sh +++ b/tests/ionization.2Rank.sh @@ -1,5 +1,14 @@ #! /usr/bin/env bash +# Copyright 2021 +# +# This file is part of HiPACE++. +# +# Authors: AlexanderSinn, Andrew Myers, Axel Huebl, MaxThevenet +# Severin Diederichs +# License: BSD-3-Clause-LBNL + + # This file is part of the HiPACE++ test suite. # It runs a Hipace simulation with in neutral hydrogen that gets ionized by the beam diff --git a/tests/linear_wake.SI.1Rank.sh b/tests/linear_wake.SI.1Rank.sh index 677b2390a1..fd9851a484 100755 --- a/tests/linear_wake.SI.1Rank.sh +++ b/tests/linear_wake.SI.1Rank.sh @@ -1,5 +1,13 @@ #! /usr/bin/env bash +# Copyright 2020-2021 +# +# This file is part of HiPACE++. +# +# Authors: Axel Huebl, MaxThevenet, Severin Diederichs +# License: BSD-3-Clause-LBNL + + # This file is part of the HiPACE++ test suite. # It runs a Hipace simulation in the linear regime and compares the result # with theory. diff --git a/tests/linear_wake.normalized.1Rank.sh b/tests/linear_wake.normalized.1Rank.sh index 1578d48ee8..de3d260369 100755 --- a/tests/linear_wake.normalized.1Rank.sh +++ b/tests/linear_wake.normalized.1Rank.sh @@ -1,5 +1,13 @@ #! /usr/bin/env bash +# Copyright 2020-2021 +# +# This file is part of HiPACE++. +# +# Authors: Axel Huebl, MaxThevenet, Severin Diederichs +# License: BSD-3-Clause-LBNL + + # This file is part of the HiPACE++ test suite. # It runs a Hipace simulation in the linear regime and compares the result # with theory. diff --git a/tests/next_deposition_beam.2Rank.sh b/tests/next_deposition_beam.2Rank.sh index 23e6513753..52e70f90c3 100755 --- a/tests/next_deposition_beam.2Rank.sh +++ b/tests/next_deposition_beam.2Rank.sh @@ -1,5 +1,13 @@ #! /usr/bin/env bash +# Copyright 2021 +# +# This file is part of HiPACE++. +# +# Authors: MaxThevenet, Severin Diederichs +# License: BSD-3-Clause-LBNL + + # This file is part of the HiPACE++ test suite. # It runs a Hipace simulation with a beam in vacuum with transverse currents # in serial and parallel and asserts that both give the same result. diff --git a/tests/output_coarsening.2Rank.sh b/tests/output_coarsening.2Rank.sh index 56ffad5eff..6044b28f8b 100755 --- a/tests/output_coarsening.2Rank.sh +++ b/tests/output_coarsening.2Rank.sh @@ -1,5 +1,13 @@ #! /usr/bin/env bash +# Copyright 2021 +# +# This file is part of HiPACE++. +# +# Authors: AlexanderSinn +# License: BSD-3-Clause-LBNL + + # This file is part of the HiPACE++ test suite. # It runs a Hipace simulation with full and coarse IO and compares them diff --git a/tests/reset.2Rank.sh b/tests/reset.2Rank.sh index 942930d620..c2271cac10 100755 --- a/tests/reset.2Rank.sh +++ b/tests/reset.2Rank.sh @@ -1,5 +1,14 @@ #! /usr/bin/env bash +# Copyright 2020-2021 +# +# This file is part of HiPACE++. +# +# Authors: Andrew Myers, Axel Huebl, MaxThevenet, Severin Diederichs +# +# License: BSD-3-Clause-LBNL + + # This file is part of the HiPACE++ test suite. # It runs a Hipace simulation for a can beam, and compares the result # of the simulation to a benchmark. diff --git a/tests/restart.normalized.1Rank.sh b/tests/restart.normalized.1Rank.sh index 884556b1fb..328ef3b4cb 100755 --- a/tests/restart.normalized.1Rank.sh +++ b/tests/restart.normalized.1Rank.sh @@ -1,7 +1,13 @@ #! /usr/bin/env bash -# This file is part of the Hipace test suite. -# It runs a Hipace simulation in the blowout regime and cand compares the result +# Copyright 2021 +# +# This file is part of HiPACE++. +# +# Authors: AlexanderSinn, MaxThevenet +# License: BSD-3-Clause-LBNL + +# This file runs a Hipace simulation in the blowout regime and cand compares the result # of the simulation to a benchmark. # abort on first encounted error diff --git a/tests/slice_IO.1Rank.sh b/tests/slice_IO.1Rank.sh index 983b60ee9e..0698747e17 100755 --- a/tests/slice_IO.1Rank.sh +++ b/tests/slice_IO.1Rank.sh @@ -1,5 +1,13 @@ #! /usr/bin/env bash +# Copyright 2020-2021 +# +# This file is part of HiPACE++. +# +# Authors: MaxThevenet, Severin Diederichs +# License: BSD-3-Clause-LBNL + + # This file is part of the HiPACE++ test suite. # It runs a Hipace simulation with full IO and xz-slice IO, and checks that the results are equal. diff --git a/tools/analysis.py b/tools/analysis.py index 4a8bb2a283..1c5733847f 100755 --- a/tools/analysis.py +++ b/tools/analysis.py @@ -1,5 +1,13 @@ #! /usr/bin/env python +# Copyright 2020 +# +# This file is part of HiPACE++. +# +# Authors: MaxThevenet, Remi Lehe, Severin Diederichs +# License: BSD-3-Clause-LBNL + + # Plots Ex field and particles at the end of the run, # and save image to img.png # usage: ./analysis.py diff --git a/tools/convert_hipace_to_hipace++_file.py b/tools/convert_hipace_to_hipace++_file.py index 2887ec47bd..a3cd6ede55 100755 --- a/tools/convert_hipace_to_hipace++_file.py +++ b/tools/convert_hipace_to_hipace++_file.py @@ -1,4 +1,12 @@ #!/usr/bin/env python3 + +# Copyright 2021 +# +# This file is part of HiPACE++. +# +# Authors: AlexanderSinn, Severin Diederichs +# License: BSD-3-Clause-LBNL + # convert_hipace_to_hipace++_file.py """ Conversion Script to convert hdf5 beam files to openPMD files that can be used by HiPACE++ diff --git a/tools/write_beam.py b/tools/write_beam.py index 6d258b2c34..3f86fe6d88 100755 --- a/tools/write_beam.py +++ b/tools/write_beam.py @@ -1,3 +1,10 @@ +# Copyright 2020-2021 +# +# This file is part of HiPACE++. +# +# Authors: AlexanderSinn, Severin Diederichs +# License: BSD-3-Clause-LBNL + import math import openpmd_api as io import numpy as np