/[ascend]/trunk/base/generic/compiler/rel_common.h
ViewVC logotype

Annotation of /trunk/base/generic/compiler/rel_common.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 669 - (hide annotations) (download) (as text)
Wed Jun 21 07:00:45 2006 UTC (18 years, 3 months ago) by johnpye
File MIME type: text/x-chdr
File size: 1785 byte(s)
Merged changes from DAE branch (revisions 702 to 819) back into trunk.
This adds the Integration API to the ASCEND solver (in base/generic).
Also provides pre-alpha support for 'IDA' from the SUNDIALS suite, a DAE solver.
Many other minor code clean-ups, including adoption of new 'ASC_NEW' and friends (to replace 'ascmalloc')
Added some very sketchy stuff providing 'DIFF(...)' syntax, although it is anticipated that this will be removed.
1 jds 54 /*
2 aw0a 1 * Common Relation Construction Routines
3     * Version: $Revision: 1.4 $
4     * Version control file: $RCSfile: rel_common.h,v $
5     * Date last modified: $Date: 1997/07/18 12:33:09 $
6     * Last modified by: $Author: mthomas $
7     *
8     * This file is part of the Ascend Language Interpreter.
9     *
10     * Copyright (C) 1997 Carnegie Mellon University
11     *
12     * The Ascend Language Interpreter is free software; you can redistribute
13     * it and/or modify it under the terms of the GNU General Public License as
14     * published by the Free Software Foundation; either version 2 of the
15     * License, or (at your option) any later version.
16     *
17     * The Ascend Language Interpreter is distributed in hope that it will be
18     * useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
19     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20     * General Public License for more details.
21     *
22     * You should have received a copy of the GNU General Public License along
23     * with the program; if not, write to the Free Software Foundation, Inc., 675
24     * Mass Ave, Cambridge, MA 02139 USA. Check the file named COPYING.
25     */
26    
27 jds 54 /** @file
28     * Common Relation Construction Routines.
29     * <pre>
30     * When #including rel_common.h, make sure these files are #included first:
31     * #include "utilities/ascConfig.h"
32 johnpye 669 * #include "expr_types.h"
33 jds 54 * </pre>
34     */
35    
36 johnpye 272 #ifndef ASC_REL_COMMON_H
37     #define ASC_REL_COMMON_H
38 aw0a 1
39 jds 54 extern int CmpP(CONST char *c1, CONST char *c2);
40 ben.allan 33 /**<
41 aw0a 1 * Compare two character pointers.
42     */
43    
44 jds 54 extern void Swap(unsigned long int *p1, unsigned long int *p2);
45 ben.allan 33 /**<
46 aw0a 1 * Exchange the value of pointers p1 and p2
47     */
48    
49 jds 54 extern CONST struct Expr *FindLastExpr(register CONST struct Expr *ex);
50 ben.allan 33 /**<
51 aw0a 1 * Return the next pointer in a link of expressions
52     */
53    
54 johnpye 272 #endif /* ASC_REL_COMMON_H */
55 aw0a 1

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