Self-consistent Green’s-function technique for surfaces and interfaces | Synapse