From e63229421c47538283375f1601d2d38bb25246b9 Mon Sep 17 00:00:00 2001 From: MaxThevenet Date: Sun, 27 Oct 2019 16:59:48 -0700 Subject: FillBoundaryE/B/F take mandatory argument nguard --- Source/Python/WarpXWrappers.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Source/Python/WarpXWrappers.cpp') diff --git a/Source/Python/WarpXWrappers.cpp b/Source/Python/WarpXWrappers.cpp index be9ec9519..3635bcd45 100644 --- a/Source/Python/WarpXWrappers.cpp +++ b/Source/Python/WarpXWrappers.cpp @@ -378,11 +378,11 @@ extern "C" } void warpx_FillBoundaryE () { WarpX& warpx = WarpX::GetInstance(); - warpx.FillBoundaryE (); + warpx.FillBoundaryE (warpx.getngE()); } void warpx_FillBoundaryB () { WarpX& warpx = WarpX::GetInstance(); - warpx.FillBoundaryB (); + warpx.FillBoundaryB (warpx.getngE()); } void warpx_SyncCurrent () { WarpX& warpx = WarpX::GetInstance(); -- cgit v1.2.3 From 2b881dce8eac358d9aee18efefaa1ef8283ac70b Mon Sep 17 00:00:00 2001 From: Tools Date: Mon, 27 Jan 2020 12:47:47 -0800 Subject: Automatically add copyright header with update_copyright.sh --- .github/workflows/source.yml | 6 ++++++ .lgtm.yml | 6 ++++++ .readthedocs.yml | 6 ++++++ .travis.yml | 7 +++++++ Docs/requirements.txt | 6 ++++++ Docs/source/conf.py | 8 ++++++++ Docs/source/latex_theory/AMR/AMR.tex | 6 ++++++ Docs/source/latex_theory/Boosted_frame/Boosted_frame.tex | 6 ++++++ Docs/source/latex_theory/PML/PML.tex | 6 ++++++ Docs/source/latex_theory/input_output/input_output.tex | 6 ++++++ Docs/source/latex_theory/intro.tex | 6 ++++++ Docs/source/latex_theory/newcommands.tex | 6 ++++++ Docs/source/latex_theory/theory.tex | 6 ++++++ .../RigidInjection/analysis_rigid_injection_BoostedFrame.py | 8 ++++++++ .../RigidInjection/analysis_rigid_injection_LabFrame.py | 7 +++++++ .../Modules/boosted_diags/analysis_3Dbacktransformed_diag.py | 7 +++++++ Examples/Modules/ionization/analysis_ionization.py | 7 +++++++ Examples/Modules/laser_injection/analysis_laser.py | 8 ++++++++ Examples/Modules/laser_injection_from_file/analysis.py | 8 ++++++++ Examples/Modules/nci_corrector/analysis_ncicorr.py | 8 ++++++++ Examples/Modules/qed/breit_wheeler/analysis_2d_tau_init.py | 7 +++++++ .../qed/breit_wheeler/analysis_3d_optical_depth_evolution.py | 7 +++++++ .../Modules/qed/quantum_synchrotron/analysis_2d_tau_init.py | 7 +++++++ .../relativistic_space_charge_initialization/analysis.py | 7 +++++++ Examples/Modules/space_charge_initialization/analysis.py | 7 +++++++ Examples/Tests/Langmuir/analysis_langmuir.py | 8 ++++++++ Examples/Tests/Langmuir/analysis_langmuir2d.py | 8 ++++++++ Examples/Tests/Langmuir/analysis_langmuir_multi.py | 8 ++++++++ Examples/Tests/Langmuir/analysis_langmuir_multi_2d.py | 8 ++++++++ Examples/Tests/Langmuir/analysis_langmuir_multi_rz.py | 7 +++++++ Examples/Tests/PML/analysis_pml_ckc.py | 8 ++++++++ Examples/Tests/PML/analysis_pml_psatd.py | 8 ++++++++ Examples/Tests/PML/analysis_pml_yee.py | 8 ++++++++ Examples/Tests/SingleParticle/analysis_bilinear_filter.py | 7 +++++++ Examples/Tests/collision/analysis_collision.py | 7 +++++++ Examples/Tests/particle_pusher/analysis_pusher.py | 7 +++++++ Examples/Tests/particles_in_PML/analysis_particles_in_pml.py | 8 ++++++++ Examples/Tests/photon_pusher/analysis_photon_pusher.py | 8 ++++++++ .../test_const_B_analytical/analysis_classicalRR.py | 8 ++++++++ Python/pywarpx/Algo.py | 6 ++++++ Python/pywarpx/Amr.py | 6 ++++++ Python/pywarpx/Bucket.py | 7 +++++++ Python/pywarpx/Constants.py | 6 ++++++ Python/pywarpx/Geometry.py | 6 ++++++ Python/pywarpx/Interpolation.py | 6 ++++++ Python/pywarpx/Langmuirwave.py | 6 ++++++ Python/pywarpx/Lasers.py | 6 ++++++ Python/pywarpx/PGroup.py | 6 ++++++ Python/pywarpx/Particles.py | 6 ++++++ Python/pywarpx/WarpInterface.py | 6 ++++++ Python/pywarpx/WarpX.py | 7 +++++++ Python/pywarpx/WarpXPIC.py | 6 ++++++ Python/pywarpx/__init__.py | 6 ++++++ Python/pywarpx/_libwarpx.py | 7 +++++++ Python/pywarpx/callbacks.py | 6 ++++++ Python/pywarpx/fields.py | 6 ++++++ Python/pywarpx/picmi.py | 8 ++++++++ Python/pywarpx/timestepper.py | 7 +++++++ Python/pywarpx/wx.py | 6 ++++++ Python/setup.py | 8 ++++++++ Regression/TestFillBoundary/compare_guard_cells.sh | 7 +++++++ Regression/prepare_file_travis.py | 7 +++++++ Source/BoundaryConditions/PML.H | 8 ++++++++ Source/BoundaryConditions/PML.cpp | 8 ++++++++ Source/BoundaryConditions/PML_current.H | 7 +++++++ Source/BoundaryConditions/WarpXEvolvePML.cpp | 7 +++++++ Source/BoundaryConditions/WarpX_PML_kernels.H | 7 +++++++ Source/Diagnostics/BackTransformedDiagnostic.H | 7 +++++++ Source/Diagnostics/BackTransformedDiagnostic.cpp | 7 +++++++ Source/Diagnostics/ElectrostaticIO.cpp | 7 +++++++ Source/Diagnostics/FieldIO.H | 7 +++++++ Source/Diagnostics/FieldIO.cpp | 8 ++++++++ Source/Diagnostics/ParticleIO.cpp | 8 ++++++++ Source/Diagnostics/SliceDiagnostic.H | 6 ++++++ Source/Diagnostics/SliceDiagnostic.cpp | 7 +++++++ Source/Diagnostics/WarpXIO.cpp | 9 +++++++++ Source/Diagnostics/WarpXOpenPMD.H | 7 +++++++ Source/Diagnostics/WarpXOpenPMD.cpp | 6 ++++++ Source/Diagnostics/requirements.txt | 6 ++++++ Source/Evolve/WarpXDtType.H | 6 ++++++ Source/Evolve/WarpXEvolveEM.cpp | 10 ++++++++++ Source/Evolve/WarpXEvolveES.cpp | 8 ++++++++ .../PicsarHybridSpectralSolver/PicsarHybridFFTData.H | 6 ++++++ .../PicsarHybridSpectralSolver/PicsarHybridSpectralSolver.cpp | 7 +++++++ .../PicsarHybridSpectralSolver/picsar_hybrid_spectral.F90 | 7 +++++++ .../SpectralSolver/SpectralAlgorithms/PMLPsatdAlgorithm.H | 6 ++++++ .../SpectralSolver/SpectralAlgorithms/PMLPsatdAlgorithm.cpp | 6 ++++++ .../SpectralSolver/SpectralAlgorithms/PsatdAlgorithm.H | 7 +++++++ .../SpectralSolver/SpectralAlgorithms/PsatdAlgorithm.cpp | 6 ++++++ .../SpectralSolver/SpectralAlgorithms/SpectralBaseAlgorithm.H | 6 ++++++ Source/FieldSolver/SpectralSolver/SpectralFieldData.H | 7 +++++++ Source/FieldSolver/SpectralSolver/SpectralFieldData.cpp | 7 +++++++ Source/FieldSolver/SpectralSolver/SpectralKSpace.H | 7 +++++++ Source/FieldSolver/SpectralSolver/SpectralKSpace.cpp | 7 +++++++ Source/FieldSolver/SpectralSolver/SpectralSolver.H | 6 ++++++ Source/FieldSolver/SpectralSolver/SpectralSolver.cpp | 6 ++++++ Source/FieldSolver/SpectralSolver/WarpX_ComplexForFFT.H | 6 ++++++ Source/FieldSolver/WarpXPushFieldsEM.cpp | 8 ++++++++ Source/FieldSolver/WarpX_FDTD.H | 6 ++++++ Source/FieldSolver/WarpX_K.H | 6 ++++++ Source/Filter/BilinearFilter.H | 7 +++++++ Source/Filter/BilinearFilter.cpp | 7 +++++++ Source/Filter/Filter.H | 6 ++++++ Source/Filter/Filter.cpp | 7 +++++++ Source/Filter/NCIGodfreyFilter.H | 6 ++++++ Source/Filter/NCIGodfreyFilter.cpp | 6 ++++++ Source/FortranInterface/WarpX_f.F90 | 8 ++++++++ Source/FortranInterface/WarpX_f.H | 10 ++++++++++ Source/Initialization/CustomDensityProb.H | 6 ++++++ Source/Initialization/CustomMomentumProb.H | 6 ++++++ Source/Initialization/InitSpaceChargeField.cpp | 6 ++++++ Source/Initialization/InjectorDensity.H | 7 +++++++ Source/Initialization/InjectorDensity.cpp | 7 +++++++ Source/Initialization/InjectorMomentum.H | 7 +++++++ Source/Initialization/InjectorMomentum.cpp | 7 +++++++ Source/Initialization/InjectorPosition.H | 7 +++++++ Source/Initialization/PlasmaInjector.H | 8 ++++++++ Source/Initialization/PlasmaInjector.cpp | 9 +++++++++ Source/Initialization/WarpXInitData.cpp | 9 +++++++++ Source/Laser/LaserParticleContainer.H | 8 ++++++++ Source/Laser/LaserParticleContainer.cpp | 8 ++++++++ Source/Laser/LaserProfiles.H | 6 ++++++ Source/Laser/LaserProfilesImpl/LaserProfileFieldFunction.cpp | 6 ++++++ Source/Laser/LaserProfilesImpl/LaserProfileFromTXYEFile.cpp | 6 ++++++ Source/Laser/LaserProfilesImpl/LaserProfileGaussian.cpp | 7 +++++++ Source/Laser/LaserProfilesImpl/LaserProfileHarris.cpp | 6 ++++++ Source/Parallelization/GuardCellManager.H | 6 ++++++ Source/Parallelization/GuardCellManager.cpp | 6 ++++++ Source/Parallelization/InterpolateCurrentFineToCoarse.H | 2 +- Source/Parallelization/InterpolateDensityFineToCoarse.H | 2 +- Source/Parallelization/WarpXComm.H | 6 ++++++ Source/Parallelization/WarpXComm.cpp | 8 ++++++++ Source/Parallelization/WarpXComm_K.H | 6 ++++++ Source/Parallelization/WarpXRegrid.cpp | 8 ++++++++ Source/Parallelization/WarpXSumGuardCells.H | 7 +++++++ Source/Parser/GpuParser.H | 7 +++++++ Source/Parser/GpuParser.cpp | 7 +++++++ Source/Parser/WarpXParser.H | 6 ++++++ Source/Parser/WarpXParser.cpp | 6 ++++++ Source/Parser/WarpXParserWrapper.H | 6 ++++++ Source/Particles/Collision/CollisionType.H | 6 ++++++ Source/Particles/Collision/CollisionType.cpp | 6 ++++++ Source/Particles/Collision/ComputeTemperature.H | 6 ++++++ Source/Particles/Collision/ElasticCollisionPerez.H | 6 ++++++ Source/Particles/Collision/ShuffleFisherYates.H | 6 ++++++ Source/Particles/Collision/UpdateMomentumPerezElastic.H | 6 ++++++ Source/Particles/Deposition/ChargeDeposition.H | 7 +++++++ Source/Particles/Deposition/CurrentDeposition.H | 7 +++++++ Source/Particles/Gather/FieldGather.H | 7 +++++++ Source/Particles/MultiParticleContainer.H | 10 ++++++++++ Source/Particles/MultiParticleContainer.cpp | 10 ++++++++++ Source/Particles/ParticleCreation/CopyParticle.H | 6 ++++++ Source/Particles/ParticleCreation/ElementaryProcess.H | 7 +++++++ Source/Particles/ParticleCreation/TransformParticle.H | 6 ++++++ Source/Particles/PhotonParticleContainer.H | 7 +++++++ Source/Particles/PhotonParticleContainer.cpp | 7 +++++++ Source/Particles/PhysicalParticleContainer.H | 9 +++++++++ Source/Particles/PhysicalParticleContainer.cpp | 10 ++++++++++ Source/Particles/Pusher/GetAndSetPosition.H | 7 +++++++ Source/Particles/Pusher/UpdateMomentumBoris.H | 7 +++++++ .../Pusher/UpdateMomentumBorisWithRadiationReaction.H | 6 ++++++ Source/Particles/Pusher/UpdateMomentumHigueraCary.H | 6 ++++++ Source/Particles/Pusher/UpdateMomentumVay.H | 7 +++++++ Source/Particles/Pusher/UpdatePosition.H | 7 +++++++ Source/Particles/Pusher/UpdatePositionPhoton.H | 7 +++++++ Source/Particles/RigidInjectedParticleContainer.H | 7 +++++++ Source/Particles/RigidInjectedParticleContainer.cpp | 9 +++++++++ Source/Particles/ShapeFactors.H | 6 ++++++ Source/Particles/Sorting/Partition.cpp | 6 ++++++ Source/Particles/Sorting/SortingUtils.H | 7 +++++++ Source/Particles/WarpXParticleContainer.H | 9 +++++++++ Source/Particles/WarpXParticleContainer.cpp | 9 +++++++++ Source/Particles/interpolate_cic.F90 | 6 ++++++ Source/Particles/push_particles_ES.F90 | 6 ++++++ Source/Python/WarpXWrappers.cpp | 8 ++++++++ Source/Python/WarpXWrappers.h | 7 +++++++ Source/Python/WarpX_py.H | 7 +++++++ Source/Python/WarpX_py.cpp | 7 +++++++ Source/QED/BreitWheelerDummyTable.H | 6 ++++++ Source/QED/BreitWheelerEngineInnards.H | 6 ++++++ Source/QED/BreitWheelerEngineTableBuilder.H | 6 ++++++ Source/QED/BreitWheelerEngineTableBuilder.cpp | 6 ++++++ Source/QED/BreitWheelerEngineWrapper.H | 6 ++++++ Source/QED/BreitWheelerEngineWrapper.cpp | 6 ++++++ Source/QED/QedChiFunctions.H | 6 ++++++ Source/QED/QedTableParserHelperFunctions.H | 6 ++++++ Source/QED/QedWrapperCommons.H | 6 ++++++ Source/QED/QuantumSyncDummyTable.H | 6 ++++++ Source/QED/QuantumSyncEngineInnards.H | 6 ++++++ Source/QED/QuantumSyncEngineTableBuilder.H | 6 ++++++ Source/QED/QuantumSyncEngineTableBuilder.cpp | 6 ++++++ Source/QED/QuantumSyncEngineWrapper.H | 6 ++++++ Source/QED/QuantumSyncEngineWrapper.cpp | 6 ++++++ Source/Utils/IonizationEnergiesTable.H | 6 ++++++ Source/Utils/NCIGodfreyTables.H | 6 ++++++ Source/Utils/WarpXAlgorithmSelection.H | 7 +++++++ Source/Utils/WarpXAlgorithmSelection.cpp | 8 ++++++++ Source/Utils/WarpXConst.H | 7 +++++++ Source/Utils/WarpXMovingWindow.cpp | 8 ++++++++ Source/Utils/WarpXTagging.cpp | 7 +++++++ Source/Utils/WarpXUtil.H | 7 +++++++ Source/Utils/WarpXUtil.cpp | 8 ++++++++ Source/Utils/WarpX_Complex.H | 7 +++++++ Source/Utils/atomic_data.txt | 6 ++++++ Source/Utils/utils_ES.F90 | 6 ++++++ Source/Utils/write_atomic_data_cpp.py | 7 +++++++ Source/WarpX.H | 11 +++++++++++ Source/WarpX.cpp | 11 +++++++++++ Source/main.cpp | 8 ++++++++ Tools/batchScripts/batch_cori.sh | 7 +++++++ Tools/batchScripts/batch_summit.sh | 7 +++++++ Tools/batchScripts/script_profiling_summit.sh | 7 +++++++ Tools/compute_domain.py | 6 ++++++ Tools/cori_postproc_script.sh | 7 +++++++ Tools/performance_tests/cori.py | 7 +++++++ Tools/performance_tests/functions_perftest.py | 7 +++++++ Tools/performance_tests/run_alltests.py | 7 +++++++ Tools/performance_tests/run_alltests_1node.py | 6 ++++++ Tools/performance_tests/run_automated.py | 7 +++++++ Tools/performance_tests/summit.py | 7 +++++++ Tools/plot_parallel.py | 6 ++++++ Tools/plot_particle_path.py | 7 +++++++ Tools/read_lab_particles.py | 6 ++++++ Tools/read_raw_data.py | 7 +++++++ Tools/script_profiling_summit.sh | 7 +++++++ Tools/update_copyright.sh | 7 +++++++ Tools/update_release.sh | 7 +++++++ Tools/video_yt.py | 6 ++++++ Tools/yt3d_mpi.py | 6 ++++++ run_test.sh | 9 +++++++++ 230 files changed, 1575 insertions(+), 2 deletions(-) (limited to 'Source/Python/WarpXWrappers.cpp') diff --git a/.github/workflows/source.yml b/.github/workflows/source.yml index 42573f64b..ce9ee7f89 100644 --- a/.github/workflows/source.yml +++ b/.github/workflows/source.yml @@ -1,3 +1,9 @@ +# Copyright 2019-2020 Axel Huebl, Maxence Thevenet +# +# This file is part of WarpX. +# +# License: BSD-3-Clause-LBNL + name: source on: [push, pull_request] diff --git a/.lgtm.yml b/.lgtm.yml index fa3ddd58e..a4fdc14f7 100644 --- a/.lgtm.yml +++ b/.lgtm.yml @@ -1,3 +1,9 @@ +# Copyright 2019 Axel Huebl +# +# This file is part of WarpX. +# +# License: BSD-3-Clause-LBNL + extraction: cpp: prepare: diff --git a/.readthedocs.yml b/.readthedocs.yml index dc908b3f0..1fdbb2823 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -1,3 +1,9 @@ +# Copyright 2019-2020 Axel Huebl, Maxence Thevenet +# +# This file is part of WarpX. +# +# License: BSD-3-Clause-LBNL + requirements_file: Docs/requirements.txt formats: diff --git a/.travis.yml b/.travis.yml index ccabd3852..20e2c0549 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,3 +1,10 @@ +# Copyright 2018-2019 Axel Huebl, David Grote, Luca Fedeli +# Maxence Thevenet, Remi Lehe +# +# This file is part of WarpX. +# +# License: BSD-3-Clause-LBNL + dist: xenial language: c++ sudo: true diff --git a/Docs/requirements.txt b/Docs/requirements.txt index 68c49affd..7b59a9d9d 100644 --- a/Docs/requirements.txt +++ b/Docs/requirements.txt @@ -1,3 +1,9 @@ +# Copyright 2019 Axel Huebl, Maxence Thevenet +# +# This file is part of WarpX. +# +# License: BSD-3-Clause-LBNL + sphinx_rtd_theme>=0.3.1 recommonmark sphinx>=2.0 diff --git a/Docs/source/conf.py b/Docs/source/conf.py index e8e5d96e2..a4ab16d09 100644 --- a/Docs/source/conf.py +++ b/Docs/source/conf.py @@ -1,4 +1,12 @@ #!/usr/bin/env python3 + +# Copyright 2017-2020 Andrew Myers, Axel Huebl, Burlen Loring +# Maxence Thevenet, Remi Lehe +# +# This file is part of WarpX. +# +# License: BSD-3-Clause-LBNL + # -*- coding: utf-8 -*- # # WarpX documentation build configuration file, created by diff --git a/Docs/source/latex_theory/AMR/AMR.tex b/Docs/source/latex_theory/AMR/AMR.tex index 23e32f6a1..77f224fd3 100644 --- a/Docs/source/latex_theory/AMR/AMR.tex +++ b/Docs/source/latex_theory/AMR/AMR.tex @@ -1,3 +1,9 @@ +% Copyright 2017-2019 Jean-Luc Vay, Remi Lehe +% +% This file is part of WarpX. +% +% License: BSD-3-Clause-LBNL + \input{newcommands} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% diff --git a/Docs/source/latex_theory/Boosted_frame/Boosted_frame.tex b/Docs/source/latex_theory/Boosted_frame/Boosted_frame.tex index c0e7f41f8..471863ac3 100644 --- a/Docs/source/latex_theory/Boosted_frame/Boosted_frame.tex +++ b/Docs/source/latex_theory/Boosted_frame/Boosted_frame.tex @@ -1,3 +1,9 @@ +% Copyright 2017-2019 Burlen Loring, Remi Lehe +% +% This file is part of WarpX. +% +% License: BSD-3-Clause-LBNL + \input{newcommands} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% diff --git a/Docs/source/latex_theory/PML/PML.tex b/Docs/source/latex_theory/PML/PML.tex index 7c5f09619..205c9d099 100644 --- a/Docs/source/latex_theory/PML/PML.tex +++ b/Docs/source/latex_theory/PML/PML.tex @@ -1,3 +1,9 @@ +% Copyright 2017-2019 Jean-Luc Vay, Remi Lehe +% +% This file is part of WarpX. +% +% License: BSD-3-Clause-LBNL + \input{newcommands} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% diff --git a/Docs/source/latex_theory/input_output/input_output.tex b/Docs/source/latex_theory/input_output/input_output.tex index 870ce2e44..e013e2364 100644 --- a/Docs/source/latex_theory/input_output/input_output.tex +++ b/Docs/source/latex_theory/input_output/input_output.tex @@ -1,3 +1,9 @@ +% Copyright 2017-2019 Remi Lehe +% +% This file is part of WarpX. +% +% License: BSD-3-Clause-LBNL + \input{newcommands} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% diff --git a/Docs/source/latex_theory/intro.tex b/Docs/source/latex_theory/intro.tex index 6ce156a54..01283f23d 100644 --- a/Docs/source/latex_theory/intro.tex +++ b/Docs/source/latex_theory/intro.tex @@ -1,3 +1,9 @@ +% Copyright 2017 Remi Lehe +% +% This file is part of WarpX. +% +% License: BSD-3-Clause-LBNL + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \section{Introduction} diff --git a/Docs/source/latex_theory/newcommands.tex b/Docs/source/latex_theory/newcommands.tex index 2b34822c7..de6c597a9 100644 --- a/Docs/source/latex_theory/newcommands.tex +++ b/Docs/source/latex_theory/newcommands.tex @@ -1,3 +1,9 @@ +% Copyright 2017-2019 Jean-Luc Vay, Remi Lehe +% +% This file is part of WarpX. +% +% License: BSD-3-Clause-LBNL + \usepackage{bm} \usepackage{amsmath} diff --git a/Docs/source/latex_theory/theory.tex b/Docs/source/latex_theory/theory.tex index cee24d8ff..aea92dc4a 100644 --- a/Docs/source/latex_theory/theory.tex +++ b/Docs/source/latex_theory/theory.tex @@ -1,3 +1,9 @@ +% Copyright 2017-2019 Jean-Luc Vay, Remi Lehe +% +% This file is part of WarpX. +% +% License: BSD-3-Clause-LBNL + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% Reviews of Accelerator Science and Technology %% Trim Size: 11in x 8.5in diff --git a/Examples/Modules/RigidInjection/analysis_rigid_injection_BoostedFrame.py b/Examples/Modules/RigidInjection/analysis_rigid_injection_BoostedFrame.py index 6dd72050e..61bb28d43 100755 --- a/Examples/Modules/RigidInjection/analysis_rigid_injection_BoostedFrame.py +++ b/Examples/Modules/RigidInjection/analysis_rigid_injection_BoostedFrame.py @@ -1,5 +1,13 @@ #! /usr/bin/env python +# Copyright 2019-2020 Luca Fedeli, Maxence Thevenet, Revathi Jambunathan +# +# +# This file is part of WarpX. +# +# License: BSD-3-Clause-LBNL + + ''' Analysis script of a WarpX simulation of rigid injection in a boosted frame. diff --git a/Examples/Modules/RigidInjection/analysis_rigid_injection_LabFrame.py b/Examples/Modules/RigidInjection/analysis_rigid_injection_LabFrame.py index 1a4865dd8..6977f6ff6 100755 --- a/Examples/Modules/RigidInjection/analysis_rigid_injection_LabFrame.py +++ b/Examples/Modules/RigidInjection/analysis_rigid_injection_LabFrame.py @@ -1,5 +1,12 @@ #! /usr/bin/env python +# Copyright 2019-2020 Luca Fedeli, Maxence Thevenet +# +# This file is part of WarpX. +# +# License: BSD-3-Clause-LBNL + + ''' Analysis script of a WarpX simulation of rigid injection. diff --git a/Examples/Modules/boosted_diags/analysis_3Dbacktransformed_diag.py b/Examples/Modules/boosted_diags/analysis_3Dbacktransformed_diag.py index 3b8e7aa76..262354fe6 100755 --- a/Examples/Modules/boosted_diags/analysis_3Dbacktransformed_diag.py +++ b/Examples/Modules/boosted_diags/analysis_3Dbacktransformed_diag.py @@ -1,5 +1,12 @@ #! /usr/bin/env python +# Copyright 2019 Maxence Thevenet, Revathi Jambunathan +# +# This file is part of WarpX. +# +# License: BSD-3-Clause-LBNL + + ''' Analysis script of a WarpX simulation in a boosted frame. diff --git a/Examples/Modules/ionization/analysis_ionization.py b/Examples/Modules/ionization/analysis_ionization.py index 018aba8ee..6d8bda1e0 100755 --- a/Examples/Modules/ionization/analysis_ionization.py +++ b/Examples/Modules/ionization/analysis_ionization.py @@ -1,5 +1,12 @@ #! /usr/bin/env python +# Copyright 2019-2020 Luca Fedeli, Maxence Thevenet +# +# This file is part of WarpX. +# +# License: BSD-3-Clause-LBNL + + """ This script tests the result of the ionization module in WarpX. diff --git a/Examples/Modules/laser_injection/analysis_laser.py b/Examples/Modules/laser_injection/analysis_laser.py index 1951bb29a..c19de0d85 100755 --- a/Examples/Modules/laser_injection/analysis_laser.py +++ b/Examples/Modules/laser_injection/analysis_laser.py @@ -1,5 +1,13 @@ #! /usr/bin/env python +# Copyright 2019 Andrew Myers, Jean-Luc Vay, Maxence Thevenet +# Remi Lehe, Weiqun Zhang +# +# This file is part of WarpX. +# +# License: BSD-3-Clause-LBNL + + import sys import matplotlib matplotlib.use('Agg') diff --git a/Examples/Modules/laser_injection_from_file/analysis.py b/Examples/Modules/laser_injection_from_file/analysis.py index 9c8629215..5a4038db1 100755 --- a/Examples/Modules/laser_injection_from_file/analysis.py +++ b/Examples/Modules/laser_injection_from_file/analysis.py @@ -1,5 +1,13 @@ #!/usr/bin/env python3 +# Copyright 2020 Andrew Myers, Axel Huebl, Luca Fedeli +# Remi Lehe +# +# This file is part of WarpX. +# +# License: BSD-3-Clause-LBNL + + # This file is part of the WarpX automated test suite. It is used to test the # injection of a laser pulse from an external binary file. # diff --git a/Examples/Modules/nci_corrector/analysis_ncicorr.py b/Examples/Modules/nci_corrector/analysis_ncicorr.py index 94dd2f838..af23f15ed 100755 --- a/Examples/Modules/nci_corrector/analysis_ncicorr.py +++ b/Examples/Modules/nci_corrector/analysis_ncicorr.py @@ -1,5 +1,13 @@ #! /usr/bin/env python +# Copyright 2019 Jean-Luc Vay, Maxence Thevenet, Remi Lehe +# Weiqun Zhang +# +# This file is part of WarpX. +# +# License: BSD-3-Clause-LBNL + + import sys import yt import re diff --git a/Examples/Modules/qed/breit_wheeler/analysis_2d_tau_init.py b/Examples/Modules/qed/breit_wheeler/analysis_2d_tau_init.py index 9168c0502..ce21aa059 100755 --- a/Examples/Modules/qed/breit_wheeler/analysis_2d_tau_init.py +++ b/Examples/Modules/qed/breit_wheeler/analysis_2d_tau_init.py @@ -1,4 +1,11 @@ #! /usr/bin/env python + +# Copyright 2019 Luca Fedeli, Maxence Thevenet +# +# This file is part of WarpX. +# +# License: BSD-3-Clause-LBNL + import yt import numpy as np import scipy.stats as st diff --git a/Examples/Modules/qed/breit_wheeler/analysis_3d_optical_depth_evolution.py b/Examples/Modules/qed/breit_wheeler/analysis_3d_optical_depth_evolution.py index 617afd6f9..bd14660c2 100755 --- a/Examples/Modules/qed/breit_wheeler/analysis_3d_optical_depth_evolution.py +++ b/Examples/Modules/qed/breit_wheeler/analysis_3d_optical_depth_evolution.py @@ -1,4 +1,11 @@ #! /usr/bin/env python + +# Copyright 2019 Luca Fedeli, Maxence Thevenet +# +# This file is part of WarpX. +# +# License: BSD-3-Clause-LBNL + # -*- coding: utf-8 -*- import yt diff --git a/Examples/Modules/qed/quantum_synchrotron/analysis_2d_tau_init.py b/Examples/Modules/qed/quantum_synchrotron/analysis_2d_tau_init.py index 98c95d5ea..2cceed2e4 100755 --- a/Examples/Modules/qed/quantum_synchrotron/analysis_2d_tau_init.py +++ b/Examples/Modules/qed/quantum_synchrotron/analysis_2d_tau_init.py @@ -1,4 +1,11 @@ #! /usr/bin/env python + +# Copyright 2019 Luca Fedeli, Maxence Thevenet +# +# This file is part of WarpX. +# +# License: BSD-3-Clause-LBNL + import yt import numpy as np import scipy.stats as st diff --git a/Examples/Modules/relativistic_space_charge_initialization/analysis.py b/Examples/Modules/relativistic_space_charge_initialization/analysis.py index f3ea5bbea..46cd67f07 100755 --- a/Examples/Modules/relativistic_space_charge_initialization/analysis.py +++ b/Examples/Modules/relativistic_space_charge_initialization/analysis.py @@ -1,4 +1,11 @@ #!/usr/bin/env python + +# Copyright 2019-2020 Axel Huebl, Remi Lehe +# +# This file is part of WarpX. +# +# License: BSD-3-Clause-LBNL + """ This script checks the space-charge initialization routine, by verifying that the space-charge field of a Gaussian beam corresponds to diff --git a/Examples/Modules/space_charge_initialization/analysis.py b/Examples/Modules/space_charge_initialization/analysis.py index 3bcdf57f1..675a8e5b5 100755 --- a/Examples/Modules/space_charge_initialization/analysis.py +++ b/Examples/Modules/space_charge_initialization/analysis.py @@ -1,4 +1,11 @@ #!/usr/bin/env python + +# Copyright 2019-2020 Axel Huebl, Remi Lehe +# +# This file is part of WarpX. +# +# License: BSD-3-Clause-LBNL + """ This script checks the space-charge initialization routine, by verifying that the space-charge field of a Gaussian beam corresponds to diff --git a/Examples/Tests/Langmuir/analysis_langmuir.py b/Examples/Tests/Langmuir/analysis_langmuir.py index 2ffb7f56b..1f77c3ebf 100755 --- a/Examples/Tests/Langmuir/analysis_langmuir.py +++ b/Examples/Tests/Langmuir/analysis_langmuir.py @@ -1,5 +1,13 @@ #! /usr/bin/env python +# Copyright 2019 Jean-Luc Vay, Maxence Thevenet, Remi Lehe +# +# +# This file is part of WarpX. +# +# License: BSD-3-Clause-LBNL + + import sys import re import matplotlib diff --git a/Examples/Tests/Langmuir/analysis_langmuir2d.py b/Examples/Tests/Langmuir/analysis_langmuir2d.py index d43134115..b119b9afe 100755 --- a/Examples/Tests/Langmuir/analysis_langmuir2d.py +++ b/Examples/Tests/Langmuir/analysis_langmuir2d.py @@ -1,5 +1,13 @@ #! /usr/bin/env python +# Copyright 2019 Andrew Myers, David Grote, Jean-Luc Vay +# Maxence Thevenet, Remi Lehe +# +# This file is part of WarpX. +# +# License: BSD-3-Clause-LBNL + + import sys import matplotlib matplotlib.use('Agg') diff --git a/Examples/Tests/Langmuir/analysis_langmuir_multi.py b/Examples/Tests/Langmuir/analysis_langmuir_multi.py index 890320be8..21f281841 100755 --- a/Examples/Tests/Langmuir/analysis_langmuir_multi.py +++ b/Examples/Tests/Langmuir/analysis_langmuir_multi.py @@ -1,5 +1,13 @@ #! /usr/bin/env python +# Copyright 2019 Jean-Luc Vay, Maxence Thevenet, Remi Lehe +# +# +# This file is part of WarpX. +# +# License: BSD-3-Clause-LBNL + + # This is a script that analyses the simulation results from # the script `inputs.multi.rt`. This simulates a 3D periodic plasma wave. # The electric field in the simulation is given (in theory) by: diff --git a/Examples/Tests/Langmuir/analysis_langmuir_multi_2d.py b/Examples/Tests/Langmuir/analysis_langmuir_multi_2d.py index 169c56e7b..105f1993a 100755 --- a/Examples/Tests/Langmuir/analysis_langmuir_multi_2d.py +++ b/Examples/Tests/Langmuir/analysis_langmuir_multi_2d.py @@ -1,5 +1,13 @@ #! /usr/bin/env python +# Copyright 2019 Jean-Luc Vay, Maxence Thevenet, Remi Lehe +# +# +# This file is part of WarpX. +# +# License: BSD-3-Clause-LBNL + + # This is a script that analyses the simulation results from # the script `inputs.multi.rt`. This simulates a 3D periodic plasma wave. # The electric field in the simulation is given (in theory) by: diff --git a/Examples/Tests/Langmuir/analysis_langmuir_multi_rz.py b/Examples/Tests/Langmuir/analysis_langmuir_multi_rz.py index 2ff30eb5e..154105870 100755 --- a/Examples/Tests/Langmuir/analysis_langmuir_multi_rz.py +++ b/Examples/Tests/Langmuir/analysis_langmuir_multi_rz.py @@ -1,5 +1,12 @@ #! /usr/bin/env python +# Copyright 2019 David Grote, Maxence Thevenet +# +# This file is part of WarpX. +# +# License: BSD-3-Clause-LBNL + + # This is a script that analyses the simulation results from # the script `inputs.multi.rz.rt`. This simulates a RZ periodic plasma wave. # The electric field in the simulation is given (in theory) by: diff --git a/Examples/Tests/PML/analysis_pml_ckc.py b/Examples/Tests/PML/analysis_pml_ckc.py index 08019e60b..2ef7d36aa 100755 --- a/Examples/Tests/PML/analysis_pml_ckc.py +++ b/Examples/Tests/PML/analysis_pml_ckc.py @@ -1,5 +1,13 @@ #! /usr/bin/env python +# Copyright 2018-2019 Andrew Myers, Jean-Luc Vay, Maxence Thevenet +# Remi Lehe +# +# This file is part of WarpX. +# +# License: BSD-3-Clause-LBNL + + import sys import yt ; yt.funcs.mylog.setLevel(0) import numpy as np diff --git a/Examples/Tests/PML/analysis_pml_psatd.py b/Examples/Tests/PML/analysis_pml_psatd.py index c8c1aea6c..164c7a19e 100755 --- a/Examples/Tests/PML/analysis_pml_psatd.py +++ b/Examples/Tests/PML/analysis_pml_psatd.py @@ -1,5 +1,13 @@ #! /usr/bin/env python +# Copyright 2019 Jean-Luc Vay, Maxence Thevenet, Remi Lehe +# +# +# This file is part of WarpX. +# +# License: BSD-3-Clause-LBNL + + import sys import yt ; yt.funcs.mylog.setLevel(0) import numpy as np diff --git a/Examples/Tests/PML/analysis_pml_yee.py b/Examples/Tests/PML/analysis_pml_yee.py index c0c91329d..68a953bb3 100755 --- a/Examples/Tests/PML/analysis_pml_yee.py +++ b/Examples/Tests/PML/analysis_pml_yee.py @@ -1,5 +1,13 @@ #! /usr/bin/env python +# Copyright 2018-2019 Andrew Myers, Jean-Luc Vay, Maxence Thevenet +# Remi Lehe +# +# This file is part of WarpX. +# +# License: BSD-3-Clause-LBNL + + import sys import yt ; yt.funcs.mylog.setLevel(0) import numpy as np diff --git a/Examples/Tests/SingleParticle/analysis_bilinear_filter.py b/Examples/Tests/SingleParticle/analysis_bilinear_filter.py index 494434279..89b89e2e6 100755 --- a/Examples/Tests/SingleParticle/analysis_bilinear_filter.py +++ b/Examples/Tests/SingleParticle/analysis_bilinear_filter.py @@ -1,5 +1,12 @@ #! /usr/bin/env python +# Copyright 2019 Maxence Thevenet +# +# This file is part of WarpX. +# +# License: BSD-3-Clause-LBNL + + import sys import yt ; yt.funcs.mylog.setLevel(0) import numpy as np diff --git a/Examples/Tests/collision/analysis_collision.py b/Examples/Tests/collision/analysis_collision.py index 06e8a3db0..57a017591 100755 --- a/Examples/Tests/collision/analysis_collision.py +++ b/Examples/Tests/collision/analysis_collision.py @@ -1,5 +1,12 @@ #! /usr/bin/env python +# Copyright 2019-2020 Yin-YinjiaZhao, Yinjian Zhao +# +# This file is part of WarpX. +# +# License: BSD-3-Clause-LBNL + + # This script tests the collision module # using electron-ion temperature relaxation. # Initially, electrons and ions are both in equilibrium diff --git a/Examples/Tests/particle_pusher/analysis_pusher.py b/Examples/Tests/particle_pusher/analysis_pusher.py index 0d9fc24c5..2f662a3da 100755 --- a/Examples/Tests/particle_pusher/analysis_pusher.py +++ b/Examples/Tests/particle_pusher/analysis_pusher.py @@ -1,5 +1,12 @@ #! /usr/bin/env python +# Copyright 2019 Yinjian Zhao +# +# This file is part of WarpX. +# +# License: BSD-3-Clause-LBNL + + # This script tests the particle pusher (HC) # using a force-free field, # in which position x should remain 0. diff --git a/Examples/Tests/particles_in_PML/analysis_particles_in_pml.py b/Examples/Tests/particles_in_PML/analysis_particles_in_pml.py index 73e1674e7..bf2130665 100755 --- a/Examples/Tests/particles_in_PML/analysis_particles_in_pml.py +++ b/Examples/Tests/particles_in_PML/analysis_particles_in_pml.py @@ -1,4 +1,12 @@ #! /usr/bin/env python + +# Copyright 2019-2020 Luca Fedeli, Maxence Thevenet, Remi Lehe +# +# +# This file is part of WarpX. +# +# License: BSD-3-Clause-LBNL + """ This script tests the absorption of particles in the PML. diff --git a/Examples/Tests/photon_pusher/analysis_photon_pusher.py b/Examples/Tests/photon_pusher/analysis_photon_pusher.py index d0986de48..055730b86 100755 --- a/Examples/Tests/photon_pusher/analysis_photon_pusher.py +++ b/Examples/Tests/photon_pusher/analysis_photon_pusher.py @@ -1,4 +1,12 @@ #! /usr/bin/env python + +# Copyright 2019 Luca Fedeli, Maxence Thevenet, Weiqun Zhang +# +# +# This file is part of WarpX. +# +# License: BSD-3-Clause-LBNL + import yt import numpy as np import sys diff --git a/Examples/Tests/radiation_reaction/test_const_B_analytical/analysis_classicalRR.py b/Examples/Tests/radiation_reaction/test_const_B_analytical/analysis_classicalRR.py index e385ebfb7..4e5288e4f 100755 --- a/Examples/Tests/radiation_reaction/test_const_B_analytical/analysis_classicalRR.py +++ b/Examples/Tests/radiation_reaction/test_const_B_analytical/analysis_classicalRR.py @@ -1,5 +1,13 @@ #! /usr/bin/env python +# Copyright 2019 Luca Fedeli, Maxence Thevenet, Remi Lehe +# +# +# This file is part of WarpX. +# +# License: BSD-3-Clause-LBNL + + # This script contains few simple tests for the radiation reaction pusher # It initializes an electron or a positron with normalized momentum in different # directions, propagating in a static magnetic field (along [2/7,3/7,6/7]). diff --git a/Python/pywarpx/Algo.py b/Python/pywarpx/Algo.py index 0ec132ab3..f80492070 100644 --- a/Python/pywarpx/Algo.py +++ b/Python/pywarpx/Algo.py @@ -1,3 +1,9 @@ +# Copyright 2016 David Grote +# +# This file is part of WarpX. +# +# License: BSD-3-Clause-LBNL + from .Bucket import Bucket algo = Bucket('algo') diff --git a/Python/pywarpx/Amr.py b/Python/pywarpx/Amr.py index 48f1f2250..f9164f4d4 100644 --- a/Python/pywarpx/Amr.py +++ b/Python/pywarpx/Amr.py @@ -1,3 +1,9 @@ +# Copyright 2016 David Grote +# +# This file is part of WarpX. +# +# License: BSD-3-Clause-LBNL + from .Bucket import Bucket amr = Bucket('amr') diff --git a/Python/pywarpx/Bucket.py b/Python/pywarpx/Bucket.py index 6a32c755b..714516fd3 100644 --- a/Python/pywarpx/Bucket.py +++ b/Python/pywarpx/Bucket.py @@ -1,3 +1,10 @@ +# Copyright 2016-2020 Andrew Myers, David Grote, Maxence Thevenet +# +# +# This file is part of WarpX. +# +# License: BSD-3-Clause-LBNL + import numpy as np class Bucket(object): diff --git a/Python/pywarpx/Constants.py b/Python/pywarpx/Constants.py index 20107ebc4..8a17c9ccc 100644 --- a/Python/pywarpx/Constants.py +++ b/Python/pywarpx/Constants.py @@ -1,3 +1,9 @@ +# Copyright 2018-2019 David Grote +# +# This file is part of WarpX. +# +# License: BSD-3-Clause-LBNL + from .Bucket import Bucket class Constants(Bucket): diff --git a/Python/pywarpx/Geometry.py b/Python/pywarpx/Geometry.py index e4a0b3878..2eddb9b8f 100644 --- a/Python/pywarpx/Geometry.py +++ b/Python/pywarpx/Geometry.py @@ -1,3 +1,9 @@ +# Copyright 2016 David Grote +# +# This file is part of WarpX. +# +# License: BSD-3-Clause-LBNL + from .Bucket import Bucket geometry = Bucket('geometry') diff --git a/Python/pywarpx/Interpolation.py b/Python/pywarpx/Interpolation.py index 28f66f64e..d25539de7 100644 --- a/Python/pywarpx/Interpolation.py +++ b/Python/pywarpx/Interpolation.py @@ -1,3 +1,9 @@ +# Copyright 2016 David Grote +# +# This file is part of WarpX. +# +# License: BSD-3-Clause-LBNL + from .Bucket import Bucket interpolation = Bucket('interpolation') diff --git a/Python/pywarpx/Langmuirwave.py b/Python/pywarpx/Langmuirwave.py index a62d4d6a2..43d672a4a 100644 --- a/Python/pywarpx/Langmuirwave.py +++ b/Python/pywarpx/Langmuirwave.py @@ -1,3 +1,9 @@ +# Copyright 2016 David Grote +# +# This file is part of WarpX. +# +# License: BSD-3-Clause-LBNL + from .Bucket import Bucket langmuirwave = Bucket('langmuirwave') diff --git a/Python/pywarpx/Lasers.py b/Python/pywarpx/Lasers.py index b54156ba1..2970960ec 100644 --- a/Python/pywarpx/Lasers.py +++ b/Python/pywarpx/Lasers.py @@ -1,3 +1,9 @@ +# Copyright 2019-2020 David Grote +# +# This file is part of WarpX. +# +# License: BSD-3-Clause-LBNL + from .Bucket import Bucket lasers = Bucket('lasers', nlasers=0, names=[]) diff --git a/Python/pywarpx/PGroup.py b/Python/pywarpx/PGroup.py index f77a79004..ae9e6800a 100644 --- a/Python/pywarpx/PGroup.py +++ b/Python/pywarpx/PGroup.py @@ -1,3 +1,9 @@ +# Copyright 2017-2019 David Grote +# +# This file is part of WarpX. +# +# License: BSD-3-Clause-LBNL + import numpy as np from . import _libwarpx diff --git a/Python/pywarpx/Particles.py b/Python/pywarpx/Particles.py index 582e623b7..227cc44d9 100644 --- a/Python/pywarpx/Particles.py +++ b/Python/pywarpx/Particles.py @@ -1,3 +1,9 @@ +# Copyright 2017-2020 Andrew Myers, David Grote +# +# This file is part of WarpX. +# +# License: BSD-3-Clause-LBNL + from .Bucket import Bucket particles = Bucket('particles', nspecies=0, species_names=[]) diff --git a/Python/pywarpx/WarpInterface.py b/Python/pywarpx/WarpInterface.py index e2c9efa58..8a3823959 100644 --- a/Python/pywarpx/WarpInterface.py +++ b/Python/pywarpx/WarpInterface.py @@ -1,3 +1,9 @@ +# Copyright 2019 David Grote +# +# This file is part of WarpX. +# +# License: BSD-3-Clause-LBNL + import warp from . import fields from pywarpx import PGroup diff --git a/Python/pywarpx/WarpX.py b/Python/pywarpx/WarpX.py index 2ef3d99c1..22f154775 100644 --- a/Python/pywarpx/WarpX.py +++ b/Python/pywarpx/WarpX.py @@ -1,3 +1,10 @@ +# Copyright 2016-2020 Andrew Myers, David Grote, Maxence Thevenet +# Remi Lehe +# +# This file is part of WarpX. +# +# License: BSD-3-Clause-LBNL + from .Bucket import Bucket from .Constants import my_constants from .Amr import amr diff --git a/Python/pywarpx/WarpXPIC.py b/Python/pywarpx/WarpXPIC.py index 77ab8464f..c087d3c7a 100644 --- a/Python/pywarpx/WarpXPIC.py +++ b/Python/pywarpx/WarpXPIC.py @@ -1,3 +1,9 @@ +# Copyright 2017 David Grote +# +# This file is part of WarpX. +# +# License: BSD-3-Clause-LBNL + from warp.run_modes.timestepper import PICAPI from ._libwarpx import libwarpx diff --git a/Python/pywarpx/__init__.py b/Python/pywarpx/__init__.py index ef335e029..a1e62f85d 100644 --- a/Python/pywarpx/__init__.py +++ b/Python/pywarpx/__init__.py @@ -1,3 +1,9 @@ +# Copyright 2016-2019 Andrew Myers, David Grote +# +# This file is part of WarpX. +# +# License: BSD-3-Clause-LBNL + from .WarpX import warpx from .Constants import my_constants from .Amr import amr diff --git a/Python/pywarpx/_libwarpx.py b/Python/pywarpx/_libwarpx.py index 0444140e4..b2a0dae1e 100755 --- a/Python/pywarpx/_libwarpx.py +++ b/Python/pywarpx/_libwarpx.py @@ -1,3 +1,10 @@ +# Copyright 2017-2019 Andrew Myers, David Grote, Remi Lehe +# Weiqun Zhang +# +# This file is part of WarpX. +# +# License: BSD-3-Clause-LBNL + # --- This defines the wrapper functions that directly call the underlying compiled routines import os import sys diff --git a/Python/pywarpx/callbacks.py b/Python/pywarpx/callbacks.py index 68629d164..3d5bb1477 100644 --- a/Python/pywarpx/callbacks.py +++ b/Python/pywarpx/callbacks.py @@ -1,3 +1,9 @@ +# Copyright 2017 David Grote +# +# This file is part of WarpX. +# +# License: BSD-3-Clause-LBNL + """call back operations ===================== diff --git a/Python/pywarpx/fields.py b/Python/pywarpx/fields.py index 920c109d6..916e3c887 100644 --- a/Python/pywarpx/fields.py +++ b/Python/pywarpx/fields.py @@ -1,3 +1,9 @@ +# Copyright 2017-2019 David Grote +# +# This file is part of WarpX. +# +# License: BSD-3-Clause-LBNL + """Provides wrappers around field and current density on multiFABs Available routines: diff --git a/Python/pywarpx/picmi.py b/Python/pywarpx/picmi.py index 70f356475..7332877c3 100644 --- a/Python/pywarpx/picmi.py +++ b/Python/pywarpx/picmi.py @@ -1,3 +1,11 @@ +# Copyright 2018-2020 Andrew Myers, David Grote, Ligia Diana Amorim +# Maxence Thevenet, Remi Lehe, Revathi Jambunathan +# +# +# This file is part of WarpX. +# +# License: BSD-3-Clause-LBNL + """Classes following the PICMI standard """ import re diff --git a/Python/pywarpx/timestepper.py b/Python/pywarpx/timestepper.py index 3068cbc82..de5faf36d 100644 --- a/Python/pywarpx/timestepper.py +++ b/Python/pywarpx/timestepper.py @@ -1,3 +1,10 @@ +# Copyright 2017-2018 Andrew Myers, David Grote, Weiqun Zhang +# +# +# This file is part of WarpX. +# +# License: BSD-3-Clause-LBNL + from ._libwarpx import libwarpx from . import callbacks diff --git a/Python/pywarpx/wx.py b/Python/pywarpx/wx.py index 4ce562b4f..e28be62c8 100644 --- a/Python/pywarpx/wx.py +++ b/Python/pywarpx/wx.py @@ -1,3 +1,9 @@ +# Copyright 2018 David Grote +# +# This file is part of WarpX. +# +# License: BSD-3-Clause-LBNL + from ._libwarpx import * from .timestepper import TimeStepper diff --git a/Python/setup.py b/Python/setup.py index 309d25b92..7b3a4ef44 100644 --- a/Python/setup.py +++ b/Python/setup.py @@ -1,5 +1,13 @@ #!/usr/bin/env python +# Copyright 2016-2020 Andrew Myers, David Grote, Maxence Thevenet +# Remi Lehe +# +# This file is part of WarpX. +# +# License: BSD-3-Clause-LBNL + + """ setup.py file for WarpX """ diff --git a/Regression/TestFillBoundary/compare_guard_cells.sh b/Regression/TestFillBoundary/compare_guard_cells.sh index bd2b9cab9..1fb1a0d12 100755 --- a/Regression/TestFillBoundary/compare_guard_cells.sh +++ b/Regression/TestFillBoundary/compare_guard_cells.sh @@ -1,5 +1,12 @@ #!/bin/bash +# Copyright 2020 Maxence Thevenet +# +# This file is part of WarpX. +# +# License: BSD-3-Clause-LBNL + + # This script compares runs WarpX with (i) default guard cell exchanges and # (ii) exchanging all guard cells, and check that they match to a certain # tolerance level (typically 2.e-15). For a large number of configurations diff --git a/Regression/prepare_file_travis.py b/Regression/prepare_file_travis.py index d461f6f81..abec6baea 100644 --- a/Regression/prepare_file_travis.py +++ b/Regression/prepare_file_travis.py @@ -1,3 +1,10 @@ +# Copyright 2018-2019 Andrew Myers, Luca Fedeli, Maxence Thevenet +# Remi Lehe +# +# This file is part of WarpX. +# +# License: BSD-3-Clause-LBNL + # This script modifies `WarpX-test.ini` (which is used for nightly builds) # and creates the file `travis-test.ini` (which is used for continous # integration on TravisCI (https://travis-ci.org/) diff --git a/Source/BoundaryConditions/PML.H b/Source/BoundaryConditions/PML.H index 5ab84439f..b8ed0ff7a 100644 --- a/Source/BoundaryConditions/PML.H +++ b/Source/BoundaryConditions/PML.H @@ -1,3 +1,11 @@ +/* Copyright 2019 Andrew Myers, Aurore Blelly, Axel Huebl + * Maxence Thevenet, Remi Lehe, Weiqun Zhang + * + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #include #ifndef WARPX_PML_H_ diff --git a/Source/BoundaryConditions/PML.cpp b/Source/BoundaryConditions/PML.cpp index 51439430d..3f2acc6a8 100644 --- a/Source/BoundaryConditions/PML.cpp +++ b/Source/BoundaryConditions/PML.cpp @@ -1,3 +1,11 @@ +/* Copyright 2019 Andrew Myers, Aurore Blelly, Axel Huebl + * Maxence Thevenet, Remi Lehe, Weiqun Zhang + * + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #include #include #include diff --git a/Source/BoundaryConditions/PML_current.H b/Source/BoundaryConditions/PML_current.H index fa5bbf3f9..1d0249d56 100644 --- a/Source/BoundaryConditions/PML_current.H +++ b/Source/BoundaryConditions/PML_current.H @@ -1,3 +1,10 @@ +/* Copyright 2019 Aurore Blelly, Axel Huebl, Maxence Thevenet + * Remi Lehe + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #ifndef PML_CURRENT_H_ #define PML_CURRENT_H_ diff --git a/Source/BoundaryConditions/WarpXEvolvePML.cpp b/Source/BoundaryConditions/WarpXEvolvePML.cpp index bd29d1b65..0e3665c86 100644 --- a/Source/BoundaryConditions/WarpXEvolvePML.cpp +++ b/Source/BoundaryConditions/WarpXEvolvePML.cpp @@ -1,3 +1,10 @@ +/* Copyright 2019 Aurore Blelly, Axel Huebl, Maxence Thevenet + * Remi Lehe, Revathi Jambunathan + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #include #include diff --git a/Source/BoundaryConditions/WarpX_PML_kernels.H b/Source/BoundaryConditions/WarpX_PML_kernels.H index 89fdb4911..8a573c4b9 100644 --- a/Source/BoundaryConditions/WarpX_PML_kernels.H +++ b/Source/BoundaryConditions/WarpX_PML_kernels.H @@ -1,3 +1,10 @@ +/* Copyright 2019 Remi Lehe, Revathi Jambunathan, Revathi Jambunathan + * + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #ifndef WARPX_PML_KERNELS_H_ #define WARPX_PML_KERNELS_H_ diff --git a/Source/Diagnostics/BackTransformedDiagnostic.H b/Source/Diagnostics/BackTransformedDiagnostic.H index 5621d48c6..0d36c97d9 100644 --- a/Source/Diagnostics/BackTransformedDiagnostic.H +++ b/Source/Diagnostics/BackTransformedDiagnostic.H @@ -1,3 +1,10 @@ +/* Copyright 2019 Andrew Myers, Axel Huebl, Maxence Thevenet + * Revathi Jambunathan, Weiqun Zhang + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #ifndef WARPX_BackTransformedDiagnostic_H_ #define WARPX_BackTransformedDiagnostic_H_ diff --git a/Source/Diagnostics/BackTransformedDiagnostic.cpp b/Source/Diagnostics/BackTransformedDiagnostic.cpp index 452828f02..4b8a1c971 100644 --- a/Source/Diagnostics/BackTransformedDiagnostic.cpp +++ b/Source/Diagnostics/BackTransformedDiagnostic.cpp @@ -1,3 +1,10 @@ +/* Copyright 2019 Andrew Myers, Axel Huebl, Maxence Thevenet + * Revathi Jambunathan, Weiqun Zhang + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #include #include diff --git a/Source/Diagnostics/ElectrostaticIO.cpp b/Source/Diagnostics/ElectrostaticIO.cpp index 332638cff..8fb90ae4c 100644 --- a/Source/Diagnostics/ElectrostaticIO.cpp +++ b/Source/Diagnostics/ElectrostaticIO.cpp @@ -1,3 +1,10 @@ +/* Copyright 2019 Andrew Myers, Axel Huebl, David Bizzozero + * Maxence Thevenet + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #include #include diff --git a/Source/Diagnostics/FieldIO.H b/Source/Diagnostics/FieldIO.H index 7cdc9b710..193fe8bd5 100644 --- a/Source/Diagnostics/FieldIO.H +++ b/Source/Diagnostics/FieldIO.H @@ -1,3 +1,10 @@ +/* Copyright 2019 Axel Huebl, David Grote, Igor Andriyash + * Remi Lehe + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #ifndef WARPX_FielIO_H_ #define WARPX_FielIO_H_ diff --git a/Source/Diagnostics/FieldIO.cpp b/Source/Diagnostics/FieldIO.cpp index 9c38f1d68..d885e07ad 100644 --- a/Source/Diagnostics/FieldIO.cpp +++ b/Source/Diagnostics/FieldIO.cpp @@ -1,3 +1,11 @@ +/* Copyright 2019-2020 Andrew Myers, Axel Huebl, David Grote + * Maxence Thevenet, Remi Lehe, Revathi Jambunathan + * Weiqun Zhang + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #include #include diff --git a/Source/Diagnostics/ParticleIO.cpp b/Source/Diagnostics/ParticleIO.cpp index c08d58d36..ca9e86fdd 100644 --- a/Source/Diagnostics/ParticleIO.cpp +++ b/Source/Diagnostics/ParticleIO.cpp @@ -1,3 +1,11 @@ +/* Copyright 2019 Andrew Myers, Axel Huebl, David Grote + * Luca Fedeli, Maxence Thevenet, Revathi Jambunathan + * Weiqun Zhang, levinem + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #include #include diff --git a/Source/Diagnostics/SliceDiagnostic.H b/Source/Diagnostics/SliceDiagnostic.H index 1b9ca3967..68a8c1f92 100644 --- a/Source/Diagnostics/SliceDiagnostic.H +++ b/Source/Diagnostics/SliceDiagnostic.H @@ -1,3 +1,9 @@ +/* Copyright 2019 Revathi Jambunathan + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #ifndef WARPX_SliceDiagnostic_H_ #define WARPX_SliceDiagnostic_H_ diff --git a/Source/Diagnostics/SliceDiagnostic.cpp b/Source/Diagnostics/SliceDiagnostic.cpp index 99eec4468..c6b5dd4da 100644 --- a/Source/Diagnostics/SliceDiagnostic.cpp +++ b/Source/Diagnostics/SliceDiagnostic.cpp @@ -1,3 +1,10 @@ +/* Copyright 2019-2020 Luca Fedeli, Revathi Jambunathan, Weiqun Zhang + * + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #include "SliceDiagnostic.H" #include #include diff --git a/Source/Diagnostics/WarpXIO.cpp b/Source/Diagnostics/WarpXIO.cpp index d7a46f7b7..e97750c9a 100644 --- a/Source/Diagnostics/WarpXIO.cpp +++ b/Source/Diagnostics/WarpXIO.cpp @@ -1,3 +1,12 @@ +/* Copyright 2019-2020 Andrew Myers, Ann Almgren, Axel Huebl + * Burlen Loring, David Grote, Gunther H. Weber + * Junmin Gu, Maxence Thevenet, Remi Lehe + * Revathi Jambunathan, Weiqun Zhang + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #include #include #include diff --git a/Source/Diagnostics/WarpXOpenPMD.H b/Source/Diagnostics/WarpXOpenPMD.H index e4b48d605..bd18ec8c1 100644 --- a/Source/Diagnostics/WarpXOpenPMD.H +++ b/Source/Diagnostics/WarpXOpenPMD.H @@ -1,3 +1,10 @@ +/* Copyright 2019-2020 Axel Huebl, Junmin Gu, Maxence Thevenet + * + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #ifndef WARPX_OPEN_PMD_H_ #define WARPX_OPEN_PMD_H_ diff --git a/Source/Diagnostics/WarpXOpenPMD.cpp b/Source/Diagnostics/WarpXOpenPMD.cpp index ed2bf8020..446ef0ff0 100644 --- a/Source/Diagnostics/WarpXOpenPMD.cpp +++ b/Source/Diagnostics/WarpXOpenPMD.cpp @@ -1,3 +1,9 @@ +/* Copyright 2019-2020 Axel Huebl, Junmin Gu + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #include "WarpXOpenPMD.H" #include "WarpXAlgorithmSelection.H" #include "FieldIO.H" // for getReversedVec diff --git a/Source/Diagnostics/requirements.txt b/Source/Diagnostics/requirements.txt index 2c29c7422..5a3933299 100644 --- a/Source/Diagnostics/requirements.txt +++ b/Source/Diagnostics/requirements.txt @@ -1,2 +1,8 @@ +# Copyright 2020 Axel Huebl +# +# This file is part of WarpX. +# +# License: BSD-3-Clause-LBNL + # keep this entry for GitHub's dependency graph openPMD-api>=0.10.3 diff --git a/Source/Evolve/WarpXDtType.H b/Source/Evolve/WarpXDtType.H index c2c01db00..89fcb506f 100644 --- a/Source/Evolve/WarpXDtType.H +++ b/Source/Evolve/WarpXDtType.H @@ -1,3 +1,9 @@ +/* Copyright 2019 Maxence Thevenet + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #ifndef WARPX_DTTYPE_H_ #define WARPX_DTTYPE_H_ diff --git a/Source/Evolve/WarpXEvolveEM.cpp b/Source/Evolve/WarpXEvolveEM.cpp index 1cb17287b..90cec3ecf 100644 --- a/Source/Evolve/WarpXEvolveEM.cpp +++ b/Source/Evolve/WarpXEvolveEM.cpp @@ -1,3 +1,13 @@ +/* Copyright 2019-2020 Andrew Myers, Ann Almgren, Aurore Blelly + * Axel Huebl, Burlen Loring, David Grote + * Glenn Richardson, Jean-Luc Vay, Luca Fedeli + * Maxence Thevenet, Remi Lehe, Revathi Jambunathan + * Weiqun Zhang, Yinjian Zhao + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #include #include diff --git a/Source/Evolve/WarpXEvolveES.cpp b/Source/Evolve/WarpXEvolveES.cpp index 555ab37ad..7d6260bd4 100644 --- a/Source/Evolve/WarpXEvolveES.cpp +++ b/Source/Evolve/WarpXEvolveES.cpp @@ -1,3 +1,11 @@ +/* Copyright 2019 Andrew Myers, Axel Huebl, David Bizzozero + * David Grote, Maxence Thevenet, Remi Lehe + * + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #include #include diff --git a/Source/FieldSolver/PicsarHybridSpectralSolver/PicsarHybridFFTData.H b/Source/FieldSolver/PicsarHybridSpectralSolver/PicsarHybridFFTData.H index 4e97ab675..44bb42982 100644 --- a/Source/FieldSolver/PicsarHybridSpectralSolver/PicsarHybridFFTData.H +++ b/Source/FieldSolver/PicsarHybridSpectralSolver/PicsarHybridFFTData.H @@ -1,3 +1,9 @@ +/* Copyright 2019 Remi Lehe + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #ifndef WARPX_PICSAR_HYBRID_FFTDATA_H_ #define WARPX_PICSAR_HYBRID_FFTDATA_H_ diff --git a/Source/FieldSolver/PicsarHybridSpectralSolver/PicsarHybridSpectralSolver.cpp b/Source/FieldSolver/PicsarHybridSpectralSolver/PicsarHybridSpectralSolver.cpp index 6b7a34271..5b7d95775 100644 --- a/Source/FieldSolver/PicsarHybridSpectralSolver/PicsarHybridSpectralSolver.cpp +++ b/Source/FieldSolver/PicsarHybridSpectralSolver/PicsarHybridSpectralSolver.cpp @@ -1,3 +1,10 @@ +/* Copyright 2019 Axel Huebl, Maxence Thevenet, Remi Lehe + * Revathi Jambunathan, Weiqun Zhang + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #include #include diff --git a/Source/FieldSolver/PicsarHybridSpectralSolver/picsar_hybrid_spectral.F90 b/Source/FieldSolver/PicsarHybridSpectralSolver/picsar_hybrid_spectral.F90 index 35357a63f..96bfb6111 100644 --- a/Source/FieldSolver/PicsarHybridSpectralSolver/picsar_hybrid_spectral.F90 +++ b/Source/FieldSolver/PicsarHybridSpectralSolver/picsar_hybrid_spectral.F90 @@ -1,3 +1,10 @@ +! Copyright 2019 Andrew Myers, Maxence Thevenet, Remi Lehe +! Weiqun Zhang +! +! This file is part of WarpX. +! +! License: BSD-3-Clause-LBNL + module warpx_fft_module use amrex_error_module, only : amrex_error, amrex_abort diff --git a/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PMLPsatdAlgorithm.H b/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PMLPsatdAlgorithm.H index 80ceb2e93..4452002d1 100644 --- a/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PMLPsatdAlgorithm.H +++ b/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PMLPsatdAlgorithm.H @@ -1,3 +1,9 @@ +/* Copyright 2019 Axel Huebl, Remi Lehe + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #ifndef WARPX_PML_PSATD_ALGORITHM_H_ #define WARPX_PML_PSATD_ALGORITHM_H_ diff --git a/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PMLPsatdAlgorithm.cpp b/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PMLPsatdAlgorithm.cpp index d76259d4c..bae74daf6 100644 --- a/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PMLPsatdAlgorithm.cpp +++ b/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PMLPsatdAlgorithm.cpp @@ -1,3 +1,9 @@ +/* Copyright 2019 Remi Lehe + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #include #include #include diff --git a/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PsatdAlgorithm.H b/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PsatdAlgorithm.H index b7aed9e40..4abe89d9d 100644 --- a/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PsatdAlgorithm.H +++ b/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PsatdAlgorithm.H @@ -1,3 +1,10 @@ +/* Copyright 2019 Maxence Thevenet, Remi Lehe, Revathi Jambunathan + * + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #ifndef WARPX_PSATD_ALGORITHM_H_ #define WARPX_PSATD_ALGORITHM_H_ diff --git a/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PsatdAlgorithm.cpp b/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PsatdAlgorithm.cpp index d45b01bda..4f4963e95 100644 --- a/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PsatdAlgorithm.cpp +++ b/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PsatdAlgorithm.cpp @@ -1,3 +1,9 @@ +/* Copyright 2019 Remi Lehe, Revathi Jambunathan + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #include #include #include diff --git a/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/SpectralBaseAlgorithm.H b/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/SpectralBaseAlgorithm.H index 5d5e376c1..2c4946190 100644 --- a/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/SpectralBaseAlgorithm.H +++ b/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/SpectralBaseAlgorithm.H @@ -1,3 +1,9 @@ +/* Copyright 2019 Remi Lehe + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #ifndef WARPX_SPECTRAL_BASE_ALGORITHM_H_ #define WARPX_SPECTRAL_BASE_ALGORITHM_H_ diff --git a/Source/FieldSolver/SpectralSolver/SpectralFieldData.H b/Source/FieldSolver/SpectralSolver/SpectralFieldData.H index dc83d279d..e66a9ce50 100644 --- a/Source/FieldSolver/SpectralSolver/SpectralFieldData.H +++ b/Source/FieldSolver/SpectralSolver/SpectralFieldData.H @@ -1,3 +1,10 @@ +/* Copyright 2019 David Grote, Maxence Thevenet, Remi Lehe + * Revathi Jambunathan + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #ifndef WARPX_SPECTRAL_FIELD_DATA_H_ #define WARPX_SPECTRAL_FIELD_DATA_H_ diff --git a/Source/FieldSolver/SpectralSolver/SpectralFieldData.cpp b/Source/FieldSolver/SpectralSolver/SpectralFieldData.cpp index edd4df34d..81e2b0907 100644 --- a/Source/FieldSolver/SpectralSolver/SpectralFieldData.cpp +++ b/Source/FieldSolver/SpectralSolver/SpectralFieldData.cpp @@ -1,3 +1,10 @@ +/* Copyright 2019 Maxence Thevenet, Remi Lehe, Revathi Jambunathan + * + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #include using namespace amrex; diff --git a/Source/FieldSolver/SpectralSolver/SpectralKSpace.H b/Source/FieldSolver/SpectralSolver/SpectralKSpace.H index eb07e8fe6..c8b4f49eb 100644 --- a/Source/FieldSolver/SpectralSolver/SpectralKSpace.H +++ b/Source/FieldSolver/SpectralSolver/SpectralKSpace.H @@ -1,3 +1,10 @@ +/* Copyright 2019 David Grote, Maxence Thevenet, Remi Lehe + * + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #ifndef WARPX_SPECTRAL_K_SPACE_H_ #define WARPX_SPECTRAL_K_SPACE_H_ diff --git a/Source/FieldSolver/SpectralSolver/SpectralKSpace.cpp b/Source/FieldSolver/SpectralSolver/SpectralKSpace.cpp index c21388aba..d0355fc1e 100644 --- a/Source/FieldSolver/SpectralSolver/SpectralKSpace.cpp +++ b/Source/FieldSolver/SpectralSolver/SpectralKSpace.cpp @@ -1,3 +1,10 @@ +/* Copyright 2019-2020 Andrew Myers, Maxence Thevenet, Remi Lehe + * Revathi Jambunathan + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #include #include #include diff --git a/Source/FieldSolver/SpectralSolver/SpectralSolver.H b/Source/FieldSolver/SpectralSolver/SpectralSolver.H index bd92d003f..a6375e483 100644 --- a/Source/FieldSolver/SpectralSolver/SpectralSolver.H +++ b/Source/FieldSolver/SpectralSolver/SpectralSolver.H @@ -1,3 +1,9 @@ +/* Copyright 2019-2020 Maxence Thevenet, Remi Lehe + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #ifndef WARPX_SPECTRAL_SOLVER_H_ #define WARPX_SPECTRAL_SOLVER_H_ diff --git a/Source/FieldSolver/SpectralSolver/SpectralSolver.cpp b/Source/FieldSolver/SpectralSolver/SpectralSolver.cpp index 4b9def013..ca7bd06a0 100644 --- a/Source/FieldSolver/SpectralSolver/SpectralSolver.cpp +++ b/Source/FieldSolver/SpectralSolver/SpectralSolver.cpp @@ -1,3 +1,9 @@ +/* Copyright 2019 Remi Lehe + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #include #include #include diff --git a/Source/FieldSolver/SpectralSolver/WarpX_ComplexForFFT.H b/Source/FieldSolver/SpectralSolver/WarpX_ComplexForFFT.H index 43c7a1950..f75c9b19a 100644 --- a/Source/FieldSolver/SpectralSolver/WarpX_ComplexForFFT.H +++ b/Source/FieldSolver/SpectralSolver/WarpX_ComplexForFFT.H @@ -1,3 +1,9 @@ +/* Copyright 2019 David Grote + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #ifndef WARPX_COMPLEXFORFFT_H_ #define WARPX_COMPLEXFORFFT_H_ diff --git a/Source/FieldSolver/WarpXPushFieldsEM.cpp b/Source/FieldSolver/WarpXPushFieldsEM.cpp index 4848b051e..1e922ecd3 100644 --- a/Source/FieldSolver/WarpXPushFieldsEM.cpp +++ b/Source/FieldSolver/WarpXPushFieldsEM.cpp @@ -1,3 +1,11 @@ +/* Copyright 2019 Andrew Myers, Aurore Blelly, Axel Huebl + * David Grote, Maxence Thevenet, Remi Lehe + * Revathi Jambunathan, Weiqun Zhang + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #include #include diff --git a/Source/FieldSolver/WarpX_FDTD.H b/Source/FieldSolver/WarpX_FDTD.H index b93c0f40a..4ad251264 100644 --- a/Source/FieldSolver/WarpX_FDTD.H +++ b/Source/FieldSolver/WarpX_FDTD.H @@ -1,3 +1,9 @@ +/* Copyright 2019 Axel Huebl, David Grote + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #ifndef WARPX_FDTD_H_ #define WARPX_FDTD_H_ diff --git a/Source/FieldSolver/WarpX_K.H b/Source/FieldSolver/WarpX_K.H index f61a71e21..a4f657909 100644 --- a/Source/FieldSolver/WarpX_K.H +++ b/Source/FieldSolver/WarpX_K.H @@ -1,3 +1,9 @@ +/* Copyright 2019 Axel Huebl, Maxence Thevenet + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #ifndef WARPX_K_H_ #define WARPX_K_H_ diff --git a/Source/Filter/BilinearFilter.H b/Source/Filter/BilinearFilter.H index 150ca8e08..f5405946b 100644 --- a/Source/Filter/BilinearFilter.H +++ b/Source/Filter/BilinearFilter.H @@ -1,3 +1,10 @@ +/* Copyright 2019 Andrew Myers, Maxence Thevenet, Weiqun Zhang + * + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #include #ifndef WARPX_BILIN_FILTER_H_ diff --git a/Source/Filter/BilinearFilter.cpp b/Source/Filter/BilinearFilter.cpp index 23abaf8bc..fd9153316 100644 --- a/Source/Filter/BilinearFilter.cpp +++ b/Source/Filter/BilinearFilter.cpp @@ -1,3 +1,10 @@ +/* Copyright 2019 Andrew Myers, Maxence Thevenet, Weiqun Zhang + * + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #include #include #include diff --git a/Source/Filter/Filter.H b/Source/Filter/Filter.H index 1ecb1bff4..4e36a1f1f 100644 --- a/Source/Filter/Filter.H +++ b/Source/Filter/Filter.H @@ -1,3 +1,9 @@ +/* Copyright 2019 Maxence Thevenet, Weiqun Zhang + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #include #ifndef WARPX_FILTER_H_ diff --git a/Source/Filter/Filter.cpp b/Source/Filter/Filter.cpp index 93729a0ae..dbe13747e 100644 --- a/Source/Filter/Filter.cpp +++ b/Source/Filter/Filter.cpp @@ -1,3 +1,10 @@ +/* Copyright 2019 Andrew Myers, Maxence Thevenet, Weiqun Zhang + * + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #include #include diff --git a/Source/Filter/NCIGodfreyFilter.H b/Source/Filter/NCIGodfreyFilter.H index de41de7ae..c174422c4 100644 --- a/Source/Filter/NCIGodfreyFilter.H +++ b/Source/Filter/NCIGodfreyFilter.H @@ -1,3 +1,9 @@ +/* Copyright 2019 Maxence Thevenet + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #include #ifndef WARPX_GODFREY_FILTER_H_ diff --git a/Source/Filter/NCIGodfreyFilter.cpp b/Source/Filter/NCIGodfreyFilter.cpp index 41ae67768..1a400cb32 100644 --- a/Source/Filter/NCIGodfreyFilter.cpp +++ b/Source/Filter/NCIGodfreyFilter.cpp @@ -1,3 +1,9 @@ +/* Copyright 2019-2020 Luca Fedeli, Maxence Thevenet + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #include #include #include diff --git a/Source/FortranInterface/WarpX_f.F90 b/Source/FortranInterface/WarpX_f.F90 index 762ed2cd8..dc78f5039 100644 --- a/Source/FortranInterface/WarpX_f.F90 +++ b/Source/FortranInterface/WarpX_f.F90 @@ -1,3 +1,11 @@ +! Copyright 2019 Andrew Myers, Axel Huebl, David Grote +! Ligia Diana Amorim, Mathieu Lobet, Maxence Thevenet +! Remi Lehe, Weiqun Zhang +! +! This file is part of WarpX. +! +! License: BSD-3-Clause-LBNL + module warpx_module diff --git a/Source/FortranInterface/WarpX_f.H b/Source/FortranInterface/WarpX_f.H index 48aaac275..6a732c4ed 100644 --- a/Source/FortranInterface/WarpX_f.H +++ b/Source/FortranInterface/WarpX_f.H @@ -1,3 +1,13 @@ +/* Copyright 2019 Andrew Myers, Aurore Blelly, Axel Huebl + * David Grote, Jean-Luc Vay, Ligia Diana Amorim + * Luca Fedeli, Mathieu Lobet, Maxence Thevenet + * Remi Lehe, Revathi Jambunathan, Weiqun Zhang + * + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #ifndef WARPX_F_H_ #define WARPX_F_H_ diff --git a/Source/Initialization/CustomDensityProb.H b/Source/Initialization/CustomDensityProb.H index c5c159ee8..804b56ce8 100644 --- a/Source/Initialization/CustomDensityProb.H +++ b/Source/Initialization/CustomDensityProb.H @@ -1,3 +1,9 @@ +/* Copyright 2019 Maxence Thevenet, Weiqun Zhang + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #ifndef CUSTOM_DENSITY_PROB_H_ #define CUSTOM_DENSITY_PROB_H_ diff --git a/Source/Initialization/CustomMomentumProb.H b/Source/Initialization/CustomMomentumProb.H index f8bc29a05..0b4d531c7 100644 --- a/Source/Initialization/CustomMomentumProb.H +++ b/Source/Initialization/CustomMomentumProb.H @@ -1,3 +1,9 @@ +/* Copyright 2019 Maxence Thevenet, Weiqun Zhang + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #ifndef CUSTOM_MOMENTUM_PROB_H #define CUSTOM_MOMENTUM_PROB_H diff --git a/Source/Initialization/InitSpaceChargeField.cpp b/Source/Initialization/InitSpaceChargeField.cpp index 0a873b742..36914d2c6 100644 --- a/Source/Initialization/InitSpaceChargeField.cpp +++ b/Source/Initialization/InitSpaceChargeField.cpp @@ -1,3 +1,9 @@ +/* Copyright 2019 Remi Lehe + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #include #include diff --git a/Source/Initialization/InjectorDensity.H b/Source/Initialization/InjectorDensity.H index 7e61ae27d..4558eeb96 100644 --- a/Source/Initialization/InjectorDensity.H +++ b/Source/Initialization/InjectorDensity.H @@ -1,3 +1,10 @@ +/* Copyright 2019 Axel Huebl, Maxence Thevenet, Weiqun Zhang + * + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #ifndef INJECTOR_DENSITY_H_ #define INJECTOR_DENSITY_H_ diff --git a/Source/Initialization/InjectorDensity.cpp b/Source/Initialization/InjectorDensity.cpp index fa54b342c..f59202db9 100644 --- a/Source/Initialization/InjectorDensity.cpp +++ b/Source/Initialization/InjectorDensity.cpp @@ -1,3 +1,10 @@ +/* Copyright 2019-2020 Axel Huebl, Ligia Diana Amorim, Maxence Thevenet + * Revathi Jambunathan, Weiqun Zhang + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #include #include diff --git a/Source/Initialization/InjectorMomentum.H b/Source/Initialization/InjectorMomentum.H index 88c954df6..bb5a70784 100644 --- a/Source/Initialization/InjectorMomentum.H +++ b/Source/Initialization/InjectorMomentum.H @@ -1,3 +1,10 @@ +/* Copyright 2019 Axel Huebl, Cameron Yang, Maxence Thevenet + * Weiqun Zhang + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #ifndef INJECTOR_MOMENTUM_H_ #define INJECTOR_MOMENTUM_H_ diff --git a/Source/Initialization/InjectorMomentum.cpp b/Source/Initialization/InjectorMomentum.cpp index 255883a34..edbba8ac5 100644 --- a/Source/Initialization/InjectorMomentum.cpp +++ b/Source/Initialization/InjectorMomentum.cpp @@ -1,3 +1,10 @@ +/* Copyright 2019-2020 Axel Huebl, Maxence Thevenet, Revathi Jambunathan + * Weiqun Zhang + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #include #include diff --git a/Source/Initialization/InjectorPosition.H b/Source/Initialization/InjectorPosition.H index 4ab2fa022..a8d2200e9 100644 --- a/Source/Initialization/InjectorPosition.H +++ b/Source/Initialization/InjectorPosition.H @@ -1,3 +1,10 @@ +/* Copyright 2019 Axel Huebl, David Grote, Maxence Thevenet + * Weiqun Zhang + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #ifndef INJECTOR_POSITION_H_ #define INJECTOR_POSITION_H_ diff --git a/Source/Initialization/PlasmaInjector.H b/Source/Initialization/PlasmaInjector.H index 56b32c827..70d99b9a3 100644 --- a/Source/Initialization/PlasmaInjector.H +++ b/Source/Initialization/PlasmaInjector.H @@ -1,3 +1,11 @@ +/* Copyright 2019 Andrew Myers, Axel Huebl, David Grote + * Maxence Thevenet, Remi Lehe, Weiqun Zhang + * + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #ifndef PLASMA_INJECTOR_H_ #define PLASMA_INJECTOR_H_ diff --git a/Source/Initialization/PlasmaInjector.cpp b/Source/Initialization/PlasmaInjector.cpp index 5f75ed45a..96e82d749 100644 --- a/Source/Initialization/PlasmaInjector.cpp +++ b/Source/Initialization/PlasmaInjector.cpp @@ -1,3 +1,12 @@ +/* Copyright 2019-2020 Andrew Myers, Axel Huebl, Cameron Yang + * David Grote, Luca Fedeli, Maxence Thevenet + * Remi Lehe, Revathi Jambunathan, Weiqun Zhang + * + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #include "PlasmaInjector.H" #include diff --git a/Source/Initialization/WarpXInitData.cpp b/Source/Initialization/WarpXInitData.cpp index 48c30ae93..244f4b8e7 100644 --- a/Source/Initialization/WarpXInitData.cpp +++ b/Source/Initialization/WarpXInitData.cpp @@ -1,3 +1,12 @@ +/* Copyright 2019-2020 Andrew Myers, Ann Almgren, Aurore Blelly + * Axel Huebl, Burlen Loring, Maxence Thevenet + * Remi Lehe, Revathi Jambunathan, Weiqun Zhang + * + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #include #include #include diff --git a/Source/Laser/LaserParticleContainer.H b/Source/Laser/LaserParticleContainer.H index 1e83ca02f..0d56783ed 100644 --- a/Source/Laser/LaserParticleContainer.H +++ b/Source/Laser/LaserParticleContainer.H @@ -1,3 +1,11 @@ +/* Copyright 2019 Andrew Myers, Axel Huebl, David Grote + * Luca Fedeli, Maxence Thevenet, Remi Lehe + * Weiqun Zhang + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #ifndef WARPX_LaserParticleContainer_H_ #define WARPX_LaserParticleContainer_H_ diff --git a/Source/Laser/LaserParticleContainer.cpp b/Source/Laser/LaserParticleContainer.cpp index 7a75b9f24..de192e65e 100644 --- a/Source/Laser/LaserParticleContainer.cpp +++ b/Source/Laser/LaserParticleContainer.cpp @@ -1,3 +1,11 @@ +/* Copyright 2019-2020 Andrew Myers, Axel Huebl, David Grote + * Luca Fedeli, Maxence Thevenet, Remi Lehe + * Revathi Jambunathan, Weiqun Zhang + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #include #include #include diff --git a/Source/Laser/LaserProfiles.H b/Source/Laser/LaserProfiles.H index f97bf915e..94cfae090 100644 --- a/Source/Laser/LaserProfiles.H +++ b/Source/Laser/LaserProfiles.H @@ -1,3 +1,9 @@ +/* Copyright 2019-2020 Luca Fedeli, Maxence Thevenet + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #ifndef WARPX_LaserProfiles_H_ #define WARPX_LaserProfiles_H_ diff --git a/Source/Laser/LaserProfilesImpl/LaserProfileFieldFunction.cpp b/Source/Laser/LaserProfilesImpl/LaserProfileFieldFunction.cpp index d34bc6aba..66660d6be 100644 --- a/Source/Laser/LaserProfilesImpl/LaserProfileFieldFunction.cpp +++ b/Source/Laser/LaserProfilesImpl/LaserProfileFieldFunction.cpp @@ -1,3 +1,9 @@ +/* Copyright 2019 Luca Fedeli + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #include #include diff --git a/Source/Laser/LaserProfilesImpl/LaserProfileFromTXYEFile.cpp b/Source/Laser/LaserProfilesImpl/LaserProfileFromTXYEFile.cpp index 8f44c2d5f..114464dbf 100644 --- a/Source/Laser/LaserProfilesImpl/LaserProfileFromTXYEFile.cpp +++ b/Source/Laser/LaserProfilesImpl/LaserProfileFromTXYEFile.cpp @@ -1,3 +1,9 @@ +/* Copyright 2019-2020 Luca Fedeli + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #include #include diff --git a/Source/Laser/LaserProfilesImpl/LaserProfileGaussian.cpp b/Source/Laser/LaserProfilesImpl/LaserProfileGaussian.cpp index 18bdec4a7..31e64eca5 100644 --- a/Source/Laser/LaserProfilesImpl/LaserProfileGaussian.cpp +++ b/Source/Laser/LaserProfilesImpl/LaserProfileGaussian.cpp @@ -1,3 +1,10 @@ +/* Copyright 2019 Axel Huebl, Luca Fedeli, Maxence Thevenet + * Weiqun Zhang + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #include #include diff --git a/Source/Laser/LaserProfilesImpl/LaserProfileHarris.cpp b/Source/Laser/LaserProfilesImpl/LaserProfileHarris.cpp index 7fe75cf56..de4879939 100644 --- a/Source/Laser/LaserProfilesImpl/LaserProfileHarris.cpp +++ b/Source/Laser/LaserProfilesImpl/LaserProfileHarris.cpp @@ -1,3 +1,9 @@ +/* Copyright 2019 Luca Fedeli + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #include #include diff --git a/Source/Parallelization/GuardCellManager.H b/Source/Parallelization/GuardCellManager.H index c57745b84..ef7738178 100644 --- a/Source/Parallelization/GuardCellManager.H +++ b/Source/Parallelization/GuardCellManager.H @@ -1,3 +1,9 @@ +/* Copyright 2019-2020 Maxence Thevenet + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #ifndef GUARDCELLMANAGER_H_ #define GUARDCELLMANAGER_H_ diff --git a/Source/Parallelization/GuardCellManager.cpp b/Source/Parallelization/GuardCellManager.cpp index a275f4c00..d845a7447 100644 --- a/Source/Parallelization/GuardCellManager.cpp +++ b/Source/Parallelization/GuardCellManager.cpp @@ -1,3 +1,9 @@ +/* Copyright 2019-2020 Maxence Thevenet + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #include "GuardCellManager.H" #include "NCIGodfreyFilter.H" #include diff --git a/Source/Parallelization/InterpolateCurrentFineToCoarse.H b/Source/Parallelization/InterpolateCurrentFineToCoarse.H index 58451c6b7..43cda26df 100644 --- a/Source/Parallelization/InterpolateCurrentFineToCoarse.H +++ b/Source/Parallelization/InterpolateCurrentFineToCoarse.H @@ -1,4 +1,4 @@ -/* Copyright 2019 Axel Huebl, Weiqun Zhang +/* Copyright 2019-2020 Axel Huebl * * This file is part of WarpX. * diff --git a/Source/Parallelization/InterpolateDensityFineToCoarse.H b/Source/Parallelization/InterpolateDensityFineToCoarse.H index 947db2aac..5d679583a 100644 --- a/Source/Parallelization/InterpolateDensityFineToCoarse.H +++ b/Source/Parallelization/InterpolateDensityFineToCoarse.H @@ -1,4 +1,4 @@ -/* Copyright 2019 Axel Huebl, Weiqun Zhang +/* Copyright 2019 Axel Huebl * * This file is part of WarpX. * diff --git a/Source/Parallelization/WarpXComm.H b/Source/Parallelization/WarpXComm.H index 81f00088e..7352e797e 100644 --- a/Source/Parallelization/WarpXComm.H +++ b/Source/Parallelization/WarpXComm.H @@ -1,3 +1,9 @@ +/* Copyright 2019 Remi Lehe + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #ifndef WARPX_PARALLELIZATION_COMM_H_ #define WARPX_PARALLELIZATION_COMM_H_ diff --git a/Source/Parallelization/WarpXComm.cpp b/Source/Parallelization/WarpXComm.cpp index 2e0cbdfad..31bb802f7 100644 --- a/Source/Parallelization/WarpXComm.cpp +++ b/Source/Parallelization/WarpXComm.cpp @@ -1,3 +1,11 @@ +/* Copyright 2019 Andrew Myers, Aurore Blelly, Axel Huebl + * David Grote, Maxence Thevenet, Remi Lehe + * Revathi Jambunathan, Weiqun Zhang + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #include #include #include diff --git a/Source/Parallelization/WarpXComm_K.H b/Source/Parallelization/WarpXComm_K.H index 169cd0ee1..1b6eceb93 100644 --- a/Source/Parallelization/WarpXComm_K.H +++ b/Source/Parallelization/WarpXComm_K.H @@ -1,3 +1,9 @@ +/* Copyright 2019 Axel Huebl, Weiqun Zhang + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #ifndef WARPX_COMM_K_H_ #define WARPX_COMM_K_H_ diff --git a/Source/Parallelization/WarpXRegrid.cpp b/Source/Parallelization/WarpXRegrid.cpp index 29ccc8f4d..54166e8ce 100644 --- a/Source/Parallelization/WarpXRegrid.cpp +++ b/Source/Parallelization/WarpXRegrid.cpp @@ -1,3 +1,11 @@ +/* Copyright 2019 Andrew Myers, Ann Almgren, Axel Huebl + * David Grote, Maxence Thevenet, Remi Lehe + * Weiqun Zhang, levinem + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #include #include diff --git a/Source/Parallelization/WarpXSumGuardCells.H b/Source/Parallelization/WarpXSumGuardCells.H index 36eb4ed6c..972c1cd2d 100644 --- a/Source/Parallelization/WarpXSumGuardCells.H +++ b/Source/Parallelization/WarpXSumGuardCells.H @@ -1,3 +1,10 @@ +/* Copyright 2019 Maxence Thevenet, Remi Lehe, Weiqun Zhang + * + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #ifndef WARPX_SUM_GUARD_CELLS_H_ #define WARPX_SUM_GUARD_CELLS_H_ diff --git a/Source/Parser/GpuParser.H b/Source/Parser/GpuParser.H index ff855d275..c6d870800 100644 --- a/Source/Parser/GpuParser.H +++ b/Source/Parser/GpuParser.H @@ -1,3 +1,10 @@ +/* Copyright 2019-2020 Maxence Thevenet, Revathi Jambunathan, Weiqun Zhang + * + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #ifndef WARPX_GPU_PARSER_H_ #define WARPX_GPU_PARSER_H_ diff --git a/Source/Parser/GpuParser.cpp b/Source/Parser/GpuParser.cpp index ba904666b..22fab6313 100644 --- a/Source/Parser/GpuParser.cpp +++ b/Source/Parser/GpuParser.cpp @@ -1,3 +1,10 @@ +/* Copyright 2019-2020 Maxence Thevenet, Revathi Jambunathan, Weiqun Zhang + * + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #include GpuParser::GpuParser (WarpXParser const& wp) diff --git a/Source/Parser/WarpXParser.H b/Source/Parser/WarpXParser.H index 8c1d854d8..863b35fb8 100644 --- a/Source/Parser/WarpXParser.H +++ b/Source/Parser/WarpXParser.H @@ -1,3 +1,9 @@ +/* Copyright 2019 Weiqun Zhang + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #ifndef WARPX_PARSER_H_ #define WARPX_PARSER_H_ diff --git a/Source/Parser/WarpXParser.cpp b/Source/Parser/WarpXParser.cpp index ced536327..8c8be7ecb 100644 --- a/Source/Parser/WarpXParser.cpp +++ b/Source/Parser/WarpXParser.cpp @@ -1,3 +1,9 @@ +/* Copyright 2019 Weiqun Zhang + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #include #include "WarpXParser.H" diff --git a/Source/Parser/WarpXParserWrapper.H b/Source/Parser/WarpXParserWrapper.H index 2a4ff6fd2..e32f6e4cd 100644 --- a/Source/Parser/WarpXParserWrapper.H +++ b/Source/Parser/WarpXParserWrapper.H @@ -1,3 +1,9 @@ +/* Copyright 2020 Revathi Jambunathan + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #ifndef WARPX_PARSER_WRAPPER_H_ #define WARPX_PARSER_WRAPPER_H_ diff --git a/Source/Particles/Collision/CollisionType.H b/Source/Particles/Collision/CollisionType.H index d020f47e8..29fdfb029 100644 --- a/Source/Particles/Collision/CollisionType.H +++ b/Source/Particles/Collision/CollisionType.H @@ -1,3 +1,9 @@ +/* Copyright 2019 Yinjian Zhao + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #ifndef WARPX_PARTICLES_COLLISION_COLLISIONTYPE_H_ #define WARPX_PARTICLES_COLLISION_COLLISIONTYPE_H_ diff --git a/Source/Particles/Collision/CollisionType.cpp b/Source/Particles/Collision/CollisionType.cpp index b8014579d..a5bb1482f 100644 --- a/Source/Particles/Collision/CollisionType.cpp +++ b/Source/Particles/Collision/CollisionType.cpp @@ -1,3 +1,9 @@ +/* Copyright 2019 Yinjian Zhao + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #include "CollisionType.H" #include "ShuffleFisherYates.H" #include "ElasticCollisionPerez.H" diff --git a/Source/Particles/Collision/ComputeTemperature.H b/Source/Particles/Collision/ComputeTemperature.H index 770510d74..81cb14dad 100644 --- a/Source/Particles/Collision/ComputeTemperature.H +++ b/Source/Particles/Collision/ComputeTemperature.H @@ -1,3 +1,9 @@ +/* Copyright 2019-2020 Andrew Myers, Yinjian Zhao + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #ifndef WARPX_PARTICLES_COLLISION_COMPUTE_TEMPERATURE_H_ #define WARPX_PARTICLES_COLLISION_COMPUTE_TEMPERATURE_H_ diff --git a/Source/Particles/Collision/ElasticCollisionPerez.H b/Source/Particles/Collision/ElasticCollisionPerez.H index 8e16d95cc..b1fa64300 100644 --- a/Source/Particles/Collision/ElasticCollisionPerez.H +++ b/Source/Particles/Collision/ElasticCollisionPerez.H @@ -1,3 +1,9 @@ +/* Copyright 2019 Yinjian Zhao + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #ifndef WARPX_PARTICLES_COLLISION_ELASTIC_COLLISION_PEREZ_H_ #define WARPX_PARTICLES_COLLISION_ELASTIC_COLLISION_PEREZ_H_ diff --git a/Source/Particles/Collision/ShuffleFisherYates.H b/Source/Particles/Collision/ShuffleFisherYates.H index 621e654d6..614b44d37 100644 --- a/Source/Particles/Collision/ShuffleFisherYates.H +++ b/Source/Particles/Collision/ShuffleFisherYates.H @@ -1,3 +1,9 @@ +/* Copyright 2019 Yinjian Zhao + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #ifndef WARPX_PARTICLES_COLLISION_SHUFFLE_FISHER_YATES_H_ #define WARPX_PARTICLES_COLLISION_SHUFFLE_FISHER_YATES_H_ diff --git a/Source/Particles/Collision/UpdateMomentumPerezElastic.H b/Source/Particles/Collision/UpdateMomentumPerezElastic.H index 948e8b075..05c8cd227 100644 --- a/Source/Particles/Collision/UpdateMomentumPerezElastic.H +++ b/Source/Particles/Collision/UpdateMomentumPerezElastic.H @@ -1,3 +1,9 @@ +/* Copyright 2019 Yinjian Zhao + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #ifndef WARPX_PARTICLES_COLLISION_UPDATE_MOMENTUM_PEREZ_ELASTIC_H_ #define WARPX_PARTICLES_COLLISION_UPDATE_MOMENTUM_PEREZ_ELASTIC_H_ diff --git a/Source/Particles/Deposition/ChargeDeposition.H b/Source/Particles/Deposition/ChargeDeposition.H index eec407a2b..669fc4c57 100755 --- a/Source/Particles/Deposition/ChargeDeposition.H +++ b/Source/Particles/Deposition/ChargeDeposition.H @@ -1,3 +1,10 @@ +/* Copyright 2019 Axel Huebl, David Grote, Maxence Thevenet + * Weiqun Zhang + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #ifndef CHARGEDEPOSITION_H_ #define CHARGEDEPOSITION_H_ diff --git a/Source/Particles/Deposition/CurrentDeposition.H b/Source/Particles/Deposition/CurrentDeposition.H index 870dbcd33..90039dea2 100644 --- a/Source/Particles/Deposition/CurrentDeposition.H +++ b/Source/Particles/Deposition/CurrentDeposition.H @@ -1,3 +1,10 @@ +/* Copyright 2019 Axel Huebl, David Grote, Maxence Thevenet + * Remi Lehe, Weiqun Zhang + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #ifndef CURRENTDEPOSITION_H_ #define CURRENTDEPOSITION_H_ diff --git a/Source/Particles/Gather/FieldGather.H b/Source/Particles/Gather/FieldGather.H index 57c5d1a4a..0a58f8425 100644 --- a/Source/Particles/Gather/FieldGather.H +++ b/Source/Particles/Gather/FieldGather.H @@ -1,3 +1,10 @@ +/* Copyright 2019 Axel Huebl, David Grote, Maxence Thevenet + * Revathi Jambunathan, Weiqun Zhang + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #ifndef FIELDGATHER_H_ #define FIELDGATHER_H_ diff --git a/Source/Particles/MultiParticleContainer.H b/Source/Particles/MultiParticleContainer.H index ed1c2f371..8dd26ff60 100644 --- a/Source/Particles/MultiParticleContainer.H +++ b/Source/Particles/MultiParticleContainer.H @@ -1,3 +1,13 @@ +/* Copyright 2019-2020 Andrew Myers, Ann Almgren, Axel Huebl + * David Grote, Jean-Luc Vay, Junmin Gu + * Luca Fedeli, Mathieu Lobet, Maxence Thevenet + * Remi Lehe, Revathi Jambunathan, Weiqun Zhang + * Yinjian Zhao + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #ifndef WARPX_ParticleContainer_H_ #define WARPX_ParticleContainer_H_ diff --git a/Source/Particles/MultiParticleContainer.cpp b/Source/Particles/MultiParticleContainer.cpp index ab836ce9d..bbfdace7f 100644 --- a/Source/Particles/MultiParticleContainer.cpp +++ b/Source/Particles/MultiParticleContainer.cpp @@ -1,3 +1,13 @@ +/* Copyright 2019-2020 Andrew Myers, Ann Almgren, Axel Huebl + * David Grote, Jean-Luc Vay, Luca Fedeli + * Mathieu Lobet, Maxence Thevenet, Remi Lehe + * Revathi Jambunathan, Weiqun Zhang, Yinjian Zhao + * + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #include #include diff --git a/Source/Particles/ParticleCreation/CopyParticle.H b/Source/Particles/ParticleCreation/CopyParticle.H index 5e51c5283..8b2770891 100644 --- a/Source/Particles/ParticleCreation/CopyParticle.H +++ b/Source/Particles/ParticleCreation/CopyParticle.H @@ -1,3 +1,9 @@ +/* Copyright 2019 Axel Huebl, Maxence Thevenet + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #ifndef COPYPARTICLE_H_ #define COPYPARTICLE_H_ diff --git a/Source/Particles/ParticleCreation/ElementaryProcess.H b/Source/Particles/ParticleCreation/ElementaryProcess.H index 6c9bdc626..3fe2240cc 100644 --- a/Source/Particles/ParticleCreation/ElementaryProcess.H +++ b/Source/Particles/ParticleCreation/ElementaryProcess.H @@ -1,3 +1,10 @@ +/* Copyright 2019 Axel Huebl, Maxence Thevenet, Weiqun Zhang + * + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #ifndef ELEMENTARYPROCESS_H_ #define ELEMENTARYPROCESS_H_ diff --git a/Source/Particles/ParticleCreation/TransformParticle.H b/Source/Particles/ParticleCreation/TransformParticle.H index c0158db78..eb5820e32 100644 --- a/Source/Particles/ParticleCreation/TransformParticle.H +++ b/Source/Particles/ParticleCreation/TransformParticle.H @@ -1,3 +1,9 @@ +/* Copyright 2019 Axel Huebl, Maxence Thevenet + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #ifndef TRANSFORMPARTICLE_H_ #define TRANSFORMPARTICLE_H_ diff --git a/Source/Particles/PhotonParticleContainer.H b/Source/Particles/PhotonParticleContainer.H index 9b688cc59..7750d5ce8 100644 --- a/Source/Particles/PhotonParticleContainer.H +++ b/Source/Particles/PhotonParticleContainer.H @@ -1,3 +1,10 @@ +/* Copyright 2019 Andrew Myers, David Grote, Luca Fedeli + * Maxence Thevenet, Weiqun Zhang + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #ifndef WARPX_PhotonParticleContainer_H_ #define WARPX_PhotonParticleContainer_H_ diff --git a/Source/Particles/PhotonParticleContainer.cpp b/Source/Particles/PhotonParticleContainer.cpp index c03ed00c2..ab85170ac 100644 --- a/Source/Particles/PhotonParticleContainer.cpp +++ b/Source/Particles/PhotonParticleContainer.cpp @@ -1,3 +1,10 @@ +/* Copyright 2019 David Grote, Luca Fedeli, Maxence Thevenet + * Weiqun Zhang + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #include #include #include diff --git a/Source/Particles/PhysicalParticleContainer.H b/Source/Particles/PhysicalParticleContainer.H index 31d3cbbf3..18a6540d5 100644 --- a/Source/Particles/PhysicalParticleContainer.H +++ b/Source/Particles/PhysicalParticleContainer.H @@ -1,3 +1,12 @@ +/* Copyright 2019-2020 Andrew Myers, Axel Huebl, David Grote + * Ligia Diana Amorim, Luca Fedeli, Maxence Thevenet + * Remi Lehe, Revathi Jambunathan, Weiqun Zhang + * Yinjian Zhao + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #ifndef WARPX_PhysicalParticleContainer_H_ #define WARPX_PhysicalParticleContainer_H_ diff --git a/Source/Particles/PhysicalParticleContainer.cpp b/Source/Particles/PhysicalParticleContainer.cpp index 7ac887b85..d21ad2247 100644 --- a/Source/Particles/PhysicalParticleContainer.cpp +++ b/Source/Particles/PhysicalParticleContainer.cpp @@ -1,3 +1,13 @@ +/* Copyright 2019-2020 Andrew Myers, Aurore Blelly, Axel Huebl + * David Grote, Glenn Richardson, Jean-Luc Vay + * Ligia Diana Amorim, Luca Fedeli, Maxence Thevenet + * Remi Lehe, Revathi Jambunathan, Weiqun Zhang + * Yinjian Zhao + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #include #include diff --git a/Source/Particles/Pusher/GetAndSetPosition.H b/Source/Particles/Pusher/GetAndSetPosition.H index ae73a74e4..7180f3c55 100644 --- a/Source/Particles/Pusher/GetAndSetPosition.H +++ b/Source/Particles/Pusher/GetAndSetPosition.H @@ -1,3 +1,10 @@ +/* Copyright 2019 David Grote, Maxence Thevenet, Remi Lehe + * Weiqun Zhang + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #ifndef WARPX_PARTICLES_PUSHER_GETANDSETPOSITION_H_ #define WARPX_PARTICLES_PUSHER_GETANDSETPOSITION_H_ diff --git a/Source/Particles/Pusher/UpdateMomentumBoris.H b/Source/Particles/Pusher/UpdateMomentumBoris.H index 160f38ade..13582d7e0 100644 --- a/Source/Particles/Pusher/UpdateMomentumBoris.H +++ b/Source/Particles/Pusher/UpdateMomentumBoris.H @@ -1,3 +1,10 @@ +/* Copyright 2019 David Grote, Maxence Thevenet, Remi Lehe + * Weiqun Zhang + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #ifndef WARPX_PARTICLES_PUSHER_UPDATEMOMENTUM_BORIS_H_ #define WARPX_PARTICLES_PUSHER_UPDATEMOMENTUM_BORIS_H_ diff --git a/Source/Particles/Pusher/UpdateMomentumBorisWithRadiationReaction.H b/Source/Particles/Pusher/UpdateMomentumBorisWithRadiationReaction.H index 0bc0f5d01..d8489e23e 100644 --- a/Source/Particles/Pusher/UpdateMomentumBorisWithRadiationReaction.H +++ b/Source/Particles/Pusher/UpdateMomentumBorisWithRadiationReaction.H @@ -1,3 +1,9 @@ +/* Copyright 2019 Luca Fedeli + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #ifndef WARPX_PARTICLES_PUSHER_UPDATEMOMENTUM_BORIS_WITHRR_H_ #define WARPX_PARTICLES_PUSHER_UPDATEMOMENTUM_BORIS_WITHRR_H_ diff --git a/Source/Particles/Pusher/UpdateMomentumHigueraCary.H b/Source/Particles/Pusher/UpdateMomentumHigueraCary.H index 51d7fd620..de2436ce2 100644 --- a/Source/Particles/Pusher/UpdateMomentumHigueraCary.H +++ b/Source/Particles/Pusher/UpdateMomentumHigueraCary.H @@ -1,3 +1,9 @@ +/* Copyright 2019 Yinjian Zhao + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #ifndef WARPX_PARTICLES_PUSHER_UPDATEMOMENTUM_HIGUERACARY_H_ #define WARPX_PARTICLES_PUSHER_UPDATEMOMENTUM_HIGUERACARY_H_ diff --git a/Source/Particles/Pusher/UpdateMomentumVay.H b/Source/Particles/Pusher/UpdateMomentumVay.H index f7ec79d89..846d59310 100644 --- a/Source/Particles/Pusher/UpdateMomentumVay.H +++ b/Source/Particles/Pusher/UpdateMomentumVay.H @@ -1,3 +1,10 @@ +/* Copyright 2019 David Grote, Maxence Thevenet, Remi Lehe + * Weiqun Zhang + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #ifndef WARPX_PARTICLES_PUSHER_UPDATEMOMENTUM_VAY_H_ #define WARPX_PARTICLES_PUSHER_UPDATEMOMENTUM_VAY_H_ diff --git a/Source/Particles/Pusher/UpdatePosition.H b/Source/Particles/Pusher/UpdatePosition.H index 9943128f1..7f86a106d 100644 --- a/Source/Particles/Pusher/UpdatePosition.H +++ b/Source/Particles/Pusher/UpdatePosition.H @@ -1,3 +1,10 @@ +/* Copyright 2019 David Grote, Maxence Thevenet, Remi Lehe + * Weiqun Zhang + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #ifndef WARPX_PARTICLES_PUSHER_UPDATEPOSITION_H_ #define WARPX_PARTICLES_PUSHER_UPDATEPOSITION_H_ diff --git a/Source/Particles/Pusher/UpdatePositionPhoton.H b/Source/Particles/Pusher/UpdatePositionPhoton.H index 1a0bd114f..3a28e87a1 100644 --- a/Source/Particles/Pusher/UpdatePositionPhoton.H +++ b/Source/Particles/Pusher/UpdatePositionPhoton.H @@ -1,3 +1,10 @@ +/* Copyright 2019 David Grote, Luca Fedeli, Maxence Thevenet + * Remi Lehe, Weiqun Zhang + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #ifndef WARPX_PARTICLES_PUSHER_UPDATEPOSITIONPHOTON_H_ #define WARPX_PARTICLES_PUSHER_UPDATEPOSITIONPHOTON_H_ diff --git a/Source/Particles/RigidInjectedParticleContainer.H b/Source/Particles/RigidInjectedParticleContainer.H index fecb9c48e..5e5749093 100644 --- a/Source/Particles/RigidInjectedParticleContainer.H +++ b/Source/Particles/RigidInjectedParticleContainer.H @@ -1,3 +1,10 @@ +/* Copyright 2019 Andrew Myers, David Grote, Maxence Thevenet + * Weiqun Zhang + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #ifndef WARPX_RigidInjectedParticleContainer_H_ #define WARPX_RigidInjectedParticleContainer_H_ diff --git a/Source/Particles/RigidInjectedParticleContainer.cpp b/Source/Particles/RigidInjectedParticleContainer.cpp index f3b502a0a..f9db682d7 100644 --- a/Source/Particles/RigidInjectedParticleContainer.cpp +++ b/Source/Particles/RigidInjectedParticleContainer.cpp @@ -1,3 +1,12 @@ +/* Copyright 2019-2020 Andrew Myers, David Grote, Glenn Richardson + * Ligia Diana Amorim, Luca Fedeli, Maxence Thevenet + * Remi Lehe, Revathi Jambunathan, Weiqun Zhang + * Yinjian Zhao + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #include #include #include diff --git a/Source/Particles/ShapeFactors.H b/Source/Particles/ShapeFactors.H index be79a4871..dd36fb31f 100644 --- a/Source/Particles/ShapeFactors.H +++ b/Source/Particles/ShapeFactors.H @@ -1,3 +1,9 @@ +/* Copyright 2019 Maxence Thevenet + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #ifndef SHAPEFACTORS_H_ #define SHAPEFACTORS_H_ diff --git a/Source/Particles/Sorting/Partition.cpp b/Source/Particles/Sorting/Partition.cpp index e88af017f..c25c24d5d 100644 --- a/Source/Particles/Sorting/Partition.cpp +++ b/Source/Particles/Sorting/Partition.cpp @@ -1,3 +1,9 @@ +/* Copyright 2019 Remi Lehe + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #include #include #include diff --git a/Source/Particles/Sorting/SortingUtils.H b/Source/Particles/Sorting/SortingUtils.H index f425c6c7b..f0e991367 100644 --- a/Source/Particles/Sorting/SortingUtils.H +++ b/Source/Particles/Sorting/SortingUtils.H @@ -1,3 +1,10 @@ +/* Copyright 2019-2020 Andrew Myers, Maxence Thevenet, Remi Lehe + * Weiqun Zhang + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #ifndef WARPX_PARTICLES_SORTING_SORTINGUTILS_H_ #define WARPX_PARTICLES_SORTING_SORTINGUTILS_H_ diff --git a/Source/Particles/WarpXParticleContainer.H b/Source/Particles/WarpXParticleContainer.H index 4fb4f007b..53ce8d320 100644 --- a/Source/Particles/WarpXParticleContainer.H +++ b/Source/Particles/WarpXParticleContainer.H @@ -1,3 +1,12 @@ +/* Copyright 2019-2020 Andrew Myers, Axel Huebl, David Grote + * Jean-Luc Vay, Junmin Gu, Luca Fedeli + * Maxence Thevenet, Remi Lehe, Revathi Jambunathan + * Weiqun Zhang, Yinjian Zhao + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #ifndef WARPX_WarpXParticleContainer_H_ #define WARPX_WarpXParticleContainer_H_ diff --git a/Source/Particles/WarpXParticleContainer.cpp b/Source/Particles/WarpXParticleContainer.cpp index e6f729935..9fc69bc73 100644 --- a/Source/Particles/WarpXParticleContainer.cpp +++ b/Source/Particles/WarpXParticleContainer.cpp @@ -1,3 +1,12 @@ +/* Copyright 2019-2020 Andrew Myers, Axel Huebl, David Grote + * Jean-Luc Vay, Luca Fedeli, Maxence Thevenet + * Remi Lehe, Revathi Jambunathan, Weiqun Zhang + * Yinjian Zhao, levinem + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #include #include diff --git a/Source/Particles/interpolate_cic.F90 b/Source/Particles/interpolate_cic.F90 index 3eb361d2f..97bd8c153 100644 --- a/Source/Particles/interpolate_cic.F90 +++ b/Source/Particles/interpolate_cic.F90 @@ -1,3 +1,9 @@ +! Copyright 2019 Maxence Thevenet, Weiqun Zhang +! +! This file is part of WarpX. +! +! License: BSD-3-Clause-LBNL + module warpx_ES_interpolate_cic use iso_c_binding diff --git a/Source/Particles/push_particles_ES.F90 b/Source/Particles/push_particles_ES.F90 index b84f48d5f..60833d456 100644 --- a/Source/Particles/push_particles_ES.F90 +++ b/Source/Particles/push_particles_ES.F90 @@ -1,3 +1,9 @@ +! Copyright 2019 Maxence Thevenet, Weiqun Zhang +! +! This file is part of WarpX. +! +! License: BSD-3-Clause-LBNL + module warpx_ES_push_particles use iso_c_binding diff --git a/Source/Python/WarpXWrappers.cpp b/Source/Python/WarpXWrappers.cpp index e72d467d7..1507e8227 100644 --- a/Source/Python/WarpXWrappers.cpp +++ b/Source/Python/WarpXWrappers.cpp @@ -1,3 +1,11 @@ +/* Copyright 2019 Andrew Myers, Axel Huebl, David Grote + * Luca Fedeli, Maxence Thevenet, Remi Lehe + * Weiqun Zhang + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #include #include diff --git a/Source/Python/WarpXWrappers.h b/Source/Python/WarpXWrappers.h index 4de885b88..ec6635449 100644 --- a/Source/Python/WarpXWrappers.h +++ b/Source/Python/WarpXWrappers.h @@ -1,3 +1,10 @@ +/* Copyright 2019 Andrew Myers, David Grote, Maxence Thevenet + * Remi Lehe, Weiqun Zhang + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #ifndef WARPX_WRAPPERS_H_ #define WARPX_WRAPPERS_H_ diff --git a/Source/Python/WarpX_py.H b/Source/Python/WarpX_py.H index d8cf22155..b6a813bfc 100644 --- a/Source/Python/WarpX_py.H +++ b/Source/Python/WarpX_py.H @@ -1,3 +1,10 @@ +/* Copyright 2019 David Grote, Maxence Thevenet, Weiqun Zhang + * + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #ifndef WARPX_PY_H_ #define WARPX_PY_H_ diff --git a/Source/Python/WarpX_py.cpp b/Source/Python/WarpX_py.cpp index 276d637d7..4ca06b644 100644 --- a/Source/Python/WarpX_py.cpp +++ b/Source/Python/WarpX_py.cpp @@ -1,3 +1,10 @@ +/* Copyright 2019 David Grote, Maxence Thevenet, Weiqun Zhang + * + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #include extern "C" { diff --git a/Source/QED/BreitWheelerDummyTable.H b/Source/QED/BreitWheelerDummyTable.H index e03f9d20b..95f65923e 100644 --- a/Source/QED/BreitWheelerDummyTable.H +++ b/Source/QED/BreitWheelerDummyTable.H @@ -1,3 +1,9 @@ +/* Copyright 2019 Luca Fedeli + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #ifndef WARPX_breit_wheeler_dummy_tables_h_ #define WARPX_breit_wheeler_dummy_tables_h_ diff --git a/Source/QED/BreitWheelerEngineInnards.H b/Source/QED/BreitWheelerEngineInnards.H index 640cdfa94..d6c644aa3 100644 --- a/Source/QED/BreitWheelerEngineInnards.H +++ b/Source/QED/BreitWheelerEngineInnards.H @@ -1,3 +1,9 @@ +/* Copyright 2019 Luca Fedeli + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #ifndef WARPX_breit_wheeler_engine_innards_h_ #define WARPX_breit_wheeler_engine_innards_h_ diff --git a/Source/QED/BreitWheelerEngineTableBuilder.H b/Source/QED/BreitWheelerEngineTableBuilder.H index e30b82208..98b0b17a4 100644 --- a/Source/QED/BreitWheelerEngineTableBuilder.H +++ b/Source/QED/BreitWheelerEngineTableBuilder.H @@ -1,3 +1,9 @@ +/* Copyright 2019 Luca Fedeli + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #ifndef WARPX_breit_wheeler_engine_table_builder_h_ #define WARPX_breit_wheeler_engine_table_builder_h_ diff --git a/Source/QED/BreitWheelerEngineTableBuilder.cpp b/Source/QED/BreitWheelerEngineTableBuilder.cpp index 3326d5b59..7cb41f7ea 100644 --- a/Source/QED/BreitWheelerEngineTableBuilder.cpp +++ b/Source/QED/BreitWheelerEngineTableBuilder.cpp @@ -1,3 +1,9 @@ +/* Copyright 2019 Luca Fedeli + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #include "BreitWheelerEngineTableBuilder.H" //Include the full Breit Wheeler engine with table generation support diff --git a/Source/QED/BreitWheelerEngineWrapper.H b/Source/QED/BreitWheelerEngineWrapper.H index 369c64375..102d15efa 100644 --- a/Source/QED/BreitWheelerEngineWrapper.H +++ b/Source/QED/BreitWheelerEngineWrapper.H @@ -1,3 +1,9 @@ +/* Copyright 2019 Luca Fedeli + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #ifndef WARPX_breit_wheeler_engine_wrapper_h_ #define WARPX_breit_wheeler_engine_wrapper_h_ diff --git a/Source/QED/BreitWheelerEngineWrapper.cpp b/Source/QED/BreitWheelerEngineWrapper.cpp index c963d44d1..e1eb55714 100644 --- a/Source/QED/BreitWheelerEngineWrapper.cpp +++ b/Source/QED/BreitWheelerEngineWrapper.cpp @@ -1,3 +1,9 @@ +/* Copyright 2019 Luca Fedeli, Maxence Thevenet + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #include "BreitWheelerEngineWrapper.H" #include "QedTableParserHelperFunctions.H" diff --git a/Source/QED/QedChiFunctions.H b/Source/QED/QedChiFunctions.H index dd8ffac0e..bdeb6df57 100644 --- a/Source/QED/QedChiFunctions.H +++ b/Source/QED/QedChiFunctions.H @@ -1,3 +1,9 @@ +/* Copyright 2019 Luca Fedeli + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #ifndef WARPX_amrex_qed_chi_functions_h_ #define WARPX_amrex_qed_chi_functions_h_ diff --git a/Source/QED/QedTableParserHelperFunctions.H b/Source/QED/QedTableParserHelperFunctions.H index 528613727..dd66f626f 100644 --- a/Source/QED/QedTableParserHelperFunctions.H +++ b/Source/QED/QedTableParserHelperFunctions.H @@ -1,3 +1,9 @@ +/* Copyright 2019 Luca Fedeli, Maxence Thevenet + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #ifndef WARPX_amrex_qed_table_parser_helper_functions_h_ #define WARPX_amrex_qed_table_parser_helper_functions_h_ diff --git a/Source/QED/QedWrapperCommons.H b/Source/QED/QedWrapperCommons.H index 210e7247e..1d4500a81 100644 --- a/Source/QED/QedWrapperCommons.H +++ b/Source/QED/QedWrapperCommons.H @@ -1,3 +1,9 @@ +/* Copyright 2019 Luca Fedeli + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #ifndef WARPX_amrex_qed_wrapper_commons_h_ #define WARPX_amrex_qed_wrapper_commons_h_ diff --git a/Source/QED/QuantumSyncDummyTable.H b/Source/QED/QuantumSyncDummyTable.H index 587e8b546..f34c521a3 100644 --- a/Source/QED/QuantumSyncDummyTable.H +++ b/Source/QED/QuantumSyncDummyTable.H @@ -1,3 +1,9 @@ +/* Copyright 2019 Luca Fedeli + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #ifndef WARPX_quantum_sync_dummy_tables_h_ #define WARPX_quantum_sync_dummy_tables_h_ diff --git a/Source/QED/QuantumSyncEngineInnards.H b/Source/QED/QuantumSyncEngineInnards.H index 6206b103a..64e67690a 100644 --- a/Source/QED/QuantumSyncEngineInnards.H +++ b/Source/QED/QuantumSyncEngineInnards.H @@ -1,3 +1,9 @@ +/* Copyright 2019 Luca Fedeli + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #ifndef WARPX_quantum_sync_engine_innards_h_ #define WARPX_quantum_sync_engine_innards_h_ diff --git a/Source/QED/QuantumSyncEngineTableBuilder.H b/Source/QED/QuantumSyncEngineTableBuilder.H index e70f5d02f..16be2d5eb 100644 --- a/Source/QED/QuantumSyncEngineTableBuilder.H +++ b/Source/QED/QuantumSyncEngineTableBuilder.H @@ -1,3 +1,9 @@ +/* Copyright 2019 Luca Fedeli + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #ifndef WARPX_quantum_sync_engine_table_builder_h_ #define WARPX_quantum_sync_engine_table_builder_h_ diff --git a/Source/QED/QuantumSyncEngineTableBuilder.cpp b/Source/QED/QuantumSyncEngineTableBuilder.cpp index 51c3720f2..c4e500122 100644 --- a/Source/QED/QuantumSyncEngineTableBuilder.cpp +++ b/Source/QED/QuantumSyncEngineTableBuilder.cpp @@ -1,3 +1,9 @@ +/* Copyright 2019 Luca Fedeli + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #include "QuantumSyncEngineTableBuilder.H" //Include the full Quantum Synchrotron engine with table generation support diff --git a/Source/QED/QuantumSyncEngineWrapper.H b/Source/QED/QuantumSyncEngineWrapper.H index df0bdc5f5..e1e3d94eb 100644 --- a/Source/QED/QuantumSyncEngineWrapper.H +++ b/Source/QED/QuantumSyncEngineWrapper.H @@ -1,3 +1,9 @@ +/* Copyright 2019 Luca Fedeli + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #ifndef WARPX_quantum_sync_engine_wrapper_h_ #define WARPX_quantum_sync_engine_wrapper_h_ diff --git a/Source/QED/QuantumSyncEngineWrapper.cpp b/Source/QED/QuantumSyncEngineWrapper.cpp index ffafec761..b185251d8 100644 --- a/Source/QED/QuantumSyncEngineWrapper.cpp +++ b/Source/QED/QuantumSyncEngineWrapper.cpp @@ -1,3 +1,9 @@ +/* Copyright 2019 Luca Fedeli, Maxence Thevenet + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #include "QuantumSyncEngineWrapper.H" #include "QedTableParserHelperFunctions.H" diff --git a/Source/Utils/IonizationEnergiesTable.H b/Source/Utils/IonizationEnergiesTable.H index 47b71e4f1..f910fa4fe 100644 --- a/Source/Utils/IonizationEnergiesTable.H +++ b/Source/Utils/IonizationEnergiesTable.H @@ -1,3 +1,9 @@ +/* Copyright 2019 Axel Huebl, Maxence Thevenet + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ // This script was automatically generated! // Edit dev/Source/Utils/write_atomic_data_cpp.py instead! #ifndef WARPX_IONIZATION_TABLE_H_ diff --git a/Source/Utils/NCIGodfreyTables.H b/Source/Utils/NCIGodfreyTables.H index 708215c77..0403b10c3 100644 --- a/Source/Utils/NCIGodfreyTables.H +++ b/Source/Utils/NCIGodfreyTables.H @@ -1,3 +1,9 @@ +/* Copyright 2019 Maxence Thevenet + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #include #ifndef WARPX_GODFREY_COEFF_TABLE_H_ diff --git a/Source/Utils/WarpXAlgorithmSelection.H b/Source/Utils/WarpXAlgorithmSelection.H index 7d26e7af5..919428704 100644 --- a/Source/Utils/WarpXAlgorithmSelection.H +++ b/Source/Utils/WarpXAlgorithmSelection.H @@ -1,3 +1,10 @@ +/* Copyright 2019 David Grote, Luca Fedeli, Remi Lehe + * Yinjian Zhao + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #ifndef UTILS_WARPXALGORITHMSELECTION_H_ #define UTILS_WARPXALGORITHMSELECTION_H_ diff --git a/Source/Utils/WarpXAlgorithmSelection.cpp b/Source/Utils/WarpXAlgorithmSelection.cpp index 08272089e..f6e2405a9 100644 --- a/Source/Utils/WarpXAlgorithmSelection.cpp +++ b/Source/Utils/WarpXAlgorithmSelection.cpp @@ -1,3 +1,11 @@ +/* Copyright 2019-2020 Axel Huebl, David Grote, Luca Fedeli + * Remi Lehe, Weiqun Zhang, Yinjian Zhao + * + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #include #include diff --git a/Source/Utils/WarpXConst.H b/Source/Utils/WarpXConst.H index 70436cb72..34e08118d 100644 --- a/Source/Utils/WarpXConst.H +++ b/Source/Utils/WarpXConst.H @@ -1,3 +1,10 @@ +/* Copyright 2019 Andrew Myers, Luca Fedeli, Maxence Thevenet + * Weiqun Zhang + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #ifndef WARPX_CONST_H_ #define WARPX_CONST_H_ diff --git a/Source/Utils/WarpXMovingWindow.cpp b/Source/Utils/WarpXMovingWindow.cpp index 3f607615b..f6cd6de20 100644 --- a/Source/Utils/WarpXMovingWindow.cpp +++ b/Source/Utils/WarpXMovingWindow.cpp @@ -1,3 +1,11 @@ +/* Copyright 2019-2020 Andrew Myers, Axel Huebl, Maxence Thevenet + * Remi Lehe, Revathi Jambunathan, Weiqun Zhang + * + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #include "GuardCellManager.H" #include #include diff --git a/Source/Utils/WarpXTagging.cpp b/Source/Utils/WarpXTagging.cpp index 91bb802e8..b2ac48e40 100644 --- a/Source/Utils/WarpXTagging.cpp +++ b/Source/Utils/WarpXTagging.cpp @@ -1,3 +1,10 @@ +/* Copyright 2019 Axel Huebl, Maxence Thevenet, Weiqun Zhang + * + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #include #include diff --git a/Source/Utils/WarpXUtil.H b/Source/Utils/WarpXUtil.H index e7b2ef196..9231fa60a 100644 --- a/Source/Utils/WarpXUtil.H +++ b/Source/Utils/WarpXUtil.H @@ -1,3 +1,10 @@ +/* Copyright 2019-2020 Andrew Myers, Luca Fedeli, Maxence Thevenet + * Revathi Jambunathan, Revathi Jambunathan + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #ifndef WARPX_UTILS_H_ #define WARPX_UTILS_H_ diff --git a/Source/Utils/WarpXUtil.cpp b/Source/Utils/WarpXUtil.cpp index a154e93df..983654aed 100644 --- a/Source/Utils/WarpXUtil.cpp +++ b/Source/Utils/WarpXUtil.cpp @@ -1,3 +1,11 @@ +/* Copyright 2019-2020 Andrew Myers, Burlen Loring, Luca Fedeli + * Maxence Thevenet, Remi Lehe, Revathi Jambunathan + * Revathi Jambunathan + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #include #include #include diff --git a/Source/Utils/WarpX_Complex.H b/Source/Utils/WarpX_Complex.H index 1f265d3c5..cda4204a8 100644 --- a/Source/Utils/WarpX_Complex.H +++ b/Source/Utils/WarpX_Complex.H @@ -1,3 +1,10 @@ +/* Copyright 2019-2020 Andrew Myers, David Grote, Maxence Thevenet + * Remi Lehe + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #ifndef WARPX_COMPLEX_H_ #define WARPX_COMPLEX_H_ diff --git a/Source/Utils/atomic_data.txt b/Source/Utils/atomic_data.txt index 140f5a26a..cd58e076a 100644 --- a/Source/Utils/atomic_data.txt +++ b/Source/Utils/atomic_data.txt @@ -1,3 +1,9 @@ +# Copyright 2019 Maxence Thevenet +# +# This file is part of WarpX. +# +# License: BSD-3-Clause-LBNL + # Reference: # Kramida, A., Ralchenko, Yu., Reader, J., and NIST ASD Team (2014). # NIST Atomic Spectra Database (ver. 5.2), [Online]. diff --git a/Source/Utils/utils_ES.F90 b/Source/Utils/utils_ES.F90 index baadeb7af..c11e849eb 100644 --- a/Source/Utils/utils_ES.F90 +++ b/Source/Utils/utils_ES.F90 @@ -1,3 +1,9 @@ +! Copyright 2019 Maxence Thevenet, Remi Lehe +! +! This file is part of WarpX. +! +! License: BSD-3-Clause-LBNL + module warpx_ES_utils use iso_c_binding diff --git a/Source/Utils/write_atomic_data_cpp.py b/Source/Utils/write_atomic_data_cpp.py index 09b7b8300..12cafad0c 100644 --- a/Source/Utils/write_atomic_data_cpp.py +++ b/Source/Utils/write_atomic_data_cpp.py @@ -1,3 +1,10 @@ +# Copyright 2019-2020 Axel Huebl, Luca Fedeli, Maxence Thevenet +# +# +# This file is part of WarpX. +# +# License: BSD-3-Clause-LBNL + ''' This python script reads ionization tables in atomic_data.txt (generated from the NIST website) and extracts ionization levels into C++ file diff --git a/Source/WarpX.H b/Source/WarpX.H index 1549dded2..be80727d8 100644 --- a/Source/WarpX.H +++ b/Source/WarpX.H @@ -1,3 +1,14 @@ +/* Copyright 2016-2020 Andrew Myers, Ann Almgren, Aurore Blelly + * Axel Huebl, Burlen Loring, David Grote + * Glenn Richardson, Junmin Gu, Luca Fedeli + * Mathieu Lobet, Maxence Thevenet, Remi Lehe + * Revathi Jambunathan, Weiqun Zhang, Yinjian Zhao + * + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #ifndef WARPX_H_ #define WARPX_H_ diff --git a/Source/WarpX.cpp b/Source/WarpX.cpp index 5f6f2b2e5..cb04bf16f 100644 --- a/Source/WarpX.cpp +++ b/Source/WarpX.cpp @@ -1,3 +1,14 @@ +/* Copyright 2016-2020 Andrew Myers, Ann Almgren, Aurore Blelly + * Axel Huebl, Burlen Loring, David Grote + * Glenn Richardson, Jean-Luc Vay, Junmin Gu + * Mathieu Lobet, Maxence Thevenet, Remi Lehe + * Revathi Jambunathan, Weiqun Zhang, Yinjian Zhao + * levinem + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #include #include #include diff --git a/Source/main.cpp b/Source/main.cpp index 19413da7a..fc705bdf0 100644 --- a/Source/main.cpp +++ b/Source/main.cpp @@ -1,3 +1,11 @@ +/* Copyright 2016-2020 Andrew Myers, Ann Almgren, Axel Huebl + * David Grote, Jean-Luc Vay, Remi Lehe + * Revathi Jambunathan, Weiqun Zhang + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #include #include diff --git a/Tools/batchScripts/batch_cori.sh b/Tools/batchScripts/batch_cori.sh index e6cd5e1ef..ee2658451 100644 --- a/Tools/batchScripts/batch_cori.sh +++ b/Tools/batchScripts/batch_cori.sh @@ -1,5 +1,12 @@ #!/bin/bash -l +# Copyright 2019 Maxence Thevenet +# +# This file is part of WarpX. +# +# License: BSD-3-Clause-LBNL + + #SBATCH -N 2 #SBATCH -t 01:00:00 #SBATCH -q regular diff --git a/Tools/batchScripts/batch_summit.sh b/Tools/batchScripts/batch_summit.sh index 002660b91..8f2f914fb 100644 --- a/Tools/batchScripts/batch_summit.sh +++ b/Tools/batchScripts/batch_summit.sh @@ -1,4 +1,11 @@ #!/bin/bash + +# Copyright 2019 Maxence Thevenet +# +# This file is part of WarpX. +# +# License: BSD-3-Clause-LBNL + #BSUB -P #BSUB -W 00:10 #BSUB -nnodes 2 diff --git a/Tools/batchScripts/script_profiling_summit.sh b/Tools/batchScripts/script_profiling_summit.sh index cd6b0eadd..d14f3f44c 100755 --- a/Tools/batchScripts/script_profiling_summit.sh +++ b/Tools/batchScripts/script_profiling_summit.sh @@ -1,4 +1,11 @@ #!/bin/bash + +# Copyright 2019 Andrew Myers, Maxence Thevenet +# +# This file is part of WarpX. +# +# License: BSD-3-Clause-LBNL + #BSUB -P GEN109 #BSUB -W 0:10 #BSUB -nnodes 1 diff --git a/Tools/compute_domain.py b/Tools/compute_domain.py index 3bc90f001..d67cc86f5 100644 --- a/Tools/compute_domain.py +++ b/Tools/compute_domain.py @@ -1,3 +1,9 @@ +# Copyright 2019-2020 Luca Fedeli, Maxence Thevenet +# +# This file is part of WarpX. +# +# License: BSD-3-Clause-LBNL + import numpy as np ''' diff --git a/Tools/cori_postproc_script.sh b/Tools/cori_postproc_script.sh index 5e847c7cc..38d726ef5 100644 --- a/Tools/cori_postproc_script.sh +++ b/Tools/cori_postproc_script.sh @@ -1,4 +1,11 @@ #!/bin/bash + +# Copyright 2019 Maxence Thevenet +# +# This file is part of WarpX. +# +# License: BSD-3-Clause-LBNL + #SBATCH --job-name=postproc #SBATCH --time=00:20:00 #SBATCH -C haswell diff --git a/Tools/performance_tests/cori.py b/Tools/performance_tests/cori.py index db546d24c..b7cf63548 100644 --- a/Tools/performance_tests/cori.py +++ b/Tools/performance_tests/cori.py @@ -1,3 +1,10 @@ +# Copyright 2019 Axel Huebl, Luca Fedeli, Maxence Thevenet +# +# +# This file is part of WarpX. +# +# License: BSD-3-Clause-LBNL + import os, copy from functions_perftest import test_element diff --git a/Tools/performance_tests/functions_perftest.py b/Tools/performance_tests/functions_perftest.py index 21236ed3b..bf4809bd3 100644 --- a/Tools/performance_tests/functions_perftest.py +++ b/Tools/performance_tests/functions_perftest.py @@ -1,3 +1,10 @@ +# Copyright 2018-2019 Axel Huebl, Luca Fedeli, Maxence Thevenet +# Remi Lehe +# +# This file is part of WarpX. +# +# License: BSD-3-Clause-LBNL + import os, shutil, re, copy import pandas as pd import numpy as np diff --git a/Tools/performance_tests/run_alltests.py b/Tools/performance_tests/run_alltests.py index f3821dcf4..7b0a93350 100644 --- a/Tools/performance_tests/run_alltests.py +++ b/Tools/performance_tests/run_alltests.py @@ -1,3 +1,10 @@ +# Copyright 2017-2020 Luca Fedeli, Maxence Thevenet, Remi Lehe +# +# +# This file is part of WarpX. +# +# License: BSD-3-Clause-LBNL + import os, sys, shutil import argparse, re, time from functions_perftest import * diff --git a/Tools/performance_tests/run_alltests_1node.py b/Tools/performance_tests/run_alltests_1node.py index ec68f4fbf..5745055e7 100644 --- a/Tools/performance_tests/run_alltests_1node.py +++ b/Tools/performance_tests/run_alltests_1node.py @@ -1,3 +1,9 @@ +# Copyright 2018-2020 Luca Fedeli, Maxence Thevenet +# +# This file is part of WarpX. +# +# License: BSD-3-Clause-LBNL + import os, shutil, datetime import argparse, re, time from functions_perftest import * diff --git a/Tools/performance_tests/run_automated.py b/Tools/performance_tests/run_automated.py index a874542b6..21677fa50 100644 --- a/Tools/performance_tests/run_automated.py +++ b/Tools/performance_tests/run_automated.py @@ -1,3 +1,10 @@ +# Copyright 2018-2019 Axel Huebl, Luca Fedeli, Maxence Thevenet +# +# +# This file is part of WarpX. +# +# License: BSD-3-Clause-LBNL + import os, sys, shutil, datetime, git import argparse, re, time, copy import pandas as pd diff --git a/Tools/performance_tests/summit.py b/Tools/performance_tests/summit.py index b8da1568c..ceacd372c 100644 --- a/Tools/performance_tests/summit.py +++ b/Tools/performance_tests/summit.py @@ -1,3 +1,10 @@ +# Copyright 2019 Axel Huebl, Luca Fedeli, Maxence Thevenet +# +# +# This file is part of WarpX. +# +# License: BSD-3-Clause-LBNL + # requirements: # - module load python/3.7.0-anaconda3-5.3.0 diff --git a/Tools/plot_parallel.py b/Tools/plot_parallel.py index 494f2717d..6a14ddab4 100644 --- a/Tools/plot_parallel.py +++ b/Tools/plot_parallel.py @@ -1,3 +1,9 @@ +# Copyright 2019 David Grote, Maxence Thevenet +# +# This file is part of WarpX. +# +# License: BSD-3-Clause-LBNL + import os import glob import matplotlib diff --git a/Tools/plot_particle_path.py b/Tools/plot_particle_path.py index ef52b4f4b..1b1fed0c0 100644 --- a/Tools/plot_particle_path.py +++ b/Tools/plot_particle_path.py @@ -1,3 +1,10 @@ +# Copyright 2019 Andrew Myers, Jean-Luc Vay, Maxence Thevenet +# Remi Lehe, Weiqun Zhang +# +# This file is part of WarpX. +# +# License: BSD-3-Clause-LBNL + import numpy as np class AMReXParticleHeader(object): diff --git a/Tools/read_lab_particles.py b/Tools/read_lab_particles.py index 96f5f059c..2ae52c0eb 100644 --- a/Tools/read_lab_particles.py +++ b/Tools/read_lab_particles.py @@ -1,3 +1,9 @@ +# Copyright 2018-2019 Andrew Myers, Maxence Thevenet +# +# This file is part of WarpX. +# +# License: BSD-3-Clause-LBNL + import numpy as np from glob import glob import os diff --git a/Tools/read_raw_data.py b/Tools/read_raw_data.py index c907b1fe1..af56bc061 100644 --- a/Tools/read_raw_data.py +++ b/Tools/read_raw_data.py @@ -1,3 +1,10 @@ +# Copyright 2017-2019 Andrew Myers, Axel Huebl, Maxence Thevenet +# Remi Lehe +# +# This file is part of WarpX. +# +# License: BSD-3-Clause-LBNL + from glob import glob import os import numpy as np diff --git a/Tools/script_profiling_summit.sh b/Tools/script_profiling_summit.sh index cd6b0eadd..d14f3f44c 100755 --- a/Tools/script_profiling_summit.sh +++ b/Tools/script_profiling_summit.sh @@ -1,4 +1,11 @@ #!/bin/bash + +# Copyright 2019 Andrew Myers, Maxence Thevenet +# +# This file is part of WarpX. +# +# License: BSD-3-Clause-LBNL + #BSUB -P GEN109 #BSUB -W 0:10 #BSUB -nnodes 1 diff --git a/Tools/update_copyright.sh b/Tools/update_copyright.sh index 65fc4bafb..0ba94e4f2 100755 --- a/Tools/update_copyright.sh +++ b/Tools/update_copyright.sh @@ -1,5 +1,12 @@ #!/usr/bin/env bash +# Copyright 2020 Maxence Thevenet +# +# This file is part of WarpX. +# +# License: BSD-3-Clause-LBNL + + # This file loops over all WarpX source files, uses git to get the list of # contributors, and writes a copyright header at the beginning of each file # with the list of contributors. diff --git a/Tools/update_release.sh b/Tools/update_release.sh index d45efd15c..0b1dc60b9 100755 --- a/Tools/update_release.sh +++ b/Tools/update_release.sh @@ -1,5 +1,12 @@ #!/usr/bin/env bash +# Copyright 2020 Maxence Thevenet +# +# This file is part of WarpX. +# +# License: BSD-3-Clause-LBNL + + # This script updates release version number in all source files. # # updates occurences like "version = '??.??'" where ??.?? is the version number diff --git a/Tools/video_yt.py b/Tools/video_yt.py index 3f1da8690..6d516983f 100644 --- a/Tools/video_yt.py +++ b/Tools/video_yt.py @@ -1,3 +1,9 @@ +# Copyright 2017-2020 Luca Fedeli, Maxence Thevenet +# +# This file is part of WarpX. +# +# License: BSD-3-Clause-LBNL + ''' This script loops over 3D plotfiles plt*****, generates a 3D rendering of the data with fields and particles, and saves one image per plotfile to diff --git a/Tools/yt3d_mpi.py b/Tools/yt3d_mpi.py index 2013446c7..5960b1185 100644 --- a/Tools/yt3d_mpi.py +++ b/Tools/yt3d_mpi.py @@ -1,3 +1,9 @@ +# Copyright 2018-2019 Maxence Thevenet +# +# This file is part of WarpX. +# +# License: BSD-3-Clause-LBNL + ''' This script loops over 3D plotfiles plt*****, generates a 3D rendering of the data with fields and particles, and saves one image per plotfile to diff --git a/run_test.sh b/run_test.sh index 67f4b48cf..39e99e541 100755 --- a/run_test.sh +++ b/run_test.sh @@ -1,4 +1,13 @@ #!/bin/bash + +# Copyright 2018-2020 Axel Huebl, David Grote, Edoardo Zoni +# Luca Fedeli, Maxence Thevenet, Remi Lehe +# +# +# This file is part of WarpX. +# +# License: BSD-3-Clause-LBNL + # This script runs some of WarpX's standard regression tests, but # without comparing the output to previously run simulations. # This checks that: -- cgit v1.2.3 From 3dabb5801eacc36ca9fa6205534b374df9f7f5ea Mon Sep 17 00:00:00 2001 From: Axel Huebl Date: Thu, 23 Jan 2020 16:26:55 -0800 Subject: Simplify Plot Options Remove the `dump_plotfile` switch and only control via interval value in `plot_int` for plotfiles. Remove the `dump_openpmd` switch and only control via interval value in `plot_openpmd` for openPMD data dumps. openPMD: pick first available backend if unspecified. --- Docs/source/building/openpmd.rst | 2 + Docs/source/running_cpp/parameters.rst | 32 ++++++------ Docs/source/visualization/visualization.rst | 8 +-- Examples/Tests/particles_in_PML/inputs_2d | 2 - Examples/Tests/particles_in_PML/inputs_3d | 2 - Python/pywarpx/timestepper.py | 4 +- Source/Diagnostics/FieldIO.cpp | 2 +- Source/Diagnostics/WarpXIO.cpp | 76 ++++++++++++++++++----------- Source/Diagnostics/WarpXOpenPMD.cpp | 14 +++++- Source/Evolve/WarpXEvolveEM.cpp | 14 ++++-- Source/Initialization/WarpXInitData.cpp | 3 ++ Source/Python/WarpXWrappers.cpp | 9 ++++ Source/Python/WarpXWrappers.h | 2 + Source/WarpX.H | 21 ++++---- Source/WarpX.cpp | 3 +- 15 files changed, 120 insertions(+), 74 deletions(-) (limited to 'Source/Python/WarpXWrappers.cpp') diff --git a/Docs/source/building/openpmd.rst b/Docs/source/building/openpmd.rst index 4c71a11a4..1c05c5194 100644 --- a/Docs/source/building/openpmd.rst +++ b/Docs/source/building/openpmd.rst @@ -1,3 +1,5 @@ +.. _building-openpmd: + Building WarpX with support for openPMD output ============================================== diff --git a/Docs/source/running_cpp/parameters.rst b/Docs/source/running_cpp/parameters.rst index 3cd7af96c..4e4095c56 100644 --- a/Docs/source/running_cpp/parameters.rst +++ b/Docs/source/running_cpp/parameters.rst @@ -969,25 +969,21 @@ Boundary conditions Diagnostics and output ---------------------- -* ``amr.plot_int`` (`integer`) - The number of PIC cycles inbetween two consecutive data dumps. Use a - negative number to disable data dumping. - -* ``warpx.dump_plotfiles`` (`0` or `1`) optional - Whether to dump the simulation data in - `AMReX plotfile `__ - format. This is ``1`` by default, unless WarpX is compiled with openPMD support. - -* ``warpx.dump_openpmd`` (`0` or `1`) optional - Whether to dump the simulation data in - `openPMD `__ format. - When WarpX is compiled with openPMD support, this is ``1`` by default. - -* ``warpx.openpmd_backend`` (``h5``, ``bp`` or ``json``) optional - I/O backend for - `openPMD `__ dumps. - When WarpX is compiled with openPMD support, this is ``h5`` by default. +* ``amr.plot_int`` (`integer`) optional + The number of PIC cycles (interval) in between two consecutive `plotfile` data dumps. + Use a negative number to disable data dumping. + This is ``-1`` (disabled) by default. + +* ``warpx.openpmd_int`` (`integer`) optional + The number of PIC cycles (interval) in between two consecutive `openPMD `_ data dumps. + Requires to build WarpX with ``USE_OPENPMD=TRUE`` (see :ref:`instructions `). + This is ``-1`` (disabled) by default. + +* ``warpx.openpmd_backend`` (``bp``, ``h5`` or ``json``) optional + `I/O backend `_ for `openPMD `_ data dumps. + ``bp`` is the `ADIOS I/O library `_, ``h5`` is the `HDF5 format `, and ``json`` is a `simple text format `_. ``json`` only works with serial/single-rank jobs. + When WarpX is compiled with openPMD support, the first available backend in the order given above is taken. * ``warpx.do_back_transformed_diagnostics`` (`0` or `1`) Whether to use the **back-transformed diagnostics** (i.e. diagnostics that diff --git a/Docs/source/visualization/visualization.rst b/Docs/source/visualization/visualization.rst index 54da6d5c4..04785f0e5 100644 --- a/Docs/source/visualization/visualization.rst +++ b/Docs/source/visualization/visualization.rst @@ -2,13 +2,13 @@ Visualizing the simulation results ================================== WarpX can write data either in `plotfile` format (AMReX's native format), or -in `openPMD format `_ (a common data format for -Particle-In-Cell codes). +in `openPMD format `_ (a common data schema on top of +HDF5 or ADIOS files for particle-in-cell codes). .. note:: - This is controlled by the parameters ``warpx.dump_plotfiles`` and - ``warpx.dump_openpmd`` & ``warpx.openpmd_backend`` in the section + This is controlled by the parameters ``warpx.plot_int`` (AMReX) or the + ``warpx.openpmd_int`` & ``warpx.openpmd_backend`` options in the section :doc:`../running_cpp/parameters`. This section describes some of the tools available to visualize the data: diff --git a/Examples/Tests/particles_in_PML/inputs_2d b/Examples/Tests/particles_in_PML/inputs_2d index 9c5a64921..56705ca4d 100644 --- a/Examples/Tests/particles_in_PML/inputs_2d +++ b/Examples/Tests/particles_in_PML/inputs_2d @@ -6,8 +6,6 @@ amr.blocking_factor = 8 amr.max_grid_size = 1024 amr.max_level = 0 -warpx.dump_plotfiles = 1 - # Geometry geometry.coord_sys = 0 # 0: Cartesian geometry.is_periodic = 0 0 # Is periodic? diff --git a/Examples/Tests/particles_in_PML/inputs_3d b/Examples/Tests/particles_in_PML/inputs_3d index a1bda17bc..97e60184a 100644 --- a/Examples/Tests/particles_in_PML/inputs_3d +++ b/Examples/Tests/particles_in_PML/inputs_3d @@ -6,8 +6,6 @@ amr.blocking_factor = 8 amr.max_grid_size = 1024 amr.max_level = 0 -warpx.dump_plotfiles = 1 - # Geometry geometry.coord_sys = 0 # 0: Cartesian geometry.is_periodic = 0 0 0 # Is periodic? diff --git a/Python/pywarpx/timestepper.py b/Python/pywarpx/timestepper.py index 3068cbc82..0e6846edd 100644 --- a/Python/pywarpx/timestepper.py +++ b/Python/pywarpx/timestepper.py @@ -66,8 +66,10 @@ class TimeStepper(object): max_time_reached = ((self.cur_time >= libwarpx.warpx_stopTime() - 1.e-6*dt) or (self.istep >= libwarpx.warpx_maxStep())) - if libwarpx.warpx_plotInt() > 0 and (self.istep+1)%libwarpx.warpx_plotInt() == 0 or max_time_reached: + if (libwarpx.warpx_plotInt() > 0 and (self.istep+1)%libwarpx.warpx_plotInt() == 0) or max_time_reached: libwarpx.warpx_WritePlotFile() + if (libwarpx.warpx_openpmdInt() > 0 and (self.istep+1)%libwarpx.warpx_openpmdInt() == 0) or max_time_reached: + libwarpx.warpx_WriteOpenPMDFile() if libwarpx.warpx_checkInt() > 0 and (self.istep+1)%libwarpx.warpx_plotInt() == 0 or max_time_reached: libwarpx.warpx_WriteCheckPointFile() diff --git a/Source/Diagnostics/FieldIO.cpp b/Source/Diagnostics/FieldIO.cpp index 9c38f1d68..130b0b256 100644 --- a/Source/Diagnostics/FieldIO.cpp +++ b/Source/Diagnostics/FieldIO.cpp @@ -2,7 +2,7 @@ #include #include #ifdef WARPX_USE_OPENPMD -#include +# include #endif #include diff --git a/Source/Diagnostics/WarpXIO.cpp b/Source/Diagnostics/WarpXIO.cpp index d7a46f7b7..b79a38a64 100644 --- a/Source/Diagnostics/WarpXIO.cpp +++ b/Source/Diagnostics/WarpXIO.cpp @@ -19,7 +19,7 @@ #endif #ifdef WARPX_USE_OPENPMD -#include "WarpXOpenPMD.H" +# include "WarpXOpenPMD.H" #endif @@ -499,45 +499,68 @@ WarpX::UpdateInSitu () const } void -WarpX::WritePlotFile () const -{ - BL_PROFILE("WarpX::WritePlotFile()"); - - const std::string& plotfilename = amrex::Concatenate(plot_file,istep[0]); - amrex::Print() << " Writing plotfile " << plotfilename << "\n"; - +WarpX::prepareFields( + int const step, + Vector& varnames, + Vector& mf_avg, + Vector& output_mf, + Vector& output_geom +) const { // Average the fields from the simulation grid to the cell centers const int ngrow = 0; - Vector varnames; // Name of the written fields - // mf_avg will contain the averaged, cell-centered fields - Vector mf_avg; WarpX::AverageAndPackFields( varnames, mf_avg, ngrow ); // Coarsen the fields, if requested by the user - Vector output_mf; // will point to the data to be written Vector coarse_mf; // will remain empty if there is no coarsening - Vector output_geom; if (plot_coarsening_ratio != 1) { coarsenCellCenteredFields( coarse_mf, output_geom, mf_avg, Geom(), - plot_coarsening_ratio, finest_level ); + plot_coarsening_ratio, finest_level ); output_mf = amrex::GetVecOfConstPtrs(coarse_mf); } else { // No averaging necessary, simply point to mf_avg output_mf = amrex::GetVecOfConstPtrs(mf_avg); output_geom = Geom(); } +} + +void +WarpX::WriteOpenPMDFile () const +{ + BL_PROFILE("WarpX::WriteOpenPMDFile()"); #ifdef WARPX_USE_OPENPMD - if (dump_openpmd) { - m_OpenPMDPlotWriter->SetStep(istep[0]); - // fields: only dumped for coarse level - m_OpenPMDPlotWriter->WriteOpenPMDFields( - varnames, *output_mf[0], output_geom[0], istep[0], t_new[0]); - // particles: all (reside only on locally finest level) - m_OpenPMDPlotWriter->WriteOpenPMDParticles(mypc); - } + const auto step = istep[0]; + + Vector varnames; // Name of the written fields + Vector mf_avg; // contains the averaged, cell-centered fields + Vector output_mf; // will point to the data to be written + Vector output_geom; + + prepareFields(step, varnames, mf_avg, output_mf, output_geom); + + m_OpenPMDPlotWriter->SetStep(step); + // fields: only dumped for coarse level + m_OpenPMDPlotWriter->WriteOpenPMDFields( + varnames, *output_mf[0], output_geom[0], step, t_new[0]); + // particles: all (reside only on locally finest level) + m_OpenPMDPlotWriter->WriteOpenPMDParticles(mypc); #endif +} + +void +WarpX::WritePlotFile () const +{ + BL_PROFILE("WarpX::WritePlotFile()"); - if (dump_plotfiles) { + const auto step = istep[0]; + const std::string& plotfilename = amrex::Concatenate(plot_file,step); + amrex::Print() << " Writing plotfile " << plotfilename << "\n"; + + Vector varnames; // Name of the written fields + Vector mf_avg; // contains the averaged, cell-centered fields + Vector output_mf; // will point to the data to be written + Vector output_geom; + + prepareFields(step, varnames, mf_avg, output_mf, output_geom); // Write the fields contained in `mf_avg`, and corresponding to the // names `varnames`, into a plotfile. @@ -620,18 +643,13 @@ WarpX::WritePlotFile () const } } - // leaving the option of binary output through AMREx around - // regardless of openPMD. This can be adjusted later - { - mypc->WritePlotFile(plotfilename); - } + mypc->WritePlotFile(plotfilename); WriteJobInfo(plotfilename); WriteWarpXHeader(plotfilename); VisMF::SetHeaderVersion(current_version); - } // endif: dump_plotfiles } diff --git a/Source/Diagnostics/WarpXOpenPMD.cpp b/Source/Diagnostics/WarpXOpenPMD.cpp index ed2bf8020..40ce08d4b 100644 --- a/Source/Diagnostics/WarpXOpenPMD.cpp +++ b/Source/Diagnostics/WarpXOpenPMD.cpp @@ -90,7 +90,19 @@ WarpXOpenPMDPlot::WarpXOpenPMDPlot(bool oneFilePerTS, m_OneFilePerTS(oneFilePerTS), m_OpenPMDFileType(std::move(openPMDFileType)), m_fieldPMLdirections(std::move(fieldPMLdirections)) -{} +{ + // pick first available backend if default is chosen + if( m_OpenPMDFileType == "default" ) +#if openPMD_HAVE_ADIOS1==1 + m_OpenPMDFileType = "bp"; +#elif openPMD_HAVE_ADIOS2==1 + m_OpenPMDFileType = "bp"; +#elif openPMD_HAVE_HDF5==1 + m_OpenPMDFileType = "h5"; +#else + m_OpenPMDFileType = "json"; +#endif +} WarpXOpenPMDPlot::~WarpXOpenPMDPlot() { diff --git a/Source/Evolve/WarpXEvolveEM.cpp b/Source/Evolve/WarpXEvolveEM.cpp index 1cb17287b..428e06780 100644 --- a/Source/Evolve/WarpXEvolveEM.cpp +++ b/Source/Evolve/WarpXEvolveEM.cpp @@ -146,7 +146,8 @@ WarpX::EvolveEM (int numsteps) cur_time += dt[0]; - bool to_make_plot = (plot_int > 0) && ((step+1) % plot_int == 0); + bool to_make_plot = ( (plot_int > 0) && ((step+1) % plot_int == 0) ); + bool to_write_openPMD = ( (openpmd_int > 0) && ((step+1) % openpmd_int == 0) ); // slice generation // bool to_make_slice_plot = (slice_plot_int > 0) && ( (step+1)% slice_plot_int == 0); @@ -162,7 +163,7 @@ WarpX::EvolveEM (int numsteps) myBFD->writeLabFrameData(cell_centered_data.get(), *mypc, geom[0], cur_time, dt[0]); } - bool move_j = is_synchronized || to_make_plot || do_insitu; + bool move_j = is_synchronized || to_make_plot || to_write_openPMD || do_insitu; // If is_synchronized we need to shift j too so that next step we can evolve E by dt/2. // We might need to move j because we are going to make a plotfile. @@ -196,7 +197,7 @@ WarpX::EvolveEM (int numsteps) } // slice gen // - if (to_make_plot || do_insitu || to_make_slice_plot) + if (to_make_plot || to_write_openPMD || do_insitu || to_make_slice_plot) { // This is probably overkill, but it's not called often FillBoundaryE(guard_cells.ng_alloc_EB, guard_cells.ng_Extra); @@ -219,6 +220,8 @@ WarpX::EvolveEM (int numsteps) if (to_make_plot) WritePlotFile(); + if (to_write_openPMD) + WriteOpenPMDFile(); if (to_make_slice_plot) { @@ -250,11 +253,12 @@ WarpX::EvolveEM (int numsteps) bool write_plot_file = plot_int > 0 && istep[0] > last_plot_file_step && (max_time_reached || istep[0] >= max_step); + bool write_openPMD = openpmd_int > 0 && (max_time_reached || istep[0] >= max_step); bool do_insitu = (insitu_start >= istep[0]) && (insitu_int > 0) && (istep[0] > last_insitu_step) && (max_time_reached || istep[0] >= max_step); - if (write_plot_file || do_insitu) + if (write_plot_file || write_openPMD || do_insitu) { // This is probably overkill, but it's not called often FillBoundaryE(guard_cells.ng_alloc_EB, guard_cells.ng_Extra); @@ -276,6 +280,8 @@ WarpX::EvolveEM (int numsteps) if (write_plot_file) WritePlotFile(); + if (write_openPMD) + WriteOpenPMDFile(); if (do_insitu) UpdateInSitu(); diff --git a/Source/Initialization/WarpXInitData.cpp b/Source/Initialization/WarpXInitData.cpp index 48c30ae93..998e654c9 100644 --- a/Source/Initialization/WarpXInitData.cpp +++ b/Source/Initialization/WarpXInitData.cpp @@ -74,6 +74,9 @@ WarpX::InitData () if (plot_int > 0) WritePlotFile(); + if (openpmd_int > 0) + WriteOpenPMDFile(); + if (check_int > 0) WriteCheckPointFile(); diff --git a/Source/Python/WarpXWrappers.cpp b/Source/Python/WarpXWrappers.cpp index e72d467d7..0be59b765 100644 --- a/Source/Python/WarpXWrappers.cpp +++ b/Source/Python/WarpXWrappers.cpp @@ -404,6 +404,11 @@ extern "C" return warpx.plotInt (); } + int warpx_openpmdInt () { + WarpX& warpx = WarpX::GetInstance(); + return warpx.openpmdInt (); + } + void warpx_WriteCheckPointFile () { WarpX& warpx = WarpX::GetInstance(); warpx.WriteCheckPointFile (); @@ -412,6 +417,10 @@ extern "C" WarpX& warpx = WarpX::GetInstance(); warpx.WritePlotFile (); } + void warpx_WriteOpenPMDFile () { + WarpX& warpx = WarpX::GetInstance(); + warpx.WriteOpenPMDFile (); + } int warpx_finestLevel () { WarpX& warpx = WarpX::GetInstance(); diff --git a/Source/Python/WarpXWrappers.h b/Source/Python/WarpXWrappers.h index 4de885b88..d0be87402 100644 --- a/Source/Python/WarpXWrappers.h +++ b/Source/Python/WarpXWrappers.h @@ -95,9 +95,11 @@ extern "C" { int warpx_checkInt (); int warpx_plotInt (); + int warpx_openpmdInt (); void warpx_WriteCheckPointFile (); void warpx_WritePlotFile (); + void warpx_WriteOpenPMDFile (); int warpx_finestLevel (); diff --git a/Source/WarpX.H b/Source/WarpX.H index 1549dded2..4bba89454 100644 --- a/Source/WarpX.H +++ b/Source/WarpX.H @@ -33,7 +33,7 @@ #endif #ifdef WARPX_USE_OPENPMD -#include +# include #endif #include @@ -277,12 +277,18 @@ public: int checkInt () const {return check_int;} int plotInt () const {return plot_int;} + int openpmdInt () const {return openpmd_int;} void WriteCheckPointFile () const; + void WriteOpenPMDFile () const; void WritePlotFile () const; void UpdateInSitu () const; void AverageAndPackFields( amrex::Vector& varnames, amrex::Vector& mf_avg, const int ngrow) const; + void prepareFields( int const step, amrex::Vector& varnames, + amrex::Vector& mf_avg, + amrex::Vector& output_mf, + amrex::Vector& output_geom ) const; void WritePlotFileES(const amrex::Vector >& rho, const amrex::Vector >& phi, @@ -628,18 +634,13 @@ private: int check_int = -1; int plot_int = -1; - std::string openpmd_backend {"bp"}; + std::string openpmd_backend {"default"}; + int openpmd_int = -1; + bool openpmd_tspf = true; //!< one file per timestep (or one file for all steps) #ifdef WARPX_USE_OPENPMD - bool dump_plotfiles = false; - bool dump_openpmd = true; - bool openpmd_tspf = true; // one file per timestep - //bool openpmd_tspf = false; // one file all timesteps WarpXOpenPMDPlot* m_OpenPMDPlotWriter = nullptr; - -#else - bool dump_plotfiles = true; - bool dump_openpmd = false; #endif + bool plot_rho = false; bool plot_costs = true; bool plot_finepatch = false; diff --git a/Source/WarpX.cpp b/Source/WarpX.cpp index 5f6f2b2e5..bf0cdd5b5 100644 --- a/Source/WarpX.cpp +++ b/Source/WarpX.cpp @@ -466,12 +466,11 @@ WarpX::ReadParameters () amrex::Abort("J-damping can only be done when PML are inside simulation domain (do_pml_in_domain=1)"); } - pp.query("dump_openpmd", dump_openpmd); + pp.query("openpmd_int", openpmd_int); pp.query("openpmd_backend", openpmd_backend); #ifdef WARPX_USE_OPENPMD pp.query("openpmd_tspf", openpmd_tspf); #endif - pp.query("dump_plotfiles", dump_plotfiles); pp.query("plot_costs", plot_costs); pp.query("plot_raw_fields", plot_raw_fields); pp.query("plot_raw_fields_guards", plot_raw_fields_guards); -- cgit v1.2.3