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

Contents of /trunk/base/generic/solver/aww.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: 1281 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 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 IntegratorCreateFn integrator_aww_create;
31 IntegratorParamsDefaultFn integrator_aww_params_default;
32 IntegratorAnalyseFn integrator_aww_analyse;
33 IntegratorSolveFn integrator_aww_solve;
34 IntegratorFreeFn integrator_aww_free;
35
36 const IntegratorInternals integrator_aww_internals;
37
38 #endif /* ASC_INTEGRATOR_AWW_H */

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