Changeset 1330 for XIOS/dev/XIOS_DEV_CMIP6/src/node/domain.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/domain.cpp
r1325 r1330 129 129 * \return A map associating the server rank with its minimum buffer size. 130 130 */ 131 std::map<int, StdSize> CDomain::getAttributesBufferSize(CContextClient* client) 132 { 133 CContext* context = CContext::getCurrent(); 134 // For now the assumption is that secondary server pools consist of the same number of procs. 135 // CHANGE the line below if the assumption changes. 136 // CContextClient* client = (0 != context->clientPrimServer.size()) ? context->clientPrimServer[0] : context->client; 137 138 std::map<int, StdSize> attributesSizes = getMinimumBufferSizeForAttributes(); 131 std::map<int, StdSize> CDomain::getAttributesBufferSize(CContextClient* client, bool bufferForWriting /*= false*/) 132 { 133 134 std::map<int, StdSize> attributesSizes = getMinimumBufferSizeForAttributes(client); 139 135 140 136 if (client->isServerLeader())
Note: See TracChangeset
for help on using the changeset viewer.