Ignore:
Timestamp:
06/06/17 17:58:16 (7 years ago)
Author:
oabramkina
Message:

Two server levels: merging with trunk r1137.
There are bugs.

File:
1 edited

Legend:

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

    r1144 r1158  
    152152  infoIndex_.resize(this->dims_); 
    153153 
     154  // A trick to determine position of each domain in domainList 
     155  int domIndex = 0, axisIndex = 0, scalarIndex = 0; 
     156  idx = 0; 
     157 
    154158  elementLocalIndex_.resize(numElement_); 
    155159  elementGlobalIndex_.resize(numElement_); 
     
    158162  elementNLocal_.resize(numElement_); 
    159163  elementNGlobal_.resize(numElement_); 
    160  
    161164  elementNLocal_[0] = 1; 
    162165  elementNGlobal_[0] = 1; 
     166  size_t localSize = 1, globalSize = 1; 
     167 
    163168  isDataDistributed_ = false; 
    164  
    165   size_t localSize = 1, globalSize = 1; 
    166  
    167   // A trick to determine position of each domain in domainList 
    168   int domIndex = 0, axisIndex = 0, scalarIndex = 0; 
    169   idx = 0; 
    170  
    171    
    172169  // Update all the vectors above 
    173170  for (idx = 0; idx < numElement_; ++idx) 
Note: See TracChangeset for help on using the changeset viewer.