Overview
Comment:Version 3.5 for Linux Red Hat 5.2 (Newcastle)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 5a8a6af0747c073d042dc6e225e4803321cb6275c1eadb09c128682a03dee6b6
User & Date: gawthrop@users.sourceforge.net on 1999-03-08 03:51:12
Other Links: branch diff | manifest | tags
Context
1999-03-08
06:34:07
Removed mtt help - replaced by grep #SUMMARY - quicker check-in: f8c1c6ae1b user: gawthrop@users.sourceforge.net tags: origin/master, trunk
03:51:12
Version 3.5 for Linux Red Hat 5.2 (Newcastle) check-in: 5a8a6af074 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
1999-03-06
02:28:38
Rearranged evaluation to: state - input - output - write check-in: 1fa0f2242b user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/mtt from [2d2d71b59f] to [8abfc01f97].

10
11
12
13
14
15
16




17
18
19
20
21
22
23
# Copyright (c) P.J.Gawthrop, 1989, 1990, 1991, 1993, 1994, 1995, 1996.

###############################################################
## Version control history
###############################################################
## $Header$
## $Log$




## Revision 1.201  1999/02/16 03:50:09  peterg
## Removed explicit _smx targets
##
## Revision 1.200  1998/12/03 17:11:03  peterg
## Added -dc (derivative causality) switch.
##
## Revision 1.199  1998/12/03 16:53:50  peterg







>
>
>
>







10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Copyright (c) P.J.Gawthrop, 1989, 1990, 1991, 1993, 1994, 1995, 1996.

###############################################################
## Version control history
###############################################################
## $Header$
## $Log$
## Revision 1.202  1999/02/17 01:59:20  peterg
## Now handles html copy correctely (ie mv directory to ..)
## Fixed path probs with html
##
## Revision 1.201  1999/02/16 03:50:09  peterg
## Removed explicit _smx targets
##
## Revision 1.200  1998/12/03 17:11:03  peterg
## Added -dc (derivative causality) switch.
##
## Revision 1.199  1998/12/03 16:53:50  peterg
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
###############################################################


#Check $MTTPATH has been set
mtt_check_var "$MTTPATH" "MTTPATH"

#Version
version='3.4'

# MTT recursion level is zero unless explicitly set
level=0

#Computation mode is octave by default
computation=octave








|







688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
###############################################################


#Check $MTTPATH has been set
mtt_check_var "$MTTPATH" "MTTPATH"

#Version
version='3.5'

# MTT recursion level is zero unless explicitly set
level=0

#Computation mode is octave by default
computation=octave

1512
1513
1514
1515
1516
1517
1518
1519
1520
1521

1522
1523
1524
1525
1526
1527
1528
1529

1530
1531
1532
1533
1534
1535
1536
#SUMMARY numpar	numerical parameter declaration (view) 
$1_numpar.c:  $1_numpar.txt $1_sympar.c
	txt2c $1 numpar

#SUMMARY input	numerical input declaration  -- default (txt)
#SUMMARY state	numerical state declaration  -- default (txt)
ifeq ($steadystate_computation,yes)
$1_input.txt:
	mtt -q $1 ss r
	mtt -q $1 struc txt

	struc2input_txt2txt -ss $1
$1_state.txt:
	mtt -q $1 ss r
	mtt -q $1 struc txt
	struc2state_txt2txt -ss $1
else
$1_input.txt: 
	mtt -q $1 struc txt

	struc2input_txt2txt $1
$1_state.txt: 
	mtt -q $1 struc txt
	struc2state_txt2txt $1
endif









|


>








>







1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
#SUMMARY numpar	numerical parameter declaration (view) 
$1_numpar.c:  $1_numpar.txt $1_sympar.c
	txt2c $1 numpar

#SUMMARY input	numerical input declaration  -- default (txt)
#SUMMARY state	numerical state declaration  -- default (txt)
ifeq ($steadystate_computation,yes)
$1_input.txt: 
	mtt -q $1 ss r
	mtt -q $1 struc txt
	mtt -q $1 switch txt
	struc2input_txt2txt -ss $1
$1_state.txt:
	mtt -q $1 ss r
	mtt -q $1 struc txt
	struc2state_txt2txt -ss $1
else
$1_input.txt: 
	mtt -q $1 struc txt
	mtt -q $1 switch txt
	struc2input_txt2txt $1
$1_state.txt: 
	mtt -q $1 struc txt
	struc2state_txt2txt $1
endif


2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
EOF
# Remember the exit status of make
make_status=$?

# Tidy up.
# echo Removing log files and other garbage
  rm -f  *_unique_raw_list *_raw_list
  rm -f mtt_error.txt mtt_info.txt a.out 
  rm -f  mtt_info.txt warning.txt
#  rm -f *_*.idx *_*.ind *_*.ilg  *_*.lof *_*.toc

# Remove logs if not debugging
if [ "$debug" != "debug" ]; then
  rm -f *.log
else







|







2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
EOF
# Remember the exit status of make
make_status=$?

# Tidy up.
# echo Removing log files and other garbage
  rm -f  *_unique_raw_list *_raw_list
  rm -f mtt_error.txt mtt_info.txt 
  rm -f  mtt_info.txt warning.txt
#  rm -f *_*.idx *_*.ind *_*.ilg  *_*.lof *_*.toc

# Remove logs if not debugging
if [ "$debug" != "debug" ]; then
  rm -f *.log
else


MTT: Model Transformation Tools
GitHub | SourceHut | Sourceforge | Fossil RSS ]