Skip to content

Commit

Permalink
Fixed uppercase/lowercase issue
Browse files Browse the repository at this point in the history
  • Loading branch information
CaymanUnterborn committed Dec 13, 2015
1 parent 9de0593 commit a8325da
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions burnman/eos/helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ def create(method):
if isinstance(method, str):
if method == "slb2":
return slb.SLB2()
elif method == "Vinet":
return vinet.vinet()
elif method == "vinet":
return vinet.Vinet()
elif method == "mgd2":
return mgd.MGD2()
elif method == "mgd3":
Expand Down
4 changes: 2 additions & 2 deletions burnman/eos/vinet.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def bulk_modulus(volume, params):
K = (params['K_0']*pow(x,-2./3.))*(1+((eta*pow(x,1./3.)+1.)*(1.-pow(x,1./3.))))*exp(eta*(1.-pow(x,1./3.)))
return K

def Vinet(x, params):
def vinet(x, params):
"""
equation for the third order Vinet equation of state, returns
pressure in the same units that are supplied for the reference bulk
Expand All @@ -41,7 +41,7 @@ def volume(pressure, params):
V = opt.brentq(func, 0.1*params['V_0'], 1.5*params['V_0'])
return V

class vinet(eos.EquationOfState):
class Vinet(eos.EquationOfState):
"""
Base class for the isothermal Vinet equation of state. This is third order in strain, and
has no temperature dependence.
Expand Down
4 changes: 2 additions & 2 deletions burnman/minerals/other.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ class Fe_Dewaele(Mineral):
"""
def __init__(self):
self.params = {
'equation_of_state': 'Vinet',
'equation_of_state': 'vinet',
'V_0': 6.75e-6,
'K_0': 163.4e9,
'Kprime_0': 5.38,
Expand All @@ -166,7 +166,7 @@ class Fe_Anderson(Mineral):
"""
def __init__(self):
self.params = {
'equation_of_state':'Vinet',
'equation_of_state':'vinet',
'V_0': (6.72e-6),
'K_0': 156.2e9,
'Kprime_0': 6.08,
Expand Down

0 comments on commit a8325da

Please sign in to comment.