  We study various inhomogeneity effects on superconductivity as due to quantum
confinement, surfaces and impurities, using the self-consistent Bogoliubov-de
Gennes formalism on the attractive Hubbard model. The results are also compared
with those obtained from the Anderson prescription, a BCS formalism for
incorporating spatial inhomogeneity.
