Changeset 300 for XMLIO_V2/dev/common/src/node/grid.hpp
- Timestamp:
- 02/13/12 19:35:25 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XMLIO_V2/dev/common/src/node/grid.hpp
r286 r300 41 41 typedef CGridGroup RelGroup; 42 42 43 enum EEventId 44 { 45 EVENT_ID_INDEX 46 } ; 47 43 48 /// Constructeurs /// 44 49 CGrid(void); … … 81 86 void inputFieldServer(const std::deque<ARRAY(double, 1)> storedClient, 82 87 ARRAY(double, 1) storedServer) const; 83 88 /* 84 89 template <StdSize n> 85 90 void outputField(const ARRAY(double, 1) stored, ARRAY(double, n) field) const; 86 91 */ 92 void outputField(int rank, const ARRAY(double, 1) stored, ARRAY(double, 3) field) ; 93 void outputField(int rank, const ARRAY(double, 1) stored, ARRAY(double, 2) field) ; 94 void outputField(int rank,const ARRAY(double, 1) stored, ARRAY(double, 1) field) ; 95 87 96 /// Destructeur /// 88 97 virtual ~CGrid(void); … … 102 111 CreateGrid(boost::shared_ptr<CDomain> domain, boost::shared_ptr<CAxis> axis); 103 112 104 p rotected:113 public : 105 114 106 115 /// Entrées-sorties de champs (interne) /// … … 113 122 void solveAxisRef(void); 114 123 124 static bool dispatchEvent(CEventServer& event) ; 125 void outputFieldToServer(ARRAY(double, 1) fieldIn, int rank, ARRAY(double, 1) fieldOut) ; 126 static void recvIndex(CEventServer& event) ; 127 void recvIndex(int rank, CBufferIn& buffer) ; 128 void sendIndex(void) ; 129 115 130 public: 116 131 … … 126 141 std::deque<ARRAY(int, 1)> out_j_index ; 127 142 std::deque<ARRAY(int, 1)> out_l_index ; 128 143 ARRAY(int, 1) storeIndex_client ; 144 ARRAY(int, 1) out_i_client ; 145 ARRAY(int, 1) out_j_client ; 146 ARRAY(int, 1) out_l_client ; 147 148 map<int,ARRAY(int, 1)> storeIndex_toSrv ; 149 map<int,int> nbSenders ; 150 // std::deque<ARRAY(int, 1)> out_i_toSrv ; 151 // std::deque<ARRAY(int, 1)> out_j_toSrv ; 152 // std::deque<ARRAY(int, 1)> out_l_toSrv ; 153 154 map<int,ARRAY(int, 1)> out_i_fromClient ; 155 map<int,ARRAY(int, 1)> out_j_fromClient ; 156 map<int,ARRAY(int, 1)> out_l_fromClient ; 157 129 158 }; // class CGrid 130 159
Note: See TracChangeset
for help on using the changeset viewer.