diff options
Diffstat (limited to 'example_beam_trace.m')
-rw-r--r-- | example_beam_trace.m | 13 |
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]; |