Re: [Meep-discuss] Command line arguments to change filename-prefix

2009-02-03 Thread Abram Young
If it helps, here's how I've done this before: somewhere in ctl file, use the parameter: (define-param r 0.45); in a bash script or from the command line, make the call: #!/bin/bash for i in `seq -f%1.3f 0.15 0.01 0.5`; do mpb r=$i ctlfile.ctl >& output_$i.dat done The output of the mpb run

[Meep-discuss] Command line arguments to change filename-prefix

2009-02-02 Thread Nathan
Hello all, I am trying to write a ctl file that will allow me to change the filename prefix using a command line parameter. I want to do a series of simulations that compute the reflected flux from a variety of material systems, but all using the same reference run. My plan is to write the c