|
RadCluster
Graph-based cluster dynamics for irradiated materials
|
Functions | |
| run_single (eq, cas, hk) | |
| main () | |
Variables | |
| MODULE_ROOT = Path(__file__).resolve().parent.parent.parent | |
| REPO_ROOT = MODULE_ROOT.parent | |
| int | I = 200 |
| i_mobile | |
| v_mobile | |
| dict | SOLVER_CONFIG |
| BIN_KW = dict(i_discrete=i_mobile, v_discrete=v_mobile, I_bin=15, V_bin=15) | |
He-conservation audit — runs all four physics options x both He-kinetics
modes at small system size and reports the delta_He / delta_FP diagnostics.
The conservation identity tested (Eq. delta_He):
dynamic: c_h(t) + Q(t) + J_He_sink(t) = c_h(0) + Q(0) + int_0^t G_He dt'
QSS: Q(t) + J_He_sink(t) = Q(0) + int_0^t G_He dt'
where Q = Q_tot (Case 2) or sum_m Q_m (Case 1), and J_He_sink is the CVODE
accounting integral of all He sink losses. delta_He is the relative defect;
values <~ 1e-6 mean every He channel is balanced, > 1e-3 indicates a leak.
Each configuration runs in its own subprocess (pass "<equations> <cascade>
<he_kinetics>" as argv to run one config) so a failure in one cannot affect
the others.
| check_he_conservation.main | ( | ) |
Definition at line 76 of file check_he_conservation.py.
| check_he_conservation.run_single | ( | eq, | |
| cas, | |||
| hk | |||
| ) |
Definition at line 35 of file check_he_conservation.py.
Definition at line 32 of file check_he_conservation.py.
| int check_he_conservation.I = 200 |
Definition at line 21 of file check_he_conservation.py.
| check_he_conservation.i_mobile |
Definition at line 22 of file check_he_conservation.py.
| check_he_conservation.MODULE_ROOT = Path(__file__).resolve().parent.parent.parent |
Definition at line 18 of file check_he_conservation.py.
| check_he_conservation.REPO_ROOT = MODULE_ROOT.parent |
Definition at line 19 of file check_he_conservation.py.
| dict check_he_conservation.SOLVER_CONFIG |
Definition at line 24 of file check_he_conservation.py.
| check_he_conservation.v_mobile |
Definition at line 22 of file check_he_conservation.py.