Skip to content

Commit

Permalink
Remove probably redundant resets in geomechanics_analysis.py
Browse files Browse the repository at this point in the history
  • Loading branch information
rfaasse committed Nov 11, 2024
1 parent 644cbc9 commit d7019e6
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,6 @@ def ModifyInitialGeometry(self):
# The reset needs to take place befor the Initialize of the processes, as these will set the Dirichlet condition.
self._GetSolver().main_model_part.ProcessInfo[KratosGeo.RESET_DISPLACEMENTS] = self.reset_displacements
if self.reset_displacements:
self.ResetIfHasNodalSolutionStepVariable(KratosMultiphysics.DISPLACEMENT)
self.ResetIfHasNodalSolutionStepVariable(KratosMultiphysics.ROTATION)

KratosMultiphysics.VariableUtils().UpdateCurrentToInitialConfiguration(self._GetSolver().GetComputingModelPart().Nodes)

def Finalize(self):
Expand Down

0 comments on commit d7019e6

Please sign in to comment.