Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
83 commits
Select commit Hold shift + click to select a range
72e83a2
removing old vector potential solver to clean up base before particle…
cwoolfo1 Jun 25, 2026
37a398d
starting to implement the tiled particles
cwoolfo1 Jun 25, 2026
3f98629
migrating to tiled particles and fields
cwoolfo1 Jun 26, 2026
3445d8e
implementing tiled pml
cwoolfo1 Jun 26, 2026
bd958e3
expanding tiled particles boundary condition
cwoolfo1 Jun 26, 2026
f7cd423
completing tasks 1 and 2 of migration plan
cwoolfo1 Jun 26, 2026
f5749e6
implmenting task 4
cwoolfo1 Jun 26, 2026
d926da3
implementing tasks 3 and 5
cwoolfo1 Jun 26, 2026
abb7258
implement task 7
cwoolfo1 Jun 26, 2026
17771f4
implemented task 8 and removed spectral solvers for leaner codebase
cwoolfo1 Jun 26, 2026
c14ea29
implemented task 9
cwoolfo1 Jun 26, 2026
15738fe
attempting to fix direct deposition
cwoolfo1 Jun 26, 2026
b0c0980
testing tiled particle deposition
cwoolfo1 Jun 26, 2026
3284814
running long two stream test
cwoolfo1 Jun 26, 2026
e593434
getting rid of halfstep back logic bug in electrostatic yee
cwoolfo1 Jun 26, 2026
861db43
validated electrostatic tiled solver
cwoolfo1 Jun 26, 2026
4a8dbdd
generalizing guard cell handling to incorporate larger numbers of gau…
cwoolfo1 Jun 27, 2026
892afb5
implementing a tiled esirkepov current
cwoolfo1 Jun 27, 2026
1c07cb9
working on finishing task 0
cwoolfo1 Jun 28, 2026
32dd054
generalizing tile code to work with arbitrary numbers of guard cells
cwoolfo1 Jun 30, 2026
dbec8ce
using species metadata structure in addition to tiled particles
cwoolfo1 Jun 30, 2026
4ec6aaf
using a tiled grid structure instead of computing tiled axes in real …
cwoolfo1 Jun 30, 2026
c91989d
refactoring and defaulting to 2 guard cells unless specified
cwoolfo1 Jun 30, 2026
1cc74d8
refactoring tiled particle refresh to take into account single cell p…
cwoolfo1 Jul 1, 2026
c199719
refactoring esirkepov tiled deposition
cwoolfo1 Jul 1, 2026
1e549a1
refactoring esirkepov quasi-dimensional weight computation and the st…
cwoolfo1 Jul 1, 2026
61ae630
refactoring tiled particles
cwoolfo1 Jul 1, 2026
33f024d
finished tasks 0 and 1
cwoolfo1 Jul 1, 2026
cf761c6
migrating codebase to tiled fields and particles for sharding/paralle…
cwoolfo1 Jul 1, 2026
2d6484a
finishing up tasks 2-5, 7, and 8
cwoolfo1 Jul 1, 2026
57da22a
finishing migration towards complete tiling
cwoolfo1 Jul 1, 2026
687f4df
refactoring tiled particle logic
cwoolfo1 Jul 1, 2026
8c6d402
remove global tile reference methods
cwoolfo1 Jul 1, 2026
d1e3e46
refactoring direct deposition current
cwoolfo1 Jul 3, 2026
53f9cb0
refactoring the esirkepov current density
cwoolfo1 Jul 3, 2026
1562cb3
refactoring unit tests for esirkepov refactor
cwoolfo1 Jul 3, 2026
1f41275
updating tiled charge density calculation
cwoolfo1 Jul 3, 2026
49a2549
refactoring evolve loop
cwoolfo1 Jul 4, 2026
333ab7c
starting to refactor yee evolution
cwoolfo1 Jul 4, 2026
c248e3a
remove computation of tiled grid redundant
cwoolfo1 Jul 4, 2026
4a96639
Refactoring grid computation
cwoolfo1 Jul 4, 2026
73702b4
refactoring code
cwoolfo1 Jul 4, 2026
51777d0
refactoring tiling
cwoolfo1 Jul 4, 2026
55ae2c2
refactoring ghost cell logic
cwoolfo1 Jul 4, 2026
4ff9d76
moving electrostatic yee to a global tile
cwoolfo1 Jul 5, 2026
6fc0a95
refactoring yee methods
cwoolfo1 Jul 5, 2026
2b3bb4c
migrating tiled pusher and refactoring
cwoolfo1 Jul 5, 2026
cb07e79
refactoring
cwoolfo1 Jul 5, 2026
7304f74
refactoring and removing deprecated code
cwoolfo1 Jul 5, 2026
753decb
completely removing old particle species class
cwoolfo1 Jul 5, 2026
7ea2232
refactoring particle initialization
cwoolfo1 Jul 5, 2026
6a339b6
refactoring default initializations
cwoolfo1 Jul 5, 2026
5b7ed38
fixing bug
cwoolfo1 Jul 6, 2026
18c1f8a
refactoring weibel instability
cwoolfo1 Jul 6, 2026
d6895f5
refactoring code
cwoolfo1 Jul 6, 2026
573ede0
removing deprecated vtk plotting
cwoolfo1 Jul 6, 2026
1f7720f
migrating towards tiled field writer for openPMD
cwoolfo1 Jul 6, 2026
2ccb9c9
refactoring async_writer
cwoolfo1 Jul 6, 2026
c99352f
now using asnyc computation for particles
cwoolfo1 Jul 6, 2026
c7c418c
serializing async writer for particle and fields openPMD tiled.
cwoolfo1 Jul 6, 2026
344a173
fixing tiled particle initialization
cwoolfo1 Jul 7, 2026
57eb992
refactoring ghost cells test
cwoolfo1 Jul 8, 2026
59a3648
refactoring evolve test
cwoolfo1 Jul 8, 2026
b18bd85
removing deprecated tests
cwoolfo1 Jul 8, 2026
e400bb2
refactoring direct deposition unit-tests
cwoolfo1 Jul 8, 2026
b1044c5
fixing issue with cfl condition
cwoolfo1 Jul 8, 2026
d51397f
refactoring and restructuring unit tests
cwoolfo1 Jul 9, 2026
9be8c7d
refactoring and commenting grid and stencil test
cwoolfo1 Jul 9, 2026
8dfb59c
commenting and reviewing initialization test
cwoolfo1 Jul 9, 2026
07d4a8b
refactoring openPMD writing tests
cwoolfo1 Jul 9, 2026
af2974b
refactoring and reviewing new esirkepov unittest
cwoolfo1 Jul 9, 2026
456aad3
updating code tests
cwoolfo1 Jul 14, 2026
e67519d
testing initial particle and pml helpers
cwoolfo1 Jul 14, 2026
6815ea7
updating and testing convergence of the yee grid
cwoolfo1 Jul 14, 2026
8ee5403
refactoring electrostatic unit tests
cwoolfo1 Jul 14, 2026
93b8baf
updating demo to include tiling parameters
cwoolfo1 Jul 14, 2026
9498fab
updating unit testing workflow for github to reflect unit test restru…
cwoolfo1 Jul 14, 2026
80079ce
updating unit testing workflows
cwoolfo1 Jul 14, 2026
a879639
removing deprecated method
cwoolfo1 Jul 14, 2026
b36f948
updating actions for faster testing
cwoolfo1 Jul 14, 2026
0b64cd9
going back to unit test
cwoolfo1 Jul 14, 2026
efe8c32
just doing code tests for right now due to resource limits
cwoolfo1 Jul 14, 2026
fbd0f6d
switching to self-hosted runners
cwoolfo1 Jul 14, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[run]
source =
PyPIC3D/PyPIC3D
omit =
PyPIC3D/tests/*
tests/*
*/__pycache__/*

[report]
skip_empty = True
show_missing = True
6 changes: 3 additions & 3 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
test-coverage:
runs-on: ubuntu-latest
runs-on: self-hosted
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand All @@ -22,11 +22,11 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install .
pip install pytest coverage
pip install coverage

- name: Run tests with coverage
run: |
coverage run -m pytest
coverage run -m unittest tests/code_tests/*.py
coverage xml

- name: Upload coverage report
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/unit_testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ permissions:
jobs:
build:

runs-on: ubuntu-latest
runs-on: self-hosted

steps:
- uses: actions/checkout@v4
Expand All @@ -27,4 +27,4 @@ jobs:
pip install .
- name: Test with unittest
run: |
python -m unittest tests/*.py
python -m unittest tests/code_tests/*.py tests/physics_tests/*.py
8 changes: 0 additions & 8 deletions PyPIC3D/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,14 @@
import matplotlib.pyplot as plt
# import external libraries

from . import errors
from . import initialization
from . import utils
from . import boris
from . import pusher
from . import evolve

from .solvers import vector_potential
from .solvers import pstd
from .solvers import fdtd
from .solvers import first_order_yee
from .solvers import electrostatic_yee

from .particles import particle_initialization
from .particles import species_class

from .deposition import shapes
from .deposition import Esirkepov
Expand All @@ -30,7 +23,6 @@
from .diagnostics import plotting
from .diagnostics import fluid_quantities
from .diagnostics import openPMD
from .diagnostics import vtk

from .boundary_conditions import boundaryconditions
from .boundary_conditions import grid_and_stencil
Loading
Loading