matlab: improved help on RunOpenEMS function
parent
af062cacb1
commit
c42ab63f90
|
@ -1,14 +1,44 @@
|
||||||
function RunOpenEMS(Sim_Path, Sim_File, opts, Settings)
|
function RunOpenEMS(Sim_Path, Sim_File, opts, Settings)
|
||||||
% function RunOpenEMS(Sim_Path, Sim_File, opts, Settings)
|
% function RunOpenEMS(Sim_Path, Sim_File, <opts, Settings>)
|
||||||
%
|
%
|
||||||
% Run an openEMS simulation
|
% Run an openEMS simulation.
|
||||||
%
|
%
|
||||||
% example:
|
% arguments:
|
||||||
% Sim_Path = 'MySimPath';
|
% Sim_Path: specifiy the simulation folder (folder must exist!)
|
||||||
% Sim_File = 'helix.xml'; %should be created by WriteOpenEMS
|
% Sim_File: xml-filename to simulate, created by WriteOpenEMS
|
||||||
% opts = '--engine=fastest';
|
|
||||||
%
|
%
|
||||||
% optional:
|
% optional arguments
|
||||||
|
%
|
||||||
|
% opts: list of openEMS options
|
||||||
|
% possible options:
|
||||||
|
% --disable-dumps Disable all field dumps for faster simulation
|
||||||
|
% --debug-material Dump material distribution to a vtk file for debugging
|
||||||
|
% --debug-PEC Dump metal distribution to a vtk file for debugging
|
||||||
|
% --debug-operator Dump operator to vtk file for debugging
|
||||||
|
% --debug-boxes Dump e.g. probe boxes to vtk file for debugging
|
||||||
|
% --debug-CSX Write CSX geometry file to debugCSX.xml
|
||||||
|
% --engine=<type> Choose engine type
|
||||||
|
% --engine=fastest fastest available engine (default)
|
||||||
|
% --engine=basic basic FDTD engine
|
||||||
|
% --engine=sse engine using sse vector extensions
|
||||||
|
% --engine=sse_compressed engine using compressed operator + sse vector extensions
|
||||||
|
% --engine=MPI engine using compressed operator + sse vector extensions + MPI parallel processing
|
||||||
|
% --engine=multithreaded engine using compressed operator + sse vector extensions + MPI + multithreading
|
||||||
|
% --numThreads=<n> Force use n threads for multithreaded engine
|
||||||
|
% --no-simulation only run preprocessing; do not simulate
|
||||||
|
%
|
||||||
|
% Additional global arguments
|
||||||
|
% --showProbeDiscretization Show probe discretization information
|
||||||
|
% --nativeFieldDumps Dump all fields using the native field components
|
||||||
|
% -v,-vv,-vvv Set debug level: 1 to 3
|
||||||
|
%
|
||||||
|
%
|
||||||
|
% settings: list of Matlab settings
|
||||||
|
% possible settings:
|
||||||
|
% Settings.LogFile = 'openEMS.log'
|
||||||
|
% Settings.Silent = 0
|
||||||
|
%
|
||||||
|
% additional remote simulation settings
|
||||||
% Note: ssh only on unix with working ssh client or windows with putty client
|
% Note: ssh only on unix with working ssh client or windows with putty client
|
||||||
% openEMS Linux server or Windows with cygwin necessary
|
% openEMS Linux server or Windows with cygwin necessary
|
||||||
% Settings.SSH.host = '<hostname or ip>'
|
% Settings.SSH.host = '<hostname or ip>'
|
||||||
|
@ -19,15 +49,16 @@ function RunOpenEMS(Sim_Path, Sim_File, opts, Settings)
|
||||||
% Settings.SSH.Putty.Path = '<path_to>\putty';
|
% Settings.SSH.Putty.Path = '<path_to>\putty';
|
||||||
% Settings.SSH.Putty.Key = '<path_to>\putty_private_key.ppk';
|
% Settings.SSH.Putty.Key = '<path_to>\putty_private_key.ppk';
|
||||||
%
|
%
|
||||||
% optional MPI:
|
% MPI settings:
|
||||||
% Settings.MPI.xxx --> help RunOpenEMS_MPI
|
% Settings.MPI.xxx --> help RunOpenEMS_MPI
|
||||||
%
|
%
|
||||||
% Settings.LogFile = 'openEMS.log'
|
|
||||||
% Settings.Silent = 0
|
|
||||||
%
|
%
|
||||||
% RunOpenEMS(Sim_Path,Sim_File,opts,Settings)
|
% example:
|
||||||
|
% %create CSX and FDTD
|
||||||
|
% WriteOpenEMS('/tmp/path_to_run_in/myfile.xml', FDTD, CSX)
|
||||||
|
% RunOpenEMS('/tmp/path_to_run_in','myfile.xml','-v')
|
||||||
%
|
%
|
||||||
% See also WriteOpenEMS FindFreeSSH
|
% See also WriteOpenEMS FindFreeSSH InitCSX InitFDTD
|
||||||
%
|
%
|
||||||
% openEMS matlab interface
|
% openEMS matlab interface
|
||||||
% -----------------------
|
% -----------------------
|
||||||
|
|
Loading…
Reference in New Issue