Changeset 369 for XIOS/trunk/src/node/field.hpp
- Timestamp:
- 10/16/12 13:04:44 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/node/field.hpp
r347 r369 11 11 #include "declare_group.hpp" 12 12 #include "calendar_util.hpp" 13 #include "array_new.hpp" 14 #include "attribute_array.hpp" 13 15 //#include "context.hpp" 14 16 … … 80 82 boost::shared_ptr<func::CFunctor> getFieldOperation(void) const; 81 83 82 ARRAY(double, 1)getData(void) const;84 CArray<double, 1> getData(void) const; 83 85 84 86 const StdString & getBaseFieldId(void) const; … … 89 91 void resetNStep() ; 90 92 91 template < StdSize N> bool updateData(const ARRAY(double, N)data);93 template <int N> bool updateData(const CArray<double, N>& data); 92 94 93 95 bool updateDataServer 94 96 (const CDate & currDate, 95 const std::deque< ARRAY(double, 1)> storedClient);97 const std::deque< CArray<double, 1>* > storedClient); 96 98 97 99 public : … … 106 108 void solveOperation(void); 107 109 108 virtual void fromBinary(StdIStream & is);110 // virtual void fromBinary(StdIStream & is); 109 111 110 112 /// Destructeur /// … … 117 119 static ENodeType GetType(void); 118 120 119 template < StdSize N> void setData(const ARRAY(double, N)_data) ;121 template <int N> void setData(const CArray<double, N>& _data) ; 120 122 static bool dispatchEvent(CEventServer& event) ; 121 123 void sendUpdateData(void) ; … … 123 125 void recvUpdateData(vector<int>& ranks, vector<CBufferIn*>& buffers) ; 124 126 void writeField(void) ; 125 void outputField( ARRAY(double,3)fieldOut) ;126 void outputField( ARRAY(double,2)fieldOut) ;127 void outputField(CArray<double,3>& fieldOut) ; 128 void outputField(CArray<double,2>& fieldOut) ; 127 129 128 130 public : … … 145 147 map<int,boost::shared_ptr<func::CFunctor> > foperation_srv; 146 148 147 ARRAY(double, 1)data;148 map<int, ARRAY(double,1)> data_srv ;149 CArray<double, 1> data; 150 map<int, CArray<double,1>* > data_srv ; 149 151 150 152 }; // class CField
Note: See TracChangeset
for help on using the changeset viewer.