Ignore:
Timestamp:
08/03/17 15:50:40 (7 years ago)
Author:
mhnguyen
Message:

Fixing a bug on writting axis label

+) Axis label is correctly processed before being written
+) Do some code cleaning and add some comments

Test
+) On Curie
+) OK

File:
1 edited

Legend:

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

    r1232 r1235  
    2929{ /* Nothing to do */ } 
    3030 
     31int CServerDistributionDescription::defaultDistributedDimension(int gridDimension,                                    
     32                                                                ServerDistributionType serType) 
     33 
     34  switch (serType)  
     35  { 
     36    case BAND_DISTRIBUTION:        
     37       return ((1 == gridDimension) ? 0 : 1); 
     38      break; 
     39    default: 
     40      break; 
     41  }  
     42} 
     43 
    3144/*! 
    3245  Compute pre-defined global index distribution of server(s). 
Note: See TracChangeset for help on using the changeset viewer.