Ignore:
Timestamp:
11/27/15 09:55:05 (9 years ago)
Author:
rlacroix
Message:

Append mode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/branchs/xios-1.0/src/output/onetcdf4.hpp

    r606 r798  
    2626 
    2727            /// Constructeurs /// 
    28             CONetCDF4(const StdString & filename, bool exist, const MPI_Comm * comm = NULL, bool multifile=true); 
     28            CONetCDF4(const StdString & filename, bool append, const MPI_Comm * comm = NULL, bool multifile=true); 
    2929 
    3030            CONetCDF4(const CONetCDF4 & onetcdf4);       // Not implemented. 
     
    3333 
    3434            /// Initialisation /// 
    35             void initialize(const StdString & filename, bool exist, const MPI_Comm * comm, bool multifile); 
     35            void initialize(const StdString & filename, bool append, const MPI_Comm * comm, bool multifile); 
    3636            void close(void) ; 
    3737            void sync(void) ; 
     
    116116            int ncidp; 
    117117            bool wmpi; 
     118            /*! Number of records already written when opening an existing file. 
     119             *  always 0 when creating a new file */ 
     120            size_t recordOffset; 
    118121            map<int,size_t> timeAxis ; 
    119122      }; // class CONetCDF4 
Note: See TracChangeset for help on using the changeset viewer.