Skip to content

Commit 5dc7c3f

Browse files
committed
Remove limitation on max Z - 120 should be fine.
1 parent 3e84c69 commit 5dc7c3f

2 files changed

Lines changed: 1 addition & 5 deletions

File tree

‎Cargo.toml‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,5 +44,4 @@ cpr_rootfinder = ["rcpr"]
4444
distributions = ["ndarray"]
4545
no_list_output = []
4646
parry3d = ["parry3d-f64"]
47-
python = ["pyo3", "pythonize"]
48-
extended_max_z = []
47+
python = ["pyo3", "pythonize"]

‎src/consts.rs‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,6 @@ pub const LINDHARD_SCHARFF_PREFACTOR: f64 = 1.212*ANGSTROM*ANGSTROM*Q;
3636
/// Lindhard reduced energy prefactor, in SI units.
3737
pub const LINDHARD_REDUCED_ENERGY_PREFACTOR: f64 = 4.*PI*EPS0/Q/Q;
3838
/// Maximum atomic number in RustBCA.
39-
#[cfg(not(feature = "extended_max_z"))]
40-
pub const Z_MAX: usize = 92;
41-
#[cfg(feature="extended_max_z")]
4239
pub const Z_MAX: usize = 120;
4340
//https://math.stackexchange.com/questions/2388887/
4441
//num elements in a triangular NxN matrix (including diag)

0 commit comments

Comments
 (0)