1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
|
+
+
-
+
+
+
+
-
-
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
+
+
+
+
+
-
-
-
+
+
+
+
+
+
-
+
-
-
+
-
+
-
-
+
-
+
-
-
+
-
+
-
-
+
-
-
-
+
+
+
+
+
-
-
-
+
+
+
+
+
-
-
+
+
+
-
+
-
+
-
-
+
-
+
-
-
+
-
+
-
-
+
-
+
-
-
+
-
+
-
-
+
-
+
-
-
+
-
+
+
+
+
|
# -*-makefile-*-
# Makefile for representation nppp
# File nppp_rep.make
#Copyright (C) 2000,2001,2002 by Peter J. Gawthrop
model_reps = ${SYS}_sympar.m ${SYS}_simpar.m ${SYS}_state.m\
${SYS}_numpar.m ${SYS}_input.m ${SYS}_ode2odes.m\
all: $(SYS)_nppp.$(LANG)
${SYS}_sim.m ${SYS}_def.m
sensitivity_reps = s${SYS}_sympar.m s${SYS}_simpar.m s${SYS}_state.m\
s${SYS}_numpar.m s${SYS}_input.m s${SYS}_ode2odes.m\
s${SYS}_ssim.m s${SYS}_def.m
$(SYS)_nppp.view: $(SYS)_nppp.ps
echo Viewing $(SYS)_nppp.ps; ghostview $(SYS)_nppp.ps&
all: ${SYS}_nppp.${LANG}
$(SYS)_nppp.ps: $(SYS)_ode2odes.out s$(SYS)_ode2odes.out \
$(SYS)_sim.m s$(SYS)_sim.m \
$(SYS)_state.m $(SYS)_sympar.m $(SYS)_numpar.m \
s$(SYS)_state.m s$(SYS)_sympar.m s$(SYS)_numpar.m \
$(SYS)_sm.m $(SYS)_def.m s$(SYS)_def.m \
$(SYS)_simpar.m s$(SYS)_simpar.m
octave $(SYS)_nppp.m
${SYS}_nppp.help_short:
nppp_rep.sh ${SYS} help_short
${SYS}_nppp.help_long:
nppp_rep.sh ${SYS} help_long
${SYS}_nppp.view: ${SYS}_nppp.ps
echo Viewing ${SYS}_nppp.ps; ghostview ${SYS}_nppp.ps&
${SYS}_nppp.ps: ${SYS}_nppp.fig
nppp_rep.sh ${SYS} ps
${SYS}_nppp.fig: ${SYS}_nppp.gdat
nppp_rep.sh ${SYS} fig
${SYS}_nppp.gdat: ${SYS}_nppp.dat2
$(SYS)_ode2odes.out:
echo Starting creation of $(SYS)_ode2odes.out '....'
mtt -q -stdin $(SYS) ode2odes out
nppp_rep.sh ${SYS} gdat
${SYS}_nppp.dat2: ${SYS}_nppp.m ${SYS}_nppp_numpar.m \
${model_reps} ${sensitivity_reps} ${SYS}_def.r
nppp_rep.sh ${SYS} dat2
s$(SYS)_ode2odes.out:
echo Starting creation of s$(SYS)_ode2odes.out '....'
mtt -q -stdin -s s$(SYS) ode2odes out
${SYS}_nppp.m:
nppp_rep.sh ${SYS} m
${SYS}_nppp_numpar.m:
nppp_rep.sh ${SYS} numpar.m
## System model reps
$(SYS)_sim.m:
${SYS}_sympar.m:
echo Starting creation of $(SYS)_sim '....'
mtt -q $(SYS) sim m
mtt ${OPTS} -q -stdin ${SYS} sympar m
s$(SYS)_sim.m:
${SYS}_simpar.m:
echo Starting creation of s$(SYS)_sim. '....'
mtt -q -s s$(SYS) sim m
mtt ${OPTS} -q -stdin ${SYS} simpar m
$(SYS)_state.m:
${SYS}_state.m:
echo Starting creation of $(SYS)_state. '....'
mtt -q $(SYS) state m
mtt ${OPTS} -q -stdin ${SYS} state m
$(SYS)_sympar.m :
${SYS}_numpar.m:
echo Starting creation of $(SYS)_sympar.m '....'
mtt -q $(SYS) sympar m
mtt ${OPTS} -q -stdin ${SYS} numpar m
$(SYS)_numpar.m:
echo Starting creation of $(SYS)_numpar. '....'
mtt -q $(SYS) numpar m
${SYS}_input.m:
mtt ${OPTS} -q -stdin ${SYS} input m
${SYS}_ode2odes.m:
mtt ${OPTS} -q -stdin ${SYS} ode2odes m
$(SYS)_simpar.m:
echo Starting creation of $(SYS)_simpar. '....'
mtt -q $(SYS) simpar m
${SYS}_sim.m:
mtt ${OPTS} -q -stdin ${SYS} sim m
${SYS}_def.m:
mtt ${OPTS} -q -stdin ${SYS} def m
s$(SYS)_state.m:
echo Starting creation of s$(SYS)_state. '....'
${SYS}_def.r:
mtt ${OPTS} -q -stdin ${SYS} def r
mtt -q -s s$(SYS) state m
## Sensitivity model reps
s$(SYS)_sympar.m :
s${SYS}_sympar.m:
echo Starting creation of s$(SYS)_sympar.m '....'
mtt -q -s s$(SYS) sympar m
mtt -q -stdin ${OPTS} -s s${SYS} sympar m
s$(SYS)_numpar.m:
s${SYS}_simpar.m:
echo Starting creation of s$(SYS)_numpar. '....'
mtt -q -s s$(SYS) numpar m
mtt -q -stdin ${OPTS} -s s${SYS} simpar m
s$(SYS)_simpar.m:
s${SYS}_state.m:
echo Starting creation of s$(SYS)_simpar. '....'
mtt -q -s s$(SYS) simpar m
mtt -q -stdin ${OPTS} -s s${SYS} state m
$(SYS)_sm.m:
s${SYS}_numpar.m:
echo Starting creation of $(SYS)_sm. '....'
mtt -q $(SYS) sm m
mtt -q -stdin ${OPTS} -s s${SYS} numpar m
$(SYS)_def.m:
s${SYS}_input.m:
echo Starting creation of $(SYS)_def. '....'
mtt -q $(SYS) def m
mtt -q -stdin ${OPTS} -s s${SYS} input m
s$(SYS)_def.m:
s${SYS}_ode2odes.m:
echo Starting creation of s$(SYS)_def. '....'
mtt -q -s s$(SYS) def m
mtt -q -stdin ${OPTS} -s s${SYS} ode2odes m
s${SYS}_ssim.m:
mtt -q -stdin ${OPTS} -s s${SYS} ssim m
s${SYS}_def.m:
mtt -q -stdin ${OPTS} -s s${SYS} def m
|