COPASI API  4.16.103
CLSODAR.h
Go to the documentation of this file.
1 /* Begin CVS Header
2  $Source: /Volumes/Home/Users/shoops/cvs/copasi_dev/copasi/odepack++/CLSODAR.h,v $
3  $Revision: 1.3 $
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_CLSODAR
17 #define ODEPACK_CLSODAR
18 
20 
21 class PJAC;
22 class SLVS;
23 
24 class CLSODAR : public CInternalSolver
25  {
26  public:
27  CLSODAR();
28  ~CLSODAR();
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, // 17. type of j evaluation 2 internal full matrix
47  evalG g, // 18. evaluate constraint functions
48  C_INT *ng, // 19. number of constraint functions g(i)
49  C_INT *jroot); // 20. integer array of length NG for output of root information
50 
51  private:
54 
55  static const C_INT mxstp0;
56  static const C_INT mxhnl0;
57  static const C_INT mord[2];
58  };
59 
60 #endif // ODEPACK_CLSODAR
#define C_INT
Definition: copasi.h:115
~CLSODAR()
Definition: CLSODAR.cpp:109
void(* evalG)(const C_INT *, const double *, const double *, const C_INT *, double *)
Definition: common.h:32
static const C_INT mxstp0
Definition: CLSODAR.h:55
Definition: common.h:190
SLVS * mpSLVS
Definition: CLSODAR.h:53
void(* evalF)(const C_INT *, const double *, const double *, double *)
Definition: common.h:29
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, evalG g, C_INT *ng, C_INT *jroot)
Definition: CLSODAR.cpp:124
void(* evalJ)(const C_INT *, const double *, const double *, const C_INT *, const C_INT *, double *, const C_INT *)
Definition: common.h:30
CLSODAR()
Definition: CLSODAR.cpp:100
PJAC * mpPJAC
Definition: CLSODAR.h:52
static const C_INT mxhnl0
Definition: CLSODAR.h:56
static const C_INT mord[2]
Definition: CLSODAR.h:57
Definition: common.h:130