! ! Copyright (C) 2003 A. Smogunov ! This file is distributed under the terms of the ! GNU General Public License. See the file `License' ! in the root directory of the present distribution, ! or http://www.gnu.org/copyleft/gpl.txt . ! subroutine four(w0, z0, dz, tblm, taunew, r, rab, betar) ! ! This routine computes the bidimensional fourier transform of the ! beta function. It has been implemented for s, p, d-orbitals. ! ! w0(z,g,m)=1/S * \int w(r) \exp{-ig r_\perp} dr_\perp ! where w(r) - beta function of the alpha's orbital. ! ! (see Gradshtein "Tables of integrals") ! For a fixed l it computes w0 for all m. ! ! The order of spherical harmonics used: ! s ; ! p_z, p_{-x}, p_{-y} ; ! d_{z^2-1}, d_{-xz}, d_{-yz}, d_{x^2-y^2}, d_{xy} ! ! input: tblm - array characterizing the orbital. ! taunew - coordinates and radius of the orbital. ! z0 - the initial z ! dz - the slab width ! ! output: w0(z, g, m), where ! z0< z