7.2
general documentation
Advanced management of output times

By default, a post-processing frequency is defined for each writer, as defined using the GUI or through the cs_user_postprocess_writers function. For each writer, the user may define if an output is automatically generated at the end of the calculation, even if the last time step is not a multiple of the required time step number of physical time.

For finer control, the cs_user_postprocess_activate function file may be used to specify when post-processing outputs will be generated, overriding the default behavior.

In the following example, all output is deactivated until time step 1000 is reached, at which time the normal behavior resumes:

if (nt_max_abs < 1000) {
int writer_id = 0; /* 0: all writers */
cs_post_activate_writer(writer_id, false);
}