Changeset 723 for library/bdm/base/datasources.h
- Timestamp:
- 11/15/09 23:02:02 (15 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
library/bdm/base/datasources.h
r700 r723 163 163 public: 164 164 void step() { 165 yt2rgr.st ep(yt); // y is now history165 yt2rgr.store_data(yt); // y is now history 166 166 ut2rgr.filldown ( ut,rgr ); 167 167 yt2rgr.filldown ( yt,rgr ); 168 168 yt=ipdf->samplecond ( rgr ); 169 ut2rgr.st ep(ut); //u is now history169 ut2rgr.store_data(ut); //u is now history 170 170 } 171 171 void getdata ( vec &dt_out ) const { … … 175 175 } 176 176 void write(const vec &ut0){ut=ut0;} 177 177 void write(const vec &ut0, const ivec &ind){set_subvector(ut,ind,ut0);} 178 178 179 /*! 179 180 \code