Overview
Comment:Changed gcc arguments for the ode simulation -- all files now included
in the _odes.c file
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 9684c7989e2fcf160951c4a29b92b9877db2e19ed586975ccacbbdd0cff42b1a
User & Date: gawthrop@users.sourceforge.net on 1997-05-06 13:54:21
Other Links: branch diff | manifest | tags
Context
1997-05-09
08:21:07
Explicit computation of port number -- avoids str2num check-in: a63ef50a6a user: gawthrop@users.sourceforge.net tags: origin/master, trunk
1997-05-06
13:54:21
Changed gcc arguments for the ode simulation -- all files now included
in the _odes.c file
check-in: 9684c7989e user: gawthrop@users.sourceforge.net tags: origin/master, trunk
13:53:32
Now uses the preprocessor to declare sizes -- MTTNX etc check-in: 4c470c69f9 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/mtt from [d93f705899] to [c35139f969].

10
11
12
13
14
15
16




17
18
19
20
21
22
23
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.71  1997/05/03  15:50:18  peterg
# c functions not included in gcc arg list -- they are now included in
# the main prog.
#
# Revision 1.70  1997/05/03  14:17:13  peterg
# Now copies c utilities (eg dsvdcmp.c) from $MTTPATH/trans/c.
#
# Revision 1.69  1997/05/03  13:58:35  peterg
# Implicit integration for sm representation added.
#
# Revision 1.68  1997/05/01  08:39:20  peterg
404
405
406
407
408
409
410
411

412
413
414
415
416
417
418
408
409
410
411
412
413
414

415
416
417
418
419
420
421
422







-
+







    fi
  else
    path_name=$3
    if [ -z "$path_name" ]; then
      path_name=$MTTPATH/lib/examples
    fi
    echo Copying system $2 to here from $3
    find $path_name -name "$2_*.*" -exec cp {} . \;
    find $path_name -name "$2_*.???" -exec cp {} . \;
  fi
  exit
fi

# Copy CRs from the library
if [ "$1" = "crcopy" ]; then
  # check that its not here already
963
964
965
966
967
968
969
970

971
972
973
974
975
976
977
967
968
969
970
971
972
973

974
975
976
977
978
979
980
981







-
+







ifeq ($computation,c)
$1_odes.m: $1_odes.c $1_ode.c $1_numpar.c $1_odes.h\
         $1_sympar.c $1_sympar.h\
         $1_numpar.c $1_input.c
	echo Creating $1_odes.m
	echo Creating $1_odeso.m
	echo 'Compiling ...'
	gcc $1_odes.c $1_ode.c $1_numpar.c  $1_input.c -lm
	gcc $1_odes.c  -lm
	echo 'Running  ...'; ./a.out; echo 'Done.'


$1_sms.m: $1_sms.c $1_sm.c $1_numpar.c $1_sms.h\
         $1_sympar.c $1_sympar.h\
         $1_numpar.c $1_input.c dsvdcmp.c
	echo Creating $1_sms.m


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