#include <rl_ReflectionCoefPOD.h>
Public Member Functions | |
double | reflectivity (double polarization_factor=0.0) const |
void | init () |
void | init (rl_Traits::complex ¶, rl_Traits::complex &perp) |
rl_Traits::complex | para () const |
rl_Traits::complex & | para () |
rl_Traits::complex | perp () const |
rl_Traits::complex & | perp () |
std::ostream & | print_on (std::ostream &os, char const pre[]="", char const pst[]="") const |
void | cprint_on (std::FILE *of, char const pre[]="", char const pst[]="") const |
Definition at line 76 of file rl_ReflectionCoefPOD.h.
double rl_ReflectionCoefPOD::reflectivity | ( | double | polarization_factor = 0.0 |
) | const [inline] |
evaluate the reflectivity.
polarization_factor | polarization factor; it must be a value between -1 and 1. The polarization factor is related to parallel (p) and perpendicular (s) polarization by:
or
where
|
Definition at line 203 of file rl_ReflectionCoefPOD.h.
Referenced by rl_Multilayer::multilayer_reflectivity(), and rl_DielectricLayer::reflectivity().
void rl_ReflectionCoefPOD::init | ( | ) | [inline] |
initialize perpendicular (s) and parallel (p) reflection coefficients to zero.
Definition at line 172 of file rl_ReflectionCoefPOD.h.
Referenced by rl_Multilayer::multilayer_reflectivity().
void rl_ReflectionCoefPOD::init | ( | rl_Traits::complex & | para, | |
rl_Traits::complex & | perp | |||
) | [inline] |
initialize perpendicular (s) and parallel (p) reflection coefficients. to zero.
para | parallel reflection coefficient. | |
perp | perpendicular reflection coefficient. |
Definition at line 179 of file rl_ReflectionCoefPOD.h.
rl_Traits::complex rl_ReflectionCoefPOD::para | ( | ) | const [inline] |
Definition at line 187 of file rl_ReflectionCoefPOD.h.
Referenced by rl_DielectricLayer::cprint_constraints_on(), cprint_on(), rl_Polarization::reflect(), rl_DielectricLayer::reflect_amp(), and rl_DielectricLayer::reflect_nlayer().
rl_Traits::complex & rl_ReflectionCoefPOD::para | ( | ) | [inline] |
Definition at line 195 of file rl_ReflectionCoefPOD.h.
rl_Traits::complex rl_ReflectionCoefPOD::perp | ( | ) | const [inline] |
Definition at line 191 of file rl_ReflectionCoefPOD.h.
Referenced by rl_DielectricLayer::cprint_constraints_on(), cprint_on(), rl_Polarization::reflect(), rl_DielectricLayer::reflect_amp(), and rl_DielectricLayer::reflect_nlayer().
rl_Traits::complex & rl_ReflectionCoefPOD::perp | ( | ) | [inline] |
Definition at line 199 of file rl_ReflectionCoefPOD.h.
std::ostream & rl_ReflectionCoefPOD::print_on | ( | std::ostream & | os, | |
char const | pre[] = "" , |
|||
char const | pst[] = "" | |||
) | const [inline] |
Print reflectivity information to output stream.
os | output stream. | |
pre | optional prefix (char*) string. | |
pst | optional postfix (char*) string. |
Definition at line 210 of file rl_ReflectionCoefPOD.h.
void rl_ReflectionCoefPOD::cprint_on | ( | std::FILE * | of, | |
char const | pre[] = "" , |
|||
char const | pst[] = "" | |||
) | const [inline] |
Print reflectivity information to output FILE* stream.
of | output FILE* stream. | |
pre | optional prefix (char*) string. | |
pst | optional postfix (char*) string. |
Definition at line 219 of file rl_ReflectionCoefPOD.h.
References para(), and perp().
Referenced by rl_DielectricLayer::cdump_on().