Lattice distortions in which the axes are locally rotated provide an
intrinsic source of frustration in anisotropic superconductors. A general
framework to study this effect is presented. The influence of lattice defects
and phonons in d and s+d layered superconductors is studied.Comment: enlarged versio