|
RadCluster
Graph-based cluster dynamics for irradiated materials
|
Functions | |
| make_im5vm2_inputs () | |
| check (equations) | |
| main () | |
Variables | |
| ROOT = Path(r"d:/GitHub/RadCluster/radcluster_code") | |
check_eurofer_rag.py — validation harness for the EUROFER-97 RAG declaration. Constructs the im5vm2 case (I=V=1000, i_mobile=5, v_mobile=2, full_CD_fission, quasi-steady-state helium, C_floor=1e-25), builds the EUROFER-97 reaction admissibility graph and state layout via ``build_eurofer_rag``, and asserts: * ``rag.validate()`` passes (every edge's kernel is registered); * every edge has a registered kernel of the correct shape; * the SIA / vacancy monomer populations are registered; * the StateLayout's N_eq is sensible (SIA + VAC ladders + He + aux); * the bin-moment variant also builds and validates. Run: python check_eurofer_rag.py
| check_eurofer_rag.check | ( | equations | ) |
Definition at line 51 of file check_eurofer_rag.py.
| check_eurofer_rag.main | ( | ) |
Definition at line 118 of file check_eurofer_rag.py.
| check_eurofer_rag.make_im5vm2_inputs | ( | ) |
Build the im5vm2 InputData + ReactionRates the way RadClusterSimulation does. The i_mobile / v_mobile / he_kinetics / C_floor knobs are RadClusterSimulation constructor kwargs that it injects into the InputData object *after* construction; we replicate that here so the standalone harness exercises the exact im5vm2 configuration.
Definition at line 29 of file check_eurofer_rag.py.
| check_eurofer_rag.ROOT = Path(r"d:/GitHub/RadCluster/radcluster_code") |
Definition at line 21 of file check_eurofer_rag.py.