Last change
on this file since 419 was
369,
checked in by ymipsl, 12 years ago
|
Major Update
- redesign Type and attribute manipulation
- add enumerate type and attribute
- use blitz class array instead of boost class array
YM
|
File size:
963 bytes
|
Rev | Line | |
---|
[219] | 1 | #include "instant.hpp" |
---|
[369] | 2 | #include "array_new.hpp" |
---|
[219] | 3 | |
---|
[335] | 4 | namespace xios |
---|
[219] | 5 | { |
---|
| 6 | namespace func |
---|
| 7 | { |
---|
| 8 | /// ////////////////////// Définitions ////////////////////// /// |
---|
| 9 | |
---|
[369] | 10 | CInstant::CInstant(CArray<double,1>& doutput) |
---|
[219] | 11 | : SuperClass(StdString("instant"), doutput) |
---|
| 12 | { /* Ne rien faire de plus */ } |
---|
| 13 | |
---|
| 14 | CInstant::~CInstant(void) |
---|
| 15 | { /* Ne rien faire de plus */ } |
---|
| 16 | |
---|
| 17 | //--------------------------------------------------------------- |
---|
| 18 | |
---|
[369] | 19 | void CInstant::apply(const CArray<double,1>& _dinput, |
---|
| 20 | CArray<double,1>& _doutput) |
---|
[219] | 21 | { |
---|
[369] | 22 | /* const double * it1 = _dinput->data(), |
---|
[266] | 23 | * end1 = _dinput->data() + _dinput->num_elements(); |
---|
| 24 | double * it = _doutput->data(); |
---|
[369] | 25 | for (; it1 != end1; it1++, it++) *it = *it1;*/ |
---|
| 26 | _doutput=_dinput ; |
---|
[219] | 27 | } |
---|
| 28 | |
---|
| 29 | //--------------------------------------------------------------- |
---|
| 30 | |
---|
| 31 | } // namespace func |
---|
| 32 | } // namespace xmlioserver |
---|
Note: See
TracBrowser
for help on using the repository browser.