"""Output (:mod:`fluidsim.solvers.models0d.predaprey.output`)
=============================================================
Provides the modules:
.. autosummary::
:toctree:
print_stdout
and the main output class for this solver:
.. autoclass:: Output
:members:
:private-members:
"""
from fluidsim.base.output import OutputBase
[docs]
class Output(OutputBase):
"""Output for Lorenz solver."""
[docs]
@staticmethod
def _complete_info_solver(info_solver):
"""Complete the `info_solver` container (static method)."""
OutputBase._complete_info_solver(info_solver)
classes = info_solver.classes.Output.classes
package = "fluidsim.solvers.models0d.lorenz.output"
classes.PrintStdOut.module_name = package + ".print_stdout"
classes.PrintStdOut.class_name = "PrintStdOutLorenz"
[docs]
@staticmethod
def _complete_params_with_default(params, info_solver):
"""Complete the `params` container (static method)."""
OutputBase._complete_params_with_default(params, info_solver)
params.output.phys_fields.field_to_plot = "X"