Skip to main content

OpenTD .NET4 reference 2025 R2

OpenTD.CoSolver.SF_Launcher Class Reference

Last update: 16.07.2025

Use SF_Launcher to load and run a Sinda model from a text input file. More...

Inheritance diagram for OpenTD.CoSolver.SF_Launcher:
OpenTD.CoSolver.ISF_RunConfig

Public Member Functions

 SF_Launcher (string inputPath)
 
Process Run ()
 
void CheckData ()
 

Properties

string SindaExePathname [get, set]
 By default, Run() will use the most-recent version of sinda.exe installed on your system. To force it to use a specific version, set SindaExePathname to the path to the sinda.exe you'd like to use. Relative paths are evaluated from the client program working directory.
 
string InputPathname [get, set]
 The Sinda input deck to run. Relative pathnames are evaluated from the client program working directory.
 
string PreprocessorOutputPathname [get, set]
 Preprocessor output pathname. Defaults to 'pp.out'. Relative pathnames are evaluated from the InputPathname directory.
 
bool Cleanup [get, set]
 If true, Sinda will delete any temporary directories when finished. Defaults to true.
 
bool LicenseWait [get, set]
 
bool StatusWindows [get, set]
 If true, Sinda shows status windows during the run. Defaults to false;.
 
bool UseOpenMP [get, set]
 
string AdditionalCompileOptions [get, set]
 Add additional commandline switches for the compiler here. Example: '/warn:declarations'.
 
string AdditionalLinkOptions [get, set]
 Add additional commandline switches for the linker here. Example: 'MyAddOnLibrary.lib'.
 

Detailed Description

Use SF_Launcher to load and run a Sinda model from a text input file.

Constructor & Destructor Documentation

◆ SF_Launcher()

OpenTD.CoSolver.SF_Launcher.SF_Launcher ( string inputPath)
inline

Member Function Documentation

◆ CheckData()

void OpenTD.CoSolver.SF_Launcher.CheckData ( )
inline

◆ Run()

Process OpenTD.CoSolver.SF_Launcher.Run ( )
inline

Property Documentation

◆ AdditionalCompileOptions

string OpenTD.CoSolver.SF_Launcher.AdditionalCompileOptions
getset

Add additional commandline switches for the compiler here. Example: '/warn:declarations'.

Implements OpenTD.CoSolver.ISF_RunConfig.

◆ AdditionalLinkOptions

string OpenTD.CoSolver.SF_Launcher.AdditionalLinkOptions
getset

Add additional commandline switches for the linker here. Example: 'MyAddOnLibrary.lib'.

Implements OpenTD.CoSolver.ISF_RunConfig.

◆ Cleanup

bool OpenTD.CoSolver.SF_Launcher.Cleanup
getset

If true, Sinda will delete any temporary directories when finished. Defaults to true.

Implements OpenTD.CoSolver.ISF_RunConfig.

◆ InputPathname

string OpenTD.CoSolver.SF_Launcher.InputPathname
getset

The Sinda input deck to run. Relative pathnames are evaluated from the client program working directory.

Implements OpenTD.CoSolver.ISF_RunConfig.

◆ LicenseWait

bool OpenTD.CoSolver.SF_Launcher.LicenseWait
getset

◆ PreprocessorOutputPathname

string OpenTD.CoSolver.SF_Launcher.PreprocessorOutputPathname
getset

Preprocessor output pathname. Defaults to 'pp.out'. Relative pathnames are evaluated from the InputPathname directory.

Implements OpenTD.CoSolver.ISF_RunConfig.

◆ SindaExePathname

string OpenTD.CoSolver.SF_Launcher.SindaExePathname
getset

By default, Run() will use the most-recent version of sinda.exe installed on your system. To force it to use a specific version, set SindaExePathname to the path to the sinda.exe you'd like to use. Relative paths are evaluated from the client program working directory.

Implements OpenTD.CoSolver.ISF_RunConfig.

◆ StatusWindows

bool OpenTD.CoSolver.SF_Launcher.StatusWindows
getset

If true, Sinda shows status windows during the run. Defaults to false;.

Implements OpenTD.CoSolver.ISF_RunConfig.

◆ UseOpenMP

bool OpenTD.CoSolver.SF_Launcher.UseOpenMP
getset

The documentation for this class was generated from the following file:
  • C:/Users/mgarrett/source/repos/BuildsTdSuite/builds/TDDEV_ALPHA/buildXX/OpenTD.CoSolver/SF_Launcher.cs

Connect with Ansys