Function wt::fresnel_reflection

Function Documentation

inline fresnel_conductor_ret_t wt::fresnel_reflection(c_t eta_12, const dir3_t &w, const dir3_t &n = {0, 0, 1})

Computes the Fresnel coefficients (reflection only) at a conductive interface. w is assumed to point away from the surface.

Parameters:

eta_12 – (Complex-valued) refractive-index ratio