Skip to content

Commit

Permalink
EAMxx: make comment clearer in IO header
Browse files Browse the repository at this point in the history
  • Loading branch information
bartgol committed Oct 16, 2024
1 parent c99a7d9 commit 033d31e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion components/eamxx/src/share/io/scream_io_control.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ struct IOControl {

// At run time, set dt in the struct, so we can compute next_write_ts correctly,
// even if freq_units is "nsteps"
// NOTE: this ASSUMES dt is constant throughout the simulation. Error is thrown if it changes
// NOTE: this ASSUMES dt is constant throughout the run (i.e., no time adaptivity).
// An error will be thrown if dt changes, so developers can fix this if we ever support variable dt
double dt = 0;

bool output_enabled () const {
Expand Down

0 comments on commit 033d31e

Please sign in to comment.