Note that this PR is an extension of PR #5805, it takes the test implemented in that PR and modifies it slightly to serve as a test for the functionality implemented in this PR.
If there is 0 bound water in the model domain and the user tries using the HK04 olivine hydration viscosity prefactor scheme there is a divide by 0 error. In Hirth & Kohlstaedt 2004, they discuss that when the hydration state of olivine is below 50 H/Si ppm (6.15e-4 wt% water), olivine deformation is consistent with dry conditions, and above 6.15e-4 wt% water olivine deformation is consistent with wet conditions. This PR adds a user parameter that defines this cutoff between dry and wet deformation, with the default value representing the value discussed in Hirth & Kohlstaedt 2004.
Note that this PR is an extension of PR #5805, it takes the test implemented in that PR and modifies it slightly to serve as a test for the functionality implemented in this PR.
If there is 0 bound water in the model domain and the user tries using the HK04 olivine hydration viscosity prefactor scheme there is a divide by 0 error. In Hirth & Kohlstaedt 2004, they discuss that when the hydration state of olivine is below 50 H/Si ppm (6.15e-4 wt% water), olivine deformation is consistent with dry conditions, and above 6.15e-4 wt% water olivine deformation is consistent with wet conditions. This PR adds a user parameter that defines this cutoff between dry and wet deformation, with the default value representing the value discussed in Hirth & Kohlstaedt 2004.