1 |
/* ASCEND modelling environment |
2 |
Copyright (C) 2006 Carnegie Mellon University |
3 |
|
4 |
This program is free software; you can redistribute it and/or modify |
5 |
it under the terms of the GNU General Public License as published by |
6 |
the Free Software Foundation; either version 2, or (at your option) |
7 |
any later version. |
8 |
|
9 |
This program is distributed in the hope that it will be useful, |
10 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
11 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
12 |
GNU General Public License for more details. |
13 |
|
14 |
You should have received a copy of the GNU General Public License |
15 |
along with this program; if not, write to the Free Software |
16 |
Foundation, Inc., 59 Temple Place - Suite 330, |
17 |
Boston, MA 02111-1307, USA. |
18 |
*//** @file |
19 |
C-code implementation of Art Westerberg's DAE integrator |
20 |
*//* |
21 |
by John Pye, Dec 2006. |
22 |
*/ |
23 |
|
24 |
#ifndef ASC_INTEGRATOR_AWW_H |
25 |
#define ASC_INTEGRATOR_AWW_H |
26 |
|
27 |
#include <utilities/config.h> |
28 |
#include "integrator.h" |
29 |
|
30 |
/* Perform IDA integration of a specified 'Integ_system'.*/ |
31 |
ASC_DLLSPEC(int) integrator_aww_solve(IntegratorSystem *blsys |
32 |
, unsigned long start_index, unsigned long finish_index |
33 |
); |
34 |
|
35 |
ASC_DLLSPEC(void) integrator_aww_free(void *enginedata); |
36 |
|
37 |
ASC_DLLSPEC(void) integrator_aww_create(IntegratorSystem *blsys); |
38 |
|
39 |
ASC_DLLSPEC(int) integrator_aww_analyse(IntegratorSystem *blsys); |
40 |
|
41 |
IntegratorParamsDefaultFn integrator_aww_params_default; |
42 |
|
43 |
#endif /* ASC_INTEGRATOR_AWW_H */ |