Overview
Comment:Now row/column independent
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 8334228604dfebff9db482c57b8ed26f51d7983c5154b99d730e5f2c37cadb65
User & Date: gawthrop@users.sourceforge.net on 2004-04-07 12:58:48
Other Links: branch diff | manifest | tags
Context
2004-06-20
10:18:00
Explicitly size vectors - avoid default row vector bug check-in: 234e7ebe1b user: gawthrop@users.sourceforge.net tags: origin/master, trunk
2004-04-07
12:58:48
Now row/column independent check-in: 8334228604 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
12:17:43
Handles new Fig header line. check-in: edda44204d user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/trans/m/mtt_write.m from [91cd12f378] to [72eb26e77f].

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
function mtt_write(t,x,y,nx,ny,first);

###############################################################
## Version control history
###############################################################
## $Id$
## $Log$




## Revision 1.5  2001/03/30 15:13:58  gawthrop
## Rationalised simulation modes to each return mtt_data
##
## Revision 1.4  1999/03/15 23:05:29  peterg
## A complete rewrite - now puts into a Global matrix MTT_data
##
## Revision 1.3  1999/03/15 21:57:00  peterg
## Removed the # symbol
##
###############################################################

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

  if (t>= first)
    MTT_data = [MTT_data; t,y',t,x'];
  endif
  
endfunction








>
>
>
>

















|




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
function mtt_write(t,x,y,nx,ny,first);

###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.6  2002/05/13 08:52:23  gawthrop
## FIRST parameter of simpar now specifies first printed point -
## simulation still starts at zero
##
## Revision 1.5  2001/03/30 15:13:58  gawthrop
## Rationalised simulation modes to each return mtt_data
##
## Revision 1.4  1999/03/15 23:05:29  peterg
## A complete rewrite - now puts into a Global matrix MTT_data
##
## Revision 1.3  1999/03/15 21:57:00  peterg
## Removed the # symbol
##
###############################################################

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

  if (t>= first)
    MTT_data = [MTT_data; t,y(:)',t,x(:)'];
  endif
  
endfunction


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