summaryrefslogtreecommitdiff
path: root/trial_solution.m
diff options
context:
space:
mode:
authorEugeniy Mikhailov <evgmik@gmail.com>2012-09-25 17:36:49 -0400
committerEugeniy Mikhailov <evgmik@gmail.com>2012-09-25 17:36:49 -0400
commit67fa755e143a0529d960d1a6fbd358b2a19f3d7d (patch)
tree9ed26e5b9e68471c63bf2094aa03a200c3d7e263 /trial_solution.m
parent5776695f63613c351824630f8e19e7ca2e45c3b9 (diff)
downloadmode_match-67fa755e143a0529d960d1a6fbd358b2a19f3d7d.tar.gz
mode_match-67fa755e143a0529d960d1a6fbd358b2a19f3d7d.zip
solution_visualization is now a function
trial_solution modified appropriately so it calls solution_visualization
Diffstat (limited to 'trial_solution.m')
-rw-r--r--trial_solution.m25
1 files changed, 25 insertions, 0 deletions
diff --git a/trial_solution.m b/trial_solution.m
new file mode 100644
index 0000000..21e6b00
--- /dev/null
+++ b/trial_solution.m
@@ -0,0 +1,25 @@
+% ##########################################
+lambda= 1.064E-6 ;
+Ltot= 1.010675025828971 ;
+r0= 1.0E+100 ;
+w0= 2.563E-5 ;
+x0= 0 ;
+lns1.abcd=abcd_lens( 0.075 ) ;
+lns1.x= 0.21358727296049 ;
+lns2.abcd=abcd_lens( 0.075 ) ;
+lns2.x= 0.40361319425309 ;
+lns3.abcd=abcd_lens( 0.203 ) ;
+lns3.x= 0.80361319425309 ;
+wf= 3.709E-5 ;
+rf= 1.0E+100 ;
+xf= Ltot;
+
+optics={lns1,lns2,lns3};
+% ##########################################
+
+q0=wr2q(w0,r0,lambda);
+x0=0;
+qf=wr2q(wf,rf,lambda);
+xf=Ltot;
+
+solution_visualization(q0,x0, qf, xf, optics, lambda)