1 |
# This file is part of the ASCEND Modeling Library and is released |
2 |
# under the GNU Public License as described at the end of this file. |
3 |
# |
4 |
# This file demonstrates the use of kinetics.a4l |
5 |
|
6 |
DELETE TYPES; |
7 |
|
8 |
READ FILE "kinetics.a4l"; |
9 |
|
10 |
COMPILE kinetics OF test_elm_kinetics; |
11 |
BROWSE {kinetics}; |
12 |
RUN {kinetics.reac.reset}; |
13 |
SOLVE {kinetics} WITH QRSlv; |
14 |
|
15 |
COMPILE k2 OF test_ord_kinetics; |
16 |
BROWSE {k2}; |
17 |
RUN {k2.reac.reset}; |
18 |
SOLVE {k2} WITH QRSlv; |
19 |
|
20 |
########## kinetics.a4s ends here ########## |
21 |
# |
22 |
# kinetics.a4s |
23 |
# by Duncan Coffey |
24 |
# May, 1998 |
25 |
# Part of the ASCEND Library |
26 |
# $Date: 1998/06/17 20:08:34 $ |
27 |
# $Revision: 1.2 $ |
28 |
# $Author: mthomas $ |
29 |
# $Source: /afs/cs.cmu.edu/project/ascend/Repository/models/kinetics.a4s,v $ |
30 |
# |
31 |
# This file is part of the ASCEND Modeling Library. |
32 |
# |
33 |
# Copyright (C) 1998 Carnegie Mellon University |
34 |
# |
35 |
# The ASCEND Modeling Library is free software. You can redistribute |
36 |
# it and/or modify it under the terms of the GNU General Public |
37 |
# License as published by the Free Software Foundation---either |
38 |
# version 2 of the License, or (at your option) any later version. |
39 |
# |
40 |
# The ASCEND Modeling Library is distributed in hope that it |
41 |
# will be useful, but WITHOUT ANY WARRANTY--without even the implied |
42 |
# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
43 |
# See the GNU General Public License for more details. |
44 |
# |
45 |
# You should have received a copy of the GNU General Public License |
46 |
# along with the program. If not, write to the Free Software |
47 |
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139 USA. Check |
48 |
# the file named COPYING. |