trarea Subroutine

public subroutine trarea(a, b, lmax)

From complex to real (differenciated spherical harmonics)

Arguments

Type IntentOptional Attributes Name
complex(kind=dp), intent(in), dimension(*) :: a

Input complex spherical harmonics

real(kind=dp), intent(out), dimension(*) :: b

Output real derivative of an spherical harmonic

integer, intent(in) :: lmax

Maximum l component in wave function expansion