aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Argao <mcargao@email.wm.edu>2012-11-29 16:36:05 -0500
committerMatt Argao <mcargao@email.wm.edu>2012-11-29 16:36:05 -0500
commit086a61dd58c53ad35d8cf7aa97f8acb9194027a3 (patch)
treef758152929b59971ee0aea653ce5fb62378ce49d
parent568627ff83ac874b1103f3152cbb967fc531a0be (diff)
downloadmode_match-086a61dd58c53ad35d8cf7aa97f8acb9194027a3.tar.gz
mode_match-086a61dd58c53ad35d8cf7aa97f8acb9194027a3.zip
Outputs final radius as well
-rw-r--r--solution_visualization.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/solution_visualization.m b/solution_visualization.m
index c099d78..2cf8ce7 100644
--- a/solution_visualization.m
+++ b/solution_visualization.m
@@ -1,4 +1,4 @@
-function waste_at_the_end = solution_visualization(q0,x0, qf, xf, optics, lambda)
+function [waste_at_the_end, radius_at_the_end] = solution_visualization(q0,x0, qf, xf, optics, lambda)
%Propagates beam with given input parameters
% Forward propagation and backward propagation are taken in order to
% visualize reasonable solutions.