Skip to content

Commit

Permalink
Correction to inject particle calls.
Browse files Browse the repository at this point in the history
  • Loading branch information
John Wohlbier committed Mar 25, 2016
1 parent 7caec3a commit 6163bff
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -585,7 +585,7 @@ begin_initialization {
inject_particle( ion_I1, x, y, z,
normal( rng(0), 0, uthi_I1 ),
normal( rng(0), 0, uthi_I1 ),
normal( rng(0), 0, uthi_I1 ), fabs(qi_I1), 0, 0 );
normal( rng(0), 0, uthi_I1 ), fabs(qi_I1)/Z_I1, 0, 0 );

repeat( Z_I1 ) {

Expand All @@ -609,8 +609,7 @@ begin_initialization {
inject_particle( ion_I2, x, y, z,
normal( rng(0), 0, uthi_I2),
normal( rng(0), 0, uthi_I2),
normal( rng(0), 0, uthi_I2), fabs(qi_I2), 0, 0 );

normal( rng(0), 0, uthi_I2), fabs(qi_I2)/Z_I2, 0, 0 );
repeat( Z_I2 ) {

// Leading order correction to Juttner distribution; also fixes uthe
Expand Down

0 comments on commit 6163bff

Please sign in to comment.