MolSSI-Education / QM_2017_SSS_Team3

BSD 3-Clause "New" or "Revised" License
0 stars 5 forks source link

Overall structure for scf () #36

Closed hongzhouye closed 7 years ago

hongzhouye commented 7 years ago

Basically it should look like this (might be incomplete!)

scf (T, V, g, S, A, Enuc, C = None, nel, nbas = None, scf_param [dict]):
    initial guess:
        core guess (H = T + V)
        user input (via C)
    scf loop:
        get F (from D or diis)
        diag (F, A)
        calc err
        check convergence
    return:
        eps, C, D