aboutsummaryrefslogtreecommitdiff
path: root/Python
diff options
context:
space:
mode:
Diffstat (limited to 'Python')
-rw-r--r--Python/pywarpx/Algo.py6
-rw-r--r--Python/pywarpx/Amr.py6
-rw-r--r--Python/pywarpx/Bucket.py7
-rw-r--r--Python/pywarpx/Constants.py6
-rw-r--r--Python/pywarpx/Geometry.py6
-rw-r--r--Python/pywarpx/Interpolation.py6
-rw-r--r--Python/pywarpx/Langmuirwave.py6
-rw-r--r--Python/pywarpx/Lasers.py6
-rw-r--r--Python/pywarpx/PGroup.py6
-rw-r--r--Python/pywarpx/Particles.py6
-rw-r--r--Python/pywarpx/WarpInterface.py6
-rw-r--r--Python/pywarpx/WarpX.py7
-rw-r--r--Python/pywarpx/WarpXPIC.py6
-rw-r--r--Python/pywarpx/__init__.py6
-rwxr-xr-xPython/pywarpx/_libwarpx.py7
-rw-r--r--Python/pywarpx/callbacks.py6
-rw-r--r--Python/pywarpx/fields.py6
-rw-r--r--Python/pywarpx/picmi.py8
-rw-r--r--Python/pywarpx/timestepper.py7
-rw-r--r--Python/pywarpx/wx.py6
-rw-r--r--Python/setup.py8
21 files changed, 134 insertions, 0 deletions
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
"""