Runs a parameter sweep or optimization task.
Syntax |
Description |
---|---|
runsweep; |
Runs all sweeps and optimization tasks. In FDTD, this will run tasks in CPU mode. |
runsweep("taskname"); |
Runs only the sweep or optimization named taskname. In FDTD, this will run the sweep or optimization in CPU mode. |
runsweep(“resource_type”); |
FDTD only, runs all sweeps and optimization tasks using a specified resource_type, either “GPU” or “CPU” |
runsweep("taskname",”resource_type”); |
FDTD only, runs the sweep or optimization named taskname using a specified resource_type, either “CPU” or “GPU”. |
Syntax |
Description |
---|---|
runsweep(“taskname”,”resource_type”, “burst”, burst_settings); |
Run a single parameter sweep with a specific type of resource. An error is returned in the sweep uses a solver that does not support Ansys Lumerical Burst:
|
runsweep(“type”,”burst”, burst_settings); |
Run all sweeps with the specified resource type. The settings are applied to all sweeps. An error is returned if a sweep in the list does not support Ansys Lumerical Burst:
|
Example
runsweep; runsweep("thickness_sweep");
See Also
run , getsweepdata , addjob , runjobs , parameter sweeps