Skip to content
Snippets Groups Projects
Commit 28150fa5 authored by Pascal Engeler's avatar Pascal Engeler
Browse files

commented out unused variables

parent e3b8aabf
No related branches found
No related tags found
No related merge requests found
...@@ -97,14 +97,12 @@ double dielectric::reflectance(double cos_theta_in, double cos_theta_out, double ...@@ -97,14 +97,12 @@ double dielectric::reflectance(double cos_theta_in, double cos_theta_out, double
*/ */
//new amplitude reflectance coefficients //new amplitude reflectance coefficients
double rs = ( ir_in * cos_theta_in - ir_out * cos_theta_out ) / ( ir_in * cos_theta_in + ir_out * cos_theta_out ); double rs = ( ir_in * cos_theta_in - ir_out * cos_theta_out ) / ( ir_in * cos_theta_in + ir_out * cos_theta_out );
double rp = ( ir_out * cos_theta_in - ir_in * cos_theta_out ) / ( ir_out * cos_theta_in + ir_in * cos_theta_out ); //double rp = ( ir_out * cos_theta_in - ir_in * cos_theta_out ) / ( ir_out * cos_theta_in + ir_in * cos_theta_out );
//return 0.5 * (rs + rp);
return rs; return rs;
} }
double dielectric::transmittance(double cos_theta_in, double cos_theta_out, double ir_in, double ir_out) const{ double dielectric::transmittance(double cos_theta_in, double cos_theta_out, double ir_in, double ir_out) const{
double ts = 2 * ir_in * cos_theta_in / ( ir_in * cos_theta_in + ir_out * cos_theta_out ); double ts = 2 * ir_in * cos_theta_in / ( ir_in * cos_theta_in + ir_out * cos_theta_out );
double tp = 2 * ir_in * cos_theta_in / ( ir_out * cos_theta_in + ir_in * cos_theta_out ); //double tp = 2 * ir_in * cos_theta_in / ( ir_out * cos_theta_in + ir_in * cos_theta_out );
//return 0.5 * (ts + tp);
return ts; return ts;
} }
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