TRM: Add a constitutive setting using the extended OGS-MFront interface
This MR...
- Generalizes some functionality of
MaterialLib
andProcessLib/Deformation
- Adds a second constitutive setting
SigSatEpsPT
in addition to theOriginal
one to the TRM process - Adds a template parameter for the constitutive setting to the TRM process.
The constitutive settings SigSatEpsPT
and Original
are very similar. The new one, SigSatEpsPT
, adds lots of code, but the differences to Original
are not very large.
This can be seen with your favourite diff tool, e.g.:
meld ProcessLib/ThermoRichardsMechanics/ConstitutiveSigSatEpsPT/ ProcessLib/ThermoRichardsMechanics/ConstitutiveOriginal/
.
I recommend that you take a look with a diff tool, before you make the MR review. It might save you a lot of work and brain capacity.
I didn't find a good way reduce the copied boilerplate code, yet. Macros might work. Or some compile time template graph metaprogramming magic :-)
-
Feature description was added to the changelog -
Tests covering your feature were added? -
Any new feature or behavior change was documented?