Overview
Comment:Reset row to zero after write to file, ready for subsequent runs.
Eliminates SIGSEGV in Octave when _ode2odes called multiple times.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 73e682b20b75c29f672ab974f4c96a0de8cab0a4ee2f5bdaae306129f4c73e4c
User & Date: geraint@users.sourceforge.net on 2001-04-01 03:38:54
Other Links: branch diff | manifest | tags
Context
2001-04-01
05:17:22
Removed static declarations - gave wrong results with multiple calls of ode2odes. check-in: 6751d6e73d user: geraint@users.sourceforge.net tags: origin/master, trunk
03:38:54
Reset row to zero after write to file, ready for subsequent runs.
Eliminates SIGSEGV in Octave when _ode2odes called multiple times.
check-in: 73e682b20b user: geraint@users.sourceforge.net tags: origin/master, trunk
2001-03-30
15:13:58
Rationalised simulation modes to each return mtt_data check-in: 82f17ad042 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/trans/make_ode2odes from [da07b678d6] to [a0ec3f6c8d].

1
2
3
4
5
6
7
8
9
10
11



12
13
14
15
16
17
18
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21











+
+
+







#! /bin/sh

     ###################################### 
     ##### Model Transformation Tools #####
    ######################################

###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.56  2001/03/30 15:13:58  gawthrop
## Rationalised simulation modes to each return mtt_data
##
## Revision 1.55  2001/03/27 13:21:59  geraint
## Octave version compatibility for save_ascii_data(_for_plotting).
##
## Revision 1.54  2001/03/27 01:14:27  geraint
## Improved determination of Octave version.
##
## Revision 1.53  2001/03/21 03:24:59  geraint
682
683
684
685
686
687
688

689
690
691
692
693
694
695
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699







+







    {
#ifdef STANDALONE
      $save_ascii_data_function (file, data, "MTT_data");
//    cout << data << endl;
#else // ! STANDALONE
  set_global_value ("MTT_data", data);
#endif
    row = 0;
    }
}

#ifdef STANDALONE
void dump_data (ostream &file)
{
  ColumnVector null (0.0);


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