cellml_services::CellMLIntegrationRun Interface Reference

cellml_services::CellMLIntegrationRun Interface Reference
Inheritance diagram for cellml_services::CellMLIntegrationRun:
Collaboration diagram for cellml_services::CellMLIntegrationRun:

Public Member Functions

void setStepSizeControl (in double epsAbs, in double epsRel, in double scalVar, in double scalRate, in double maxStep)
 Sets a standard step size control function.
void setTabulationStepControl (in double tabulationStepSize, in boolean strictTabulation)
 Sets a tabulation interval.
void setResultRange (in double startBvar, in double stopBvar, in double maxPointDensity)
 Sets the range of results to be returned.
void setProgressObserver (in IntegrationProgressObserver ipo)
 Sets the progress observer...
void setOverride (in cellml_services::VariableEvaluationType type, in unsigned long variableIndex, in double newValue) raises (cellml_api::CellMLException)
 Sets an initial condition override.
void start ()
 Starts the integration running.
void stop ()
 Requests that the integration stop immediately.
- Public Member Functions inherited from XPCOM::IObject
void add_ref ()
 Called to indicate that some code is keeping an owning reference to the object.
oneway void release_ref ()
 Removes a reference to an object which was created by some other means (e.g.
IObject query_interface (in utf8string id)
 Returns an IObject of the same implementation, which supports a specific interface.

Additional Inherited Members

- Public Attributes inherited from XPCOM::IObject
readonly attribute string objid
 Fetches the ID of the object.

Detailed Description

Definition at line 82 of file CIS.idl.

Member Function Documentation

void cellml_services::CellMLIntegrationRun::setOverride ( in cellml_services::VariableEvaluationType  type,
in unsigned long  variableIndex,
in double  newValue 
) raises (cellml_api::CellMLException)

Sets an initial condition override.

This is used to change parameters which have been modified since the model was compiled, without forcing a recompilation.

Parameters
typeThe type of variable to set. Can be CONSTANT (sets the value of the constant) or DIFFERENTIAL (sets the initial value of the the differential).
variableIndexThe index into the relevant array, as provided by the CCGS VariableInformation structures. When working with second or higher differentials, you can use this to specify which derivative.
newValueThe value to assign.
void cellml_services::CellMLIntegrationRun::setProgressObserver ( in IntegrationProgressObserver  ipo)

Sets the progress observer...

Parameters
ipoThe progress observer to set. If this is null, the progress observer is cleared. Note that there can only be a single progress observer at any one time.
void cellml_services::CellMLIntegrationRun::setResultRange ( in double  startBvar,
in double  stopBvar,
in double  maxPointDensity 
)

Sets the range of results to be returned.

Parameters
startBvarThe first value of the bound variable.
stopBvarThe final value of the bound variable.
maxPointDensityThe maximum point density allowed across any bound variable range containing two or more points. The density is expressed in terms of points between stopBvar and startBvar. Note that startBvar <= stopBvar is required to get integration results. However, it is not an error otherwise, and so this can be used to get results when there are no ODEs involved (for example, to find the value of computed constants).
void cellml_services::CellMLIntegrationRun::setStepSizeControl ( in double  epsAbs,
in double  epsRel,
in double  scalVar,
in double  scalRate,
in double  maxStep 
)

Sets a standard step size control function.

Parameters
epsAbsThe absolute error control.
epsRelThe relative error control.
scalVarThe weighting of the variables in the error control equation.
scalRateThe weighting of the rates in the error control equation.
maxStepThe maximum step size to ever take.
void cellml_services::CellMLIntegrationRun::setTabulationStepControl ( in double  tabulationStepSize,
in boolean  strictTabulation 
)

Sets a tabulation interval.

Parameters
tabulationStepSizeThe tabulation step size. If set to zero, it will be internally set to the final value of the bound variable.
strictTabulationIf true, only tabulate at tabulation points. Otherwise, at least ensure that there are data points at the tabulation points.
void cellml_services::CellMLIntegrationRun::start ( )

Starts the integration running.

Results will get notified to the progress observer.

void cellml_services::CellMLIntegrationRun::stop ( )

Requests that the integration stop immediately.