-
Notifications
You must be signed in to change notification settings - Fork 200
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update DSMC reaction weight calculation (#5135)
* initial changes to reaction weight calculation following #5133 * remove weight reduction logic in `SplitAndScatterFunc.H` Signed-off-by: roelof-groenewald <[email protected]> * update 1d DSMC example to be runable on NVIDIA GPU (uses `cupy`) * add `m_isSameSpecies` member variable to `DSMCFunc`; reduce code duplication * reset DSMC test checksum values --------- Signed-off-by: roelof-groenewald <[email protected]>
- Loading branch information
1 parent
6007f8a
commit f02aaa2
Showing
6 changed files
with
106 additions
and
107 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
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,27 +1,27 @@ | ||
{ | ||
"lev=0": { | ||
"rho_electrons": 0.004434311371276535, | ||
"rho_he_ions": 0.005200489146365628 | ||
"rho_electrons": 0.004437338851654305, | ||
"rho_he_ions": 0.005200276265886133 | ||
}, | ||
"he_ions": { | ||
"particle_momentum_x": 2.7688639005236794e-19, | ||
"particle_momentum_y": 2.760648864116014e-19, | ||
"particle_momentum_z": 3.6226628630061563e-19, | ||
"particle_position_x": 2201.614485497906, | ||
"particle_weight": 17190996093750.002 | ||
"particle_momentum_x": 2.768463746716725e-19, | ||
"particle_momentum_y": 2.7585450668167785e-19, | ||
"particle_momentum_z": 3.6189671443598533e-19, | ||
"particle_position_x": 2201.408357891233, | ||
"particle_weight": 17190472656250.002 | ||
}, | ||
"electrons": { | ||
"particle_momentum_x": 3.523554668287801e-20, | ||
"particle_momentum_y": 3.515628626179393e-20, | ||
"particle_momentum_z": 1.258711379033217e-19, | ||
"particle_position_x": 2140.8168584833174, | ||
"particle_weight": 14588988281250.002 | ||
}, | ||
"neutrals": { | ||
"particle_momentum_x": 1.4040775167811838e-19, | ||
"particle_momentum_y": 1.4009514702703257e-19, | ||
"particle_momentum_z": 1.4093144247152345e-19, | ||
"particle_position_x": 1119.524782452131, | ||
"particle_momentum_x": 1.4054952479597137e-19, | ||
"particle_momentum_y": 1.403311018061206e-19, | ||
"particle_momentum_z": 1.411491089895956e-19, | ||
"particle_position_x": 1119.82858839282, | ||
"particle_weight": 6.4588e+19 | ||
}, | ||
"electrons": { | ||
"particle_momentum_x": 3.5193566020597954e-20, | ||
"particle_momentum_y": 3.5368803263788353e-20, | ||
"particle_momentum_z": 1.2572273121326582e-19, | ||
"particle_position_x": 2139.3709122461873, | ||
"particle_weight": 14579566406250.002 | ||
} | ||
} |
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