Enabled using MFront in HydroMechanics
Using MFront in HydroMechanics leads to a runtime error with an unclear message of std::get: wrong index for variant
, which makes this bugfixing more difficult. This MR:
- fixed the bug, and therefore it enables to use of MFront in HydroMechanics.
- added more specific error message in
MFront::integrateStress
in order to save the effort to find the similar error in future implementation or test.
Besides, this MR is aimed to fix issue #3162 created by @AlirezaBGE. In another words, it fixes #3162.
-
Feature description was added to the changelog -
Tests covering your feature were added? Yes, a ctest was added. -
Any new feature or behavior change was documented?