~vbursian/research-assistant/trunk

« back to all changes in this revision

Viewing changes to RANet/DataArrayRecord.cpp

  • Committer: Viktor Bursian
  • Date: 2020-07-16 22:38:41 UTC
  • mfrom: (9.25.2 DIST) (9.16.21 VB)
  • Revision ID: vik@pryanik-20200716223841-0gp0sf6m5imdjtb3
Tags: version_1.5.0
releasing version 1.5.0, closing v.1.4 development

Show diffs side-by-side

added added

removed removed

Lines of Context:
53
53
    :sArrayDataFunction(a_stream,version)
54
54
    ,sRecord(a_stream,version)
55
55
{
56
 
  if( ! (sVersion(0,9) < version) ){
 
56
  if( version <= sVersion(0,9) ){
57
57
    sPhysPair                 M(a_stream,version);
58
58
    TheMultiplier = M;
59
 
  }
60
 
  if( ! (sVersion(0,9) < version) ){
61
59
    a_stream.READ_INTO(TheNumberOfPoints);
62
60
    ASSERT( TheNumberOfPoints > 0 );
63
 
    a_stream.READ_INTO(TheX0);
64
 
    a_stream.READ_INTO(TheStep);
 
61
    realIOv14 R;
 
62
    a_stream.READ_INTO(R);  TheX0=R;
 
63
    a_stream.READ_INTO(R);  TheStep=R;
65
64
    Values= new real [TheNumberOfPoints];
66
65
    for( int PointNo=0 ; PointNo < TheNumberOfPoints ; PointNo++ ){
67
 
      a_stream.READ_INTO(Values[PointNo]);
 
66
      a_stream.READ_INTO(R);  Values[PointNo]=R;
68
67
    }
69
68
  }
70
69
}