diff --git a/kratos/python_scripts/analysis_stage.py b/kratos/python_scripts/analysis_stage.py index a08b2a69eb0a..371e3867bb0c 100644 --- a/kratos/python_scripts/analysis_stage.py +++ b/kratos/python_scripts/analysis_stage.py @@ -177,16 +177,30 @@ def OutputSolutionStep(self): def Check(self): """This function checks the AnalysisStage + + Keyword arguments: + self -- It signifies an instance of a class. """ + # Checking solver self._GetSolver().Check() + + # Checking processes for process in self._GetListOfProcesses(): process.Check() def Clear(self): """This function clears the AnalysisStage + + Keyword arguments: + self -- It signifies an instance of a class. """ + # Clearing solver self._GetSolver().Clear() + # Clearing processes + for process in self._GetListOfProcesses(): + process.Clear() + def ModifyInitialProperties(self): """this is the place to eventually modify material properties in the stage """ pass