Skip to content

Commit

Permalink
Merge pull request #12449 from KratosMultiphysics/siapp/bugfix/damage…
Browse files Browse the repository at this point in the history
…_response

[SIApp] bugfix for damage response
  • Loading branch information
sunethwarna authored Jun 12, 2024
2 parents 7ed870e + 36df252 commit 19ad2ca
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ void ControlUtils::AssignEquivalentProperties(
{
KRATOS_TRY

// TODO: To be removed once the PointerVectorSet mutable find is fixed.
rSourceContainer.Sort();
rDestinationContainer.Sort();

const IndexType number_of_entities = rSourceContainer.size();

KRATOS_ERROR_IF_NOT(number_of_entities == rDestinationContainer.size())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def Initialize(self) -> None:
self.sensor_name_dict[sensor.GetName()] = sensor

def Check(self) -> None:
KratosOA.ResponseUtils.MassResponseUtils.Check(self.model_part)
pass

def Finalize(self) -> None:
self.adjoint_analysis.Finalize()
Expand Down

0 comments on commit 19ad2ca

Please sign in to comment.