create_umatrix Subroutine

private subroutine create_umatrix(theta, phi, lmsize, umat, udeggamat)

Create the rotation matrix Udegga = transpose(complex conjug ( U ) )

Arguments

Type IntentOptional Attributes Name
real(kind=dp), intent(in) :: theta
real(kind=dp), intent(in) :: phi
integer, intent(in) :: lmsize
complex(kind=dp), intent(out) :: umat(2*lmsize,2*lmsize)
complex(kind=dp), intent(out) :: udeggamat(2*lmsize,2*lmsize)