diff options
author | Eugeniy Mikhailov <evgmik@gmail.com> | 2011-07-08 12:49:20 -0400 |
---|---|---|
committer | Eugeniy Mikhailov <evgmik@gmail.com> | 2011-07-08 12:49:20 -0400 |
commit | a4d6cb481d6745e6396a509a1df92ed510384a6b (patch) | |
tree | a62bf697a29e4f18247f8774779c67cf752d2331 /example_beam_trace.m | |
parent | 659c287bfd1c78ed6b17d4d53d58119cd437bf97 (diff) | |
download | wgmr-a4d6cb481d6745e6396a509a1df92ed510384a6b.tar.gz wgmr-a4d6cb481d6745e6396a509a1df92ed510384a6b.zip |
beams definitions are in the same place
Diffstat (limited to 'example_beam_trace.m')
-rw-r--r-- | example_beam_trace.m | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/example_beam_trace.m b/example_beam_trace.m index 30703d2..bbe4502 100644 --- a/example_beam_trace.m +++ b/example_beam_trace.m @@ -1,12 +1,17 @@ beam1.k=[-1,0]; beam1.origin=[2,0.5]; +%beam1.k=[0,-1]; +%beam1.origin=[.4,2]; beam1.face=NA; beam1.intensity = 1; beam1.polarization = 1; % 1 for s and 2 for p +beam1.status='incoming'; % could be reflected, refracted, incoming beam2=beam1; beam1.polarization = 2; % 1 for s and 2 for p +beams={beam1,beam2}; + face1.vertex1=[-1,0]; face1.vertex2=[1,0]; @@ -47,7 +52,6 @@ border4.n_right = [1, 1]; border4.n_left= [1, 1]; borders={border1,border2, border3, border4}; -beams={beam1,beam2}; border_limits=[-2,-2, 2,2]; |