Ignore:
Timestamp:
10/30/15 16:33:50 (6 years ago)
Author:
rlacroix
Message:

Fix: Improve the detection of already outputed compressed axis/domain.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/io/nc4_data_output.hpp

    r707 r774  
    9595            StdString getTimeStamp(void) const; 
    9696 
     97            bool isWrittenDomain(const std::string& domainName) const; 
     98            bool isWrittenCompressedDomain(const std::string& domainName) const; 
     99            bool isWrittenAxis(const std::string& axisName) const; 
     100            bool isWrittenCompressedAxis(const std::string& axisName) const; 
     101 
     102            void setWrittenDomain(const std::string& domainName); 
     103            void setWrittenCompressedDomain(const std::string& domainName); 
     104            void setWrittenAxis(const std::string& axisName); 
     105            void setWrittenCompressedAxis(const std::string& axisName); 
     106 
    97107            /// Propriétés privées /// 
    98108            MPI_Comm comm_file; 
     
    100110            std::map<Time, StdSize> timeToRecordCache; 
    101111 
    102             std::set<std::string> writtenDomains ;  
    103             std::set<std::string> writtenAxis ; 
    104             bool isWrittenDomain(const std::string& domainName) { return this->writtenDomains.find(domainName) != this->writtenDomains.end(); } 
    105             bool isWrittenAxis(const std::string& axisName) { return this->writtenAxis.find(axisName) != this->writtenAxis.end(); } 
     112            std::set<std::string> writtenDomains, writtenCompressedDomains; 
     113            std::set<std::string> writtenAxis, writtenCompressedAxis; 
    106114      }; // class CNc4DataOutput 
    107115 
Note: See TracChangeset for help on using the changeset viewer.