Changeset 1330 for XIOS/dev/XIOS_DEV_CMIP6/src/node/axis.cpp
- Timestamp:
- 11/15/17 15:21:13 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/XIOS_DEV_CMIP6/src/node/axis.cpp
r1314 r1330 153 153 * \return A map associating the server rank with its minimum buffer size. 154 154 */ 155 std::map<int, StdSize> CAxis::getAttributesBufferSize(CContextClient* client) 156 { 157 // For now the assumption is that secondary server pools consist of the same number of procs. 158 // CHANGE the line below if the assumption changes. 159 // CContext* context = CContext::getCurrent(); 160 // CContextClient* client = (0 != context->clientPrimServer.size()) ? context->clientPrimServer[0] : context->client; 161 162 std::map<int, StdSize> attributesSizes = getMinimumBufferSizeForAttributes(); 155 std::map<int, StdSize> CAxis::getAttributesBufferSize(CContextClient* client, bool bufferForWriting /*= false*/) 156 { 157 158 std::map<int, StdSize> attributesSizes = getMinimumBufferSizeForAttributes(client); 163 159 164 160 bool isNonDistributed = (n = n_glo);
Note: See TracChangeset
for help on using the changeset viewer.