Main Page | Modules | Data Structures | Directories | File List | Data Fields | Globals

cvodedata.c File Reference

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sbml/SBMLTypes.h>
#include <sbml/Model.h>
#include "sbmlsolver/cvodedata.h"
#include "sbmlsolver/integratorInstance.h"
#include "sbmlsolver/integratorSettings.h"
#include "sbmlsolver/odeModel.h"
#include "sbmlsolver/processAST.h"
#include "sbmlsolver/solverError.h"
#include "sbmlsolver/variableIndex.h"

Include dependency graph for cvodedata.c:


Functions

SBML_ODESOLVER_API cvodeData_tCvodeData_create (odeModel_t *om)
 Creates cvodeData from an odeModel and initial values from the original SBML model.
SBML_ODESOLVER_API void CvodeData_initializeValues (cvodeData_t *data)
 Writes values from the input SBML model into the data structure.
SBML_ODESOLVER_API void CvodeData_free (cvodeData_t *data)
 Frees cvodeData.
SBML_ODESOLVER_API int CvodeResults_getNout (cvodeResults_t *results)
 Returns the number of time points for which results exist.
SBML_ODESOLVER_API double CvodeResults_getTime (cvodeResults_t *results, int n)
 Returns the time point number n, where 0 <= n < CvodeResults_getNout.
SBML_ODESOLVER_API double CvodeResults_getValue (cvodeResults_t *results, variableIndex_t *vi, int timestep)
 Returns the value of a variable or parameter of the odeModel at time step timestep via its variableIndex, where 0 <= timestep < CvodeResults_getNout, and the variableIndex can be retrieved from the input odeModel.
SBML_ODESOLVER_API double CvodeResults_getSensitivityByNum (cvodeResults_t *results, int value, int parameter, int timestep)
 Returns the sensitivity of ODE variable y to parameter p at timestep nr.
SBML_ODESOLVER_API double CvodeResults_getSensitivity (cvodeResults_t *results, variableIndex_t *y, variableIndex_t *p, int timestep)
 Returns the sensitivity of ODE variable y to parameter p at timestep nr.
SBML_ODESOLVER_API void CvodeResults_free (cvodeResults_t *results)
 Frees results structure cvodeResults filled by the CVODE integrator.
int CvodeData_initialize (cvodeData_t *data, cvodeSettings_t *opt, odeModel_t *om)
int CvodeResults_allocateSens (cvodeResults_t *results, int neq, int nsens, int nout)
cvodeResults_tCvodeResults_create (cvodeData_t *data, int nout)

Function Documentation

int CvodeData_initialize cvodeData_t data,
cvodeSettings_t opt,
odeModel_t om
 

int CvodeResults_allocateSens cvodeResults_t results,
int  neq,
int  nsens,
int  nout
 

cvodeResults_t* CvodeResults_create cvodeData_t data,
int  nout
 


Generated on Wed Dec 21 18:10:09 2005 for SBML ODE Solver Library API by  doxygen 1.4.4