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 38

  • This is a required parameter.
  • 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

Used in no end-to-end test cases.