Monte Carlo eXtreme (MCX)
Functions
mcx_mie.h File Reference

MCX Mie scattering functions header. More...

This graph shows which files directly or indirectly include this file:

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...
 

Detailed Description

MCX Mie scattering functions header.

Function Documentation

◆ Mie()

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.

Parameters
[in]xsphere particle size parameters
[in]mcomplex relative refractive index
[in]muprecomputed cosine of sampled scattering angles
[out]smatrixscattering Mueller matrix
[out]qscascattering efficiency
Here is the call graph for this function:

◆ small_Mie()

void small_Mie ( double  x,
double  mx,
const double *  mu,
float4 smatrix,
double *  qsca,
double *  g 
)

Precompute scattering parameters for small particles.

Parameters
[in]xsphere particle size parameters
[in]mcomplex relative refractive index
[in]muprecomputed cosine of sampled scattering angles
[out]smatrixscattering Mueller matrix
[out]qscascattering efficiency