![]() |
KratosMultiphysics
KRATOS Multiphysics (Kratos) is a framework for building parallel, multi-disciplinary simulation software, aiming at modularity, extensibility, and high performance. Kratos is written in C++, and counts with an extensive Python interface.
|
This class collects the common functionalities needed for saving / loading restart files. More...
Public Member Functions | |
| def | __init__ (self, model_part, settings) |
| def | LoadRestart (self, restart_file_name="") |
| Public functions ####. More... | |
| def | SaveRestart (self) |
| This function saves the restart file. More... | |
| def | IsRestartOutputStep (self) |
| This function checks and returns whether a restart file should be written in this time-step. More... | |
| def | CreateOutputFolder (self) |
This class collects the common functionalities needed for saving / loading restart files.
It can either be integrated into python-solvers or used directly in the main-script
| def restart_utility.RestartUtility.__init__ | ( | self, | |
| model_part, | |||
| settings | |||
| ) |
| def restart_utility.RestartUtility.CreateOutputFolder | ( | self | ) |
| def restart_utility.RestartUtility.IsRestartOutputStep | ( | self | ) |
This function checks and returns whether a restart file should be written in this time-step.
| def restart_utility.RestartUtility.LoadRestart | ( | self, | |
restart_file_name = "" |
|||
| ) |
Public functions ####.
This function loads a restart file into a ModelPart
| def restart_utility.RestartUtility.SaveRestart | ( | self | ) |
This function saves the restart file.
It should be called at the end of a time-step. Use "IsRestartOutputStep" to check if a restart file should be written in this time-step
| restart_utility.RestartUtility.echo_level |
| restart_utility.RestartUtility.input_file_label |
| restart_utility.RestartUtility.input_output_path |
| restart_utility.RestartUtility.load_restart_files_from_folder |
| restart_utility.RestartUtility.max_files_to_keep |
| restart_utility.RestartUtility.model_part |
| restart_utility.RestartUtility.model_part_name |
| restart_utility.RestartUtility.next_output |
| restart_utility.RestartUtility.raw_file_name |
| restart_utility.RestartUtility.raw_path |
| restart_utility.RestartUtility.restart_control_type_is_time |
| restart_utility.RestartUtility.restart_files |
| restart_utility.RestartUtility.restart_save_frequency |
| restart_utility.RestartUtility.save_restart_files_in_folder |
| restart_utility.RestartUtility.serializer_flag |