Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages | Examples

Start the simulation session

To set up the SPARK simulation session, the function SPARK::Start() must be invoked prior to any other SPARK method or function in the driver function.

This function identifies the simulation session with a name specified as a const char* string argument. It also opens the global run and error log files.

    SPARK::Start( 
           "My session", // session name
           "run.log",    // name of run log file
           "error.log",  // name of error log file
       "debug.log"   // name of the debug log file (used only if SPARK_DEBUG is defined)
    );

Note:
The error log file is only created if warning(s) and/or error(s) are generated during the simulation run.
In order to make a simulation run, it is first required to load the problem under study. See Load a SPARK problem at runtime.

Generated on 5 Nov 2003 for VisualSPARK 2.01