Skip to content

Commit

Permalink
Merge pull request #11547 from KratosMultiphysics/core/adding-clear-p…
Browse files Browse the repository at this point in the history
…rocesses-to-nalaysis
  • Loading branch information
loumalouomega authored Sep 8, 2023
2 parents 94127e6 + 8569daa commit 4828bf8
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions kratos/python_scripts/analysis_stage.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4828bf8

Please sign in to comment.