  The local electronic structure of YBa2Cu3O7 has been calculated using
first-principles cluster methods. Several clusters embedded in an appropriate
background potential have been investigated. The electric field gradients at
the copper and oxygen sites are determined and compared to previous theoretical
calculations and experiments. Spin polarized calculations with different spin
multiplicities have enabled a detailed study of the spin density distribution
to be made and a simultaneous determination of magnetic hyperfine coupling
parameters. The contributions from on-site and transferred hyperfine fields
have been disentangled with the conclusion that the transferred spin densities
essentially are due to nearest neighbour copper ions only with marginal
influence of ions further away. This implies that the variant temperature
dependencies of the planar copper and oxygen NMR spin-lattice relaxation rates
are only compatible with commensurate antiferromagnetic correlations. The
theoretical hyperfine parameters are compared with those derived from
experimental data.
