Changeset 509 for XIOS/trunk/src/node/grid.hpp
- Timestamp:
- 11/13/14 15:09:14 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/node/grid.hpp
r501 r509 13 13 14 14 namespace xios { 15 15 16 16 /// ////////////////////// Déclarations ////////////////////// /// 17 17 … … 46 46 EVENT_ID_INDEX 47 47 } ; 48 48 49 49 /// Constructeurs /// 50 50 CGrid(void); … … 54 54 55 55 /// Traitements /// 56 void solveReference(void); 56 // void solveReference(void); 57 58 void solveDomainAxisRef(bool areAttributesChecked); 59 60 void checkMaskIndex(bool doCalculateIndex); 57 61 58 62 // virtual void toBinary (StdOStream & os) const; … … 74 78 75 79 StdSize getDimension(void) const; 76 80 77 81 // StdSize getLocalSize(void) const; 78 82 // StdSize getGlobalSize(void) const; … … 84 88 template <int n> 85 89 void inputField(const CArray<double,n>& field, CArray<double,1>& stored) const; 86 90 87 91 void inputFieldServer(const std::deque< CArray<double, 1>* > storedClient, 88 92 CArray<double, 1>& storedServer) const; … … 90 94 void outputField(int rank, const CArray<double,1>& stored, CArray<double,3>& field) ; 91 95 void outputField(int rank, const CArray<double,1>& stored, CArray<double,2>& field) ; 92 void outputField(int rank, const CArray<double,1>& stored, CArray<double,1>& field) ; 93 96 void outputField(int rank, const CArray<double,1>& stored, CArray<double,1>& field) ; 97 94 98 /// Destructeur /// 95 99 virtual ~CGrid(void); … … 100 104 static StdString GetName(void); 101 105 static StdString GetDefName(void); 102 106 103 107 static ENodeType GetType(void); 104 108 … … 115 119 void computeIndexServer(void); 116 120 void computeIndex(void); 117 void solveDomainRef(void); 118 void solveAxisRef(void); 121 // void solveDomainRef(void); //TODO temporarily comment 122 // void solveAxisRef(void); // TODO: temporarily comment 123 124 void solveDomainRef(bool checkAtt); 125 void solveAxisRef(bool checkAtt); 119 126 120 127 static bool dispatchEvent(CEventServer& event) ; … … 123 130 void recvIndex(int rank, CBufferIn& buffer) ; 124 131 void sendIndex(void) ; 125 132 133 void computeDomConServer(); 134 std::map<int, int> getDomConServerSide(); 135 std::map<int, StdSize> getConnectedServerDataSize(); 126 136 public: 127 137 … … 129 139 bool withAxis ; 130 140 bool isChecked; 141 bool isDomainAxisChecked; 131 142 132 143 CAxis* axis ; … … 137 148 std::deque< CArray<int, 1>* > out_j_index ; 138 149 std::deque< CArray<int, 1>* > out_l_index ; 139 150 140 151 CArray<int, 1> storeIndex_client ; 141 152 CArray<int, 1> out_i_client ; 142 153 CArray<int, 1> out_j_client ; 143 154 CArray<int, 1> out_l_client ; 144 155 145 156 map<int, CArray<int, 1>* > storeIndex_toSrv ; 146 157 map<int,int> nbSenders ; … … 148 159 // std::deque<ARRAY(int, 1)> out_j_toSrv ; 149 160 // std::deque<ARRAY(int, 1)> out_l_toSrv ; 150 161 151 162 map<int, CArray<int, 1>* > out_i_fromClient ; 152 163 map<int, CArray<int, 1>* > out_j_fromClient ; 153 164 map<int, CArray<int, 1>* > out_l_fromClient ; 154 165 void checkMask(void) ; 166 167 std::map<int, int> domConnectedServerSide_; 168 bool isDomConServerComputed_; 155 169 }; // class CGrid 156 170
Note: See TracChangeset
for help on using the changeset viewer.