bluemira.codes.process._run
PROCESS run functions
Classes
Run task for PROCESS. |
Module Contents
- class bluemira.codes.process._run.Run(params: bluemira.codes.process.params.ProcessSolverParams, in_dat_path: str, binary: str = PROCESS_BINARY, solver: str | None = None)
Bases:
bluemira.codes.interface.CodesTaskRun task for PROCESS.
- Parameters:
params (bluemira.codes.process.params.ProcessSolverParams) – The bluemira parameters for this task.
in_dat_path (str) – The path to an existing PROCESS IN.DAT input file.
run_directory – The directory in which to run PROCESS. This is where the output files will be written to. Default is current working directory.
binary (str) – The path, or name, of the PROCESS executable. The default is ‘process’, which requires the executable to be on the system path.
solver (str | None)
- in_dat_path
- binary = 'process'
- solver = None
- run()
Run the PROCESS executable on the IN.DAT file.
This will run process using the
in_dat_pathfile. PROCESS’s output files will be written to the same directory thatin_dat_pathis in.
- runinput()
Run the PROCESS executable on the IN.DAT file, equivalent to ‘run’ method.
- flush_callable(line: str) bool
- Returns:
If callable should be used for flushed output
- Parameters:
line (str)
- Return type:
bool
- flush_printer(line: str)
- Parameters:
line (str)
- _get_epsvmc()
- _run_process()