otter.solve_plasma_workflow
- otter.solve_plasma_workflow(cfg: PlasmaWorkflowConfig) dict[str, Any][source]
Solve one unified plasma workflow from one composition specification.
- Parameters:
cfg – Unified workflow configuration.
- Returns:
dict – Top-level payload containing parsed composition, electronic structure, and optional ion-structure outputs.
result["electronic"]["species"]is always a list inspecies_symbolsorder; each entry’sresultis the native AA dictionary for that species. The legacyresult["electronic"]["result"]layout remains available. When the ion stage is requested,result["ion"]includesv_ie_k(withv_ei_kas an alias),v_ee_k,c_ie_k, andc_ee_kon the returnedkgrid. Species profiles (q, f, V_ie, C_ie) have shape(Ns, Nk)even forNs=1; pair fields have shape(Ns, Ns, Ngrid). Charges and ion densities have shape(Ns,). Common electron response fields remain(Nk,).electronicalso exposes charge and AA-cell density vectors without requiring an ionic stage.
Examples using solve_plasma_workflow
Equilibrium aluminium structure factors: Schörner et al. (2022)
Single-species Starrett–Saumon ion-structure benchmarks
CH1.36: multicomponent electronic-to-ionic workflow