fluidsim_core.output.base
Output API
- class fluidsim_core.output.base.SimReprMakerCore(sim)[source]
Bases:
object
Code to create strings to represent a simulation
- class fluidsim_core.output.base.OutputCore(sim)[source]
Bases:
ABC
Base Output class
- SimReprMaker
alias of
SimReprMakerCore
- abstract static _complete_info_solver(info_solver)[source]
Complete the ParamContainer info_solver. More specialized output classes may be assigned as follows:
classes = info_solver.classes.Output.classes classes._set_child( "PrintStdOut", attribs={ "module_name": "package.module", "class_name": "MyPrintStdOut", }, )
- abstract static _complete_params_with_default(params, info_solver)[source]
This static method is used to complete the params container.
- abstract __init__(sim)[source]
Initializes the instance attributes and child output classes.
Note
This class relies on a boolean parameter
params.NEW_DIR_RESULTS
.
- sim
The simulation class
- oper
An alias towards the Operators object
- params
The tree of parameters for output-related classes
- _has_to_save
Determines whether to save output files on-the-fly
- name_solver
Alias for solver short-name
- path_run
Full path of the output directory for this specific simulation
- _init_name_run()[source]
Initialize the
name_run
andsummary_simul
attributes by callingfluidsim_core.output.base.SimReprMakerCore.make_representations
Classes
|
Base Output class |
|
Code to create strings to represent a simulation |