libRoadRunner C API  1.0.0
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Functions
Reset methods

Methods for resetting instances to various initial states. More...

Functions

bool reset (RRHandle handle)
 Resets all variables of the model to their current initial values. Does not change the parameters. More...
 
bool resetAll (RRHandle handle)
 Resets all variables of the model to their current initial values, and resets all parameters to their original values. More...
 
bool resetToOrigin (RRHandle handle)
 Resets the model to the state in which it was first loaded, including initial conditions, variables, and parameters. More...
 

Detailed Description

Methods for resetting instances to various initial states.

Function Documentation

bool reset ( RRHandle  handle)

Resets all variables of the model to their current initial values. Does not change the parameters.

Parameters
[in]handleHandle to a RoadRunner instance
Returns
Boolean indicating success
bool resetAll ( RRHandle  handle)

Resets all variables of the model to their current initial values, and resets all parameters to their original values.

Parameters
[in]handleHandle to a RoadRunner instance
Returns
Boolean indicating success
bool resetToOrigin ( RRHandle  handle)

Resets the model to the state in which it was first loaded, including initial conditions, variables, and parameters.

Parameters
[in]handleHandle to a RoadRunner instance
Returns
Boolean indicating success