Monte Carlo eXtreme (MCX)
|
MCX Mie scattering functions header. More...
Go to the source code of this file.
Functions | |
void | Mie (double x, double mx, const double *mu, float4 *smatrix, double *qsca, double *g) |
Precompute scattering parameters based on Mie theory [bohren and huffman]. More... | |
void | small_Mie (double x, double mx, const double *mu, float4 *smatrix, double *qsca, double *g) |
Precompute scattering parameters for small particles. More... | |
MCX Mie scattering functions header.
void Mie | ( | double | x, |
double | mx, | ||
const double * | mu, | ||
float4 * | smatrix, | ||
double * | qsca, | ||
double * | g | ||
) |
Precompute scattering parameters based on Mie theory [bohren and huffman].
For each combination of sphere and background medium, compute the scattering efficiency and scattering Mueller matrix w.r.t. different scattering angles.
[in] | x | sphere particle size parameters |
[in] | m | complex relative refractive index |
[in] | mu | precomputed cosine of sampled scattering angles |
[out] | smatrix | scattering Mueller matrix |
[out] | qsca | scattering efficiency |
void small_Mie | ( | double | x, |
double | mx, | ||
const double * | mu, | ||
float4 * | smatrix, | ||
double * | qsca, | ||
double * | g | ||
) |
Precompute scattering parameters for small particles.
[in] | x | sphere particle size parameters |
[in] | m | complex relative refractive index |
[in] | mu | precomputed cosine of sampled scattering angles |
[out] | smatrix | scattering Mueller matrix |
[out] | qsca | scattering efficiency |