Ignore:
Timestamp:
11/21/17 14:08:25 (7 years ago)
Author:
ymipsl
Message:

Reduce the memory footprint on server level2.

YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/XIOS_DEV_CMIP6/src/distribution_client.cpp

    r1311 r1340  
    3030CDistributionClient::~CDistributionClient() 
    3131{ /* Nothing to do */ } 
     32 
     33void CDistributionClient::partialClear() 
     34{ 
     35  GlobalLocalMap void1 ; 
     36  GlobalLocalMap void2 ; 
     37  std::vector<int> void3 ; 
     38  std::vector<int> void4 ; 
     39 
     40  globalLocalDataSendToServerMap_.swap(void1) ; 
     41  globalDataIndex_.swap(void2) ; 
     42  localDataIndex_.swap(void3); 
     43  localMaskIndex_.swap(void4) ; 
     44} 
    3245 
    3346/*! 
Note: See TracChangeset for help on using the changeset viewer.