RadCluster
Graph-based cluster dynamics for irradiated materials
Loading...
Searching...
No Matches
Functions | Variables
check_loop_conversion_integration Namespace Reference

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
 

Detailed Description

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

Function Documentation

◆ check()

check_loop_conversion_integration.check (   name,
  cond,
*  info 
)

Definition at line 42 of file check_loop_conversion_integration.py.

◆ main()

check_loop_conversion_integration.main ( )

Definition at line 140 of file check_loop_conversion_integration.py.

◆ test_composed_conservation()

check_loop_conversion_integration.test_composed_conservation ( )

Definition at line 88 of file check_loop_conversion_integration.py.

◆ test_structural()

check_loop_conversion_integration.test_structural ( )

Definition at line 51 of file check_loop_conversion_integration.py.

Variable Documentation

◆ _fails

int check_loop_conversion_integration._fails = 0
protected

Definition at line 39 of file check_loop_conversion_integration.py.

◆ ATOL

int check_loop_conversion_integration.ATOL = 1e-12

Definition at line 38 of file check_loop_conversion_integration.py.

◆ ROOT

check_loop_conversion_integration.ROOT = Path(__file__).resolve().parents[2]

Definition at line 26 of file check_loop_conversion_integration.py.