summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugeniy Mikhailov <evgmik@gmail.com>2011-07-08 17:19:54 -0400
committerEugeniy Mikhailov <evgmik@gmail.com>2011-07-08 17:19:54 -0400
commitdf57c5bc58d551b6bc2dfb2e4750e39590f5c5d4 (patch)
treedbceccc2e5bc701529621fdf516a3f87bd4cf780
parenta550779e736f47818c093a610bd787ae80e0af58 (diff)
downloadwgmr-df57c5bc58d551b6bc2dfb2e4750e39590f5c5d4.tar.gz
wgmr-df57c5bc58d551b6bc2dfb2e4750e39590f5c5d4.zip
fix rutile prism s and p indexes of refraction
-rw-r--r--example_beam_trace.m7
1 files changed, 4 insertions, 3 deletions
diff --git a/example_beam_trace.m b/example_beam_trace.m
index 6df00e7..0385cbf 100644
--- a/example_beam_trace.m
+++ b/example_beam_trace.m
@@ -12,21 +12,22 @@ beam1.polarization = 2; % 1 for s and 2 for p
beams={beam1,beam2};
+n_rutile=[2.4885, 2.7532]; % n_s and n_p
face1.vertex1=[-1,0];
face1.vertex2=[1,0];
face1.n_right = [1, 1];
-face1.n_left= [2.4885, 2.7532];
+face1.n_left= n_rutile;
face2.vertex1=[1,0];
face2.vertex2=[0,1];
face2.n_right = [1, 1];
-face2.n_left= [2.4885, 2.7532];
+face2.n_left= n_rutile;
face3.vertex1=[0,1];
face3.vertex2=[-1,0];
face3.n_right = [1, 1];
-face3.n_left= [2.4885, 2.7532];
+face3.n_left= n_rutile;
faces={face1,face2,face3};