diff liboctave/LSODE.h @ 4049:a35a3c5d4740

[project @ 2002-08-16 08:54:31 by jwe]
author jwe
date Fri, 16 Aug 2002 08:54:31 +0000
parents 9678c5526190
children 6e86256e9c54
line wrap: on
line diff
--- a/liboctave/LSODE.h
+++ b/liboctave/LSODE.h
@@ -37,11 +37,10 @@
 {
 public:
 
-  LSODE (void);
+  LSODE (void) : ODE (), LSODE_options (), initialized (false) { }
 
-  LSODE (int n);
-  
-  LSODE (const ColumnVector& state, double time, const ODEFunc& f);
+  LSODE (const ColumnVector& state, double time, const ODEFunc& f)
+    : ODE (state, time, f), LSODE_options (), initialized (false) { }
 
   ~LSODE (void) { }
 
@@ -55,20 +54,27 @@
 
 private:
 
-  int n;
+  bool initialized;
+
   int method_flag;
-  Array<int> iwork;
-  Array<double> rwork;
   int itask;
   int iopt;
+  int itol;
+
   int liw;
   int lrw;
-  bool sanity_checked;
+
+  Array<int> iwork;
+  Array<double> rwork;
+
+  double rel_tol;
 
-  friend int lsode_f (int *neq, double *t, double *y, double *ydot);
+  Array<double> abs_tol;
 
-  friend int lsode_j (int *neq, double *t, double *y, int *ml, int *mu,
-		      double *pd, int *nrowpd);
+  double *px;
+  double *pabs_tol;
+  int *piwork;
+  double *prwork;
 };
 
 #endif