Changeset 744 for library/bdm/base
- Timestamp:
- 11/28/09 14:38:48 (15 years ago)
- Location:
- library/bdm/base
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
library/bdm/base/bdmbase.cpp
r738 r744 495 495 void datalink_buffered::set_connection ( const RV &rv, const RV &rv_up ) { 496 496 // create link between up and down 497 datalink_part::set_connection ( rv, rv_up .remove_time()); // only non-delayed version497 datalink_part::set_connection ( rv, rv_up); // only non-delayed version 498 498 499 499 // create rvs of history 500 500 // we can store only what we get in rv_up - everything else is removed 501 ivec valid_ids = rv.findself_ids ( rv_up ); 502 RV rv_hist = rv.subselect ( find ( valid_ids >= 0 ) ); // select only rvs that are in rv_up 501 ivec valid_ids = rv.findself_ids ( rv_up ); // return on which position each id is 502 RV rv_hist = rv.subselect ( find ( valid_ids >= 0 ) ); // select only rvs that are in rv_up, ie ind>0 503 503 RV rv_hist0 = rv_hist.remove_time(); // these RVs will form history at time =0 504 504 // now we need to know what is needed from Up -
library/bdm/base/bdmbase.h
r741 r744 1096 1096 yrv = rv; 1097 1097 } 1098 //! access function 1099 void set_rvc ( const RV &rv ) { 1100 rvc = rv; 1101 } 1098 1102 //! access to rv of the posterior 1099 1103 void set_rv ( const RV &rv ) {