1 |
johnpye |
669 |
/* ASCEND modelling environment |
2 |
|
|
Copyright 1997, Carnegie Mellon University |
3 |
|
|
Copyright (C) 2006 Carnegie Mellon University |
4 |
|
|
|
5 |
|
|
This program is free software; you can redistribute it and/or modify |
6 |
|
|
it under the terms of the GNU General Public License as published by |
7 |
|
|
the Free Software Foundation; either version 2, or (at your option) |
8 |
|
|
any later version. |
9 |
|
|
|
10 |
|
|
This program is distributed in the hope that it will be useful, |
11 |
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of |
12 |
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
13 |
|
|
GNU General Public License for more details. |
14 |
|
|
|
15 |
|
|
You should have received a copy of the GNU General Public License |
16 |
|
|
along with this program; if not, write to the Free Software |
17 |
|
|
Foundation, Inc., 59 Temple Place - Suite 330, |
18 |
|
|
Boston, MA 02111-1307, USA. |
19 |
|
|
*//** @file |
20 |
|
|
Lsode Integrator. |
21 |
|
|
|
22 |
|
|
@NOTE |
23 |
|
|
The macro DOTIME is defined inside Lsode.c. If its value is |
24 |
|
|
TRUE, we spew all sorts of time junk. If FALSE we are quiet. |
25 |
|
|
Default for this macro is FALSE. |
26 |
|
|
|
27 |
ben.allan |
704 |
@NOTE the analytic jacobian routines (state matrix) depend on the |
28 |
|
|
assumption that struct var_variable *<--> struct Instance *. |
29 |
johnpye |
669 |
Requires: |
30 |
|
|
#include <utilities/ascConfig.h> |
31 |
|
|
#include <solver/slv_client.h> |
32 |
|
|
#include <solver/integrator.h> |
33 |
|
|
*//* |
34 |
|
|
by Kirk Abbott and Ben Allan |
35 |
|
|
Created: 1/94 |
36 |
|
|
Version: $Revision: 1.6 $ |
37 |
|
|
Version control file: $RCSfile: Lsode.h,v $ |
38 |
|
|
Date last modified: $Date: 1997/07/18 12:23:18 $ |
39 |
|
|
Last modified by: $Author: mthomas $ |
40 |
|
|
*/ |
41 |
|
|
|
42 |
|
|
#ifndef ASC_LSODE_H |
43 |
|
|
#define ASC_LSODE_H |
44 |
|
|
|
45 |
johnpye |
942 |
#include "integrator.h" |
46 |
johnpye |
669 |
|
47 |
johnpye |
977 |
IntegratorCreateFn integrator_lsode_create; |
48 |
johnpye |
942 |
IntegratorParamsDefaultFn integrator_lsode_params_default; |
49 |
johnpye |
977 |
IntegratorSolveFn integrator_lsode_solve; |
50 |
|
|
IntegratorFreeFn integrator_lsode_free; |
51 |
johnpye |
942 |
|
52 |
johnpye |
977 |
const IntegratorInternals integrator_lsode_internals; |
53 |
johnpye |
942 |
|
54 |
johnpye |
669 |
#endif /* ASC_LSODE_H */ |