Skip to content
Snippets Groups Projects
Commit feb30267 authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

+ comments

parent f4e1c9ed
No related branches found
No related tags found
No related merge requests found
......@@ -78,11 +78,12 @@ void SpecularMatrix::execute(const MultiLayer& sample, const kvector_t& k,
complex_t lambda = coeff[i].lambda;
if (lambda == 0.0) {
if (i==0) {
// standing vertical wave in layer with k_perp=0
// standing vertical wave in top layer with k_perp=0
coeff[i].t_r(0) = +1;
coeff[i].t_r(1) = -1;
}
else {
// no intensity in inner layer with k_perp=0
coeff[i].t_r.setZero();
}
// no intensity in layers below
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment