Changeset 1132 for XIOS/dev/dev_olga/src/node
- Timestamp:
- 05/15/17 16:58:35 (7 years ago)
- Location:
- XIOS/dev/dev_olga/src/node
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_olga/src/node/domain.cpp
r1130 r1132 1370 1370 hasBounds = true; 1371 1371 } 1372 else if (hasBoundValues) 1373 { 1374 hasBounds = true; 1375 } 1372 1376 else 1373 1377 { … … 2773 2777 } 2774 2778 } 2775 2776 2777 2778 // lonvalue.resize(zoom_ni*zoom_nj);2779 // lonvalue = 0;2780 2781 // if (hasBounds)2782 // {2783 // bounds_lonvalue.resize(nvertex,zoom_ni*zoom_nj);2784 // bounds_lonvalue = 0.;2785 // }2786 2787 // if (0 == lonvalue.numElements()) return;2788 2789 // for (i = 0; i < nbReceived; ++i)2790 // {2791 // int rank = recvClientRanks_[i];2792 // CArray<int,1> &indi = indGlob_[rank], &indj = indGlob_[rank];2793 // for (ind = 0; ind < indi.numElements(); ++ind)2794 // {2795 // iindex = indi(ind) % ni_glo; jindex = indj(ind) / ni_glo;2796 // index = (iindex - zoom_ibegin) + (jindex - zoom_jbegin) * zoom_ni;2797 // lonvalue(index) = recvLonValue[i](ind);2798 // if (hasBounds)2799 // {2800 // for (int nv = 0; nv < nvertex; ++nv)2801 // bounds_lonvalue(nv, index) = recvBoundsLonValue[i](nv, ind);2802 // }2803 // }2804 // }2805 2779 } 2806 2780 -
XIOS/dev/dev_olga/src/node/file.cpp
r1130 r1132 974 974 975 975 /*! 976 \brief Send a message to create a variable group on server side 977 \param[in] id String identity of variable group that will be created on server 978 \param [in] client client to which we will send this adding action 979 */ 980 void CFile::sendAddVariableGroup(const string& id, CContextClient* client) 981 { 982 sendAddItem(id, (int)EVENT_ID_ADD_VARIABLE_GROUP, client); 983 } 984 985 /*! 976 986 \brief Send a message to create a variable on server side 977 987 A variable always belongs to a variable group … … 983 993 } 984 994 995 /* 996 Send message to add a variable into a file within a certain client 997 \param [in] id String identity of a variable 998 \param [in] client client to which we will send this adding action 999 */ 985 1000 void CFile::sendAddVariable(const string& id, CContextClient* client) 986 1001 { -
XIOS/dev/dev_olga/src/node/file.hpp
r1129 r1132 133 133 void sendAddVariable(const string& id, CContextClient* client); 134 134 void sendAddVariableGroup(const string& id = ""); 135 void sendAddVariableGroup(const string& id, CContextClient* client); 135 136 136 137 // Receive info from client -
XIOS/dev/dev_olga/src/node/grid.cpp
r1129 r1132 632 632 CArray<size_t,1>& localIndex = outLocalIndexStoreOnClient[rank]; 633 633 size_t nbIndex = 0; 634 635 // Keep this code for this moment but it should be removed (or moved to DEBUG) to improve performance 634 636 for (size_t idx = 0; idx < globalIndex.numElements(); ++idx) 635 637 { … … 640 642 } 641 643 644 642 645 if (nbIndex != localIndex.numElements()) 643 646 ERROR("void CGrid::computeClientIndex()",
Note: See TracChangeset
for help on using the changeset viewer.