/[ascend]/trunk/base/generic/packages/ascFreeAllVars.h
ViewVC logotype

Contents of /trunk/base/generic/packages/ascFreeAllVars.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 27 - (show annotations) (download) (as text)
Thu Dec 9 18:22:50 2004 UTC (15 years, 7 months ago) by aw0a
File MIME type: text/x-chdr
File size: 1962 byte(s)
Correcting package checkin
1 /*
2 * ascFreeAllVars.h
3 * by Ben Allan
4 * February 24, 1998
5 * Part of ASCEND
6 * Version: $Revision: 1.4 $
7 * Version control file: $RCSfile: ascFreeAllVars.h,v $
8 * Date last modified: $Date: 1998/06/16 16:42:10 $
9 * Last modified by: $Author: mthomas $
10 *
11 * This file is part of the Ascend Language Interpreter.
12 *
13 * Copyright (C) 1998 Carnegie Mellon University
14 *
15 * The Ascend Language Interpreter is free software; you can
16 * redistribute it and/or modify it under the terms of the GNU
17 * General Public License as published by the Free Software
18 * Foundation; either version 2 of the License, or (at your option)
19 * any later version.
20 *
21 * The Ascend Language Interpreter is distributed in hope that it
22 * will be useful, but WITHOUT ANY WARRANTY; without even the implied
23 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
24 * See the GNU General Public License for more details.
25 *
26 * You should have received a copy of the GNU General Public License
27 * along with the program; if not, write to the Free Software
28 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139 USA. Check
29 * the file named COPYING.
30 */
31
32 #ifndef __FREE_ALL_VARS_H_SEEN__
33 #define __FREE_ALL_VARS_H_SEEN__
34
35 extern int DLEXPORT Asc_ClearVarsInTree(struct Instance *);
36 /* Asc_ClearVarsInTree(i).
37 * A service routine which assumes a solver_var modeling world
38 * and clears (set var.fixed := FALSE) all var and refinements
39 * of var in the DAG rooted at i.
40 */
41
42 extern int DLEXPORT Asc_FreeAllVars(struct Slv_Interp *, struct Instance *,
43 struct gl_list_t *, unsigned long);
44 /*
45 * err = Asc_FreeAllVars(NULL,rootinstance,arglist,0);
46 * All arguments except rootinstance are ignored.
47 * rootinstance is used as the argument to a call to Asc_ClearVarsInTree.
48 * This wrapper exists only for old EXTERNAL a la abbott compatibility
49 * and should be trashed ASAP.
50 */
51
52 #endif /* __FREE_ALL_VARS_H_SEEN__ */

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