Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add: MultiFabRegister #5230

Merged
merged 385 commits into from
Sep 24, 2024
Merged
Show file tree
Hide file tree
Changes from 250 commits
Commits
Show all changes
385 commits
Select commit Hold shift + click to select a range
71fa567
Remove current_fp
RemiLehe Sep 11, 2024
8260729
Fix: FFT/PSATD RZ
ax3l Sep 11, 2024
f454920
Remove current_fp
RemiLehe Sep 11, 2024
256ce1e
Merge branch 'hackathon-field-register' of github.com:ax3l/WarpX into…
RemiLehe Sep 11, 2024
8d86875
removed Bfield_fp_external and Efield_fp_external from field type and…
marcoacc95 Sep 11, 2024
c91ef0b
`va2vm` for scalars
ax3l Sep 11, 2024
edb9954
Merge branch 'hackathon-field-register' of https://github.com/ax3l/Wa…
marcoacc95 Sep 11, 2024
5fe95f7
`a2m` helper: old vector field to `VectorField`
ax3l Sep 11, 2024
c7ff749
Merge branch 'hackathon-field-register' of https://github.com/ax3l/Wa…
marcoacc95 Sep 11, 2024
a130cb0
Efield_fp refactor WarpXRegrid and QED
JustinRayAngus Sep 11, 2024
9e11ccc
Efield_fp refactor HybridPICModel
JustinRayAngus Sep 11, 2024
4663126
Efield_fp refactor WarpXMovingWindow
JustinRayAngus Sep 11, 2024
07d21b3
Efield_cp refactor WarpXComm and WarpXMovingWindow.
JustinRayAngus Sep 11, 2024
07bb54f
Efield_fp and Efield_cp refactor of PSATDBackwardTransformEB
JustinRayAngus Sep 11, 2024
7262b46
Efield_fp and Efield_cp refactor of PSATDForwardTransformEB
JustinRayAngus Sep 11, 2024
bccd752
fixed merge issue.
JustinRayAngus Sep 11, 2024
bd75464
Efield_fp refactor of EvolveE and EvolveB. Implicit usage commented o…
JustinRayAngus Sep 11, 2024
148d6c5
Remove current_buf
RemiLehe Sep 11, 2024
98a4d96
Merge branch 'hackathon-field-register' of github.com:ax3l/WarpX into…
RemiLehe Sep 11, 2024
fea7ed8
Move `charge_buf` to MultiFab map
EZoni Sep 11, 2024
9e96279
adding current_store to m_fields register
marcoacc95 Sep 11, 2024
91894bc
Merge branch 'hackathon-field-register' of https://github.com/ax3l/Wa…
marcoacc95 Sep 11, 2024
b4db222
Merge branch 'hackathon-field-register' of github.com:ax3l/WarpX into…
RemiLehe Sep 11, 2024
cefb814
fix merge conflict
lucafedeli88 Sep 11, 2024
ca99dc9
fix merge conflict
lucafedeli88 Sep 11, 2024
f28b2ef
fix merge conflict
lucafedeli88 Sep 11, 2024
5a3e7ea
fix merge conflict
lucafedeli88 Sep 11, 2024
bcfa040
continue work to use field record for edge_lengths
lucafedeli88 Sep 11, 2024
db976cf
fix merge conflict
lucafedeli88 Sep 11, 2024
c101fd7
Fix conflicts
RemiLehe Sep 11, 2024
8dbe6a3
Merge branch 'hackathon-field-register' of github.com:ax3l/WarpX into…
RemiLehe Sep 11, 2024
5534916
fix issue
lucafedeli88 Sep 11, 2024
716d958
`Efield_cax` & `Bfield_cax`
ax3l Sep 11, 2024
ef36cbe
Merge branch 'hackathon-field-register' of https://github.com/ax3l/Wa…
marcoacc95 Sep 11, 2024
a928cb1
Some RZ Updates (EvolveE/B root needs update first)
ax3l Sep 11, 2024
a41a072
Merge branch 'hackathon-field-register' of https://github.com/ax3l/Wa…
marcoacc95 Sep 11, 2024
2308972
Merge branch 'hackathon-field-register' of github.com:ax3l/WarpX into…
RemiLehe Sep 11, 2024
13525fc
Merge branch 'hackathon-field-register' of github.com:ax3l/WarpX into…
RemiLehe Sep 11, 2024
2ac3cc2
Merge branch 'hackathon-field-register' of https://github.com/ax3l/Wa…
marcoacc95 Sep 11, 2024
02da32d
added current_store to m_fields
marcoacc95 Sep 11, 2024
7e2d96f
Fix EB compilation
RemiLehe Sep 12, 2024
b527a25
add external E/B particle fields to new field register
lucafedeli88 Sep 11, 2024
a434195
cleanup
lucafedeli88 Sep 12, 2024
1a65e78
cleanup
lucafedeli88 Sep 12, 2024
dda73bc
Merge branch 'hackathon-field-register' of https://github.com/ax3l/Wa…
marcoacc95 Sep 12, 2024
93304d2
Change 1
dpgrote Sep 11, 2024
e96d034
Chage 2
dpgrote Sep 11, 2024
2d9a600
Change 3
dpgrote Sep 12, 2024
f9dfc8d
Change 4
dpgrote Sep 11, 2024
822390e
Remove current_fp
RemiLehe Sep 12, 2024
a975520
Merge branch 'hackathon-field-register' of github.com:ax3l/WarpX into…
RemiLehe Sep 12, 2024
9633ea8
Fix compilation
RemiLehe Sep 12, 2024
cfaaa64
Fix Bfield
RemiLehe Sep 12, 2024
c838e87
Efield_fp refactor for implicit solvers.
JustinRayAngus Sep 11, 2024
da5b265
Efield_fp refactor complete
JustinRayAngus Sep 11, 2024
c5f3829
removed Bfield_fp from WarpX.cpp
JustinRayAngus Sep 12, 2024
ec9e34a
update Bfield_fp in WarpXImplicitOps
JustinRayAngus Sep 12, 2024
912abbf
Fix compilation
RemiLehe Sep 12, 2024
4013ea4
Merge branch 'hackathon-field-register' of github.com:ax3l/WarpX into…
RemiLehe Sep 12, 2024
70e08ac
Merge branch 'hackathon-field-register' of https://github.com/ax3l/Wa…
marcoacc95 Sep 12, 2024
396f0b0
change ref to const ref.
JustinRayAngus Sep 12, 2024
dd4a0a3
Remove Efield_cp, Bfield_cp
RemiLehe Sep 12, 2024
c8f3177
Merge branch 'hackathon-field-register' of github.com:ax3l/WarpX into…
RemiLehe Sep 12, 2024
5b90680
Remove Unused `_slice` MultiFabs.
ax3l Sep 12, 2024
b56bedf
Remove Efield_cp, Bfield_cp
RemiLehe Sep 12, 2024
e840868
Remove getFieldPointerUnchecked
RemiLehe Sep 12, 2024
5e82001
Remove isFieldInitialized
RemiLehe Sep 12, 2024
4290c0c
Magnetostatic Solver
ax3l Sep 12, 2024
40f7fe6
add area_mod to new field register
lucafedeli88 Sep 12, 2024
88da1e2
Re-introduce getFieldPointerArray
RemiLehe Sep 12, 2024
30e21b1
Merge branch 'hackathon-field-register' of github.com:ax3l/WarpX into…
RemiLehe Sep 12, 2024
bc72939
Fix Bugs: `mf_name(name, dir, level)` Init/Alias
ax3l Sep 12, 2024
24663d1
Merge branch 'hackathon-field-register' of github.com:ax3l/WarpX into…
RemiLehe Sep 12, 2024
a9e05af
Fix RZ error
RemiLehe Sep 12, 2024
17bc457
Cleanup
RemiLehe Sep 12, 2024
1259662
Fix SegFault for Efield_fp
RemiLehe Sep 12, 2024
7dc206c
Use ignore_unused
RemiLehe Sep 12, 2024
7a22fd5
Avoid calling get for fields that do not exist
RemiLehe Sep 12, 2024
c076b0c
Temporary solution: return nullpointer when field is not registered
RemiLehe Sep 12, 2024
e0dc73d
Fix bug when outputting the fields
RemiLehe Sep 12, 2024
c015421
Correct typo in output
RemiLehe Sep 12, 2024
e6fbb4f
Fix bug for vay deposition
RemiLehe Sep 12, 2024
3c43d11
Merge branch 'development' into hackathon-field-register
RemiLehe Sep 12, 2024
9f88e83
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 12, 2024
771ec1a
`MultiFabRegister::alias_init`: Check Alias Exists
ax3l Sep 12, 2024
6233de4
Fix typo in moving window
RemiLehe Sep 12, 2024
d5e6958
Merge branch 'hackathon-field-register' of github.com:ax3l/WarpX into…
RemiLehe Sep 12, 2024
e198bd8
use multifabregister for ECTRhofield
lucafedeli88 Sep 12, 2024
f243375
Intermediate refactoring of ImplicitSolvers. getFieldPointerArray() r…
JustinRayAngus Sep 12, 2024
bf6b5d3
Add Python bindings
EZoni Sep 12, 2024
fe37f92
add Venl to field register
lucafedeli88 Sep 12, 2024
b5cfcc0
Fix J functor
RemiLehe Sep 12, 2024
4de536b
Update J functor
RemiLehe Sep 12, 2024
48ab69c
Add Python bindings
EZoni Sep 12, 2024
77af691
Merge branch 'hackathon-field-register' of github.com:ax3l/WarpX into…
RemiLehe Sep 12, 2024
a2ad435
Fix PML initialization
RemiLehe Sep 12, 2024
e25d806
Add `py::arg` helper names to Python bindings
EZoni Sep 12, 2024
8c2b8e1
Fix typo
RemiLehe Sep 12, 2024
8b57465
Merge branch 'hackathon-field-register' of github.com:ax3l/WarpX into…
RemiLehe Sep 12, 2024
0a474f8
Use new accessor for getField
RemiLehe Sep 12, 2024
84b8ec6
Correct MR typo
RemiLehe Sep 12, 2024
0b1b2a3
Fix another typo in MR
RemiLehe Sep 12, 2024
f1e156d
added distance_to_eb
lucafedeli88 Sep 12, 2024
cbfa415
Fix bug in allocation of `Efield_cax`
EZoni Sep 12, 2024
84db054
refactoring Bold in implicitSolvers to work with new format.
JustinRayAngus Sep 12, 2024
ca52cf3
setDotMask working with new format.
JustinRayAngus Sep 12, 2024
d184a42
removed getMultiLevelField from WarpX.H
JustinRayAngus Sep 12, 2024
00b6c63
`MultiFabRegister`: Start `const`-Correctness
ax3l Sep 12, 2024
c22e37e
`MultiFabRegister`: Complete `const`-Correctness
ax3l Sep 12, 2024
58d1e22
`const`-Correctness: Unbreak Python :)
ax3l Sep 12, 2024
f6c30b6
Fix MR bug
RemiLehe Sep 12, 2024
7e15d81
Merge branch 'hackathon-field-register' of github.com:ax3l/WarpX into…
RemiLehe Sep 12, 2024
87392b0
Updates for Python fields wrapper class
dpgrote Sep 12, 2024
abcb087
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 12, 2024
16cff54
Fix typo
RemiLehe Sep 12, 2024
b0ca2f5
Merge branch 'hackathon-field-register' of github.com:ax3l/WarpX into…
RemiLehe Sep 12, 2024
2397d98
Fix another typo
RemiLehe Sep 12, 2024
0202ebc
removing getField FlushFormatPlotFile.
JustinRayAngus Sep 12, 2024
47f51b7
removed getField and getFieldPointer funs from WarpX.
JustinRayAngus Sep 12, 2024
153aaa2
removing unused names form Fields namespace.
JustinRayAngus Sep 12, 2024
92829f6
restoring const declaration to SetDotMask
JustinRayAngus Sep 12, 2024
088f413
Fix another typo
RemiLehe Sep 12, 2024
27de140
Merge branch 'hackathon-field-register' of github.com:ax3l/WarpX into…
RemiLehe Sep 12, 2024
4dc9bb0
Edoardo: Fix PML copy `Efield_fp`
ax3l Sep 13, 2024
cdbb3ad
Fix NullifyMF
dpgrote Sep 13, 2024
830a2be
Fix: Edoardo B->E Copy Paste
ax3l Sep 13, 2024
0e831f5
MultiFabRegister: Handle !Remake
ax3l Sep 13, 2024
a0a609a
Fix allocation for ECT solver
RemiLehe Sep 13, 2024
f6c314a
Efield_fp_new moved back to Efield_fp
JustinRayAngus Sep 13, 2024
396a035
Fix bug when alias is being redistributed
RemiLehe Sep 13, 2024
29bdf42
Fix RZ field functor
RemiLehe Sep 13, 2024
a5592be
Update PMLs
ax3l Sep 13, 2024
8b73153
Fix RZ Warnings
ax3l Sep 13, 2024
e7c3713
Start Reworking Evolve/Sync Calls
ax3l Sep 13, 2024
893c79c
LWFA 3D: Passes with Register on Throw
ax3l Sep 13, 2024
edb9be6
PML: DivE/B Cleaning
ax3l Sep 13, 2024
bc6d333
More DivE/DivB Cleaning
ax3l Sep 13, 2024
dc970b8
Fix compilation
RemiLehe Sep 13, 2024
3e779f3
Allow traceback and CI test
RemiLehe Sep 13, 2024
c4fff15
Fix MR test
RemiLehe Sep 13, 2024
95a61a3
Cleanup: remove ConstMap
RemiLehe Sep 13, 2024
1e426f5
Cleanup: remove ConstMap
RemiLehe Sep 13, 2024
73a0673
Fix divE cleaning in PML
RemiLehe Sep 13, 2024
55fb4fd
Some code cleanup
RemiLehe Sep 13, 2024
9a6fdee
Fix MR bug
RemiLehe Sep 13, 2024
376d16c
change vector_potential_fp to vector_potential_fp_nodal
lucafedeli88 Sep 13, 2024
c75b2c1
WarpX Bucket: Regex Raw String
ax3l Sep 13, 2024
fe8ba67
avoid relying on nullptr MF pointers for Bfield_avg_fp and Efield_avg_fp
lucafedeli88 Sep 13, 2024
f1b448e
PICMI Tests: A few Warnings
ax3l Sep 13, 2024
e42b8c4
PICMI debugging
RemiLehe Sep 13, 2024
321c0ca
Merge branch 'hackathon-field-register' of github.com:ax3l/WarpX into…
RemiLehe Sep 13, 2024
b6f274c
Update for pml and remove old multifab_map reference
dpgrote Sep 13, 2024
616fb33
Add register to fluid container (#9)
marcoacc95 Sep 13, 2024
bcd8a12
HybridPICModel: Register MultiFabs
ax3l Sep 13, 2024
019e4ed
HybridPICModel: Rename MultiFabs
ax3l Sep 13, 2024
a352563
HybridPIC: Remove ClearLevel
ax3l Sep 13, 2024
c24fb1f
Register: Update name in erase error message
ax3l Sep 13, 2024
c595a39
Remove end-of-line spaces in fluid code
dpgrote Sep 13, 2024
227a979
Merge remote-tracking branch 'mainline/development' into hackathon-fi…
ax3l Sep 13, 2024
d63c10f
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 13, 2024
aae5faa
`WarpXPushFieldsEM`: Clean Unused Vars
ax3l Sep 13, 2024
66009ee
Remove unused variable
dpgrote Sep 13, 2024
9bc9847
Merge branch 'development' into hackathon-field-register
RemiLehe Sep 14, 2024
9c7a3cf
Reconcile ES code with register code
RemiLehe Sep 14, 2024
8f3b973
Rename m_fluids to fluids in FluidContainer functions
RemiLehe Sep 14, 2024
1886812
Convert PML_RZ multifabs
dpgrote Sep 16, 2024
1a42aa5
Small cleanup in PML with moving window
dpgrote Sep 16, 2024
ac4c6e4
Use [[nodiscard]] in MultiFabRegister.H
dpgrote Sep 16, 2024
ead8a57
Fix for nodiscard
dpgrote Sep 16, 2024
4fe6127
Clean up errors from clang tidy
dpgrote Sep 16, 2024
f4bcea5
`MultiFabRegister`: More Doxygen Strings
ax3l Sep 17, 2024
fc9cc97
`MultiFabRegister`: Clang-Tidy
ax3l Sep 17, 2024
75187c7
address clang-tidy issues
lucafedeli88 Sep 17, 2024
7f1a047
address branch-clone issue
lucafedeli88 Sep 17, 2024
01e6f63
Fix typo in moving window
RemiLehe Sep 17, 2024
5c9f9ba
Use more uniform style in the moving window code
RemiLehe Sep 17, 2024
b43adaa
Correct typo
RemiLehe Sep 17, 2024
fe87f93
fix clang-tidy issues
lucafedeli88 Sep 17, 2024
35fa396
Fix typo bugs in `WarpX::InitFromCheckpoint`
EZoni Sep 17, 2024
2687d31
Fix typo bug in `MultiParticleContainer::Evolve`
EZoni Sep 17, 2024
a5a9895
Fix EvolvE for F_fp
dpgrote Sep 17, 2024
006db81
Fix typos in HybridPICModel
dpgrote Sep 17, 2024
cf86694
Fix typo bugs for averaged fields
EZoni Sep 17, 2024
0615220
Fix typo bugs for averaged fields (coarse patch)
EZoni Sep 17, 2024
020088c
Remove redundant using-directive
EZoni Sep 18, 2024
e0eb5bc
Fix clang-tidy error
EZoni Sep 18, 2024
c5571bd
Fix clang-tidy error
EZoni Sep 18, 2024
4f499d0
Fix clang-tidy error
EZoni Sep 18, 2024
1400de5
Fix clang-tidy error
EZoni Sep 18, 2024
1dfeb9f
Fix clang-tidy error
EZoni Sep 18, 2024
6558340
fix merge conflict
lucafedeli88 Sep 18, 2024
a20f7dd
Revert "fix merge conflict"
lucafedeli88 Sep 18, 2024
d4ea23b
fix clang-tidy issues
lucafedeli88 Sep 18, 2024
5976c62
fix-clang-tidy issues
lucafedeli88 Sep 18, 2024
ffc9454
Fix particles in PML
RemiLehe Sep 18, 2024
796c583
fix clang-tidy issue
lucafedeli88 Sep 18, 2024
4f99938
fix clang-tidy issue
lucafedeli88 Sep 18, 2024
ad69751
Merge branch 'hackathon-field-register' of github.com:ax3l/WarpX into…
lucafedeli88 Sep 18, 2024
dd78d7c
fix bug introduced fixing clang-tidy issues
lucafedeli88 Sep 18, 2024
873b506
Apply bug fix by @RemiLehe
EZoni Sep 18, 2024
97e18c1
Merge branch 'development' of https://github.com/ECP-WarpX/WarpX
EZoni Sep 18, 2024
9a7d864
Fix merge bug
EZoni Sep 18, 2024
f146fee
Fix bug in mesh refinement with PML
RemiLehe Sep 18, 2024
4608c21
Merge branch 'hackathon-field-register' of github.com:ax3l/WarpX into…
RemiLehe Sep 18, 2024
2a5534e
Apply suggestions from code review
RemiLehe Sep 18, 2024
ede7a79
Fix for HybridPIC, fixing name passed into SyncCurrent
dpgrote Sep 18, 2024
cf76e6a
`WarpX::UpdateAuxilaryData`: Fix External E field
ax3l Sep 18, 2024
de0a3ea
Fix subcycling typo
RemiLehe Sep 18, 2024
f6ab6de
Fix another typo
RemiLehe Sep 18, 2024
7225201
Some minor refactoring
RemiLehe Sep 18, 2024
240c895
Clang-Tidy 3D
ax3l Sep 19, 2024
a167d08
fix clang-tidy issues
lucafedeli88 Sep 19, 2024
df23326
fix merge conflict
lucafedeli88 Sep 19, 2024
9f2f4e7
Fix moving window bug
RemiLehe Sep 19, 2024
7a64cc2
Revert some of the changes
RemiLehe Sep 19, 2024
4801c99
CI: MSVC Backtrace to Hang
ax3l Sep 19, 2024
c7a29c4
MSVC: Debug Further
ax3l Sep 19, 2024
95d9c72
More Docstrings
ax3l Sep 19, 2024
b35949b
CI: Windows...
ax3l Sep 19, 2024
9f7b1c9
MSVC CI: Output?
ax3l Sep 19, 2024
1a3146a
Fix more typo bugs
EZoni Sep 20, 2024
0379881
CI: Wait Longer for MSVC Run to hang
ax3l Sep 20, 2024
7a7f462
Clang-Tidy
ax3l Sep 20, 2024
593430e
Clean up FFT functions for E, B
EZoni Sep 20, 2024
7d7d060
Merge remote-tracking branch 'mainline/development' into hackathon-fi…
ax3l Sep 20, 2024
83e2e25
Cleaning: Remove Unused Helper `va2vm`
ax3l Sep 20, 2024
3a620e0
Merge branch 'hackathon-field-register' of github.com:ax3l/WarpX
EZoni Sep 20, 2024
9299019
Merge branch 'hackathon-field-register' of github.com:ax3l/WarpX
EZoni Sep 20, 2024
c2b481a
Add `has_vector`, fix bugs
EZoni Sep 20, 2024
98f9670
Clean up FFT functions for J, rho
EZoni Sep 20, 2024
54bdb71
Fix clang-tidy errors
EZoni Sep 20, 2024
bce62bb
`MultiFabRegister`: `AMREX_ENUM` Key Support
ax3l Sep 20, 2024
cb64048
`Fields.H`: Reintroduce & Move
ax3l Sep 20, 2024
dfa6653
Fix Typo: `pml_edge_lengths`
ax3l Sep 21, 2024
4b03b41
Use `FieldType` Instead of Strings
ax3l Sep 21, 2024
f8fa6e1
`MultiFabRegister`: Const & Clean
ax3l Sep 22, 2024
339e909
Clang-Tidy
ax3l Sep 22, 2024
c6439b9
Clang-Tidy RZ
ax3l Sep 23, 2024
f07e1d4
MSVC: Disable for now
ax3l Sep 23, 2024
de0f8c0
Apply suggestions from code review
RemiLehe Sep 23, 2024
9de7fbc
Remove unused function alloc_like
RemiLehe Sep 23, 2024
bff1720
Simplify templated functions alloc_init, alias_init, has
RemiLehe Sep 23, 2024
a4d3cd8
Fix compilation issues
RemiLehe Sep 23, 2024
68abffc
Additional compilation fixes
RemiLehe Sep 23, 2024
cc5443f
Remove last template
RemiLehe Sep 23, 2024
4eb99a5
`MultiFabRegister::mf_name` Keep Direction Convention
ax3l Sep 23, 2024
b795a3d
Add documentation for the fields
RemiLehe Sep 23, 2024
13a899c
Merge remote-tracking branch 'mainline/development' into hackathon-fi…
ax3l Sep 23, 2024
cbc0c82
Cleanup Tests
ax3l Sep 23, 2024
fb9e7dd
More `has_vector`
ax3l Sep 23, 2024
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
4 changes: 3 additions & 1 deletion .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ jobs:
build_win_msvc:
name: MSVC C++17 w/o MPI
runs-on: windows-latest
if: github.event.pull_request.draft == false
# disabled due to issues in #5230
if: 0
#if: github.event.pull_request.draft == false
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
Expand Down
1 change: 1 addition & 0 deletions Examples/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ function(add_warpx_test
set(runtime_params
"amrex.abort_on_unused_inputs = 1"
"amrex.throw_exception = 1"
"amrex.signal_handling = 1"
ax3l marked this conversation as resolved.
Show resolved Hide resolved
"warpx.always_warn_immediately = 1"
"warpx.do_dynamic_scheduling = 0"
"warpx.serialize_initial_conditions = 1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
face_areas_y = fields.FaceAreasyWrapper()
face_areas_z = fields.FaceAreaszWrapper()

print("======== Testing the wrappers of m_edge_lengths =========")
print("======== Testing the wrappers of edge_lengths =========")

ly_slice_x = edge_lengths_y[nx // 2, :, :]
lz_slice_x = edge_lengths_z[nx // 2, :, :]
Expand Down Expand Up @@ -159,7 +159,7 @@
print("Perimeter of the middle z-slice:", perimeter_slice_z)
assert np.isclose(perimeter_slice_z, perimeter_slice_z_true, rtol=1e-05, atol=1e-08)

print("======== Testing the wrappers of m_face_areas =========")
print("======== Testing the wrappers of face_areas =========")

Sx_slice = np.sum(face_areas_x[nx // 2, :, :])
dx = (xmax - xmin) / nx
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ def Bt_an(r):

bt_err = np.abs(Bt_mean[r_idx] - Bt_an(r_sub)).max() / np.abs(Bt_an(r_sub)).max()

plt.ylabel("$B_{\Theta}$ (T)")
plt.ylabel(r"$B_{\Theta}$ (T)")
plt.xlabel("r (m)")
plt.title("Max % Error: {} %".format(bt_err * 100.0))
plt.tight_layout()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ def Bth_an(r):

bth_err = np.abs(Bth_mean[r_idx] - Bth_an(r_sub)).max() / np.abs(Bth_an(r_sub)).max()

plt.ylabel("$B_{\Theta}$ (T)")
plt.ylabel(r"$B_{\Theta}$ (T)")
plt.xlabel("r (m)")
plt.title("Max % Error: {} %".format(bth_err * 100.0))
plt.tight_layout()
Expand Down
2 changes: 1 addition & 1 deletion Python/pywarpx/WarpX.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def write_inputs(self, filename="inputs", **kw):
for arg in argv:
# This prints the name of the input group (prefix) as a header
# before each group to make the input file more human readable
prefix_new = re.split(" |\.", arg)[0]
prefix_new = re.split(r" |\.", arg)[0]
if prefix_new != prefix_old:
if prefix_old != "":
ff.write("\n")
Expand Down
Loading
Loading