-
Notifications
You must be signed in to change notification settings - Fork 197
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cleanup deposition and gather routines (#4978)
* Initial clean up of current deposition * Fix of current deposition * Further cleanup of current deposition * Cleanup SharedDepositionUtils * Clean up in charge deposition * Clean up field gather plus other fixes * Change LowerCorner to return XDim3, add InvCellSize * Change variable name in Lower and UpperCorner to avoid confusion * Add const * Update RepellingParticles CI test * Update Python_ionization CI test * Update ionization_boost and ionization_lab CI tests * Update PEC_particle CI test * Update BTD_rz CI test
- Loading branch information
Showing
33 changed files
with
496 additions
and
876 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
{ | ||
"lev=0": { | ||
"Br": 1.8705552264208163e-08, | ||
"Bt": 2380179.5677922587, | ||
"Bz": 2.4079077116116535e-08, | ||
"Br": 1.8705569155952808e-08, | ||
"Bt": 2380179.567792259, | ||
"Bz": 2.4079063431898616e-08, | ||
"Er": 497571119514841.25, | ||
"Et": 7.048225464720808, | ||
"Ez": 137058870936728.28, | ||
"Et": 7.048223219552, | ||
"Ez": 137058870936728.23, | ||
"jr": 0.0, | ||
"jt": 0.0, | ||
"jz": 0.0 | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,31 @@ | ||
{ | ||
"lev=0": { | ||
"Bx": 6.52080713617892e-07, | ||
"By": 5.323555640562078e-18, | ||
"Bz": 1.1834601056649145e-06, | ||
"Ex": 300.06725745121753, | ||
"Ey": 320.82687281173185, | ||
"Ez": 185.62208934593673, | ||
"jx": 1.857782359527958e-06, | ||
"jy": 257766.55567863808, | ||
"Bx": 6.5208071361789e-07, | ||
"By": 5.323579900863346e-18, | ||
"Bz": 1.1834601056649094e-06, | ||
"Ex": 300.0672574512165, | ||
"Ey": 320.82687281173, | ||
"Ez": 185.62208934593605, | ||
"jx": 1.8577823595279576e-06, | ||
"jy": 257766.5556786359, | ||
"jz": 0.0 | ||
}, | ||
"electron": { | ||
"particle_momentum_x": 1.1142179380730402e-32, | ||
"particle_momentum_y": 4.5160903214571184e-36, | ||
"particle_momentum_z": 5.735409609139057e-50, | ||
"particle_position_x": 3.199800000000006e-05, | ||
"particle_position_y": 6.267072536608953e-23, | ||
"particle_position_z": 3.3938629027782103e-37, | ||
"particle_weight": 1.0 | ||
}, | ||
"proton": { | ||
"particle_momentum_x": 1.0975605406855061e-33, | ||
"particle_momentum_x": 1.097560540685506e-33, | ||
"particle_momentum_y": 1.002878875615427e-18, | ||
"particle_momentum_z": 5.084424741580567e-51, | ||
"particle_momentum_z": 8.484417024161229e-51, | ||
"particle_position_x": 3.1998e-05, | ||
"particle_position_y": 6.572670690061996e-06, | ||
"particle_position_z": 5.681444715216788e-38, | ||
"particle_weight": 1.0 | ||
}, | ||
"electron": { | ||
"particle_momentum_x": 1.1142179380730476e-32, | ||
"particle_momentum_y": 4.516090321457367e-36, | ||
"particle_momentum_z": 2.2354046360787e-50, | ||
"particle_position_x": 3.199800000000006e-05, | ||
"particle_position_y": 6.267072536609136e-23, | ||
"particle_position_z": 1.4145775327446577e-37, | ||
"particle_position_z": 4.372139867361774e-39, | ||
"particle_weight": 1.0 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
44 changes: 22 additions & 22 deletions
44
Regression/Checksum/benchmarks_json/RepellingParticles.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,32 @@ | ||
{ | ||
"lev=0": { | ||
"Bx": 0.0, | ||
"By": 10603.681421961119, | ||
"Bz": 0.0, | ||
"Ex": 12084698236273.04, | ||
"Ey": 0.0, | ||
"Ez": 16282812598779.527, | ||
"F": 21124.39775810062, | ||
"divE": 1.495787831639977e+18, | ||
"jx": 496020344341010.9, | ||
"jy": 0.0, | ||
"jz": 10.641859867595102, | ||
"rho": 6408706.535999998 | ||
}, | ||
"electron1": { | ||
"particle_momentum_x": 7.303686586478214e-23, | ||
"particle_momentum_x": 7.303686586478215e-23, | ||
"particle_momentum_y": 0.0, | ||
"particle_momentum_z": 1.556862195127266e-36, | ||
"particle_position_x": 1.293487226551532e-05, | ||
"particle_position_y": 1.777889117487881e-19, | ||
"particle_momentum_z": 1.552083282915395e-36, | ||
"particle_position_x": 1.293487226551533e-05, | ||
"particle_position_y": 1.7783750855614515e-19, | ||
"particle_weight": 5000000000000.0 | ||
}, | ||
"electron2": { | ||
"particle_momentum_x": 7.303686586477884e-23, | ||
"particle_momentum_x": 7.303686586477887e-23, | ||
"particle_momentum_y": 0.0, | ||
"particle_momentum_z": 1.567350238825104e-36, | ||
"particle_momentum_z": 1.5731022908002534e-36, | ||
"particle_position_x": 1.293487226551495e-05, | ||
"particle_position_y": 1.797289839952283e-19, | ||
"particle_position_y": 1.7989574553330234e-19, | ||
"particle_weight": 5000000000000.0 | ||
}, | ||
"lev=0": { | ||
"Bx": 0.0, | ||
"By": 10603.68142196111, | ||
"Bz": 0.0, | ||
"Ex": 12084698236273.04, | ||
"Ey": 0.0, | ||
"Ez": 16282812598779.53, | ||
"F": 21124.39775810061, | ||
"divE": 1.495787831639981e+18, | ||
"jx": 496020344341011.4, | ||
"jy": 0.0, | ||
"jz": 10.93513947024536, | ||
"rho": 6408706.535999998 | ||
} | ||
} | ||
} |
30 changes: 15 additions & 15 deletions
30
Regression/Checksum/benchmarks_json/ionization_boost.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,30 @@ | ||
{ | ||
"lev=0": { | ||
"Bx": 0.0, | ||
"By": 18263123.342891, | ||
"By": 18263123.342890993, | ||
"Bz": 0.0, | ||
"Ex": 5472992180428804.0, | ||
"Ex": 5472992180428803.0, | ||
"Ey": 0.0, | ||
"Ez": 922.5589707939612, | ||
"jx": 12440856508004.96, | ||
"Ez": 922.2798874201462, | ||
"jx": 12440856508004.957, | ||
"jy": 0.0, | ||
"jz": 78616.0000011086 | ||
}, | ||
"electrons": { | ||
"particle_momentum_x": 2.1386770170623736e-17, | ||
"particle_momentum_y": 0.0, | ||
"particle_momentum_z": 1.7287241262743654e-17, | ||
"particle_position_x": 0.11064981928849067, | ||
"particle_position_y": 1.7121826057017473, | ||
"particle_weight": 3.0755014319061045e-09 | ||
"jz": 78616.00000110897 | ||
}, | ||
"ions": { | ||
"particle_ionizationLevel": 52741.0, | ||
"particle_momentum_x": 3.630619728387593e-18, | ||
"particle_momentum_x": 3.630619728387586e-18, | ||
"particle_momentum_y": 0.0, | ||
"particle_momentum_z": 1.0432995297946715e-13, | ||
"particle_position_x": 0.021439968272741083, | ||
"particle_position_y": 0.4742770090248555, | ||
"particle_weight": 5.000948082142308e-10 | ||
}, | ||
"electrons": { | ||
"particle_momentum_x": 2.138486151076505e-17, | ||
"particle_momentum_y": 0.0, | ||
"particle_momentum_z": 1.7285619821244245e-17, | ||
"particle_position_x": 0.11066682695880013, | ||
"particle_position_y": 1.712069774427624, | ||
"particle_weight": 3.0755014319061037e-09 | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.