|
Data Structures |
struct | timeSettings |
| NOT USED CURRENTLY! timeSettings: start- and end times, timesteps, number of timesteps. More...
|
struct | cvodeSettings |
| Settings for CVODE Integration. More...
|
Typedefs |
typedef cvodeSettings | cvodeSettings_t |
typedef timeSettings | timeSettings_t |
Functions |
timeSettings_t * | TimeSettings_create (double t0, double tend, int nout) |
void | TimeSettings_free (timeSettings_t *time) |
cvodeSettings_t * | CvodeSettings_createFromTimeSettings (timeSettings_t *time) |
| Creates a settings structure from a timeSettings structure and fills rest with default values.
|
SBML_ODESOLVER_API cvodeSettings_t * | CvodeSettings_create () |
| Creates a settings structure with default values.
|
SBML_ODESOLVER_API cvodeSettings_t * | CvodeSettings_createWithTime (double Time, int PrintStep) |
| Creates a settings structure with default Values for Errors, MxStep and Swicthes.
|
SBML_ODESOLVER_API cvodeSettings_t * | CvodeSettings_createWith (double EndTime, int PrintStep, double Error, double RError, int Mxstep, int UseJacobian, int Indefinitely, int HaltOnEvent, int SteadyState, int StoreResults, int Sensitivity, int SensMethod) |
| Creates a settings structure from input values.
|
SBML_ODESOLVER_API int | CvodeSettings_setTime (cvodeSettings_t *, double EndTime, int PrintStep) |
| Calculates a time point series from Endtime and Printstep and sets the time series in cvodeSettings.
|
SBML_ODESOLVER_API int | CvodeSettings_setTimeStep (cvodeSettings_t *, int, double) |
| Sets the ith time step for the integration, where 0 < i <= PrintStep.
|
SBML_ODESOLVER_API void | CvodeSettings_setSwitches (cvodeSettings_t *, int UseJacobian, int Indefinitely, int HaltOnEvent, int SteadyState, int StoreResults, int Sensitivity, int SensMethod) |
| Sets integration switches in cvodeSettings.
|
SBML_ODESOLVER_API void | CvodeSettings_setErrors (cvodeSettings_t *, double Error, double RError, int Mxstep) |
| Sets absolute and relative error tolerances and maximum number of internal steps during CVODE integration.
|
SBML_ODESOLVER_API void | CvodeSettings_setError (cvodeSettings_t *, double) |
| Sets absolute error tolerance.
|
SBML_ODESOLVER_API void | CvodeSettings_setRError (cvodeSettings_t *, double) |
| Sets relative error tolerance.
|
SBML_ODESOLVER_API void | CvodeSettings_setMxstep (cvodeSettings_t *, int) |
| Sets maximum number of internal steps during CVODE integration.
|
SBML_ODESOLVER_API void | CvodeSettings_setMethod (cvodeSettings_t *, int, int) |
| Set method non-linear solver methods, and its maximum order (currently the latter cannot really be set, but default to 5 for BDF or 12 for Adams-Moulton!!
|
SBML_ODESOLVER_API void | CvodeSettings_setIterMethod (cvodeSettings_t *, int) |
| Set method for CVODE integration.
|
SBML_ODESOLVER_API void | CvodeSettings_setMaxOrder (cvodeSettings_t *, int) |
| Sets maximum order of BDF or Adams-Moulton method, respectively, currently this settings is not really used but defaults to 5 for BDF and 12 for Adams-Moulton: ASAP!
|
SBML_ODESOLVER_API void | CvodeSettings_setJacobian (cvodeSettings_t *, int) |
| Sets use of generated Jacobian matrix (i=1) or of CVODE's internal approximation (i=0).
|
SBML_ODESOLVER_API void | CvodeSettings_setIndefinitely (cvodeSettings_t *, int) |
| Sets indefinite integration (i=1).
|
SBML_ODESOLVER_API void | CvodeSettings_setHaltOnEvent (cvodeSettings_t *, int) |
| Sets event handling, stop (1, default) or don't stop (0) on events.
|
SBML_ODESOLVER_API void | CvodeSettings_setSteadyState (cvodeSettings_t *, int) |
| Sets steady state handling: if i==1, the integration will stop upon an approximate detection of a steady state, which is here defined as some threshold value of the mean value and standard deviation of current ODE values.
|
SBML_ODESOLVER_API void | CvodeSettings_setStoreResults (cvodeSettings_t *, int) |
| Results will only be stored, if i==1 and if a finite integration has been chosen (CvodeSettings_setIndefinitely(settings, 0)).
|
SBML_ODESOLVER_API void | CvodeSettings_setSensitivity (cvodeSettings_t *, int) |
| Activate sensitivity analysis with 1; also sets to default sensitivity method `simultaneous' (setSensMethod(set, 0);.
|
SBML_ODESOLVER_API void | CvodeSettings_setSensMethod (cvodeSettings_t *, int) |
| Set method for sensitivity analysis: 0: simultaneous 1: staggered, 2: staggered1.
|
SBML_ODESOLVER_API void | CvodeSettings_dump (cvodeSettings_t *) |
| Print all cvodeSettings.
|
SBML_ODESOLVER_API void | CvodeSettings_free (cvodeSettings_t *) |
| Frees cvodeSettings.
|
SBML_ODESOLVER_API cvodeSettings_t * | CvodeSettings_clone (cvodeSettings_t *) |
| Creates a settings structure and copies all values from input.
|
SBML_ODESOLVER_API double | CvodeSettings_getEndTime (cvodeSettings_t *) |
| Returns the last time point of integration or -1, if Indefinitely is set to TRUE (1);.
|
SBML_ODESOLVER_API int | CvodeSettings_getPrintsteps (cvodeSettings_t *) |
| Returns the number of integration steps or -1, if infinite integration has been chosen.
|
SBML_ODESOLVER_API double | CvodeSettings_getTimeStep (cvodeSettings_t *) |
| Returns the time step of integration; if infinite integration has been chosen, this is only the first time step.
|
SBML_ODESOLVER_API double | CvodeSettings_getTime (cvodeSettings_t *, int) |
| Returns the time of the ith time step, where 0 <= i < PrintStep, unless infinite integration has been chosen.
|
SBML_ODESOLVER_API double | CvodeSettings_getError (cvodeSettings_t *) |
| Returns the absolute error tolerance.
|
SBML_ODESOLVER_API double | CvodeSettings_getRError (cvodeSettings_t *) |
| Returns the relative error tolerance.
|
SBML_ODESOLVER_API int | CvodeSettings_getMxstep (cvodeSettings_t *) |
| Returns the maximum number of internal time steps taken by CVODE to reach the next output time (printstep).
|
SBML_ODESOLVER_API char * | CvodeSettings_getMethod (cvodeSettings_t *) |
| Get non-linear solver method (BDF or ADAMS-MOULTON).
|
SBML_ODESOLVER_API char * | CvodeSettings_getIterMethod (cvodeSettings_t *) |
| Get non-linear solver iteration type (NEWTON or FUNCTIONAL).
|
SBML_ODESOLVER_API int | CvodeSettings_getMaxOrder (cvodeSettings_t *) |
| Get maximum order of non-linear solver method.
|
SBML_ODESOLVER_API int | CvodeSettings_getJacobian (cvodeSettings_t *) |
| Returns 1, if the automatically generated or 0 if CVODE's internal approximation of the jacobian matrix will be used by CVODE.
|
SBML_ODESOLVER_API int | CvodeSettings_getIndefinitely (cvodeSettings_t *) |
| Returns 1, if infinite integration has been chosen, and 0 otherwise.
|
SBML_ODESOLVER_API int | CvodeSettings_getHaltOnEvent (cvodeSettings_t *) |
| Returns 1, if integration should stop upon an event trigger and 0 if integration should continue after evaluation of event assignments.
|
SBML_ODESOLVER_API int | CvodeSettings_getSteadyState (cvodeSettings_t *) |
| Returns 1, if integration should stop upon detection of a steady state, and 0 if integration should continue.
|
SBML_ODESOLVER_API int | CvodeSettings_getStoreResults (cvodeSettings_t *) |
| Returns 1, if integration results should be stored internally, and 0 if not.
|
SBML_ODESOLVER_API int | CvodeSettings_getSensitivity (cvodeSettings_t *) |
| Returns 1, if sensitivity analysis is requested and CVODES will be used.
|
SBML_ODESOLVER_API char * | CvodeSettings_getSensMethod (cvodeSettings_t *) |
| Get sensitivity method `simultaneous', `staggered' or `staggered1'.
|