Changeset 822
- Timestamp:
- 02/23/10 10:43:16 (15 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
library/bdm/base/bdmbase.h
r802 r822 913 913 virtual void getdata ( vec &dt ) const = 0; 914 914 915 //! Returns data records at indeces. 916 virtual void getdata ( vec &dt, const ivec &indeces ) = 0; 915 //! Returns data records at indeces. Default is inefficent. 916 virtual void getdata ( vec &dt, const ivec &indeces ) { 917 vec tmp(dtsize); 918 getdata(tmp); 919 dt = tmp(indeces); 920 }; 917 921 918 922 //! Accepts action variable and schedule it for application. 919 virtual void write ( const vec &ut ) = 0;923 virtual void write ( const vec &ut ) NOT_IMPLEMENTED_VOID; 920 924 921 925 //! Accepts action variables at specific indeces 922 virtual void write ( const vec &ut, const ivec &indeces ) = 0;926 virtual void write ( const vec &ut, const ivec &indeces ) NOT_IMPLEMENTED_VOID; 923 927 924 928 //! Moves from \f$ t \f$ to \f$ t+1 \f$, i.e. perfroms the actions and reads response of the system.