Skip to content

Commit

Permalink
fix tests for now.
Browse files Browse the repository at this point in the history
  • Loading branch information
rowanc1 committed Jul 3, 2014
1 parent f747d72 commit 076005a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions simpegFLOW/Richards/Empirical.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ class Haverkamp(RichardsMap):
theta_r = _ModelProperty('theta_r', ['thetaModel'], default=0.075)
theta_s = _ModelProperty('theta_s', ['thetaModel'], default=0.287)

Ks = _ModelProperty('Ks', ['kModel'], default=24.96)
Ks = _ModelProperty('Ks', ['kModel'], default=np.log(24.96))
A = _ModelProperty('A', ['kModel'], default=1.1750e+06)
gamma = _ModelProperty('gamma', ['kModel'], default=4.74)

Expand Down Expand Up @@ -357,7 +357,7 @@ class VanGenuchten(RichardsMap):
alpha = _ModelProperty('alpha', ['thetaModel', 'kModel'], default=0.036)
n = _ModelProperty('n', ['thetaModel', 'kModel'], default=1.560)

Ks = _ModelProperty('Ks', ['kModel'], default=24.96)
Ks = _ModelProperty('Ks', ['kModel'], default=np.log(24.96))
I = _ModelProperty('I', ['kModel'], default=0.500)

def __init__(self, mesh, **kwargs):
Expand Down
1 change: 1 addition & 0 deletions simpegFLOW/Tests/test_Richards.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ def setUp(self):
M.setCellGradBC('dirichlet')

params = Richards.Empirical.HaverkampParams().celia1990
params['Ks'] = np.log(params['Ks'])
E = Richards.Empirical.Haverkamp(M, **params)

bc = np.array([-61.5,-20.7])
Expand Down

0 comments on commit 076005a

Please sign in to comment.