stem.IO.kratos_output_io module
- class stem.IO.kratos_output_io.KratosOutputsIO(domain: str)
Bases:
objectClass containing methods to write outputs to Kratos
- Attributes:
domain (str): name of the Kratos domain
Constructor of KratosOutputsIO class
- Args:
domain (str): name of the Kratos domain
- create_output_process_dictionary(output_settings: List[Output]) Dict[str, Any]
Creates a dictionary containing the output_processes, that specifies which output to request Kratos and the type of output (‘GiD’, ‘VTK’, ‘JSON’)
- Args:
output_settings (List[
stem.output.Output]): list of output process objects
- Returns:
output_dict (Dict[str, Any]): dictionary containing two other dictionary for output properties:
the first containing the “output_process” dictionary. - the second containing the “processes” dictionary, which includes JSON outputs.