TinkeCell API  1.0.0
C/Python/Octave/Ruby API
Functions
Modules

Substitute submodels without affecting higher-level diagram. More...

Functions

BEGIN_C_DECLS TCAPIEXPORT void tc_substituteModel (long item, const char *filename)
 load a sub-model to represent the processes inside an existing connection. use an empty string to substitude the empty model.
TCAPIEXPORT void tc_substituteEmptyModel (long item)
 load an empty sub-model to represent the processes inside an existing connection, i.e removed that process from the model
TCAPIEXPORT void tc_substituteOriginalModel (long item)
 load the original sub-model for the processes inside an existing connection
TCAPIEXPORT tc_strings tc_listOfPossibleModels (long item)
 get the list of possible model files that can be used as a sub-model to represent the processes inside an existing connection

Detailed Description

Substitute submodels without affecting higher-level diagram.


Function Documentation

TCAPIEXPORT tc_strings tc_listOfPossibleModels ( long  item)

get the list of possible model files that can be used as a sub-model to represent the processes inside an existing connection

Parameters:
longconnection that will be the parent of the new model
Returns:
tc_list list of file names
TCAPIEXPORT void tc_substituteEmptyModel ( long  item)

load an empty sub-model to represent the processes inside an existing connection, i.e removed that process from the model

Parameters:
longconnection that will be the parent of the new model
BEGIN_C_DECLS TCAPIEXPORT void tc_substituteModel ( long  item,
const char *  filename 
)

load a sub-model to represent the processes inside an existing connection. use an empty string to substitude the empty model.

Parameters:
longconnection that will be the parent of the new model
constchar* file name of new model
TCAPIEXPORT void tc_substituteOriginalModel ( long  item)

load the original sub-model for the processes inside an existing connection

Parameters:
longconnection that will be the parent of the new model
 All Data Structures