RadCluster
Graph-based cluster dynamics for irradiated materials
Loading...
Searching...
No Matches
Namespaces | Functions | Variables
benchmark_woodbury.py File Reference

Go to the source code of this file.

Namespaces

namespace  benchmark_woodbury
 

Functions

 benchmark_woodbury.make_config (prec_type, t_end)
 
 benchmark_woodbury.create_sim (i_mob, v_mob)
 
 benchmark_woodbury.run_case (label, i_mob, v_mob, prec_type, t_end)
 

Variables

 benchmark_woodbury.MODULE_ROOT = Path(__file__).resolve().parent.parent.parent
 
 benchmark_woodbury.REPO_ROOT = MODULE_ROOT.parent
 
str benchmark_woodbury.build_dir = MODULE_ROOT / 'build'
 
 benchmark_woodbury.exist_ok
 
str benchmark_woodbury.cmake_src = MODULE_ROOT / 'cpp_utils'
 
 benchmark_woodbury.flush
 
 benchmark_woodbury.res = subprocess.run(cmd, capture_output=True, text=True)
 
int benchmark_woodbury.I = 10_000
 
int benchmark_woodbury.V = 10_000
 
dict benchmark_woodbury.BASE_OVERRIDES
 
list benchmark_woodbury.all_results = []
 
str benchmark_woodbury.tag = f"t={t_end:.0e}"
 
str benchmark_woodbury.sw = f"{r.get('swelling',0):.5f}" if 'swelling' in r else 'FAIL'
 
str benchmark_woodbury.dfp = f"{r.get('delta_FP',0):.1e}" if 'delta_FP' in r else 'FAIL'
 
list benchmark_woodbury.wood = [r for r in all_results if r['i_mobile']==im and r['prec_type']==1 and r['t_end']==t_end]
 
list benchmark_woodbury.jac = [r for r in all_results if r['i_mobile']==im and r['prec_type']==0 and r['t_end']==t_end]
 
list benchmark_woodbury.ratio = jac[0]['wall_time'] / wood[0]['wall_time']
 
list benchmark_woodbury.mono = [r for r in all_results if r['i_mobile']==1 and r['prec_type']==pt and r['t_end']==t_end]
 
list benchmark_woodbury.coal = [r for r in all_results if r['i_mobile']==10 and r['prec_type']==pt and r['t_end']==t_end]