Ignore:
Timestamp:
06/05/15 16:42:18 (7 years ago)
Author:
rlacroix
Message:

Improve CF compliance: add a new axis attribute "bounds".

Fixes ticket #67.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/branchs/xios-1.0/src/node/file.cpp

    r589 r609  
    183183 
    184184      allDomainEmpty=true ; 
    185       set<CDomain*> setDomain ; 
     185      set<CAxis*> setAxis; 
     186      set<CDomain*> setDomains; 
    186187 
    187188      std::vector<CField*>::iterator it, end = this->enabledFields.end(); 
    188       for (it = this->enabledFields.begin() ;it != end; it++) 
     189      for (it = this->enabledFields.begin(); it != end; it++) 
    189190      { 
    190191         CField* field = *it; 
    191          allDomainEmpty&=field->grid->domain->isEmpty() ; 
    192          setDomain.insert(field->grid->domain) ; 
    193       } 
    194       nbDomain=setDomain.size() ; 
     192         allDomainEmpty&=field->grid->domain->isEmpty(); 
     193         setAxis.insert(field->grid->axis); 
     194         setDomains.insert(field->grid->domain); 
     195      } 
     196      nbAxis = setAxis.size(); 
     197      nbDomains = setDomains.size(); 
    195198 
    196199      // create sub communicator for file   
Note: See TracChangeset for help on using the changeset viewer.