summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugeniy Mikhailov <evgmik@gmail.com>2011-07-09 16:04:35 -0400
committerEugeniy Mikhailov <evgmik@gmail.com>2011-07-09 16:04:35 -0400
commit1f81304d9e677fe205305300d23bfc8842ccc23a (patch)
treeef323f94870441caf89b8f8ff658b5ed2a055d95
parent6efadc24f8d3898b871114158afe1bcb3d00b378 (diff)
downloadwgmr-1f81304d9e677fe205305300d23bfc8842ccc23a.tar.gz
wgmr-1f81304d9e677fe205305300d23bfc8842ccc23a.zip
example has rutile prism/disk face now
-rw-r--r--example_beam_trace.m13
1 files changed, 8 insertions, 5 deletions
diff --git a/example_beam_trace.m b/example_beam_trace.m
index 0385cbf..041beed 100644
--- a/example_beam_trace.m
+++ b/example_beam_trace.m
@@ -1,7 +1,9 @@
-beam1.k=[-1,0];
-beam1.origin=[2,0.5];
-%beam1.k=[0,-1];
-%beam1.origin=[.4,2];
+%beam1.k=[-1,0];
+%beam1.origin=[2,0.5];
+beam1.k=[0,-1];
+beam1.origin=[.8,2];
+%beam1.k=[-1,-1];
+%beam1.origin=[2,2];
beam1.face=NA;
beam1.intensity = 1;
beam1.polarization = 1; % 1 for s and 2 for p
@@ -13,10 +15,11 @@ beam1.polarization = 2; % 1 for s and 2 for p
beams={beam1,beam2};
n_rutile=[2.4885, 2.7532]; % n_s and n_p
+n_disk= [1.3751, 1.3751];
face1.vertex1=[-1,0];
face1.vertex2=[1,0];
-face1.n_right = [1, 1];
+face1.n_right = n_disk;
face1.n_left= n_rutile;
face2.vertex1=[1,0];