diff options
author | Eugeniy Mikhailov <evgmik@gmail.com> | 2011-07-07 01:24:47 -0400 |
---|---|---|
committer | Eugeniy Mikhailov <evgmik@gmail.com> | 2011-07-07 01:24:47 -0400 |
commit | d13928279d3b245797ec39027c55f029fbcc1b59 (patch) | |
tree | a3e54a4d5dfeaf06d3699d56325e48f5194c72ab | |
parent | 2e6895ec0b70ba97e06c00f0447f86ad162181fd (diff) | |
download | wgmr-d13928279d3b245797ec39027c55f029fbcc1b59.tar.gz wgmr-d13928279d3b245797ec39027c55f029fbcc1b59.zip |
prism example
-rw-r--r-- | example_beam_trace.m | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/example_beam_trace.m b/example_beam_trace.m index ada35c9..f6db2da 100644 --- a/example_beam_trace.m +++ b/example_beam_trace.m @@ -1,23 +1,23 @@ -beam.k=[1,-.5]; -beam.origin=[0,0]; +beam.k=[-1,0]; +beam.origin=[2,0.5]; beam.face=NA; -face.vertex1=[1.1,-1]; -face.vertex2=[2.7,1]; -face.n_right = 1; -face.n_left= 2.5; +face1.vertex1=[-1,0]; +face1.vertex2=[1,0]; +face1.n_right = 1; +face1.n_left= 1.5; -face2.vertex1=[-.1,-3]; -face2.vertex2=[-.1,3]; +face2.vertex1=[1,0]; +face2.vertex2=[0,1]; face2.n_right = 1; -face2.n_left= 1; +face2.n_left= 1.5; -face3.vertex1=[2.1,-3]; -face3.vertex2=[2.1,3]; -face3.n_right = 1.5; -face3.n_left= 1; +face3.vertex1=[0,1]; +face3.vertex2=[-1,1]; +face3.n_right = 1; +face3.n_left= 1.5; -faces={face,face2,face3}; +faces={face1,face2,face3}; border1.vertex1=[-5,-5]; |