Revision 1248 trunk/src/df1b2-separable/df1b2fun.h

df1b2fun.h (revision 1248)
144 144
#include <df32fun.h>
145 145
extern int global_nvar;
146 146
class df1b2_gradlist;
147
extern df1b2_gradlist * f1b2gradlist;
148
extern df1b2_gradlist * localf1b2gradlist;
149
extern df1b2_gradlist * globalf1b2gradlist;
150
extern df1b2_gradlist ** f1b2gradlist_stack;
147
extern df1b2_gradlist* f1b2gradlist;
148
extern df1b2_gradlist* localf1b2gradlist;
149
extern df1b2_gradlist* globalf1b2gradlist;
150
extern df1b2_gradlist** f1b2gradlist_stack;
151 151
extern int max_num_init_df1b2variable;
152 152

  
153 153
void df1b2_gradcalc1(void);
......
233 233
 */
234 234
  class df1b2variable : public df1b2_header
235 235
  {
236

  
237 236
  public:
238
    double * ptr;
237
    double* ptr;
239 238
    int get_local_nvar(void) const {return int(((twointsandptr*)ptr)->nvar);}
240 239
    int allocated(void){return ptr!=0;}
241 240
    int unallocated(void){return ptr==0;}
242
    static adpool * pool;
241
    static adpool* pool;
243 242
    static int current_allocation_index;
244 243
    static int adpool_use_index[];
245 244
    static int pool_allocation_number[];
......
248 247
    static int adpool_counter;
249 248
    static void increment_adpool_counter(void);
250 249
    static const int adpool_stack_size;
251
    static adpool * adpool_vector[];
252
    static adpool * adpool_stack[];
250
    static adpool* adpool_vector[];
251
    static adpool* adpool_stack[];
253 252
    static int adpool_nvar_stack[];
254 253
    static int adpool_stack_pointer;
255 254
    static void save_adpool_pointer(void);
......
259 258
    static int nvar;  // the number of independent variables
260 259
    static int minder;  // the number of independent variables
261 260
    static int maxder;  // the number of independent variables
262
    static int blocksize;//
261
    static int blocksize;
263 262
    static int noallocate;
264 263

  
265 264
    static int get_passnumber(void){return passnumber;}
......
271 270
    static int get_blocksize(void);
272 271
    static int get_blocksize(int n);
273 272
    int & get_ind_index(void){ return indindex;}
274
    const int & get_ind_index(void) const { return indindex;}
275
    short int * ncopies;
273
    const int& get_ind_index(void) const { return indindex;}
274
    short int* ncopies;
276 275
    // for fixed size n whole thing is 6n+2
277

  
278

  
279 276
    void initialize(void);
280 277
    void initialize(int n);
281 278

  

Also available in: Unified diff