quemb.kbe.pfrag.Frags¶
- class quemb.kbe.pfrag.Frags(*, AO_in_frag, ifrag, AO_per_edge, ref_frag_idx_per_edge, relAO_per_edge, relAO_in_ref_per_edge, weight_and_relAO_per_center, relAO_per_origin, eri_file, unitcell_nkpt, unitcell)¶
Class for handling fragments in periodic bootstrap embedding.
This class contains various functionalities required for managing and manipulating fragments for periodic BE calculations.
Methods
__init__
(*, AO_in_frag, ifrag, AO_per_edge, ...)Constructor function for
Frags
class.cons_fock
(hf_veff, S, dm[, eri_])Construct the Fock matrix for the fragment.
cons_h1
(h1)Construct the one-electron Hamiltonian for the fragment.
get_nsocc
(S, C, nocc[, ncore])Get the number of occupied orbitals for the fragment.
scf
([heff, fs, eri, dm0])Perform self-consistent field (SCF) calculation for the fragment.
sd
(lao, lmo, nocc, thr_bath[, cell, kpts, ...])Perform Schmidt decomposition for the fragment.
set_udim
(cout)update_ebe_hf
([rdm_hf, mo_coeffs, eri, ...])update_heff
(u[, cout, do_chempot, only_chem])Update the effective Hamiltonian for the fragment.