Overview
Comment:Implicit integration now the default - for octave anyway.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: fbc8daa9afca4525519e6b6d5d35c1637b86389d6ed5bcd95b0209ffee0435f5
User & Date: gawthrop@users.sourceforge.net on 1998-07-22 08:37:30
Other Links: branch diff | manifest | tags
Context
1998-07-22
08:58:51
Corrected spelling. check-in: 7c299a38ab user: gawthrop@users.sourceforge.net tags: origin/master, trunk
08:37:30
Implicit integration now the default - for octave anyway. check-in: fbc8daa9af user: gawthrop@users.sourceforge.net tags: origin/master, trunk
1998-07-21
16:54:15
Changed erroneous header check-in: 0150cf903e user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/mtt from [7bf91ea8ff] to [3b71ff7103].

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.164  1998/07/17 19:45:58  peterg
## Component aliases implemented.
##
## Revision 1.163  1998/07/17 08:27:33  peterg
## Added find target
##
## Revision 1.162  1998/07/16 16:14:27  peterg







>
>
>







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

###############################################################
## Version control history
###############################################################
## $Header$
## $Log$
## Revision 1.165  1998/07/19 16:00:22  peterg
## Added smx representation
##
## Revision 1.164  1998/07/17 19:45:58  peterg
## Component aliases implemented.
##
## Revision 1.163  1998/07/17 08:27:33  peterg
## Added find target
##
## Revision 1.162  1998/07/16 16:14:27  peterg
1309
1310
1311
1312
1313
1314
1315

1316
1317
1318
1319
1320
1321
1322
	echo Creating $1_simpar.txt
	( \
	echo "%% Simulation parameters for system $1 ($1_simpar.txt)"; \
	cat $MTTPATH/trans/m/rcs_header.txt; \
	echo 'LAST=10.0'; \
	echo 'DT=0.1'; \
	echo 'STEPFACTOR=1'; \

        )> $1_simpar.txt

#SUMMARY simpar	simulation information (m)
$1_simpar.m: $1_simpar.txt
	echo Creating $1_simpar.m
	sed 's/txt/m/'<$1_simpar.txt >$1_simpar.m








>







1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
	echo Creating $1_simpar.txt
	( \
	echo "%% Simulation parameters for system $1 ($1_simpar.txt)"; \
	cat $MTTPATH/trans/m/rcs_header.txt; \
	echo 'LAST=10.0'; \
	echo 'DT=0.1'; \
	echo 'STEPFACTOR=1'; \
	echo 'METHOD=Implicit'; \
        )> $1_simpar.txt

#SUMMARY simpar	simulation information (m)
$1_simpar.m: $1_simpar.txt
	echo Creating $1_simpar.m
	sed 's/txt/m/'<$1_simpar.txt >$1_simpar.m

1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
	touch $1_sro.m
$1_odes.c: $1_ode.c $1_def.r $1_sympar.r
	ode2odes_r2c $1 
$1_sms.c: $1_sm.c $1_def.r $1_sympar.r
	sm2sms_r2c $1

ifeq ($computation,octave)
$1_odes.m: $1_ode.m $1_numpar.m  $1_def.m $1_input.m $1_state.m $1_simpar.m
	ode2odes_m $1 
endif

ifeq ($computation,c)
$1_odes.m: $1_odes.c $1_ode.c $1_numpar.c $1_state.c $1_simpar.h\
         $1_sympar.c $1_sympar.h\
         $1_numpar.c $1_input.c sign.c
	echo Creating $1_odes.m







|
|







1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
	touch $1_sro.m
$1_odes.c: $1_ode.c $1_def.r $1_sympar.r
	ode2odes_r2c $1 
$1_sms.c: $1_sm.c $1_def.r $1_sympar.r
	sm2sms_r2c $1

ifeq ($computation,octave)
$1_odes.m: $1_ode.m $1_numpar.m  $1_def.m $1_input.m $1_state.m $1_simpar.m $1_smx.m
	 time ode2odes_m $1 
endif

ifeq ($computation,c)
$1_odes.m: $1_odes.c $1_ode.c $1_numpar.c $1_state.c $1_simpar.h\
         $1_sympar.c $1_sympar.h\
         $1_numpar.c $1_input.c sign.c
	echo Creating $1_odes.m


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