diff options
Diffstat (limited to 'faraday/task_solver.m')
-rwxr-xr-x | faraday/task_solver.m | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/faraday/task_solver.m b/faraday/task_solver.m deleted file mode 100755 index 0ba57ea..0000000 --- a/faraday/task_solver.m +++ /dev/null @@ -1,19 +0,0 @@ -#!/usr/bin/octave -qf -% reads parameters file (argv1) and output results of the calculations into output file (argv(2) - -arg_list = argv (); - -if (nargin < 2) - error("need at least two parameters"); -end -params_file=arg_list{1}; -output_fname=arg_list{2}; - -load(params_file); - -[xi_linear, xi_left, xi_right]=susceptibility_problem(detuning_freq, Ep, psi_el, B_field, theta, phi) - -save(output_fname, 'detuning_freq', 'Ep', 'psi_el', 'B_field', 'theta', 'phi', ... - 'xi_linear', 'xi_left', 'xi_right' ... - ); - |