diff options
author | Eugeniy Mikhailov <evgmik@gmail.com> | 2012-03-08 11:07:40 -0500 |
---|---|---|
committer | Eugeniy Mikhailov <evgmik@gmail.com> | 2012-03-08 11:07:40 -0500 |
commit | aa5eb5d38f9456944db161b71c46c9a2976b62c6 (patch) | |
tree | 09eb50bc7320c665d5ba709afdf6a85595b24d31 | |
parent | 3db38afc43b027340d582242acaca613f30b9d55 (diff) | |
download | wgmr-aa5eb5d38f9456944db161b71c46c9a2976b62c6.tar.gz wgmr-aa5eb5d38f9456944db161b71c46c9a2976b62c6.zip |
example modified to reflect rutile prism and MgF2 disk situation
-rw-r--r-- | example_beam_trace.m | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/example_beam_trace.m b/example_beam_trace.m index 0547206..cb10dac 100644 --- a/example_beam_trace.m +++ b/example_beam_trace.m @@ -1,7 +1,8 @@ %beam1.k=[-1,0]; %beam1.origin=[2,0.5]; -beam1.k=[0,-1]; -beam1.origin=[.8,2]; +beam_initial_travel_angle=(22+45-180)/180*pi; +beam1.k=[cos(beam_initial_travel_angle), sin(beam_initial_travel_angle)]; +beam1.origin=[1.7,2]; %beam1.k=[-1,-1]; %beam1.origin=[2,2]; beam1.face=NA; @@ -15,7 +16,8 @@ beam1.polarization = 2; % 1 for s and 2 for p beams={beam1,beam2}; n_rutile=[2.7532, 2.4885]; % n_s and n_p -n_disk= [1.3751, 1.3751]; +n_disk= [1.3751, 1.3868]; % MgF2 book value +n_disk= [1.465 , 1.465 ]; % MgF2 measured n_air= [1., 1.]; face1.vertex1=[-1,0]; |