OGS
[tag] flush_stdout

Determines if stdout should be flushed each time before and after passing control to the Python script. This might slow down operation, but ensures the right order of messages printed to stdout from Python and C++.

Additional info

From ProcessLib/BoundaryConditionAndSourceTerm/Python/CreatePythonSourceTerm.cpp line 40

  • This is an optional parameter.
  • This parameter has a default value of false.
  • Expanded tag path: process_variables.process_variable.source_terms.source_term.Python.flush_stdout
  • Go to source code: → ogs/ogs/master

Used in the following test data files