Skip to content

Commit c869745

Browse files
committed
Switch deep recoil suppression to screening length lookup
1 parent f4c4291 commit c869745

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

‎src/bca.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ pub fn single_ion_bca<T: Geometry>(particle: particle::Particle, material: &mate
151151

152152
let n = material.total_number_density(particle_2.pos.x, particle_2.pos.y, particle_2.pos.z);
153153
//We just need the lindhard screening length here, so the particular potential is not important
154-
let a: f64 = interactions::screening_length(Za, Zb, InteractionPotential::MOLIERE);
154+
let a: f64 = interactions::lindhard_screening_length_lookup(Za as u64, Zb as u64);
155155
let reduced_energy: f64 = LINDHARD_REDUCED_ENERGY_PREFACTOR*a*Mb/(Ma+Mb)/Za/Zb*E;
156156
let estimated_range_of_recoils = (reduced_energy.powf(0.3) + 0.1).powi(3)/n/a/a;
157157

‎src/physics.rs‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,5 +75,4 @@ pub fn physics_loop<T: Geometry + Sync>(particle_input_array: Vec<particle::Part
7575

7676
bar.finish();
7777
println!("Finished!");
78-
7978
}

0 commit comments

Comments
 (0)