Revision 1587 trunk/src/linad99/fvar.hpp

fvar.hpp (revision 1587)
1258 1258
};
1259 1259

  
1260 1260
/**
1261
 * Description not yet available.
1262
 * \param
1263
 */
1261
Link list
1262
*/
1264 1263
class dlist
1265 1264
{
1266
   dlink *last;
1267
   unsigned int last_offset;
1268
   unsigned int nlinks;
1269
   dlink **dlink_addresses;
1270
   friend double_and_int *gradnew();
1271
   friend void df_check_derivative_values(void);
1272
   friend void df_check_derivative_values_indexed(void);
1273
   friend void df_check_derivative_values_indexed_break(void);
1265
  dlink* last;
1266
  unsigned int last_offset;
1267
  unsigned int nlinks;
1268
  dlink** dlink_addresses;
1269
  friend double_and_int *gradnew();
1270
  friend void df_check_derivative_values(void);
1271
  friend void df_check_derivative_values_indexed(void);
1272
  friend void df_check_derivative_values_indexed_break(void);
1274 1273

  
1275
 public:
1276
   dlist();			// constructor
1277
   ~dlist();			// destructor
1278
   dlink *create();		//create a new link
1279
   void free_remove(dlink * rem);
1280
   dlink *append(dlink *);	// add a link
1281
   dlink *last_remove();
1274
public:
1275
  dlist();			// constructor
1276
  ~dlist();			// destructor
1277
  dlink* create();		//create a new link
1278
  dlink* append(dlink*);	// add a link
1279
  dlink* last_remove();
1282 1280

  
1283
   void check_list(void);	// check list integrity
1284
   size_t total_addresses() const;
1281
  void check_list(void);	// check list integrity
1282
  size_t total_addresses() const;
1285 1283

  
1286
   friend void funnel_gradcalc(void);
1287
   friend void slave_gradcalc(void);
1288
   friend void gradcalc(int nvar, const dvector & g);
1289
   friend void gradloop();
1290
   friend void gradient_structure::restore_variables();
1291
   friend void gradient_structure::save_variables();
1292
   friend void gradient_structure::jacobcalc(int nvar,
1293
					     const dmatrix & jac);
1284
  friend void funnel_gradcalc(void);
1285
  friend void slave_gradcalc(void);
1286
  friend void gradcalc(int nvar, const dvector& g);
1287
  friend void gradloop();
1288
  friend void gradient_structure::restore_variables();
1289
  friend void gradient_structure::save_variables();
1290
  friend void gradient_structure::jacobcalc(int nvar,
1291
                                            const dmatrix& jac);
1294 1292
   friend void allocate_dvariable_space(void);
1295 1293
   //friend void gradient_structure::funnel_jacobcalc(void);
1296 1294
   friend void gradient_structure::jacobcalc(int nvar,
1297
					     const ofstream & jac);
1295
					     const ofstream& jac);
1298 1296
   friend void gradient_structure::jacobcalc(int nvar,
1299
					     const uostream & jac);
1297
					     const uostream& jac);
1300 1298
   friend void funnel_derivatives(void);
1301 1299
};
1302 1300

  

Also available in: Unified diff