本文整理汇总了Python中burnman.mineral.Mineral.__init__方法的典型用法代码示例。如果您正苦于以下问题:Python Mineral.__init__方法的具体用法?Python Mineral.__init__怎么用?Python Mineral.__init__使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类burnman.mineral.Mineral
的用法示例。
在下文中一共展示了Mineral.__init__方法的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: __init__
# 需要导入模块: from burnman.mineral import Mineral [as 别名]
# 或者: from burnman.mineral.Mineral import __init__ [as 别名]
def __init__(self):
self.params = {
'equation_of_state':'slb3',
'V_0': 25.49e-6,
'K_0': 272.0e9,
'Kprime_0': 4.1,
'G_0': 133.0e9,
'Gprime_0': 1.4,
'molar_mass': .1319,
'n': 5,
'Debye_0': 871.,
'grueneisen_0': 1.57,
'q_0': 1.1,
'eta_s_0': 2.3 } #2.3
self.uncertainties = {
'err_K_0':40e9,
'err_Kprime_0':1.,
'err_G_0':40e9,
'err_Gprime_0':0.0,
'err_Debye_0':26.,
'err_grueneisen_0':.3,
'err_q_0':1.0,
'err_eta_s_0':1.0}
Mineral.__init__(self)
示例2: __init__
# 需要导入模块: from burnman.mineral import Mineral [as 别名]
# 或者: from burnman.mineral.Mineral import __init__ [as 别名]
def __init__(self):
self.params = {
'equation_of_state':'slb3',
'V_0': 11.24e-6,
'K_0': 161.0e9,
'Kprime_0': 3.8,
'G_0': 131.0e9,
'Gprime_0': 2.1,
'molar_mass': .0403,
'n': 2,
'Debye_0': 767.,
'grueneisen_0': 1.36,
'q_0': 1.7, #1.7
'eta_s_0': 2.8 } # 2.8
self.uncertainties = {
'err_K_0': 3.e9,
'err_Kprime_0':.2,
'err_G_0':1.0e9,
'err_Gprime_0':.1,
'err_Debye_0':9.,
'err_grueneisen_0':.05,
'err_q_0':.2,
'err_eta_s_0':.2 }
Mineral.__init__(self)
示例3: __init__
# 需要导入模块: from burnman.mineral import Mineral [as 别名]
# 或者: from burnman.mineral.Mineral import __init__ [as 别名]
def __init__(self):
formula='S2'
formula = dictionarize_formula(formula)
self.params = {
'name': 'sulfur gas',
'formula': formula,
'equation_of_state': 'cork',
'cork_params': [[5.45963e1,-8.63920e0], [9.18301e-1], [-3.30558e-2,2.30524e-3], [6.93054e-4,-8.38293e-5]],
'cork_T': 1314.00,
'cork_P': 0.21000e8,
'H_0': 128.54e3,
'S_0': 231.0,
'Cp': [37.1, 0.002398, -161000.0, -65.0]}
Mineral.__init__(self)
示例4: __init__
# 需要导入模块: from burnman.mineral import Mineral [as 别名]
# 或者: from burnman.mineral.Mineral import __init__ [as 别名]
def __init__(self):
self.params = {
'equation_of_state':'mgd2',
'V_0': 11.25e-6,
'K_0': 160.1e9,
'Kprime_0': 3.83,
'G_0': 130.0e9,
'Gprime_0': 2.2,
'molar_mass': .0403,
'n': 2,
'Debye_0': 673.,
'grueneisen_0': 1.41,
'q_0': 1.3 }
Mineral.__init__(self)
示例5: __init__
# 需要导入模块: from burnman.mineral import Mineral [as 别名]
# 或者: from burnman.mineral.Mineral import __init__ [as 别名]
def __init__(self):
self.params = {
'equation_of_state':'slb3',
'V_0': 11.24e-6,
'K_0': 161.0e9,
'Kprime_0': 3.8,
'G_0': 131.0e9,
'Gprime_0': 2.1,
'molar_mass': .0403,
'n': 2,
'Debye_0': 773.,
'grueneisen_0': 1.5,
'q_0': 1.5,
'eta_s_0': 2.8 }
Mineral.__init__(self)
示例6: __init__
# 需要导入模块: from burnman.mineral import Mineral [as 别名]
# 或者: from burnman.mineral.Mineral import __init__ [as 别名]
def __init__(self):
self.params = {
'equation_of_state':'slb2',
'V_0': 24.607e-6,
'K_0': 251.9e9,
'Kprime_0': 4.01,
'G_0': 164.7e9,
'Gprime_0': 1.58,
'molar_mass': .102,
'n': 5,
'Debye_0': 1054.,
'grueneisen_0': 1.48,
'q_0': 1.4,
'eta_s_0': 2.4 }
Mineral.__init__(self)
示例7: __init__
# 需要导入模块: from burnman.mineral import Mineral [as 别名]
# 或者: from burnman.mineral.Mineral import __init__ [as 别名]
def __init__(self):
formula='Al2O3'
formula = dictionarize_formula(formula)
self.params = {
'name': 'cor',
'formula': formula,
'equation_of_state': 'hp_tmt',
'H_0': -1675250.0 ,
'S_0': 50.9 ,
'V_0': 2.558e-05 ,
'Cp': [139.5, 0.00589, -2460600.0, -589.2] ,
'a_0': 1.8e-05 ,
'K_0': 2.54e+11 ,
'Kprime_0': 4.34 ,
'Kdprime_0': -1.7e-11 ,
'n': sum(formula.values()),
'molar_mass': formula_mass(formula, atomic_masses)}
self.uncertainties = {
'err_H_0': 700.0 }
Mineral.__init__(self)
示例8: __init__
# 需要导入模块: from burnman.mineral import Mineral [as 别名]
# 或者: from burnman.mineral.Mineral import __init__ [as 别名]
def __init__(self):
formula='Fe1.0'
formula = dictionarize_formula(formula)
self.params = {
'name': 'BCC iron',
'formula': formula,
'equation_of_state': 'hp_tmt',
'H_0': 9149.0 ,
'S_0': 36.868 ,
'V_0': 7.09e-06 ,
'Cp': [21.09, 0.0101455, -221508., 47.1947] ,
'a_0': 3.56e-05 ,
'K_0': 1.64e+11 ,
'Kprime_0': 5.16 ,
'Kdprime_0': -3.1e-11 ,
'n': sum(formula.values()),
'molar_mass': formula_mass(formula, atomic_masses),
'curie_temperature': [1043., 0.0] ,
'magnetic_moment': [2.22, 0.0] ,
'magnetic_structural_parameter': 0.4 }
Mineral.__init__(self)