|
RadCluster
Graph-based cluster dynamics for irradiated materials
|
Functions | |
| check (name, cond, *info) | |
| test_structural () | |
| test_composed_conservation () | |
| main () | |
Variables | |
| ROOT = Path(__file__).resolve().parents[2] | |
| int | ATOL = 1e-12 |
| int | _fails = 0 |
check_loop_conversion_integration.py — Phase-4 integration test.
Two parts:
1. Structural — the full EUROFER-97 RAG builds with the ½⟨111⟩/⟨100⟩ split:
3 populations, the three conversion edges present (unary INTER_POPULATION,
junction + absorption COALESCENCE), and a SIA100 state-layout block.
2. Conservation — all SIA-content-conserving edges (GROWTH, self-coalescence,
junction, unary transformation, ⟨100⟩ absorption) run *together* through the
GraphWalker on a minimal two-SIA-population RAG and conserve the total SIA
content Σ_n n·c_n^(111) + Σ_m m·c_m^(100). This catches edge-interaction
bugs that the per-edge Phase-1 tests cannot.
(The full EUROFER walker is not exercised directly: its P8 SOLUTE_TRAPPING edge
is owned by the He mean-loading reduction, not the discrete reference walker.)
Run: python codes/Python_Testing/check_loop_conversion_integration.py
| check_loop_conversion_integration.check | ( | name, | |
| cond, | |||
| * | info | ||
| ) |
Definition at line 42 of file check_loop_conversion_integration.py.
| check_loop_conversion_integration.main | ( | ) |
Definition at line 140 of file check_loop_conversion_integration.py.
| check_loop_conversion_integration.test_composed_conservation | ( | ) |
Definition at line 88 of file check_loop_conversion_integration.py.
| check_loop_conversion_integration.test_structural | ( | ) |
Definition at line 51 of file check_loop_conversion_integration.py.
|
protected |
Definition at line 39 of file check_loop_conversion_integration.py.
| int check_loop_conversion_integration.ATOL = 1e-12 |
Definition at line 38 of file check_loop_conversion_integration.py.
| check_loop_conversion_integration.ROOT = Path(__file__).resolve().parents[2] |
Definition at line 26 of file check_loop_conversion_integration.py.