vswf.hmp: Hansen Multipoles.

Description Usage Arguments Details Value See Also Examples

Description

Hansen Multipoles.

Usage

1
vswf.hmp(k, x, y, z, lmax)

Arguments

k

The module of the wave vector.

x

The component x of the position vector.

y

The component y of the position vector.

z

The component z of the position vector.

lmax

The maximum value of l.

Details

The Hansen Multipoles combine the Vector Spherical Harmonics with the spherical Bessel functions.

Value

A list with the complex components of the Hansen Multipoles M_{lm} and N_{lm}.

See Also

vswf.sbf, vswf.vsh.

Examples

1
2
3
4
th<-pi/3
ph<-pi/4
VSH<-vswf.hmp(1,sin(th)*cos(ph),sin(th)*sin(ph),cos(th),5)
print(as.data.frame(VSH))

wendellopes/rvswf documentation built on May 4, 2019, 4:19 a.m.