Skip to content

Commit 6f609c3

Browse files
authored
Triangular LUTs (#322)
* Experimental triangular lookup tables for screening lengths and Coulomb constant * Added cfg to swap between 'reasonable' Z and full periodic table * Add tests for Z1 > Z2 to test_rustbca.py * Add Python function to compute screened coulomb scattering integrals and test * cleanup of lib.rs * Added scattering integral tests to workflow * Add different option test script to tests * Final version of triangular LUTs.
1 parent fbd8f2a commit 6f609c3

10 files changed

Lines changed: 599 additions & 49 deletions

File tree

‎.github/workflows/rustbca_compile_check.yml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,11 @@ jobs:
4242
python3 -m pip install .
4343
python3 -c "from libRustBCA import *;"
4444
python3 examples/test_rustbca.py
45+
python3 examples/test_scattering_integrals.py
4546
python3 examples/test_cube.py
4647
python3 examples/make_input_file_and_run.py
4748
python3 examples/test_electronic_stopping.py
49+
python3 examples/test_different_options.py
4850
- name: Test Fortran and C bindings
4951
run : |
5052
cargo build --release --lib --features parry3d

‎Cargo.toml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,3 +46,4 @@ distributions = ["ndarray"]
4646
no_list_output = []
4747
parry3d = ["parry3d-f64"]
4848
python = ["pyo3"]
49+
extended_max_z = []

0 commit comments

Comments
 (0)