Changeset 744 for library/bdm/base

Show
Ignore:
Timestamp:
11/28/09 14:38:48 (15 years ago)
Author:
smidl
Message:

Working unitsteps and controlloop + corresponding fixes

Location:
library/bdm/base
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • library/bdm/base/bdmbase.cpp

    r738 r744  
    495495void datalink_buffered::set_connection ( const RV &rv, const RV &rv_up ) { 
    496496        // create link between up and down 
    497         datalink_part::set_connection ( rv, rv_up.remove_time() ); // only non-delayed version 
     497        datalink_part::set_connection ( rv, rv_up); // only non-delayed version 
    498498 
    499499        // create rvs of history 
    500500        // 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 
    503503        RV rv_hist0 = rv_hist.remove_time(); // these RVs will form history at time =0 
    504504        // now we need to know what is needed from Up 
  • library/bdm/base/bdmbase.h

    r741 r744  
    10961096                yrv = rv; 
    10971097        } 
     1098        //! access function 
     1099        void set_rvc ( const RV &rv ) { 
     1100                rvc = rv; 
     1101        } 
    10981102        //! access to rv of the posterior 
    10991103        void set_rv ( const RV &rv ) {