lmie.ofc: Lorentz-Mie Optical Force Calculation.

Description Usage Arguments Value Examples

Description

Lorentz-Mie Optical Force Calculation.

Usage

1
lmie.ofc(m, x, GTE, GTM, lmax = floor(x + 2 + 4 * x^(1/3)), code = "C")

Arguments

m

The ratio between the refractive indices.

x

The form factor value.

by

LD using logarithmic derivative; RB using the ratio between Ricatti-Bessel functions.

Value

The coefficients A_n, B_n and C_n used to calculate the Optical force.

Examples

1
2
3
4
5
6
7
8
9
lmax<-20
lambda=.532  # Green 532 nm
m<-ridx.pol(lambda)/ridx.h2o(lambda)
g<-vswf.mpw(lmax+1)
g<-vswf.bbp(3,4,1,2,3,lmax+1,1,1,1)
x<-20

F<-lmie.ofc(m,x,g$GTE,g$GTM,lmax)
print(F)

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