Generalized separable potentials for electronic-structure calculations | Synapse