Overview
Comment:A complete rewrite - now puts into a Global matrix MTT_data
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 6c5b977e80417857e0738b98e56a7857b73439dbe5f7b9c6a81fbf9af3218971
User & Date: gawthrop@users.sourceforge.net on 1999-03-15 23:05:29
Other Links: branch diff | manifest | tags
Context
1999-03-15
23:27:16
Initial revision check-in: 1368efa235 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
23:05:29
A complete rewrite - now puts into a Global matrix MTT_data check-in: 6c5b977e80 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
22:42:52
Strip comments (put in by Octave save function) check-in: f8ce367af5 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/trans/m/mtt_write.m from [072c287e17] to [360a19cdde].

1
2
3
4
5
6
7



8
9




10




11
12
13
14




15
16
17
18
19
20





21
22
23
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







+
+
+


+
+
+
+

+
+
+
+
-
-
-
-
+
+
+
+

-
-
-
-
-
+
+
+
+
+



function mtt_write(t,x,y,nx,ny);

###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.3  1999/03/15 21:57:00  peterg
## Removed the # symbol
##
###############################################################

global MTT_data
  if t==0.0
    MTT_data=[];
  endif

MTT_data = [MTT_data; t,y',t,x'];



  printf("%e ", t);
  for i=1:ny
    printf("%e ", y(i));
  endfor
#   printf("%e ", t);
#   for i=1:ny
#     printf("%e ", y(i));
#   endfor

  printf("%e ", t);
  for i=1:nx
    printf("%e ", x(i));
  endfor
  printf("\n");
#   printf("%e ", t);
#   for i=1:nx
#     printf("%e ", x(i));
#   endfor
#   printf("\n");

endfunction


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