Homec4science

Updates the `assembleResidual()` functions of the `StructuralMechanicsModel`.

Authored by Philip Mueller, HS <philip.paul.mueller@bluemail.ch> on Mar 22 2022, 13:38.

Description

Updates the assembleResidual() functions of the StructuralMechanicsModel.

The commits adds code that ensures that after a call to assembleResidual() the matrices K and M are assembled.
The main point of this commit is, to ensure that after a call to assumebleResidual() the getEnergy() functions returns a usefull value.
Before they returned zero, because the matrices were not assembled.

This makes the behaviour of the model more consistent to the solid mechanics model.
It is also important for the usage of the structural model inside LibMultiScale.

Event Timeline

Philip Mueller, HS <philip.paul.mueller@bluemail.ch> committed rAKA29b90b0f220d: Updates the `assembleResidual()` functions of the `StructuralMechanicsModel`. (authored by Philip Mueller, HS <philip.paul.mueller@bluemail.ch>).Mar 22 2022, 13:52