COPASI API  4.16.103
CLSODA.h
Go to the documentation of this file.
1 /* Begin CVS Header
2  $Source: /Volumes/Home/Users/shoops/cvs/copasi_dev/copasi/odepack++/CLSODA.h,v $
3  $Revision: 1.7 $
4  $Name: $
5  $Author: gauges $
6  $Date: 2006/10/15 07:38:41 $
7  End CVS Header */
8 
9 // Copyright 2006 by Pedro Mendes, Virginia Tech Intellectual
10 // Properties, Inc. and EML Research, gGmbH.
11 // All rights reserved.
12 //
13 // This C++ code is based on an f2c conversion of the Fortran
14 // library ODEPACK available at: http://www.netlib.org/odepack/
15 
16 #ifndef ODEPACK_CLSODA
17 #define ODEPACK_CLSODA
18 
20 
21 class PJAC;
22 class SLVS;
23 
24 class CLSODA : public CInternalSolver
25  {
26  public:
27  CLSODA();
28  ~CLSODA();
29 
30  C_INT operator() (evalF f, // 1. evaluate f
31  C_INT *neq, // 2. number of equations
32  double *y, // 3. y
33  double *t, // 4. time
34  double *tout, // 5. end time
35  C_INT *itol, // 6. 1 common, 2 atol array, 3 rtol array, 4 both array
36  double *rtol, // 7. relative tolerance
37  double *atol, // 8. absolute tolerance
38  C_INT *itask, // 9. 1
39  C_INT *istate, // 10. status
40  C_INT *iopt, // 11. 0
41  double *rwork, // 12. work array 22 + neq * max(16, neq + 9)
42  C_INT *lrw, // 13. size of rwork
43  C_INT *iwork, // 14. work array 20 + neq
44  C_INT *liw, // 15. size of iwork
45  evalJ jac, // 16. evaluate j
46  C_INT *jt); // 18. type of j evaluation 2 internal full matrix
47 
48  private:
51 
52  static const C_INT mxstp0;
53  static const C_INT mxhnl0;
54  static const C_INT mord[2];
55  };
56 
57 #endif // ODEPACK_CLSODA
#define C_INT
Definition: copasi.h:115
Definition: common.h:190
static const C_INT mord[2]
Definition: CLSODA.h:54
static const C_INT mxhnl0
Definition: CLSODA.h:53
void(* evalF)(const C_INT *, const double *, const double *, double *)
Definition: common.h:29
CLSODA()
Definition: CLSODA.cpp:95
SLVS * mpSLVS
Definition: CLSODA.h:50
PJAC * mpPJAC
Definition: CLSODA.h:49
void(* evalJ)(const C_INT *, const double *, const double *, const C_INT *, const C_INT *, double *, const C_INT *)
Definition: common.h:30
Definition: CLSODA.h:24
static const C_INT mxstp0
Definition: CLSODA.h:52
C_INT operator()(evalF f, C_INT *neq, double *y, double *t, double *tout, C_INT *itol, double *rtol, double *atol, C_INT *itask, C_INT *istate, C_INT *iopt, double *rwork, C_INT *lrw, C_INT *iwork, C_INT *liw, evalJ jac, C_INT *jt)
Definition: CLSODA.cpp:119
~CLSODA()
Definition: CLSODA.cpp:104
Definition: common.h:130