pub fn solve_corrected(
pot: &dyn ScreenedPotential,
density: &dyn ElectronDensity,
energy_ev: f64,
corrections: &Corrections,
thetas: &[f64],
opts: SolverOptions,
) -> Result<ElasticResult, ElasticError>Expand description
solve with optional corrections. With both off this is solve
on pot (bit-identical results, metadata reporting both off); otherwise
the corrected potential is built at energy_ev and solved at the same
energy, and the result’s ElasticResult::corrections records the
choices.