/[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 977 - (show annotations) (download) (as text)
Wed Dec 20 00:39:52 2006 UTC (17 years, 8 months ago) by johnpye
File MIME type: text/x-chdr
File size: 1192 byte(s)
Abstracted the internal integrator calls into a struct IntegratorInternals.
Fixed up compile-time list of integrators.
If IDA is not available, then 'INTEG_IDA' will not be defined.
Added ASC_ASSERT_RANGE for assertions x in [low,high).
Changed calling convention for integrator_get_engines().
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 IntegratorCreateFn integrator_ida_create;
34 IntegratorParamsDefaultFn integrator_ida_params_default;
35 IntegratorSolveFn integrator_ida_solve;
36 IntegratorFreeFn integrator_ida_free;
37
38 const IntegratorInternals integrator_ida_internals;
39
40 #endif
41
42 #endif /* ASC_IDA_H */

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