Ignore:
Timestamp:
09/16/15 16:26:32 (9 years ago)
Author:
rlacroix
Message:

Add a new file attribute to give our users more control on the time counter.

The time_counter attribute can take one of the following values:

  • centered: use centered times for the time counter (previous behavior, used by default)
  • instant: use instant times for the time counter
  • record: use record indexes for the time counter
  • none: disable the output of the time counter completely.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/node/file.cpp

    r651 r692  
    246246      MPI_Comm_split(server->intraComm, color, server->intraCommRank, &fileComm); 
    247247      if (allDomainEmpty) MPI_Comm_free(&fileComm); 
     248 
     249      if (time_counter.isEmpty()) time_counter.setValue(time_counter_attr::centered); 
    248250    } 
    249251 
Note: See TracChangeset for help on using the changeset viewer.