You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
assert_eq!(ux.len(), num_incident_ions,"Input error: list of x-directions is not the same length as list of incident energies.");
955
+
assert_eq!(uy.len(), num_incident_ions,"Input error: list of y-directions is not the same length as list of incident energies.");
956
+
assert_eq!(uz.len(), num_incident_ions,"Input error: list of z-directions is not the same length as list of incident energies.");
957
+
assert_eq!(Z1.len(), num_incident_ions,"Input error: list of incident atomic numbers is not the same length as list of incident energies.");
958
+
assert_eq!(m1.len(), num_incident_ions,"Input error: list of incident atomic masses is not the same length as list of incident energies.");
959
+
assert_eq!(Es1.len(), num_incident_ions,"Input error: list of incident surface binding energies is not the same length as list of incident energies.");
960
+
assert_eq!(Ec1.len(), num_incident_ions,"Input error: list of incident cutoff energies is not the same length as list of incident energies.");
961
+
962
+
assert_eq!(m2.len(), num_species_target,"Input error: list of target atomic masses is not the same length as atomic numbers.");
963
+
assert_eq!(Ec2.len(), num_species_target,"Input error: list of target cutoff energies is not the same length as atomic numbers.");
964
+
assert_eq!(Es2.len(), num_species_target,"Input error: list of target surface binding energies is not the same length as atomic numbers.");
965
+
assert_eq!(Eb2.len(), num_species_target,"Input error: list of target bulk binding energies is not the same length as atomic numbers.");
966
+
assert_eq!(n2.len(), num_species_target,"Input error: list of target number densities is not the same length as atomic numbers.");
967
+
968
+
let options = Options::default_options(true);
969
+
//options.high_energy_free_flight_paths = true;
970
+
971
+
let x = -2.*(n2.iter().sum::<f64>()*10E30).powf(-1./3.);
972
+
let y = 0.0;
973
+
let z = 0.0;
974
+
975
+
let material_parameters = material::MaterialParameters{
0 commit comments