pytc.solver.bug_core.plateau_tol¶
- pytc.solver.bug_core.plateau_tol(truncation, tau, energy)[source]¶
Energy change below which the iteration has settled under the cut.
An energy cutoff is already in Hartree; an amplitude cutoff
taubounds a relative energy error of ordertau**2. Neither can go below the roundoff of the energy itself, or a tighttaunever stops. That energy is a sum ofrank**2terms; its iteration-to-iteration noise is ~1e-14 relative on one BLAS and several times that on another, so the floor is 1e-13.- Parameters:
truncation (str)
tau (float)
energy (float)
- Return type:
float