Skip to content

Enabled using MFront in HydroMechanics

wenqing requested to merge wenqing/ogs:fix_HM_MFront into master

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:

  1. fixed the bug, and therefore it enables to use of MFront in HydroMechanics.
  2. 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.

  1. Feature description was added to the changelog
  2. Tests covering your feature were added? Yes, a ctest was added.
  3. Any new feature or behavior change was documented?
Edited by Lars Bilke

Merge request reports