Revision 1110 trunk/src/df1b2-separable/df1b2fn7.cpp

df1b2fn7.cpp (revision 1110)
10 10
 */
11 11
#include <df1b2fun.h>
12 12

  
13
//#define  ADDEBUG_PRINT 
13
//#define  ADDEBUG_PRINT
14 14
#if defined(ADDEBUG_PRINT)
15 15
    int addebug_count=0;
16 16
#endif
......
25 25
 * Description not yet available.
26 26
 * \param
27 27
 */
28
int df1b2_gradlist::write_save_pass2_tilde_values(const df1b2variable * _px) 
28
int df1b2_gradlist::write_save_pass2_tilde_values(const df1b2variable * _px)
29 29
{
30
  ADUNCONST(df1b2variable*, px) 
30
  ADUNCONST(df1b2variable*, px)
31 31
  ncount++;
32 32
#if defined(CHECK_COUNT)
33 33
  if (ncount >= ncount_check)
......
73 73
    read_tilde_values_3();
74 74
    break;
75 75
  default:
76
    cerr << "illegal value for df1b2variable::pass = " 
76
    cerr << "illegal value for df1b2variable::pass = "
77 77
         << df1b2variable::passnumber << endl;
78 78
    exit(1);
79 79
  }
......
90 90
  // the current entry+2 in bptr is the size of the record i.e
91 91
  // points to the next record
92 92
  int nvar=df1b2variable::nvar;
93
  fixed_smartlist & nlist=f1b2gradlist->nlist; 
94
  test_smartlist& list=f1b2gradlist->list; 
93
  fixed_smartlist & nlist=f1b2gradlist->nlist;
94
  test_smartlist& list=f1b2gradlist->list;
95 95
   // nlist-=sizeof(int);
96 96
  // get record size
97 97
  int num_bytes=nlist.bptr->numbytes;
......
124 124
  // list 1
125 125
  //
126 126
  int nvar=df1b2variable::nvar;
127
  test_smartlist & list=f1b2gradlist->list; 
127
  test_smartlist & list=f1b2gradlist->list;
128 128

  
129 129
  int total_bytes=sizeof(df1b2_header);
130 130
#if defined(SAFE_ALL)
......
138 138
  checkidentiferstring("YS",list);
139 139
#endif
140 140

  
141
  //fixed_smartlist & nlist=f1b2gradlist->nlist; 
141
  //fixed_smartlist & nlist=f1b2gradlist->nlist;
142 142
   // nlist-=sizeof(int);
143 143
  // get record size
144 144
  //int num_bytes=nlist.bptr->numbytes;
145 145
    // nlist+=nlist_record_size;
146
  df1b2_header * px=(df1b2_header *) list.bptr; 
146
  df1b2_header * px=(df1b2_header *) list.bptr;
147 147
  //
148 148
  // list 3
149 149
  //
150
  fixed_smartlist2& nlist3=f1b2gradlist->nlist3; 
151
  test_smartlist& list3=f1b2gradlist->list3; 
150
  fixed_smartlist2& nlist3=f1b2gradlist->nlist3;
151
  test_smartlist& list3=f1b2gradlist->list3;
152 152

  
153 153
  int total_bytes2=(nvar+1)*sizeof(double);
154 154
#if defined(SAFE_ALL)
......
185 185
  // the current entry+2 in bptr is the size of the record i.e
186 186
  // points to the next record
187 187
  int nvar=df1b2variable::nvar;
188
  fixed_smartlist & nlist=f1b2gradlist->nlist; 
189
  test_smartlist& list=f1b2gradlist->list; 
188
  fixed_smartlist & nlist=f1b2gradlist->nlist;
189
  test_smartlist& list=f1b2gradlist->list;
190 190
   // nlist-=sizeof(int);
191 191
  // get record size
192 192
  int num_bytes=nlist.bptr->numbytes;
......
196 196
#if defined(SAFE_ARRAYS)
197 197
  checkidentiferstring("YS",list);
198 198
#endif
199
  df1b2_header * px=(df1b2_header *) list.bptr; 
199
  df1b2_header * px=(df1b2_header *) list.bptr;
200 200
  list.restoreposition(); // save pointer to beginning of record;
201 201
  // save the pointer to the beginning of the record
202
  fixed_smartlist2& nlist3=f1b2gradlist->nlist3; 
203
  test_smartlist& list3=f1b2gradlist->list3; 
202
  fixed_smartlist2& nlist3=f1b2gradlist->nlist3;
203
  test_smartlist& list3=f1b2gradlist->list3;
204 204
  --nlist3;
205 205
  // get record size
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff