/[ascend]/trunk/base/generic/solver/ida.h
ViewVC logotype

Contents of /trunk/base/generic/solver/ida.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 942 - (show annotations) (download) (as text)
Sat Nov 25 05:26:47 2006 UTC (14 years, 2 months ago) by johnpye
File MIME type: text/x-chdr
File size: 1328 byte(s)
Incorporated 'SolverParameters' functionality into 'Integrator', both at C level and C++/Python.
This shouldn't break Tcl/Tk as default parameters will be set and used invisibly.
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 IDA integrator
20 *//*
21 by John Pye, May 2006.
22 */
23
24 #ifndef ASC_IDA_H
25 #define ASC_IDA_H
26
27
28 #include <utilities/config.h>
29 #include "integrator.h"
30
31 #ifdef ASC_WITH_IDA
32
33 /* Perform IDA integration of a specified 'Integ_system'.*/
34 ASC_DLLSPEC(int) integrator_ida_solve(IntegratorSystem *blsys
35 , unsigned long start_index, unsigned long finish_index
36 );
37
38 ASC_DLLSPEC(void) integrator_ida_free(void *enginedata);
39
40 ASC_DLLSPEC(void) integrator_ida_create(IntegratorSystem *blsys);
41
42 IntegratorParamsDefaultFn integrator_ida_params_default;
43
44 #endif
45
46 #endif /* ASC_IDA_H */

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22