|
RadCluster
Graph-based cluster dynamics for irradiated materials
|
Functions | |
| n_to_d_nm (n) | |
| run_case (name, overrides) | |
Variables | |
| MODULE_ROOT = Path(__file__).resolve().parent.parent.parent | |
| REPO_ROOT = MODULE_ROOT.parent | |
| float | Omega = 1.18e-29 |
| float | b_111 = 2.482e-10 |
| I_SIM | |
| V_SIM | |
| dict | SOLVER_CONFIG |
| dict | BASE_PARAMS |
| dict | CASES |
| str | out_dir = Path(__file__).parent / 'bias_study_output' |
| exist_ok | |
| list | all_results = [] |
| t0 = time.time() | |
| flush | |
| t1 = time.time() | |
| res = run_case(name, overrides) | |
| elapsed = time.time() - t1 | |
| total = time.time() - t0 | |
| fig1 | |
| axes1 | |
| figsize | |
| sharex | |
| dose = res['dose'] | |
| int | mask = dose > 1e-8 |
| label | |
| fontsize | |
| ncol | |
| True | |
| alpha | |
| dpi | |
| fig2 | |
| ax2 | |
| ratio = res['flux_i'][mask] / np.maximum(res['flux_v'][mask], 1e-30) | |
| y | |
| color | |
| linestyle | |
| linewidth | |
| ax3a | |
| ax3b | |
| ns = np.arange(1, I_SIM + 1) | |
| d_nm = n_to_d_nm(ns) | |
| c_i = res['c_i_01'] | |
| p = r['params'] | |
Bias study — examines how dislocation bias (Z_i) and production bias (f_cl_i, f_cl_v)
affect SIA and vacancy cluster size peaks, and plots the fundamental monomer fluxes.
With the loop geometry correction (A_loop * n^{1/2} for n ≥ 4), the Z_i_loop bias
creates differential SIA vs vacancy absorption that drives net loop growth.
| bias_study.n_to_d_nm | ( | n | ) |
Definition at line 42 of file bias_study.py.
| bias_study.run_case | ( | name, | |
| overrides | |||
| ) |
Run one simulation and return full results + rate info.
Definition at line 68 of file bias_study.py.
| list bias_study.all_results = [] |
Definition at line 247 of file bias_study.py.
| bias_study.alpha |
Definition at line 286 of file bias_study.py.
| bias_study.ax2 |
Definition at line 301 of file bias_study.py.
| bias_study.ax3a |
Definition at line 321 of file bias_study.py.
| bias_study.ax3b |
Definition at line 321 of file bias_study.py.
| bias_study.axes1 |
Definition at line 275 of file bias_study.py.
| float bias_study.b_111 = 2.482e-10 |
Definition at line 41 of file bias_study.py.
| dict bias_study.BASE_PARAMS |
Definition at line 60 of file bias_study.py.
| bias_study.c_i = res['c_i_01'] |
Definition at line 326 of file bias_study.py.
| dict bias_study.CASES |
Definition at line 192 of file bias_study.py.
| bias_study.color |
Definition at line 307 of file bias_study.py.
Definition at line 323 of file bias_study.py.
| bias_study.dose = res['dose'] |
Definition at line 278 of file bias_study.py.
| bias_study.dpi |
Definition at line 295 of file bias_study.py.
| bias_study.elapsed = time.time() - t1 |
Definition at line 261 of file bias_study.py.
| bias_study.exist_ok |
Definition at line 240 of file bias_study.py.
| bias_study.fig1 |
Definition at line 275 of file bias_study.py.
| bias_study.fig2 |
Definition at line 301 of file bias_study.py.
| bias_study.figsize |
Definition at line 275 of file bias_study.py.
| bias_study.flush |
Definition at line 251 of file bias_study.py.
| bias_study.fontsize |
Definition at line 285 of file bias_study.py.
| bias_study.I_SIM |
Definition at line 46 of file bias_study.py.
| bias_study.label |
Definition at line 280 of file bias_study.py.
| bias_study.linestyle |
Definition at line 307 of file bias_study.py.
| bias_study.linewidth |
Definition at line 307 of file bias_study.py.
| int bias_study.mask = dose > 1e-8 |
Definition at line 279 of file bias_study.py.
| bias_study.MODULE_ROOT = Path(__file__).resolve().parent.parent.parent |
Definition at line 17 of file bias_study.py.
| bias_study.ncol |
Definition at line 285 of file bias_study.py.
| bias_study.ns = np.arange(1, I_SIM + 1) |
Definition at line 322 of file bias_study.py.
| float bias_study.Omega = 1.18e-29 |
Definition at line 40 of file bias_study.py.
| str bias_study.out_dir = Path(__file__).parent / 'bias_study_output' |
Definition at line 239 of file bias_study.py.
| bias_study.p = r['params'] |
Definition at line 358 of file bias_study.py.
Definition at line 305 of file bias_study.py.
| bias_study.REPO_ROOT = MODULE_ROOT.parent |
Definition at line 18 of file bias_study.py.
| bias_study.res = run_case(name, overrides) |
Definition at line 256 of file bias_study.py.
| bias_study.sharex |
Definition at line 275 of file bias_study.py.
| dict bias_study.SOLVER_CONFIG |
Definition at line 47 of file bias_study.py.
| bias_study.t0 = time.time() |
Definition at line 248 of file bias_study.py.
| bias_study.t1 = time.time() |
Definition at line 254 of file bias_study.py.
| bias_study.total = time.time() - t0 |
Definition at line 269 of file bias_study.py.
| bias_study.True |
Definition at line 286 of file bias_study.py.
| bias_study.V_SIM |
Definition at line 46 of file bias_study.py.
| bias_study.y |
Definition at line 307 of file bias_study.py.