pyopensn.post.SetPrinterOptions

pyopensn.post.SetPrinterOptions(**kwargs) None

Set printer options.

Parameters:
  • scalar_pp_table_format ({'vertical', 'horizontal'}, default='vertical') – The table format with which to print scalar.

  • events_on_which_to_print_postprocs (List[str], default=['SolverInitialized', 'SolverAdvanced', 'SolverExecuted', 'ProgramExecuted']) – A list of events on which to print post-processors.

  • print_scalar_time_history (bool, default=True) – Control whether a time history of scalar post-processors are printed. If false, only the latest version will be printed.

  • print_vector_time_history (bool, default=True) – Control whether a time history of vector post-processors are printed. If false, only the latest version will be printed.

  • per_column_size_scalars (bool, default=True) – Control the sizing of printed columns. If false, all the columns will be the same size.

  • per_column_size_vectors (bool, default=True) – Control the sizing of printed columns. If false, all the columns will be the same size.

  • table_column_limit (int, default=120) – The maximum column, if reached, would cause tables to be wrapped. A minimum limit of 80 is automatically enforced.

  • time_history_limit (int, default=15) – Maximum amount of time values to show in post-processor histories. A maximum of 1000 is automatically enforced.

  • csv_filename (str, default='') – If not empty, a file will be printed with all the post-processors formatted as comma seperated values.