18 #include <Eigen/Dense>
22 const double pi2_15 = std::pow(M_PI_2, 1.5);
25 std::pair<complex_t, complex_t>
26 SpecularScalarTanhStrategy::transition(complex_t kzi, complex_t kzi1,
double sigma)
const
28 complex_t roughness = 1;
30 const double sigeff = pi2_15 * sigma;
34 const complex_t inv_roughness = 1.0 / roughness;
35 const complex_t kz_ratio = kzi1 / kzi * roughness;
37 const complex_t a00 = 0.5 * (inv_roughness + kz_ratio);
38 const complex_t a01 = 0.5 * (inv_roughness - kz_ratio);
Defines M_PI and some more mathematical constants.
Defines namespace MathFunctions.
Defines class SpecularScalarTanhStrategy.
complex_t tanhc(const complex_t z)
Complex tanhc function: .