Overview
Comment:Added swithc logic declarations
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 623e883028f3209118fcb670ade564bfdab9f78c2c275ad6887ac919d4830719
User & Date: gawthrop@users.sourceforge.net on 2000-12-04 08:24:29
Other Links: branch diff | manifest | tags
Context
2000-12-04
08:27:42
New version check-in: 29f5c30c12 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
08:24:29
Added swithc logic declarations check-in: 623e883028 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
08:23:25
Put logic in-line - avoids the if statements check-in: c720328b6b user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/trans/mtt_m2p from [d1d5dd2e6a] to [7a06bff42c].

11
12
13
14
15
16
17



18
19
20
21
22
23
24
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27







+
+
+







# Copyright (c) P.J.Gawthrop 1998

###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.62  2000/12/03 17:15:18  peterg
## *** empty log message ***
##
## Revision 1.61  2000/11/10 14:46:53  peterg
## More fixes to avoid interpering variables as funs - basicly all
## functions now have at least ()
##
## Revision 1.60  2000/11/10 09:38:30  peterg
## Got rid of sys_name functions with no ()
##
360
361
362
363
364
365
366


367
368
369
370
371
372
373
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378







+
+







	echo "    mttnpar                     : INTEGER;"
	echo "    AA,mtte                     : StateMatrix;"
	echo "    MTTi,MTTj,it,iLast: INTEGER;"
	##echo "    mttSTEPFACTOR,mttWSTEPS,mttSTEPS,mttINPUT : INTEGER;"
	## echo "    mttMETHOD : IntegrationMethod;"
	echo "    open_switches  : StateVector;"
	echo "    numparfile, statefile, simparfile  : TEXT;"
        strip_comments <${Sys}_switch.txt |\
          awk '{printf("%s_logic : REAL;\n", tolower($1))}' 
	echo ""
        mtt_txt2declare $Sys sympar p
        mtt_txt2declare $Sys struc p
        ;;
#    switchopen)
#	echo "PROCEDURE $Sys_rep(VAR open : StateVector; mttx : StateVector);"
#	echo "VAR"


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