index
int64
0
731k
package
stringlengths
2
98
name
stringlengths
1
76
docstring
stringlengths
0
281k
code
stringlengths
4
8.19k
signature
stringlengths
2
42.8k
embed_func_code
sequencelengths
768
768
10,859
burnman.classes.material
set_state
Set the material to the given pressure and temperature. :param pressure: The desired pressure in [Pa]. :type pressure: float :param temperature: The desired temperature in [K]. :type temperature: float
def set_state(self, pressure, temperature): """ Set the material to the given pressure and temperature. :param pressure: The desired pressure in [Pa]. :type pressure: float :param temperature: The desired temperature in [K]. :type temperature: float """ if not hasattr(self, "_pressure"): raise Exception( "Material.set_state() could not find class member _pressure. " "Did you forget to call Material.__init__(self) in __init___?" ) self.reset() self._pressure = pressure self._temperature = temperature
(self, pressure, temperature)
[ 0.026596035808324814, -0.012864680960774422, 0.02370712347328663, 0.01969876140356064, -0.033168308436870575, -0.02944883517920971, -0.0427197702229023, 0.01621401123702526, 0.009217430837452412, 0.002155398251488805, -0.025079356506466866, 0.030550232157111168, 0.0031123498920351267, 0.06528938561677933, -0.057778216898441315, 0.0027489792555570602, -0.0017051344038918614, 0.029430778697133064, -0.037483617663383484, -0.01776680164039135, -0.01928347907960415, 0.02033071033656597, 0.03408914804458618, 0.05803099647164345, 0.002500713337212801, 0.023797402158379555, 0.020511265844106674, 0.007822629064321518, 0.024411296471953392, -0.04961704462766647, -0.03156135231256485, 0.03367386758327484, 0.014670250006020069, 0.06597550213336945, 0.01727929711341858, -0.029647447168827057, 0.02052932232618332, 0.026596035808324814, -0.05145872384309769, 0.025079356506466866, 0.009050415828824043, -0.01047230139374733, 0.05662265047430992, 0.004191177431493998, 0.01897653192281723, -0.0010827772784978151, 0.060342125594615936, 0.019644593819975853, 0.03380025550723076, -0.03515443205833435, 0.012205648235976696, 0.02858216129243374, 0.007538251578807831, -0.005728168413043022, -0.004073815420269966, 0.018994588404893875, 0.04680035635828972, 0.03737528249621391, -0.00975007377564907, -0.011853561736643314, -0.017712634056806564, 0.022696005180478096, -0.003220684127882123, -0.10147298872470856, -0.04986982420086861, -0.04434477910399437, -0.010508413426578045, 0.037628062069416046, 0.012241759337484837, 0.08457286655902863, 0.017721662297844887, 0.042430877685546875, 0.0022129507269710302, -0.01607859507203102, 0.012638985179364681, 0.025205746293067932, -0.08182840049266815, 0.0011533073848113418, -0.05409485474228859, -0.017649440094828606, -0.013677187263965607, 0.03224746510386467, 0.006590327713638544, 0.04185309633612633, -0.04358644038438797, 0.0024014071095734835, -0.016647348180413246, 0.018245277926325798, 0.0005490059265866876, -0.020998770371079445, -0.003105579176917672, 0.048930928111076355, -0.0198432058095932, -0.005177469924092293, 0.09446738660335541, -0.0020685051567852497, -0.0033764145337045193, -0.02665020152926445, -0.03266274929046631, -0.005100733134895563, -0.059367116540670395, -0.015518867410719395, -0.005538583733141422, -0.03892807289958, 0.015175809152424335, -0.07540056854486465, -0.009167778305709362, 0.004137010313570499, 0.05889767035841942, -0.017532076686620712, -0.028852997347712517, -0.008030269294977188, -0.08738955110311508, 0.025259913876652718, -0.03820584714412689, 0.008562912233173847, 0.029954394325613976, -0.026866870000958443, 0.00950632244348526, -0.035623881965875626, 0.011095223017036915, 0.01339732389897108, -0.008165687322616577, 0.04607812687754631, 0.04362255334854126, 0.0138938557356596, 0.007425403688102961, 0.011844534426927567, 0.023689068853855133, -0.06384492665529251, -0.053011514246463776, 0.03394470363855362, -0.02195572294294834, 0.022966841235756874, 0.0009834710508584976, -0.0009569516987539828, -0.011077167466282845, -0.010869527235627174, -0.022894617170095444, -0.016620265319943428, 0.04615034908056259, 0.01897653192281723, -0.013415379449725151, 0.0070326924324035645, -0.0003797337703872472, 0.025765473023056984, 0.019337646663188934, -0.019933484494686127, -0.035858605057001114, 0.04506700858473778, -0.022551560774445534, 0.004358192905783653, 0.025765473023056984, 0.006292408797889948, -0.02195572294294834, -0.004179892595857382, 0.02260572649538517, -0.02291267365217209, 0.030640510842204094, 0.037519730627536774, -0.01935570314526558, 0.001549404114484787, -0.001020146650262177, 0.036725278943777084, -0.021612664684653282, 0.042539212852716446, -0.07800059020519257, -0.07547279447317123, -0.017640411853790283, -0.032680802047252655, -0.0010088618146255612, -0.0680338516831398, -0.03291552886366844, 0.007822629064321518, 0.04181698337197304, -0.007624016143381596, 0.008183742873370647, -0.031958576291799545, 0.019933484494686127, 0.00822888221591711, 0.012954959645867348, -0.009623683989048004, -0.06810607016086578, 0.04199754074215889, 0.011194529011845589, -0.02665020152926445, -0.02782382257282734, 0.00027774734189733863, 0.016620265319943428, -0.019987652078270912, 0.05839211121201515, 0.014426498673856258, -0.028527993708848953, 0.014625110663473606, 0.01521192118525505, 0.003613395383581519, 0.06936997175216675, -0.08861733973026276, 0.07467834651470184, 0.08385063707828522, -0.012566762045025826, -0.02423073910176754, 0.03235580027103424, 0.03878362849354744, 0.03827806934714317, 0.0004409538523759693, 0.03881973773241043, 0.009876463562250137, -0.03403497859835625, -0.01690012775361538, -0.030225228518247604, -0.030153006315231323, 0.038314178586006165, 0.04420033469796181, 0.03659888729453087, -0.08601731806993484, 0.04698091372847557, -0.007262902334332466, 0.031398847699165344, 0.004450728185474873, 0.04141975939273834, 0.016791794449090958, -0.013388295657932758, -0.02090849168598652, -0.012350093573331833, 0.019482092931866646, -0.04615034908056259, -0.02128766104578972, -0.08348952233791351, -0.0029159942641854286, -0.015166781842708588, 0.004680938087403774, -0.009650767780840397, 0.0021847388707101345, 0.00915875006467104, -0.004315310623496771, 0.008097978308796883, -0.03770028427243233, -0.10270077735185623, -0.02578352950513363, -0.004811841994524002, -0.023616846650838852, 0.038350291550159454, -0.007375750225037336, -0.04694480076432228, 0.0033448170870542526, 0.017568189650774002, 0.05658654123544693, -0.051205944269895554, -0.007208735216408968, -0.041564203798770905, -0.005619834177196026, -0.013460518792271614, 0.027877988293766975, 0.0206015445291996, -0.02979189343750477, 0.027119649574160576, 0.031471073627471924, -0.012991070747375488, 0.010607719421386719, -0.040805865079164505, -0.07677280157804489, 0.030369674786925316, 0.0665532797574997, 0.07648391276597977, 0.0010161969112232327, 0.01377649325877428, 0.01188967376947403, -0.06063101440668106, -0.012142453342676163, 0.11649532616138458, 0.0089330542832613, -0.018452918156981468, 0.023634901270270348, -0.014643166214227676, -0.06286992132663727, 0.004920176230370998, -0.016674432903528214, -0.037555839866399765, 0.004078329540789127, 0.04531978815793991, -0.029466889798641205, 0.03443220630288124, 0.08132284134626389, -0.025458525866270065, -0.044922564178705215, 0.01005702093243599, 0.047378137707710266, 0.02312934212386608, -0.01192578487098217, -0.018209164962172508, 0.03141690418124199, -0.018154999241232872, 0.00413926737383008, 0.06778106838464737, -0.0308030117303133, -0.08897845447063446, 0.02018626406788826, -0.0032906499691307545, -0.01672859862446785, 0.0737394466996193, -0.050628162920475006, -0.03336691856384277, 0.023490456864237785, -0.017857080325484276, -0.0009067343198694289, 0.04123920202255249, 0.006576785817742348, 0.018795976415276527, -0.012783430516719818, 0.07276444137096405, 0.0627254769206047, -0.03954196721315384, 0.04683646559715271, 0.030676621943712234, -0.06644494831562042, 0.019644593819975853, -0.005159413907676935, 0.00688824662938714, 0.05915044993162155, 0.005285804159939289, -0.07103109359741211, -0.0010020909830927849, 0.0018033123342320323, -0.017414715141057968, 0.006147963460534811, -0.01579873077571392, -0.01064383052289486, 0.007831656374037266, -0.008504231460392475, -0.1232120469212532, 0.035930827260017395, 0.05561153218150139, -0.01026466116309166, -0.01808277517557144, -0.06962274760007858, -0.02554880455136299, -0.05597264692187309, -0.004480068571865559, -0.028112713247537613, 0.08385063707828522, 0.02993633784353733, -0.032301634550094604, -0.012485511600971222, 0.0374113954603672, 0.0332585871219635, 0.009732018224895, -0.0608476847410202, 0.07525612413883209, 0.04582534730434418, -0.06590327620506287, 0.01939181424677372, 0.020998770371079445, 0.01969876140356064, 0.04011974856257439, 0.01950014755129814, -0.030911345034837723, 0.011709116399288177, -0.0355336032807827, -0.023580733686685562, 0.01487789023667574, -0.019175145775079727, -0.03986696898937225, -0.011898701079189777, -0.00914069451391697, -0.027697432786226273, -0.03452248498797417, -0.01066188607364893, 0.025494636967778206, 0.01392996683716774, 0.03791695460677147, -0.09851185977458954, -0.06882829964160919, 0.029394667595624924, -0.000823790964204818, 0.03259052336215973, -0.02737242914736271, 0.039289187639951706, 0.06326714903116226, -0.0283474363386631, 0.05564764514565468, -0.0748227909207344, -0.009912575595080853, 0.004003849811851978, 0.013857743702828884, -0.015275116078555584, 0.0028956816531717777, -0.02637936733663082, 0.048028141260147095, 0.0453559011220932, 0.008025755174458027, 0.013713298365473747, 0.032825250178575516, -0.05344485118985176, 0.02585575170814991, 0.01901264488697052, 0.04228643327951431, -0.03186829760670662, -0.01863347552716732, -0.012377177365124226, -0.01566331274807453, -0.05980045348405838, -0.05665876343846321, 0.017604300752282143, 0.012106342241168022, -0.01031882781535387, 0.028058545663952827, 0.029430778697133064, -0.03380025550723076, -0.045572567731142044, 0.04578923434019089, 0.015374422073364258, -0.037628062069416046, -0.026054363697767258, 0.02128766104578972, -0.026144642382860184, 0.06370048224925995, -0.10804526507854462, 0.059258781373500824, 0.026830758899450302, -0.0031304056756198406, 0.06337548047304153, 0.02755298651754856, 0.031091902405023575, 0.01946403644979, -0.0015065218321979046, -0.01045424584299326, 0.015004280023276806, 0.018227221444249153, 0.06496438384056091, -0.02637936733663082, 0.03175996243953705, -0.06117268651723862, -0.007380264345556498, 0.003200371516868472, -0.018001524731516838, 0.008143117651343346, -0.004599687643349171, -0.02717381715774536, -0.019265424460172653, 0.06741995364427567, -0.015112614259123802, 0.037519730627536774, -0.0023630387149751186, -0.02982800453901291, -0.04853370040655136, 0.017640411853790283, 0.02347240038216114, -0.02906966581940651, 0.004130239598453045, -0.01468830555677414, 0.039939191192388535, -0.026451589539647102, -0.05145872384309769, 0.08023949712514877, -0.017207074910402298, -0.038458626717329025, -0.016304289922118187, 0.024411296471953392, -0.03737528249621391, 0.027209928259253502, 0.026740480214357376, -0.07467834651470184, 0.02354462258517742, -0.010011881589889526, -0.011402170173823833, -0.0001342186878900975, -0.03522665426135063, 0.0006883732858113945, 0.003274851245805621, 0.03201274201273918, -0.028744662180542946, -0.012575790286064148, -0.0028527993708848953, -0.06120879575610161, -0.015058447606861591, -0.04994204640388489, 0.008111519739031792, -0.03542526811361313, -0.03806139901280403, -0.023797402158379555, -0.006409770809113979, 0.05676709860563278, 0.02800437994301319, -0.000746490026358515, 0.001216502278111875, 0.027769654989242554, -0.024555740877985954, 0.04474200680851936, -0.020312653854489326, -0.06315881013870239, -0.03367386758327484, 0.04513923078775406, 0.035280823707580566, -0.058572664856910706, 0.034378036856651306, -0.030784955248236656, 0.024465464055538177, -0.009632712230086327, 0.004452985245734453, 0.004398818127810955, -0.0007955789333209395, 0.0006059941952116787, -0.012431344017386436, 0.023219620808959007, -0.03802528977394104, -0.00031907795346342027, -0.006152477115392685, 0.03892807289958, 0.025079356506466866, 0.028708551079034805, -0.01901264488697052, 0.03896418586373329, -0.000606558402068913, 0.0037104447837918997, -0.01935570314526558, -0.06608383357524872, 0.06705883890390396, -0.026523811742663383, -0.010174382477998734, 0.028979387134313583, 0.03280719369649887, 0.07417278736829758, -0.03315025195479393, -0.001906004035845399, -0.0057913633063435555, -0.011384113691747189, -0.06669773161411285, 0.008097978308796883, 0.018344582989811897, 0.00022837630240246654, -0.0311821810901165, -0.017477910965681076, 0.03770028427243233, 0.005976434331387281, -0.041564203798770905, 0.02841966040432453, -0.05261428654193878, -0.03788084164261818, -0.036039162427186966, 0.00029904741677455604, -0.005082677584141493, 0.031434960663318634, -0.047233693301677704, 0.03175996243953705, -0.016791794449090958, -0.05488930642604828, -0.029683558270335197, -0.0476309172809124, -0.036761388182640076, 0.011384113691747189, -0.09591183811426163, -0.06546994298696518, -0.014796639792621136, 0.0638810396194458, 0.02018626406788826, 0.0514226108789444, -0.001843937556259334, 0.004222774878144264, 0.016755683347582817, -0.007104915101081133, -0.0012954958947375417, 0.04290032386779785, 0.026704369112849236, 0.0015900294529274106, -0.05265039950609207, -0.014038301073014736, -0.01901264488697052, -0.013451490551233292, -0.04333366081118584, 0.0540587417781353, 0.02744465321302414, 0.023725179955363274, 0.06290603429079056, 0.014570944011211395, -0.010228550061583519, 0.05095316469669342, 0.005822960752993822, 0.002182481810450554, 0.0026383879594504833, 0.07460612058639526, 0.029232166707515717, -0.07915615290403366, -0.04445311427116394, 0.0138938557356596, 0.026018252596259117, -0.01177231129258871, 0.022515447810292244, 0.004017391707748175, -0.029250221326947212, -0.007348666898906231, -0.04351421818137169, 0.00931673776358366, -0.0620032474398613, -0.02751687541604042, 0.016683459281921387, 0.05333651602268219, -0.06117268651723862, 0.03338497504591942, 0.022045999765396118, -0.027083538472652435, 0.014227885752916336, 0.009244514629244804, -0.036689165979623795, 0.013027181848883629, -0.035894718021154404, 0.022316835820674896, 0.04290032386779785, -0.003218427300453186, 0.010345911607146263, 0.02713770605623722, -0.062364362180233, -0.030857179313898087, 0.014354275539517403, -0.020204320549964905, 0.004021905362606049, -0.031019680202007294, -0.011898701079189777, -0.006382687482982874, 0.028184935450553894, -0.054564300924539566, 0.005561153404414654, -0.018209164962172508, -0.0039000296965241432, 0.00984938070178032, -0.02181127667427063, -0.012711207382380962, -0.09822296351194382, -0.02596408501267433, -0.051205944269895554, 0.025946030393242836, -0.004680938087403774, 0.022623782977461815, -0.03946974501013756, -0.01973487250506878, -0.0001519217184977606, 0.00698303896933794, 0.04203365370631218, 0.0015211921418085694, 0.0202223751693964, -0.012711207382380962, 0.06438659876585007, 0.005994489882141352, -0.02755298651754856, -0.007560821250081062, -0.003180058905854821, -0.023346010595560074, 0.005850044544786215, 0.001403830130584538, -0.011158417910337448, -0.04528367519378662, 0.01249453891068697, 0.006567758042365313, 0.05716432258486748, 0.0012244016397744417, 0.010174382477998734, 0.014751500450074673, -0.025187691673636436, 0.025765473023056984, 0.001300009898841381, -0.06435048580169678, 0.03784473240375519, 0.0003613959706854075, 0.04676424339413643, 0.07727836072444916, -0.0026902982499450445, -0.026668258011341095, -0.010120215825736523, -0.04448922723531723, 0.07023664563894272, -0.013496629893779755, -0.015717480331659317, 0.05355318263173103, -0.052144840359687805, 0.003936140798032284, 0.010959804989397526, 0.0257113054394722, -0.03809751197695732, 0.040697529911994934, 0.07001997530460358, 0.015600118786096573, 0.0563337616622448, -0.010499385185539722, 0.04102253168821335, 0.06344770640134811, 0.12833985686302185, -0.04921981692314148, 0.03148912638425827, -0.010517440736293793, -0.021305717527866364, -0.0037600980140268803, -0.04947259649634361, -0.023309899494051933, 0.0043017687276005745, -0.038350291550159454, -0.044128112494945526, -0.06156991049647331, -0.037519730627536774, 0.04524756595492363, -0.02921411022543907, 0.007696238812059164, 0.03863918036222458, -0.014164690859615803, 0.005051080137491226, -0.0010991402668878436, -0.01638554036617279, -0.018380694091320038, -0.004893092438578606, 0.0002853645710274577, -0.0653977170586586, 0.03159746155142784, 0.02831132523715496, 0.0006302565452642739, -0.027300206944346428, 0.03975863382220268, -0.025007134303450584, 0.008373327553272247, -0.028816884383559227, -0.02668631263077259, 0.021414050832390785, -0.023671012371778488, -0.019265424460172653, -0.00024008429318200797, -0.0620032474398613, 0.005863585975021124, 0.013406352140009403, -0.04019197076559067, 0.017477910965681076, 0.016466790810227394, -0.030640510842204094, 0.00027817051159217954, 0.024483518674969673, -0.057019878178834915, -0.03331275284290314, 0.0022524476516991854, -0.05976434051990509, 0.049544818699359894, 0.056225426495075226, 0.06070323660969734, 0.07337833195924759, 0.012350093573331833, 0.025332136079669, -0.0300446730107069, -0.0533004030585289, 0.0025684223510324955, 0.04355033114552498, -0.012756346724927425, 0.026812704280018806, -0.022443225607275963, 0.017640411853790283, 0.02150432951748371, 0.025566861033439636, 0.035858605057001114, 0.0030649537220597267, 0.09280625730752945, -0.021757109090685844, -0.03715861588716507, 0.01009313203394413, -0.006527132820338011, -0.03340303152799606, -0.03484748676419258, -0.02249739319086075, 0.05961989611387253, 0.035930827260017395, 0.015058447606861591, 0.09547850489616394, -0.021251549944281578, 0.00603060144931078 ]
10,860
burnman.classes.material
set_state_with_volume
This function acts similarly to set_state, but takes volume and temperature as input to find the pressure. In order to ensure self-consistency, this function does not use any pressure functions from the material classes, but instead finds the pressure using the brentq root-finding method. :param volume: The desired molar volume of the mineral [m^3]. :type volume: float :param temperature: The desired temperature of the mineral [K]. :type temperature: float :param pressure_guesses: A list of floats denoting the initial low and high guesses for bracketing of the pressure [Pa]. These guesses should preferably bound the correct pressure, but do not need to do so. More importantly, they should not lie outside the valid region of the equation of state. Defaults to [5.e9, 10.e9]. :type pressure_guesses: list
def set_state_with_volume( self, volume, temperature, pressure_guesses=[0.0e9, 10.0e9] ): """ This function acts similarly to set_state, but takes volume and temperature as input to find the pressure. In order to ensure self-consistency, this function does not use any pressure functions from the material classes, but instead finds the pressure using the brentq root-finding method. :param volume: The desired molar volume of the mineral [m^3]. :type volume: float :param temperature: The desired temperature of the mineral [K]. :type temperature: float :param pressure_guesses: A list of floats denoting the initial low and high guesses for bracketing of the pressure [Pa]. These guesses should preferably bound the correct pressure, but do not need to do so. More importantly, they should not lie outside the valid region of the equation of state. Defaults to [5.e9, 10.e9]. :type pressure_guesses: list """ def _delta_volume(pressure, volume, temperature): # Try to set the state with this pressure, # but if the pressure is too low most equations of state # fail. In this case, treat the molar_volume as infinite # and brentq will try a larger pressure. try: self.set_state(pressure, temperature) return volume - self.molar_volume except Exception: return -np.inf # we need to have a sign change in [a,b] to find a zero. args = (volume, temperature) try: sol = bracket(_delta_volume, pressure_guesses[0], pressure_guesses[1], args) except ValueError: raise Exception( "Cannot find a pressure, perhaps the volume or starting pressures " "are outside the range of validity for the equation of state?" ) pressure = brentq(_delta_volume, sol[0], sol[1], args=args) self.set_state(pressure, temperature)
(self, volume, temperature, pressure_guesses=[0.0, 10000000000.0])
[ 0.0440131276845932, -0.03810310736298561, -0.02798999845981598, 0.022208457812666893, 0.002154312329366803, -0.0037625900004059076, -0.04562828689813614, -0.0241723470389843, -0.008424530737102032, -0.026484962552785873, -0.024851448833942413, 0.019345218315720558, -0.003666230943053961, 0.03707527741789818, -0.07789479196071625, 0.027622917667031288, -0.01322412770241499, -0.005620942451059818, 0.013673802837729454, 0.0053548081777989864, -0.01638103276491165, -0.01103999000042677, 0.03654300794005394, 0.0837680995464325, 0.0077591948211193085, 0.012434901669621468, -0.004164085723459721, -0.008140042424201965, -0.03144057095050812, -0.04548145458102226, 0.02773304097354412, 0.016390210017561913, 0.05810907483100891, 0.05480533465743065, 0.01195769477635622, -0.02736596018075943, 0.058035656809806824, 0.03347787261009216, -0.06306467950344086, -0.011920986697077751, 0.023841973394155502, -0.011223530396819115, 0.09287173300981522, 0.020758485421538353, 0.019436988979578018, -0.010012160055339336, 0.05352054908871651, 0.01103999000042677, 0.037313882261514664, 0.047867488116025925, 0.04683965817093849, 0.014059239067137241, 0.01295799296349287, -0.01068208459764719, -0.015784524381160736, 0.01772088184952736, 0.051244642585515976, 0.019436988979578018, 0.044857416301965714, -0.008621837012469769, 0.0031569048296660185, 0.058402739465236664, 0.006116502918303013, -0.06611146032810211, -0.016968363896012306, -0.03239498287439346, 0.01063619926571846, 0.007616950664669275, 0.005602588411420584, 0.06365200877189636, 0.03239498287439346, 0.0017700232565402985, 0.01418771781027317, -0.00995709840208292, 0.019950903952121735, 0.017987016588449478, -0.08508959412574768, 0.01828068122267723, -0.02872416377067566, 0.024851448833942413, -0.012875399552285671, 0.009333058260381222, 0.007346227765083313, 0.008626425638794899, -0.025163467973470688, 0.015656044706702232, 0.0017608462367206812, 0.03564365953207016, 0.07466446608304977, -0.06302797049283981, -0.026668503880500793, 0.0347626619040966, 0.006033909507095814, 0.04272833839058876, 0.0701860710978508, 0.014655747450888157, -0.010755501687526703, -0.0649367943406105, -0.019565468654036522, -0.019547114148736, -0.056126829236745834, 0.02173125185072422, -0.011407071724534035, -0.04566499590873718, 0.014885173179209232, -0.027788104489445686, -0.026576733216643333, 0.006437699776142836, 0.06255076825618744, -0.06923165917396545, -0.04511437192559242, -0.016573749482631683, -0.08457568287849426, 0.0361759252846241, -0.0735999345779419, 0.016335146501660347, 0.040415722876787186, -0.0000787218741606921, -0.008259343914687634, -0.03355129063129425, 0.04280175641179085, -0.02672356553375721, -0.007038796320557594, 0.038029689341783524, 0.04739028215408325, 0.044600456953048706, 0.0434257946908474, 0.007488471921533346, 0.009186225943267345, -0.013976645655930042, 0.004228325095027685, 0.05238259583711624, -0.01517883874475956, 0.009365178644657135, 0.0004760594165418297, 0.033844955265522, -0.06144952028989792, -0.003595108864828944, 0.01081056334078312, 0.0017241380410268903, 0.05425471439957619, -0.011719091795384884, -0.020428109914064407, -0.01181086152791977, -0.019767362624406815, 0.024704614654183388, 0.006010966841131449, -0.043499212712049484, -0.016766468062996864, 0.037240464240312576, -0.0036203458439558744, 0.035974033176898956, 0.05245601013302803, 0.007694955449551344, -0.006258747540414333, -0.015784524381160736, 0.039094228297472, -0.0066808913834393024, 0.01181086152791977, 0.02398880571126938, -0.0013318192213773727, -0.002629224443808198, 0.030247552320361137, 0.03953472524881363, -0.05278638377785683, 0.009654255583882332, -0.08898066729307175, -0.028430497273802757, -0.013471907936036587, 0.017206966876983643, 0.032872188836336136, -0.02398880571126938, -0.08523643016815186, 0.013536146841943264, 0.004441691562533379, -0.016114898025989532, -0.006846078671514988, -0.04728015512228012, -0.019528759643435478, -0.05921031907200813, 0.03136715292930603, -0.016417739912867546, -0.04999656230211258, 0.003751118667423725, -0.010030514560639858, -0.002817353932186961, -0.027494437992572784, -0.012205475009977818, -0.010195701383054256, -0.019326865673065186, 0.02189643867313862, -0.033955082297325134, 0.024851448833942413, 0.018409160897135735, 0.014609862118959427, 0.023217933252453804, 0.07811503857374191, -0.03843348100781441, 0.05484204366803169, 0.07620621472597122, 0.026154588907957077, -0.0409296378493309, 0.0304678026586771, 0.02455778233706951, 0.033037375658750534, -0.02143758535385132, -0.003349622944369912, -0.03156904876232147, 0.022777434438467026, -0.027659624814987183, -0.026705212891101837, -0.022318582981824875, -0.020428109914064407, 0.04346250370144844, 0.007465529255568981, -0.006960791535675526, 0.08303394168615341, 0.010755501687526703, 0.06724941730499268, -0.009534954093396664, 0.04603207856416702, -0.006322986446321011, 0.009406475350260735, 0.02419070154428482, -0.01186592411249876, 0.051061101257801056, -0.03683667257428169, 0.013444376178085804, -0.02674192003905773, 0.04291187971830368, 0.004886778537184, 0.016849061474204063, -0.024209054186940193, -0.07158098369836807, -0.027659624814987183, -0.0215477105230093, 0.018675293773412704, -0.024025514721870422, -0.03333104029297829, 0.004638998303562403, -0.0021680777426809072, -0.05792553350329399, 0.019418634474277496, 0.020868608728051186, -0.04045243188738823, -0.03369812294840813, 0.051685139536857605, 0.012489963322877884, -0.031495630741119385, -0.0003564709913916886, -0.06361529976129532, -0.00331750325858593, 0.006061440799385309, 0.0412600114941597, 0.05976094305515289, -0.032046254724264145, 0.009356001392006874, 0.043866295367479324, -0.011939340271055698, -0.024410950019955635, -0.024576136842370033, -0.07840870320796967, 0.016702229157090187, 0.020978733897209167, -0.023071100935339928, 0.010021337307989597, 0.01718861237168312, 0.0010415950091555715, -0.024778032675385475, 0.008653957396745682, 0.0674329549074173, 0.03465253487229347, -0.05197880417108536, 0.009801087900996208, -0.03412026911973953, -0.016426917165517807, 0.0281735397875309, -0.0073186964727938175, -0.03780944272875786, -0.02428247220814228, -0.029109599068760872, 0.013829812407493591, 0.050877559930086136, 0.07840870320796967, -0.014719986356794834, -0.0028586506377905607, -0.024943219497799873, -0.006043086759746075, 0.054695211350917816, -0.02053823508322239, -0.051685139536857605, 0.004808773752301931, -0.0076903668232262135, -0.0066808913834393024, 0.08237318694591522, -0.03637782111763954, -0.06556084007024765, 0.0001174375502159819, 0.009837795980274677, -0.06478996574878693, 0.03279877081513405, -0.03854360431432724, 0.006107326131314039, 0.04375616833567619, -0.03406520560383797, 0.009534954093396664, 0.06438617408275604, -0.021602772176265717, 0.015215546824038029, -0.060788773000240326, 0.02290591411292553, 0.04621561989188194, 0.002622341737151146, 0.021933147683739662, 0.048051029443740845, -0.05711795389652252, 0.0037098219618201256, -0.023566661402583122, -0.003618051530793309, 0.025512196123600006, 0.005487875081598759, -0.013563678599894047, 0.0022105216048657894, 0.04283846542239189, -0.04353591799736023, -0.003989722114056349, -0.05021681264042854, -0.008516301400959492, -0.010021337307989597, -0.0280083529651165, -0.10696768015623093, 0.04973960667848587, 0.03347787261009216, -0.011920986697077751, -0.04247138276696205, -0.06622158735990524, 0.008185927756130695, -0.04907885566353798, 0.022318582981824875, -0.02710900269448757, 0.10975750535726547, 0.009856150485575199, -0.028870996087789536, 0.01091151125729084, 0.006836901418864727, 0.04148026183247566, 0.03656136244535446, -0.06541400402784348, 0.03891068696975708, 0.054144587367773056, -0.04966618865728378, 0.02408057637512684, -0.027677979320287704, 0.02108885906636715, 0.011076698079705238, -0.010480189695954323, 0.010315002873539925, 0.009392709471285343, -0.024300824850797653, -0.019381927326321602, 0.0010398743906989694, -0.0013547618873417377, -0.03498290851712227, 0.008534654974937439, 0.016950009390711784, -0.057044535875320435, -0.010627022944390774, 0.009874504990875721, -0.036322757601737976, 0.003675407962873578, 0.03608415648341179, -0.11416248977184296, -0.052309177815914154, 0.041333429515361786, 0.015417441725730896, 0.03261523321270943, -0.038873977959156036, -0.026888752356171608, 0.03551517799496651, -0.02798999845981598, 0.0572647862136364, -0.02835708111524582, -0.02244706079363823, 0.00540528167039156, 0.014710809104144573, -0.02145593985915184, 0.00853924360126257, -0.0067956047132611275, 0.0667722076177597, 0.018794596195220947, 0.019400281831622124, 0.011508019641041756, 0.05227246880531311, 0.0030811941251158714, -0.024667907506227493, 0.0030743114184588194, 0.08090486377477646, -0.04291187971830368, 0.008273109793663025, -0.01681235432624817, -0.014297842048108578, -0.049225691705942154, -0.08237318694591522, -0.027751395478844643, 0.020868608728051186, -0.02127239853143692, 0.009030216373503208, 0.03443228825926781, -0.05065730959177017, -0.04430679231882095, 0.005272214766591787, 0.001639250316657126, -0.014710809104144573, -0.016069011762738228, -0.044967539608478546, -0.02301603928208351, 0.01499529741704464, -0.09617546945810318, 0.014114300720393658, 0.01095739658921957, 0.0030880768317729235, 0.0058778999373316765, 0.06614816933870316, 0.019583823159337044, 0.047867488116025925, 0.019161678850650787, -0.007534357253462076, 0.007231514435261488, -0.00545575562864542, 0.062403932213783264, 0.03619427978992462, -0.02244706079363823, -0.040782805532217026, -0.020593296736478806, 0.003744235960766673, 0.017252851277589798, 0.020152799785137177, 0.014334550127387047, 0.00886961817741394, 0.01654621958732605, 0.06490009278059006, -0.022704018279910088, 0.008424530737102032, 0.038139816373586655, -0.021254045888781548, -0.08809966593980789, 0.010480189695954323, -0.006520293187350035, -0.02654002606868744, 0.023328058421611786, -0.055319249629974365, 0.00036163307959213853, -0.0031936129089444876, -0.005258448887616396, 0.07103035598993301, 0.029660221189260483, -0.06280772387981415, 0.014793402515351772, -0.03738729655742645, -0.029311494901776314, 0.04845481738448143, 0.02509005181491375, -0.010801386088132858, 0.04735357314348221, -0.007419643923640251, 0.04327896237373352, -0.0035996974911540747, -0.0591001957654953, -0.01304976362735033, -0.0026039876975119114, 0.004460045602172613, 0.00536398496478796, -0.015380733646452427, 0.02999059483408928, -0.06600133329629898, -0.04181063547730446, -0.07561888545751572, 0.0024984516203403473, -0.02791658230125904, -0.06658867001533508, -0.012554203160107136, 0.012187120504677296, 0.038763854652643204, 0.048785191029310226, -0.002186431782320142, -0.0000010261446732329205, 0.04474728927016258, 0.002450271975249052, 0.03162410855293274, -0.04874848201870918, -0.08795283734798431, -0.03665313497185707, 0.0769403800368309, 0.05671416223049164, -0.05539266765117645, 0.01873035728931427, -0.03555188700556755, -0.006791016086935997, 0.037589192390441895, -0.04089292883872986, 0.05454837903380394, 0.038029689341783524, -0.050510477274656296, 0.010801386088132858, 0.024943219497799873, -0.03960814327001572, -0.03252346068620682, -0.018702825531363487, 0.02591598592698574, 0.01527978666126728, 0.012590911239385605, -0.021327462047338486, 0.04170050844550133, 0.0011184528702870011, -0.028393788263201714, -0.01408676989376545, -0.05675087124109268, 0.036139219999313354, -0.012554203160107136, -0.04225113242864609, 0.00545575562864542, 0.02655837871134281, 0.042948588728904724, -0.02518182247877121, 0.016885770484805107, 0.0012824925361201167, -0.009062335826456547, -0.07782137393951416, -0.002519099973142147, -0.0003719572559930384, -0.02310780994594097, -0.012838691473007202, -0.016399385407567024, 0.06655196100473404, -0.01973065547645092, -0.03019249066710472, 0.04393970966339111, -0.03206460922956467, -0.06130268797278404, -0.029935533180832863, 0.007828022353351116, 0.046582698822021484, 0.05348384007811546, -0.031201966106891632, 0.03439557924866676, 0.014637392945587635, -0.028118478134274483, -0.012838691473007202, -0.03654300794005394, -0.027421021834015846, 0.0286323931068182, -0.05025351792573929, 0.0017952602356672287, 0.0054144589230418205, 0.10381077975034714, -0.022960975766181946, 0.024319179356098175, 0.005079496651887894, 0.01314153429120779, -0.009080689400434494, 0.010874803178012371, 0.01386652048677206, 0.04999656230211258, 0.010783032514154911, 0.0058090719394385815, -0.04779407009482384, 0.012618442066013813, -0.013022231869399548, 0.04467387497425079, -0.01647280342876911, 0.06427604705095291, 0.012655150145292282, 0.025383716449141502, 0.028870996087789536, -0.020666714757680893, -0.03511139005422592, 0.04724344611167908, -0.059687525033950806, -0.0170050710439682, -0.017390508204698563, 0.06012802571058273, -0.023603370413184166, -0.04827127605676651, -0.05902677774429321, 0.04206759110093117, 0.05700782686471939, -0.01204028818756342, 0.05465850234031677, -0.007928970269858837, 0.0329272523522377, 0.020776838064193726, -0.013297543860971928, 0.028852641582489014, -0.0480143204331398, 0.009264230728149414, -0.028320372104644775, 0.030247552320361137, -0.05697111785411835, 0.019106615334749222, 0.01855599321424961, -0.007516003213822842, -0.03564365953207016, 0.010204878635704517, -0.04181063547730446, -0.021309107542037964, -0.013398491777479649, 0.04816115275025368, 0.022612247616052628, 0.011755799874663353, -0.012875399552285671, 0.003480395767837763, -0.05117122456431389, -0.04181063547730446, 0.04261821508407593, -0.025475487112998962, 0.015784524381160736, -0.040966346859931946, 0.01182003878057003, 0.03333104029297829, 0.04364604502916336, -0.05994448438286781, 0.0003980544861406088, -0.016940832138061523, 0.0028884762432426214, -0.013444376178085804, -0.06394567340612411, 0.021382523700594902, -0.10417785495519638, -0.03261523321270943, -0.06115585193037987, 0.04573841020464897, -0.010360888205468655, 0.056310370564460754, -0.027677979320287704, -0.025934340432286263, -0.015215546824038029, 0.036946799606084824, 0.020244570448994637, -0.027145709842443466, 0.021070504561066628, -0.0023653842508792877, 0.015068714506924152, 0.006433111149817705, 0.0017195495311170816, 0.014848465099930763, -0.03362470865249634, -0.002801294205710292, 0.014499736949801445, 0.007910615764558315, -0.0059237852692604065, -0.029109599068760872, 0.018418336287140846, -0.011939340271055698, 0.010874803178012371, -0.018611054867506027, 0.022667311131954193, 0.059871066361665726, -0.028889350593090057, 0.006171565502882004, 0.00479500787332654, -0.03883726894855499, 0.04056255519390106, -0.053777504712343216, 0.06849749386310577, 0.024502720683813095, -0.04603207856416702, 0.009645078331232071, -0.0018170556286349893, -0.03393672779202461, 0.06901140511035919, 0.042508091777563095, -0.07301259785890579, -0.0068552554585039616, -0.047683946788311005, -0.009746026247739792, 0.04089292883872986, 0.026888752356171608, 0.004540344700217247, 0.014499736949801445, 0.010223232209682465, 0.020226215943694115, 0.04621561989188194, -0.002601693384349346, 0.047426987439394, 0.09771721810102463, 0.09764380007982254, -0.06622158735990524, 0.04015876725316048, 0.022410353645682335, -0.03757083788514137, 0.010672908276319504, -0.02644825540482998, -0.03599238395690918, 0.002181843388825655, -0.0501801036298275, -0.02474132366478443, -0.04181063547730446, -0.03397343307733536, 0.02446601167321205, -0.06174318492412567, 0.06596462428569794, 0.0004817950539290905, -0.011205176822841167, -0.007777548860758543, -0.011976048350334167, -0.04206759110093117, -0.004923486616462469, -0.018574347719550133, -0.039424601942300797, -0.02382361888885498, 0.025603966787457466, 0.022520478814840317, 0.009746026247739792, -0.0603482723236084, 0.06846078485250473, 0.011186822317540646, 0.03674490377306938, -0.023860327899456024, -0.029293140396475792, 0.0076444814912974834, -0.08457568287849426, -0.03806639835238457, -0.0005712712882086635, -0.03997522592544556, -0.0018583524506539106, -0.0003312340995762497, 0.00986532773822546, -0.0006779544637538493, -0.013811458833515644, -0.015298140235245228, 0.014435498043894768, 0.04427008330821991, -0.015500035136938095, -0.05675087124109268, 0.022685665637254715, -0.04254479706287384, 0.04089292883872986, 0.023438183590769768, 0.05498887598514557, 0.07473788410425186, 0.03707527741789818, 0.02408057637512684, -0.05260284245014191, -0.06728611886501312, -0.0028953589498996735, 0.006121091544628143, -0.03479937091469765, 0.02655837871134281, -0.03166081756353378, 0.0020579532720148563, 0.03652465343475342, -0.004168674349784851, 0.04199417680501938, 0.021419232711195946, 0.04933581501245499, -0.023419829085469246, -0.017684172838926315, 0.0150044746696949, -0.02308945544064045, 0.006469819229096174, -0.04371945932507515, -0.019198385998606682, 0.07194806635379791, 0.06211026757955551, -0.03211967274546623, 0.04907885566353798, -0.052235763520002365, -0.010966573841869831 ]
10,861
burnman.classes.material
to_string
Returns a human-readable name of this material. The default implementation will return the name of the class, which is a reasonable default. :returns: A human-readable name of the material. :rtype: str
def to_string(self): """ Returns a human-readable name of this material. The default implementation will return the name of the class, which is a reasonable default. :returns: A human-readable name of the material. :rtype: str """ return "'" + self.name + "'"
(self)
[ 0.051939886063337326, -0.0343451201915741, 0.03825698420405388, -0.015354491770267487, 0.010477588512003422, -0.08568185567855835, -0.001206301269121468, 0.016466012224555016, 0.04532246291637421, -0.03877396881580353, -0.027417505159974098, 0.008482882753014565, -0.022850792855024338, 0.03536185994744301, 0.004756273701786995, 0.014923670329153538, -0.015173546969890594, -0.03770553320646286, 0.006975006312131882, 0.012933272868394852, 0.021179204806685448, 0.06265873461961746, 0.007319663651287556, -0.036223504692316055, -0.014484231360256672, 0.06931062787771225, -0.002686174353584647, 0.0016715888632461429, -0.03198421746492386, -0.034655313938856125, -0.06806986033916473, -0.042358409613370895, 0.04711468145251274, 0.013329628854990005, -0.034827642142772675, 0.011925149708986282, -0.017586149275302887, 0.01493228692561388, -0.06738054007291794, -0.026814354583621025, 0.02645246312022209, 0.03267353028059006, 0.0012116865254938602, -0.03324221819639206, -0.017129478976130486, -0.010667149908840656, 0.018197916448116302, 0.007461835164576769, -0.013536423444747925, -0.018111752346158028, 0.05049232393503189, 0.029485449194908142, -0.00715164327993989, -0.001987166004255414, -0.05783353000879288, -0.007547999266535044, 0.01673312298953533, -0.028106819838285446, -0.02686605229973793, 0.05080251768231392, 0.008340711705386639, 0.0035348935052752495, 0.055041804909706116, -0.06669122725725174, -0.042634133249521255, -0.012166409753262997, 0.0139930946752429, 0.01355365663766861, 0.010692998766899109, 0.06386503577232361, 0.02714177966117859, -0.01619890332221985, 0.011718355119228363, 0.03396599739789963, 0.029709476977586746, -0.02509106695652008, -0.0602116659283638, -0.04752827063202858, 0.012114711105823517, -0.04421955719590187, 0.025315094739198685, -0.008435492403805256, -0.03219101205468178, -0.049044761806726456, -0.014475615695118904, -0.061728160828351974, -0.042289476841688156, -0.04828651621937752, -0.05321511998772621, -0.033500708639621735, -0.01619890332221985, 0.039945803582668304, -0.0037503044586628675, 0.06510580331087112, -0.013950012624263763, -0.06541599333286285, 0.00428452342748642, -0.04718361422419548, 0.04346131160855293, 0.04404722899198532, -0.000045808483264409006, 0.03163956105709076, -0.016069656237959862, 0.01402756106108427, -0.03453468158841133, -0.04373703896999359, -0.027090080082416534, 0.01414819061756134, 0.028761669993400574, 0.0015477276174351573, -0.04690788686275482, 0.006423554383218288, -0.026745421811938286, 0.0044288490898907185, 0.031243203207850456, -0.06121117249131203, -0.00021002566791139543, 0.042599666863679886, 0.0256425179541111, -0.03825698420405388, 0.01943868398666382, 0.018111752346158028, -0.024556847289204597, -0.007138718850910664, -0.008008979260921478, 0.00026657103444449604, -0.006729437969624996, -0.029606079682707787, 0.03591331094503403, -0.04766613245010376, -0.009727958589792252, 0.018404711037874222, -0.05800585821270943, 0.01484612189233303, 0.09491867572069168, 0.02111027203500271, -0.0011449091834947467, 0.04959621652960777, 0.030502188950777054, 0.14668624103069305, 0.018732136115431786, 0.011304765939712524, 0.008969712071120739, 0.009693492203950882, -0.03372473642230034, -0.02348840981721878, 0.021661724895238876, 0.027934491634368896, -0.06862130761146545, -0.04759720340371132, 0.0190595593303442, 0.0285031758248806, 0.002914509968832135, -0.007323971949517727, 0.017267340794205666, 0.009478081949055195, -0.018318546935915947, -0.036395832896232605, 0.007991746068000793, -0.030777916312217712, 0.015983492136001587, -0.01854257471859455, -0.016982998698949814, 0.010606834664940834, 0.028951231390237808, 0.009185122326016426, 0.010830862447619438, -0.014423917047679424, -0.00006913344986969605, -0.02407432720065117, -0.05321511998772621, -0.048700105398893356, -0.05611024424433708, 0.036740489304065704, 0.013467492535710335, 0.062107283622026443, -0.008754300884902477, 0.06944848597049713, 0.013321013189852238, -0.021506628021597862, 0.014372218400239944, -0.029295887798070908, -0.026056107133626938, 0.014535930007696152, 0.0416690930724144, -0.055076271295547485, 0.034827642142772675, 0.007651396561414003, 0.05418016016483307, -0.018490875139832497, 0.021093038842082024, 0.021282602101564407, -0.051836490631103516, 0.04018706455826759, 0.019731642678380013, -0.062245145440101624, 0.03801572322845459, -0.0509403795003891, 0.016767587512731552, 0.03188081830739975, -0.006871609017252922, 0.02093794383108616, 0.001594041008502245, 0.020748382434248924, 0.011494328267872334, -0.005070773418992758, 0.04801079258322716, -0.020472656935453415, -0.03532739356160164, -0.004708883352577686, -0.022385505959391594, 0.013803533278405666, 0.0035262771416455507, 0.023643504828214645, 0.05111270770430565, -0.07547999173402786, -0.01271786168217659, -0.042875394225120544, -0.022109778597950935, 0.057902462780475616, 0.023402245715260506, -0.004984609317034483, -0.00008131763024721295, 0.010244944132864475, -0.06769073754549026, -0.008215772919356823, -0.02021416276693344, -0.0031730032060295343, -0.011141054332256317, -0.006436478812247515, 0.01780156046152115, -0.048906899988651276, -0.02167895808815956, 0.03317328542470932, -0.033362846821546555, 0.034000463783741, -0.04711468145251274, -0.0313638336956501, -0.045391395688056946, -0.04018706455826759, -0.019697176292538643, 0.006328773684799671, -0.000161154312081635, 0.04208268225193024, 0.06996547430753708, -0.026779888197779655, 0.008681060746312141, 0.020403724163770676, -0.03362134099006653, -0.04060065373778343, 0.04101424291729927, -0.008176999166607857, 0.0012483063619583845, -0.008698293939232826, 0.003119150409474969, -0.06631210446357727, -0.0612456388771534, -0.009796889498829842, -0.006677739322185516, -0.0014744879445061088, -0.06303785741329193, -0.031794656068086624, 0.018663203343749046, 0.029175257310271263, 0.02795172482728958, -0.03177742287516594, -0.03722301125526428, 0.039153091609478, -0.022954190149903297, -0.011804519221186638, 0.08306246250867844, 0.016767587512731552, -0.08106344938278198, 0.008969712071120739, -0.02400539629161358, -0.06875917315483093, -0.01717256009578705, 0.007741869427263737, -0.052215613424777985, -0.019386984407901764, -0.016543559730052948, -0.018835533410310745, 0.014294669963419437, 0.0010291257640346885, 0.024022627621889114, -0.048803504556417465, 0.01170973852276802, -0.028141286224126816, 0.019990134984254837, 0.04432295635342598, 0.05349084362387657, 0.01181313581764698, -0.05324958637356758, -0.0285031758248806, 0.012063012458384037, -0.04994087293744087, 0.008168382570147514, 0.030812380835413933, -0.002895123092457652, -0.017517218366265297, 0.0043836128897964954, 0.006720821373164654, 0.030967477709054947, -0.003875242779031396, -0.10298366099596024, -0.0057428558357059956, -0.034689776599407196, -0.045770518481731415, -0.012364587746560574, 0.03567205369472504, -0.0029446675907820463, 0.04639090225100517, 0.03829145058989525, 0.061797089874744415, 0.026538629084825516, 0.06927616149187088, -0.00489413645118475, 0.009331601671874523, 0.062038350850343704, 0.06245194002985954, -0.015164930373430252, 0.001194453681819141, -0.019972901791334152, 0.0005853792536072433, 0.011339232325553894, -0.052112214267253876, -0.07665182650089264, 0.0343451201915741, 0.0377744622528553, 0.00130215915851295, -0.04439188539981842, -0.0327424630522728, 0.05352531000971794, 0.004202667623758316, -0.03860164061188698, -0.01355365663766861, 0.024643011391162872, -0.0263835322111845, -0.027486436069011688, -0.02481534145772457, 0.10767100751399994, 0.010477588512003422, -0.008021903224289417, 0.028761669993400574, -0.013277930207550526, 0.052767064422369, 0.02236827276647091, -0.01184760220348835, 0.04194482043385506, 0.011856217868626118, -0.02972671017050743, -0.04187588766217232, 0.015742231160402298, 0.015656067058444023, -0.009917519986629486, 0.017474135383963585, 0.02700391598045826, 0.03773999586701393, -0.05359424278140068, 0.039670079946517944, 0.00005920435069128871, -0.02731410786509514, 0.006531259976327419, 0.03991134092211723, -0.015121848322451115, -0.01200269814580679, 0.016638340428471565, 0.018663203343749046, 0.055248599499464035, -0.016750354319810867, -0.02738303877413273, 0.021730655804276466, -0.04394383355975151, -0.01919742301106453, -0.0745149552822113, 0.03836037963628769, 0.026883285492658615, 0.024901505559682846, -0.006182293873280287, -0.09388470649719238, 0.018180683255195618, -0.007840958423912525, -0.0231782179325819, 0.05717867985367775, 0.0009488852228969336, 0.019180189818143845, 0.011804519221186638, -0.004571020137518644, -0.01773262955248356, 0.00030265236273407936, 0.014699642546474934, -0.02979564107954502, -0.015164930373430252, -0.008681060746312141, -0.014311903156340122, -0.02669372409582138, -0.03801572322845459, -0.0342244915664196, -0.07168876379728317, 0.02839977853000164, -0.016121355816721916, -0.04766613245010376, -0.015164930373430252, -0.006367547437548637, -0.07906443625688553, 0.012028547003865242, 0.034414052963256836, -0.016922684386372566, -0.016922684386372566, -0.005225869361311197, -0.010046766139566898, -0.0005484900902956724, -0.07851298153400421, -0.05073358491063118, 0.08540613204240799, 0.0010851325932890177, 0.015673300251364708, -0.061831556260585785, 0.048700105398893356, 0.013579505495727062, -0.0654849261045456, 0.0829935297369957, 0.028589339926838875, 0.06965528428554535, -0.021248135715723038, 0.010322492569684982, -0.03539632633328438, 0.055179666727781296, 0.017991121858358383, 0.03115703910589218, -0.022454436868429184, 0.013846615329384804, -0.006535567808896303, -0.03687835484743118, 0.032070379704236984, -0.01868043653666973, 0.007629855535924435, -0.013165917247533798, -0.05569665506482124, 0.016578026115894318, 0.03289755806326866, -0.0409797765314579, -0.023884765803813934, 0.03069175034761429, -0.030054135248064995, -0.031174272298812866, -0.048941366374492645, 0.015294176526367664, 0.019697176292538643, -0.007349821273237467, 0.01899062842130661, 0.03567205369472504, -0.011072122491896152, -0.04177248850464821, 0.058040324598550797, -0.058522846549749374, 0.02216147817671299, -0.05118164047598839, 0.05262920260429382, -0.03034709393978119, -0.029502682387828827, 0.07465281337499619, 0.01916295662522316, 0.03498273715376854, -0.011416779831051826, 0.016750354319810867, 0.025384025648236275, 0.0002108334592776373, -0.019938437268137932, -0.004331914242357016, 0.08712942153215408, 0.03829145058989525, -0.0020184004679322243, -0.03749873861670494, -0.029916271567344666, 0.04439188539981842, -0.05152629688382149, -0.002134722424671054, -0.04687342047691345, -0.021472163498401642, -0.0409797765314579, -0.06355484575033188, 0.0074402941390872, 0.05748887360095978, 0.009228204376995564, 0.061280105262994766, -0.011373697780072689, 0.012045780196785927, 0.017129478976130486, 0.005169862415641546, -0.0336558073759079, 0.08540613204240799, -0.007741869427263737, 0.02205808088183403, -0.025763148441910744, 0.0652436688542366, 0.00099089031573385, -0.007237807847559452, -0.08926629275083542, 0.05648936703801155, 0.03532739356160164, -0.04680449143052101, 0.004566711839288473, -0.014639327302575111, 0.01936975121498108, -0.0342244915664196, 0.027675997465848923, -0.0007598621305078268, 0.0285031758248806, 0.006750978995114565, 0.013269314542412758, -0.04035939276218414, 0.04832098260521889, -0.0006397705292329192, -0.005217253230512142, -0.03282862901687622, -0.04428848996758461, 0.0281585194170475, -0.008254547603428364, 0.04845884442329407, 0.0004049725830554962, 0.012235341593623161, -0.04783846065402031, -0.04766613245010376, -0.04022153094410896, 0.026056107133626938, -0.031863585114479065, 0.016957148909568787, -0.01725010760128498, 0.07871977239847183, -0.009831355884671211, 0.025246161967515945, -0.004777814727276564, 0.0022553526796400547, -0.01557851955294609, 0.06762180477380753, -0.03243227303028107, 0.018266847357153893, 0.028520409017801285, 0.006509718485176563, 0.03863610699772835, -0.03791232779622078, 0.036568161100149155, -0.05156076326966286, 0.028796134516596794, -0.04070405289530754, -0.003922633361071348, 0.00398941058665514, 0.013786300085484982, -0.023953696712851524, 0.0023479792289435863, -0.02254060097038746, -0.07561785727739334, -0.058453913778066635, 0.03711961209774017, 0.04821758717298508, 0.01085671130567789, -0.003638290800154209, 0.021541094407439232, 0.02366073802113533, 0.004168201703578234, 0.03736087307333946, 0.04752827063202858, 0.021230902522802353, 0.020403724163770676, 0.0285031758248806, 0.005953958258032799, 0.026297368109226227, -0.012157794088125229, -0.05586898326873779, 0.01926635392010212, 0.0032785546500235796, 0.07148196548223495, 0.05683402344584465, -0.039532218128442764, 0.029416518285870552, 0.05376657098531723, 0.03725747764110565, -0.010072615928947926, -0.018042821437120438, 0.024022627621889114, 0.05421462655067444, -0.039256490767002106, -0.02414325810968876, -0.007840958423912525, -0.007259348873049021, -0.0612456388771534, -0.0035413559526205063, 0.01665557362139225, -0.0256425179541111, -0.0005234485724940896, -0.011830369010567665, -0.014113725163042545, -0.049389421939849854, 0.05338744819164276, -0.02174788899719715, 0.03556865453720093, -0.01392416376620531, 0.0012106094509363174, 0.012623080983757973, 0.030054135248064995, 0.014923670329153538, 0.031346600502729416, 0.0752042680978775, 0.06383056938648224, 0.003532739356160164, -0.004116503056138754, 0.01868043653666973, -0.00484243780374527, 0.05400783196091652, -0.0374298058450222, -0.017784327268600464, -0.039497751742601395, -0.02993350476026535, -0.014217122457921505, -0.0187149029225111, -0.023540107533335686, -0.049182627350091934, 0.01407925970852375, 0.008146842010319233, -0.0047476571053266525, 0.052353475242853165, -0.018456408753991127, 0.026073340326547623, -0.0017512909835204482, -0.0029446675907820463, -0.02860657311975956, -0.02717624418437481, 0.031036408618092537, -0.08382070809602737, 0.005708389915525913, -0.014863355085253716, 0.061555832624435425, -0.07479067891836166, -0.04821758717298508, 0.023109285160899162, -0.005281876306980848, 0.008349328301846981, -0.05893643572926521, 0.02686605229973793, -0.0037804620806127787, 0.046149641275405884, -0.05948788672685623, 0.013467492535710335, -0.06324465572834015, -0.024832572788000107, -0.000056377084547420964, -0.04118657112121582, 0.009426383301615715, -0.061934955418109894, -0.06851791590452194, 0.019111258909106255, 0.019249122589826584, 0.007547999266535044, 0.06083204969763756, -0.01658664271235466, -0.019903970882296562, 0.007319663651287556, -0.03715407848358154, -0.0050793900154531, -0.00966764334589243, -0.045529257506132126, 0.029709476977586746, -0.02491873875260353, 0.07906443625688553, -0.02209254540503025, -0.0384637787938118, -0.002584931207820773, -0.009555629454553127, -0.03270799666643143, -0.043220050632953644, 0.06806986033916473, 0.04756273701786995, -0.11856218427419662, -0.058557309210300446, 0.03415555879473686, 0.06672569364309311, 0.020093532279133797, 0.0752042680978775, -0.018163450062274933, 0.03884290158748627, -0.00891801342368126, -0.027607066556811333, 0.029106326401233673, 0.05355977639555931, 0.08347605168819427, -0.03574098274111748, 0.027693230658769608, -0.011399547569453716, -0.03767106682062149, -0.010124314576387405, -0.0438404344022274, -0.014139574021100998, 0.028313614428043365, 0.07196448743343353, 0.03529292717576027, 0.02164449170231819, 0.014466999098658562, 0.00255261966958642, -0.0011933766072615981, 0.03139830008149147, 0.01899062842130661, -0.007802184205502272, 0.0018945392221212387, 0.019214656203985214, -0.01919742301106453, 0.03836037963628769, 0.033018190413713455, 0.00635031471028924, -0.01943868398666382, 0.04776953160762787, 0.05728207901120186, 0.00510523933917284, 0.009331601671874523, 0.02522892877459526, -0.08933522552251816, 0.009348834864795208, 0.04477101191878319, -0.017155326902866364, 0.025556353852152824, -0.008909396827220917, -0.020576052367687225, 0.05169862508773804, -0.021385997533798218, 0.02076561562716961, 0.07789259403944016, -0.03829145058989525, -0.03870503976941109, -0.02560805343091488, -0.011244451627135277, 0.007556615862995386, 0.03711961209774017, -0.02867550402879715, 0.02410879358649254, 0.04404722899198532, -0.012097478844225407, 0.05438695475459099, -0.03450021520256996, 0.018421944230794907, 0.0434957779943943, -0.05107824131846428, 0.06486454606056213, -0.031346600502729416, 0.013906930573284626, -0.0021681110374629498, 0.0342244915664196, 0.019972901791334152, 0.05125057324767113, -0.013053903356194496, 0.014622095040977001, 0.068000927567482, 0.02090347744524479, -0.01783602684736252, -0.002235965570434928, 0.05056125670671463, -0.042117148637771606, 0.030777916312217712, -0.010977341793477535, 0.0356031209230423, -0.04011813551187515, -0.01776709407567978, -0.029330354183912277, 0.03884290158748627, -0.008737067691981792, -0.021127505227923393, 0.061659228056669235, -0.0151390815153718, -0.03529292717576027 ]
10,862
burnman.classes.material
unroll
Unroll this material into a list of :class:`burnman.Mineral` and their molar fractions. All averaging schemes then operate on this list of minerals. Note that the return value of this function may depend on the current state (temperature, pressure). .. note:: Needs to be implemented in derived classes. :returns: A list of molar fractions which should sum to 1.0, and a list of :class:`burnman.Mineral` objects containing the minerals in the material. :rtype: tuple
def unroll(self): """ Unroll this material into a list of :class:`burnman.Mineral` and their molar fractions. All averaging schemes then operate on this list of minerals. Note that the return value of this function may depend on the current state (temperature, pressure). .. note:: Needs to be implemented in derived classes. :returns: A list of molar fractions which should sum to 1.0, and a list of :class:`burnman.Mineral` objects containing the minerals in the material. :rtype: tuple """ raise NotImplementedError("need to implement unroll() in derived class!")
(self)
[ 0.025642914697527885, -0.01246377732604742, 0.0327414907515049, 0.005970506928861141, -0.006227302830666304, -0.030485352501273155, -0.02459738776087761, -0.0624014250934124, -0.04339852184057236, 0.05330350995063782, -0.03556624427437782, 0.005768738687038422, -0.004175227601081133, 0.051726050674915314, -0.052459754049777985, 0.014160464517772198, -0.042444709688425064, 0.04948825761675835, -0.02459738776087761, 0.022983241826295853, 0.0009979505557566881, 0.027880707755684853, 0.01139073632657528, 0.10961520671844482, -0.043912116438150406, -0.01397703867405653, 0.016765110194683075, -0.042444709688425064, -0.011289852671325207, -0.03721707686781883, -0.01394952554255724, 0.03793243691325188, 0.018929533660411835, -0.02065373584628105, 0.0037556414026767015, -0.02441396191716194, 0.020965559408068657, 0.05201953276991844, -0.06515280902385712, 0.05088229104876518, 0.05887965112924576, -0.015783783048391342, 0.09156611561775208, 0.028779493644833565, 0.04681023955345154, 0.010739575140178204, 0.029164688661694527, -0.04237134009599686, 0.036685142666101456, -0.006305258721113205, 0.005942992866039276, 0.030705463141202927, 0.025257719680666924, 0.02936645597219467, 0.02822921611368656, 0.09171285480260849, 0.011803444474935532, -0.0206170491874218, 0.027458827942609787, 0.006942663341760635, 0.0007388616795651615, -0.031127342954277992, 0.02722037583589554, -0.0582926906645298, 0.02954988181591034, -0.061117447912693024, -0.034704145044088364, 0.02270810306072235, -0.01465571392327547, 0.05022196099162102, -0.010638691484928131, 0.03939984366297722, 0.017003564164042473, 0.008827362209558487, 0.05216627195477486, 0.02219451032578945, 0.0619245208799839, -0.03527276590466499, 0.024322248995304108, -0.0531567707657814, 0.02435893379151821, 0.033438507467508316, -0.021882686764001846, 0.06984850764274597, -0.046480074524879456, -0.04901134967803955, 0.006942663341760635, -0.04002349078655243, -0.022909870371222496, -0.02943982556462288, 0.008414654061198235, 0.042151227593421936, -0.0021036635152995586, 0.008611837401986122, 0.024670757353305817, 0.006172275170683861, -0.1021314337849617, -0.024835841730237007, 0.01394952554255724, -0.049561627209186554, -0.031108999624848366, 0.05642174929380417, -0.020965559408068657, 0.011941013857722282, 0.02129572443664074, -0.0017035662895068526, 0.010877144522964954, -0.02692689374089241, 0.045342836529016495, 0.038629453629255295, -0.0075800674967467785, 0.013555159792304039, -0.08408234268426895, 0.029183030128479004, -0.08694379031658173, -0.03387872874736786, -0.02822921611368656, 0.017957376316189766, 0.01656334102153778, 0.043581947684288025, 0.03303496912121773, -0.009130015037953854, 0.006750066298991442, 0.04893798008561134, 0.0458931140601635, 0.003340640803799033, 0.02527606301009655, -0.00924007035791874, -0.0057503958232700825, -0.03591475263237953, -0.02533109113574028, 0.035731326788663864, -0.05869622901082039, -0.026046451181173325, -0.06940829008817673, -0.01408709492534399, 0.029935074970126152, -0.05139588564634323, 0.04809422045946121, -0.01525184791535139, 0.012766429223120213, 0.032356295734643936, 0.0234601479023695, 0.0567152313888073, -0.03365861624479294, 0.02327672205865383, 0.02949485369026661, 0.08606334030628204, -0.004085807595402002, -0.002593180863186717, -0.04402216896414757, 0.003125115530565381, 0.04127078503370285, -0.00924007035791874, 0.02283650077879429, 0.005241389852017164, -0.030943917110562325, 0.029513197019696236, -0.03457574546337128, -0.038739509880542755, -0.03718039020895958, -0.02368025854229927, 0.04424228146672249, 0.027513856068253517, -0.0639055147767067, -0.037895750254392624, 0.018856162205338478, -0.047470573335886, -0.03633663430809975, -0.005649511702358723, -0.0017161767464131117, -0.06562972068786621, -0.059686727821826935, 0.013224993832409382, 0.02265307493507862, 0.03426392376422882, -0.01964489370584488, 0.017498813569545746, -0.031842704862356186, 0.021369095891714096, 0.003686856711283326, -0.05135919898748398, 0.004943322855979204, -0.03499762713909149, 0.0016290495404973626, -0.004581057000905275, 0.0068509504199028015, -0.03785906732082367, 0.0023455561604350805, -0.025019267573952675, 0.025826340541243553, -0.0353461354970932, -0.025642914697527885, 0.022359594702720642, 0.03364027664065361, -0.019736606627702713, -0.01240874920040369, 0.007630509324371815, 0.02573462761938572, -0.03591475263237953, -0.08481604605913162, -0.027367116883397102, 0.02835761569440365, 0.049891792237758636, 0.008153272792696953, -0.014903338626027107, -0.022506333887577057, -0.006607911083847284, -0.014142122119665146, 0.017324557527899742, 0.04985510930418968, 0.009519794024527073, 0.03796912357211113, 0.046590130776166916, 0.017636382952332497, -0.04776405543088913, 0.0495249405503273, -0.061851151287555695, 0.05645843222737312, 0.007644266355782747, -0.0752779096364975, -0.04189443215727806, -0.016416601836681366, -0.011280681006610394, -0.04127078503370285, 0.026670098304748535, -0.05818263441324234, -0.027642253786325455, 0.009368468075990677, 0.04468250274658203, 0.010005872696638107, -0.09501451998949051, -0.028944576159119606, -0.03308999910950661, -0.04614990949630737, 0.09134600311517715, -0.07601161301136017, -0.019901689141988754, -0.002574838465079665, 0.014600686728954315, -0.027568884193897247, -0.04846107214689255, 0.018003232777118683, 0.03461243212223053, 0.028761152178049088, 0.021772632375359535, 0.002629866125062108, 0.035089340060949326, -0.05469754710793495, 0.019901689141988754, 0.006190617568790913, 0.034649115055799484, 0.031164027750492096, 0.01924135722219944, 0.05436738207936287, -0.04156426712870598, -0.02481749840080738, 0.02527606301009655, -0.024047110229730606, -0.0322645828127861, 0.0397300086915493, -0.10169121623039246, 0.08731063455343246, -0.001344739692285657, -0.06159435212612152, 0.029164688661694527, -0.015187649056315422, 0.05499102920293808, -0.016875164583325386, 0.03778569772839546, 0.032356295734643936, -0.04706703871488571, -0.012041897512972355, -0.012573832646012306, 0.00017554413352627307, 0.0969221442937851, 0.05477091670036316, 0.015948865562677383, 0.005456914659589529, 0.013096596114337444, 0.01138156559318304, 0.022304566577076912, 0.03211784362792969, -0.022267881780862808, -0.02522103488445282, -0.009418910369277, -0.0045260293409228325, -0.04695698246359825, 0.01724201627075672, -0.01465571392327547, 0.05711876600980759, -0.009593164548277855, -0.012821457348763943, -0.024120481684803963, 0.12612351775169373, -0.02544114552438259, -0.030650436878204346, -0.011564991436898708, 0.006690452806651592, -0.014013724401593208, 0.037712324410676956, -0.07036210596561432, -0.0020039258524775505, -0.02703694999217987, -0.035437848418951035, -0.04394879937171936, 0.045232780277729034, 0.009313440881669521, -0.05594484135508537, -0.019112959504127502, 0.014692399650812149, 0.06166772544384003, 0.012995711527764797, -0.01682930812239647, -0.015591185539960861, -0.07557139545679092, 0.013876155018806458, 0.06339192390441895, 0.012647203169763088, 0.03138414025306702, -0.0073553710244596004, 0.0063190157525241375, 0.021992743015289307, 0.05128582939505577, 0.021204011514782906, 0.02208445593714714, -0.03512602299451828, 0.0023982911370694637, 0.000016730431525502354, -0.014674057252705097, -0.10638691484928131, -0.028155846521258354, -0.013995382003486156, -0.016517484560608864, -0.015554499812424183, -0.027348773553967476, 0.07270994782447815, -0.03057706542313099, -0.005232218187302351, -0.05755898728966713, 0.03125574067234993, 0.02248799242079258, 0.026119820773601532, 0.043802060186862946, 0.02492755465209484, 0.046370018273591995, 0.034520719200372696, 0.008084488101303577, 0.02976999245584011, 0.06529955565929413, -0.006002606358379126, 0.043802060186862946, -0.017654724419116974, 0.02094721607863903, 0.0608973354101181, -0.008290842175483704, -0.060713909566402435, -0.003911553416401148, -0.01036355271935463, -0.006442828103899956, -0.05458749085664749, -0.03153087943792343, -0.019791634753346443, 0.04912140592932701, 0.0035217737313359976, -0.06904143840074539, -0.07975349575281143, -0.01428886316716671, -0.025184350088238716, -0.022249538451433182, -0.03063209354877472, -0.025991423055529594, -0.07197625190019608, -0.035089340060949326, -0.052459754049777985, 0.004271526355296373, 0.028137503191828728, 0.015526986680924892, 0.008304598741233349, 0.020580364391207695, 0.03442900627851486, -0.007584653329104185, -0.03131076693534851, 0.023808656260371208, 0.03039363957941532, 0.021882686764001846, -0.008790677413344383, -0.03468580171465874, -0.02026854082942009, 0.04350857809185982, 0.03525442257523537, -0.02487252652645111, 0.0032030714210122824, -0.012821457348763943, -0.044609133154153824, 0.014343890361487865, 0.01964489370584488, -0.03044866770505905, -0.07968012988567352, 0.0007508990238420665, 0.034135524183511734, -0.06441911309957504, -0.0043380181305110455, -0.00028029741952195764, -0.05356030911207199, -0.08914489299058914, 0.008501782082021236, -0.04475587233901024, 0.039363157004117966, -0.05099234730005264, 0.017718924209475517, 0.030613750219345093, 0.0005508503527380526, 0.0016783452592790127, 0.03312668204307556, -0.011051398701965809, 0.03200778737664223, -0.03899630531668663, 0.007300343364477158, 0.038959622383117676, 0.05887965112924576, 0.02806413359940052, -0.008556809276342392, 0.05278991907835007, -0.01770058088004589, -0.035217735916376114, -0.04072050750255585, -0.020121799781918526, -0.09530799835920334, 0.01710444688796997, 0.011179797351360321, -0.03674016892910004, -0.00829542800784111, -0.053707048296928406, 0.007992775179445744, -0.024744128808379173, -0.015637042000889778, 0.030888888984918594, -0.03360358998179436, -0.025606229901313782, 0.05557798966765404, 0.016389086842536926, 0.02470744401216507, -0.03052203729748726, 0.01220698095858097, -0.03747387230396271, -0.03244800865650177, -0.005356030538678169, -0.07520454376935959, 0.027257060632109642, -0.0055623846128582954, 0.0015167013043537736, -0.02446899004280567, 0.02846767008304596, 0.019094616174697876, 0.007946918718516827, 0.019571524113416672, -0.024799156934022903, -0.004397631622850895, -0.010482779704034328, 0.07813934981822968, 0.002526689087972045, 0.0157195832580328, 0.049268145114183426, -0.004998350515961647, -0.04248139262199402, 0.014729084447026253, -0.027697281911969185, 0.009978358633816242, 0.01837008446455002, 0.04376537352800369, -0.03433729335665703, 0.001177363796159625, -0.04871786758303642, -0.005035035777837038, 0.011849300935864449, -0.026376616209745407, -0.006172275170683861, 0.02094721607863903, -0.033218394964933395, -0.02898126281797886, -0.02806413359940052, 0.030246900394558907, 0.005181776359677315, -0.030210213735699654, 0.017865663394331932, -0.009840789251029491, -0.037382159382104874, 0.034135524183511734, -0.03490591421723366, -0.03751055896282196, 0.011895157396793365, 0.0044893440790474415, 0.055871471762657166, -0.042444709688425064, 0.03939984366297722, -0.021992743015289307, -0.013472618535161018, 0.05146925523877144, 0.0031595078762620687, 0.056385062634944916, -0.013463446870446205, -0.012087753973901272, -0.010739575140178204, -0.008598079904913902, 0.019736606627702713, 0.020562022924423218, -0.03954658284783363, 0.006456585135310888, 0.018397599458694458, -0.015242676250636578, 0.0036983208265155554, -0.04127078503370285, 0.06606993824243546, -0.014710742048919201, 0.0010180126409977674, -0.014664885587990284, 0.06834442168474197, 0.03369530290365219, -0.0005419656517915428, 0.0242488794028759, -0.003950531128793955, -0.05341356620192528, 0.0017253480618819594, -0.05455080792307854, -0.0030930161010473967, -0.029568225145339966, -0.03433729335665703, -0.00924007035791874, 0.009097915142774582, -0.025294406339526176, -0.01335339155048132, -0.0464433915913105, -0.01693936437368393, 0.005956749897450209, 0.021148985251784325, 0.00008067865564953536, -0.04684692621231079, 0.018764449283480644, -0.013160794973373413, -0.007327856961637735, 0.023423463106155396, 0.03877619653940201, -0.0397300086915493, 0.005360616371035576, 0.01036355271935463, -0.05352362245321274, 0.02413882315158844, -0.02920137345790863, -0.006956419907510281, -0.025752969086170197, -0.04310504347085953, -0.07557139545679092, -0.00040468297083862126, 0.09846292436122894, 0.007378299254924059, 0.002925639972090721, 0.0012702230596914887, -0.014793283306062222, 0.029238058254122734, 0.006905978079885244, -0.010583663359284401, 0.02311163954436779, 0.003657050197944045, 0.009657363407313824, 0.006456585135310888, 0.03239297866821289, 0.055761415511369705, -0.036354973912239075, -0.0026046449784189463, -0.02408379502594471, 0.009950844570994377, -0.007584653329104185, -0.012060240842401981, 0.010189298540353775, -0.02692689374089241, 0.03052203729748726, -0.08701715618371964, -0.02278147265315056, -0.05983346700668335, 0.052349697798490524, -0.02322169579565525, -0.011702559888362885, -0.08166112750768661, 0.029678279533982277, 0.02857772633433342, -0.06262153387069702, 0.05267986282706261, 0.025716284289956093, 0.031108999624848366, 0.02386368438601494, -0.02213948406279087, -0.02898126281797886, -0.040903933346271515, -0.031512536108493805, -0.027403801679611206, 0.005301002878695726, -0.05840274691581726, -0.03398878499865532, 0.03648337349295616, 0.028320929035544395, 0.013619358651340008, -0.011500791646540165, 0.021424122154712677, 0.0005711991107091308, -0.01485748216509819, 0.024505674839019775, -0.027990764006972313, 0.011766759678721428, -0.018278371542692184, -0.005722882226109505, 0.008772335015237331, -0.00269635790027678, -0.014646543189883232, -0.012995711527764797, 0.006795922759920359, -0.02118567004799843, -0.05528450757265091, 0.052056215703487396, 0.04714040830731392, -0.02578965574502945, -0.00476906867697835, -0.015838809311389923, -0.016462458297610283, 0.02254302054643631, 0.0036685143131762743, 0.030136844143271446, 0.00017597404075786471, 0.04662681370973587, -0.0391797311604023, -0.005869622807949781, -0.008639350533485413, 0.07175613939762115, -0.024744128808379173, -0.025642914697527885, 0.029164688661694527, 0.01721450313925743, -0.010721232742071152, -0.0025610814336687326, -0.05715545266866684, 0.06750065833330154, 0.015948865562677383, 0.016068091616034508, -0.027697281911969185, -0.03340182080864906, -0.01980997622013092, -0.031237399205565453, -0.012839799746870995, 0.004656720440834761, -0.005186361726373434, -0.030925575643777847, 0.07278332114219666, -0.015756268054246902, 0.04526946693658829, -0.0391797311604023, -0.005686196964234114, 0.032356295734643936, -0.0026596728712320328, -0.026908552274107933, 0.03604315221309662, -0.0526064932346344, 0.012051069177687168, 0.021148985251784325, 0.03716205060482025, 0.09347373992204666, 0.010877144522964954, -0.03360358998179436, 0.02083715982735157, 0.030558723956346512, -0.004232548177242279, -0.033163368701934814, 0.02784402295947075, 0.010950515046715736, -0.01946146786212921, -0.009950844570994377, 0.03844602778553963, -0.01610477827489376, -0.015416931360960007, 0.02778899483382702, 0.02146080881357193, -0.02567959949374199, -0.0036891496274620295, -0.027678940445184708, 0.010051729157567024, 0.0001508963032392785, 0.07791924476623535, -0.06801425665616989, 0.005484428722411394, -0.02538611739873886, 0.016609197482466698, 0.03763895481824875, -0.030081816017627716, 0.0265783853828907, 0.01261051744222641, -0.003184728790074587, 0.06797756999731064, -0.0038932107854634523, 0.0032030714210122824, 0.027990764006972313, -0.006983933970332146, 0.06478595733642578, 0.005268903449177742, -0.008272499777376652, 0.04816759005188942, 0.005961335729807615, 0.009831618517637253, 0.02146080881357193, 0.027825679630041122, -0.05312008410692215, 0.006108076311647892, 0.03829928860068321, 0.09068567305803299, -0.023240037262439728, 0.041013989597558975, 0.09464766830205917, -0.0358230397105217, 0.03299828618764877, 0.02294655703008175, -0.03829928860068321, 0.0047094551846385, -0.05785246938467026, 0.014022895134985447, 0.03837265819311142, 0.011454935185611248, -0.005956749897450209, 0.017434613779187202, 0.04116072878241539, -0.013720243237912655, -0.05352362245321274, 0.04706703871488571, 0.017608867958188057, 0.019901689141988754, 0.004957079887390137, 0.013876155018806458, 0.08863130211830139, -0.00705730402842164, 0.021424122154712677, 0.07806598395109177, 0.04332515224814415, 0.007754321675747633, 0.017416270449757576, -0.05352362245321274, -0.038225919008255005, 0.0074975257739424706, -0.03448403254151344, -0.014646543189883232, 0.028210874646902084, 0.05011190474033356, -0.02988004870712757, -0.024230536073446274, 0.0387028232216835, 0.03386038541793823, 0.034520719200372696, 0.029274743050336838, 0.019553180783987045, -0.04361863434314728, 0.06504275649785995, -0.08995196968317032, 0.016389086842536926, -0.051836106926202774, -0.006965591572225094, -0.007130674552172422, 0.007841449230909348, 0.0603470578789711, -0.024157166481018066, 0.06324518471956253, -0.026835180819034576, -0.0327414907515049 ]
10,863
burnman.classes.anisotropy
wave_velocities
:returns: The compressional wave velocity, and two shear wave velocities in a given propagation direction [m/s]. :rtype: list, containing the wave speeds and directions of particle motion relative to the stiffness tensor
def wave_velocities(self, propagation_direction): """ :returns: The compressional wave velocity, and two shear wave velocities in a given propagation direction [m/s]. :rtype: list, containing the wave speeds and directions of particle motion relative to the stiffness tensor """ propagation_direction = unit_normalize(propagation_direction) Tik = self.christoffel_tensor(propagation_direction) eigenvalues, eigenvectors = np.linalg.eig(Tik) idx = eigenvalues.argsort()[::-1] eigenvalues = np.real(eigenvalues[idx]) eigenvectors = eigenvectors[:, idx] velocities = np.sqrt(eigenvalues / self.density) return velocities, eigenvectors
(self, propagation_direction)
[ 0.05048329755663872, -0.009855485521256924, -0.025150980800390244, 0.000010819812814588659, 0.015485896728932858, -0.00132600252982229, -0.0625963881611824, 0.01504162885248661, -0.04279474914073944, 0.07659534364938736, -0.0021250040736049414, -0.036774471402168274, -0.015603763051331043, -0.018967503681778908, -0.021814441308379173, 0.036774471402168274, 0.012548291124403477, -0.052369166165590286, -0.05367476865649223, -0.02092590741813183, 0.019638437777757645, -0.06716599315404892, 0.0006545012583956122, 0.02007363922894001, -0.01816963404417038, 0.008812816813588142, -0.041489146649837494, -0.03204166144132614, -0.04968542978167534, 0.02081710658967495, -0.017371766269207, -0.025495516136288643, 0.01495096180588007, -0.012938158586621284, 0.04007474333047867, 0.019801637157797813, 0.030627258121967316, -0.024425646290183067, -0.06593292951583862, 0.027798453345894814, 0.01763470098376274, -0.021234173327684402, 0.03851527348160744, 0.005526144057512283, -0.008994150906801224, 0.009338684380054474, -0.05646730959415436, 0.007643214426934719, 0.017734434455633163, -0.011913622729480267, 0.03285766392946243, -0.012883758172392845, 0.040292344987392426, -0.04391901567578316, 0.03720967099070549, 0.04435421898961067, 0.060819316655397415, 0.04087261110544205, 0.007697614841163158, -0.005022943019866943, 0.025731248781085014, -0.034362733364105225, 0.02357337810099125, -0.027852853760123253, -0.007026680279523134, 0.008073882199823856, 0.020055504515767097, 0.004204674623906612, 0.01207682304084301, 0.02582191675901413, -0.010100286453962326, -0.044136617332696915, -0.04337501525878906, -0.010898154228925705, -0.01848696917295456, -0.02317444421350956, -0.024933381006121635, -0.019130703061819077, -0.007937882095575333, -0.03742727264761925, -0.021324841305613518, -0.004034674260765314, 0.005204276647418737, 0.01055361982434988, 0.048633694648742676, 0.0374998040497303, -0.01766190119087696, 0.0003400006389711052, -0.011333354748785496, -0.030518459156155586, -0.027907254174351692, -0.018713636323809624, 0.01869550161063671, 0.008908017538487911, 0.017335500568151474, 0.03675633668899536, -0.04957662895321846, -0.053058236837387085, 0.0135456258431077, 0.02794351987540722, 0.014416027814149857, 0.08856336772441864, 0.05498037114739418, 0.04420915246009827, -0.0016308698104694486, -0.007389347534626722, -0.05936864763498306, -0.07557988166809082, 0.04435421898961067, -0.003658406902104616, 0.03876914083957672, 0.062306251376867294, 0.010780286975204945, -0.034072600305080414, -0.05392863601446152, 0.01112482137978077, 0.008200815878808498, 0.02203204296529293, -0.030101390555500984, 0.01713603362441063, 0.06020278111100197, -0.010453886352479458, -0.007235213648527861, -0.013763226568698883, -0.020798973739147186, 0.02904965542256832, 0.0008806016994640231, -0.04145288094878197, 0.0005921677802689373, 0.062306251376867294, 0.01745336689054966, -0.010816553607583046, 0.040981411933898926, -0.0007570681045763195, 0.03389126434922218, -0.03829767182469368, 0.04435421898961067, -0.03093552589416504, 0.05672117695212364, 0.03082672506570816, 0.009207217954099178, 0.052079033106565475, 0.020291239023208618, 0.018768036738038063, -0.0471467562019825, 0.0374998040497303, 0.0002266671071993187, 0.018894970417022705, -0.029249122366309166, 0.0013010691618546844, -0.05033823102712631, 0.015549363568425179, 0.05780917778611183, -0.007924281992018223, 0.03291206434369087, -0.02357337810099125, -0.027018718421459198, 0.022158976644277573, -0.013255491852760315, -0.012874691747128963, -0.070865198969841, -0.02489711530506611, -0.07101026922464371, -0.0034113398287445307, -0.03300273045897484, 0.015567496418952942, 0.03800753876566887, 0.05744650959968567, -0.007266947068274021, 0.060529183596372604, -0.0027562719769775867, -0.011832023039460182, -0.0350155346095562, -0.02174190804362297, 0.01938457041978836, 0.03191472962498665, 0.017525900155305862, 0.03630300238728523, 0.07536228001117706, -0.018822435289621353, -0.054436370730400085, -0.03633926808834076, -0.011433088220655918, -0.046276357024908066, 0.05291316658258438, 0.055306773632764816, 0.025441115722060204, -0.004406408406794071, 0.0031960061751306057, -0.0040732077322900295, -0.055633172392845154, -0.0792790874838829, -0.00157760304864496, 0.03077232651412487, 0.02030937187373638, 0.06770999729633331, 0.06553399562835693, -0.012457624077796936, -0.036031004041433334, -0.022974977269768715, 0.027163784950971603, -0.047872092574834824, -0.012747758068144321, -0.02973872423171997, -0.0017226699274033308, 0.04565982148051262, 0.0005865011480636895, 0.0066368128173053265, -0.030464058741927147, 0.004186541307717562, 0.003209606045857072, -0.009955218993127346, 0.028596321120858192, -0.06781879812479019, 0.03858780860900879, -0.030790459364652634, -0.029067788273096085, -0.009261617437005043, 0.016084296628832817, -0.015259229578077793, 0.04355635121464729, -0.014715228229761124, -0.030790459364652634, 0.01724483259022236, -0.019910437986254692, 0.014162160456180573, -0.017308300361037254, 0.01222189050167799, -0.06469985842704773, -0.012285357341170311, 0.022050175815820694, 0.007729348260909319, 0.000722501368727535, -0.028741387650370598, 0.044608086347579956, -0.020798973739147186, -0.017806967720389366, 0.048633694648742676, 0.013146691955626011, 0.001683003269135952, -0.018042700365185738, -0.006994946859776974, -0.008722149766981602, 0.05410997197031975, -0.010000552050769329, -0.04362888261675835, 0.10437566787004471, 0.02817925438284874, 0.000656201271340251, 0.026311516761779785, -0.032404329627752304, -0.0343264639377594, -0.005168010015040636, -0.0014189360663294792, 0.031098727136850357, -0.05516170710325241, 0.04254088178277016, 0.06147211790084839, 0.029629923403263092, -0.03541446849703789, 0.007548014633357525, -0.03884167596697807, 0.002240604255348444, 0.00459454208612442, -0.01734456606209278, -0.0033048063050955534, 0.014733362011611462, -0.03891420736908913, -0.05911478027701378, 0.05498037114739418, 0.002177137415856123, -0.04602248966693878, -0.08384869247674942, -0.01702723279595375, 0.002233804203569889, 0.007552547845989466, 0.050737164914608, 0.008980550803244114, -0.026764851063489914, 0.06241505220532417, -0.046965423971414566, -0.025386715307831764, 0.011206421069800854, -0.0012206023093312979, -0.07797348499298096, 0.0164741650223732, -0.00981015246361494, -0.04243208095431328, 0.0736214742064476, 0.010462953709065914, 0.04123527929186821, 0.016038963571190834, 0.004583208821713924, -0.054545171558856964, 0.09407591074705124, 0.015177628956735134, -0.006210678722709417, -0.056793708354234695, 0.06977719813585281, -0.0145792281255126, 0.07217080146074295, 0.02857818827033043, 0.05820811167359352, 0.02685551904141903, -0.04848862811923027, 0.012303490191698074, 0.06633186340332031, -0.02714565210044384, 0.054726503789424896, -0.0569387748837471, -0.03066352568566799, -0.025441115722060204, -0.024008579552173615, 0.047074224799871445, -0.002840138738974929, 0.01072588749229908, -0.04250461608171463, -0.0041525415144860744, 0.007520814426243305, 0.06843533366918564, 0.03644806891679764, 0.03318406268954277, 0.04399155080318451, 0.023790979757905006, -0.015050695277750492, -0.011541889049112797, 0.0061245448887348175, 0.026601651683449745, 0.06415585428476334, -0.017788834869861603, -0.023845378309488297, -0.027399519458413124, -0.006165345199406147, 0.02237657643854618, 0.04101767763495445, -0.012321623973548412, 0.046385154128074646, 0.07463694363832474, 0.0016490031266584992, -0.04750942438840866, 0.04018354415893555, 0.021034706383943558, -0.023537112399935722, 0.036266736686229706, 0.045297153294086456, -0.026547251269221306, 0.049322761595249176, -0.027073118835687637, 0.012484824284911156, 0.022757377475500107, -0.011940822936594486, 0.022304043173789978, -0.0657515898346901, 0.07148173451423645, 0.011977089568972588, -0.005068276543170214, -0.028886456042528152, -0.059151045978069305, 0.0008732349961064756, 0.0512811653316021, -0.044716887176036835, 0.06553399562835693, -0.030464058741927147, 0.03949447721242905, -0.0006460012518800795, -0.027816586196422577, -0.0020343372598290443, -0.025622449815273285, -0.019402703270316124, 0.031497661024332047, 0.006623212713748217, -0.012058690190315247, 0.01170508936047554, 0.014842161908745766, -0.029720589518547058, 0.029575522989034653, -0.011514688841998577, 0.032222993671894073, 0.018069900572299957, -0.05436383932828903, -0.008776550181210041, 0.008010415360331535, -0.015485896728932858, 0.014497627504169941, 0.09465618431568146, 0.01954777166247368, -0.012439490295946598, -0.03416326642036438, -0.0031280058901757, 0.03541446849703789, -0.017308300361037254, -0.035051800310611725, -0.042250748723745346, -0.023029377683997154, 0.011904556304216385, 0.014270960353314877, -0.022013908252120018, 0.09661458432674408, -0.0014574694214388728, 0.024316847324371338, -0.0050184098072350025, -0.03369179740548134, -0.09124711155891418, 0.029249122366309166, -0.09277030825614929, -0.09102950990200043, 0.030554724857211113, 0.007656814530491829, 0.027580853551626205, 0.05664864182472229, 0.039131809026002884, 0.03318406268954277, 0.008173615671694279, 0.007339480798691511, -0.020563239231705666, -0.0003249839646741748, -0.053964901715517044, -0.04526088759303093, 0.026819251477718353, 0.07311373949050903, 0.00524507649242878, -0.019166970625519753, 0.07826361805200577, 0.004918675869703293, 0.051680099219083786, 0.05726517736911774, -0.05911478027701378, 0.020907772704958916, -0.04032861068844795, 0.002772138686850667, 0.016202164813876152, 0.03624860197305679, -0.024987781420350075, -0.04489821940660477, 0.016537630930542946, 0.016057098284363747, 0.03742727264761925, -0.006777346134185791, -0.00014662528701592237, 0.011115754954516888, 0.009583485312759876, -0.0029693390242755413, -0.022050175815820694, 0.02794351987540722, -0.05980384722352028, -0.03739100322127342, -0.06270518898963928, -0.04449928551912308, 0.028650721535086632, -0.02651098370552063, 0.027526453137397766, -0.010562687180936337, 0.08363109081983566, -0.035523269325494766, 0.05998518317937851, 0.05233290046453476, -0.010780286975204945, -0.06720226258039474, -0.08363109081983566, -0.07557988166809082, 0.04547848552465439, -0.021669374778866768, 0.0022564709652215242, -0.007656814530491829, -0.02656538411974907, -0.0027404052671045065, 0.01724483259022236, -0.006138144992291927, -0.0028152053710073233, 0.003309339750558138, 0.04703795537352562, -0.023537112399935722, -0.012203756719827652, -0.04565982148051262, -0.0061970786191523075, 0.012330690398812294, -0.06854413449764252, 0.014026160351932049, 0.024008579552173615, -0.03461660072207451, -0.05682997405529022, -0.04547848552465439, -0.048561159521341324, 0.03138886019587517, 0.02301124483346939, -0.011868289671838284, 0.038624074310064316, -0.043157417327165604, 0.0430123507976532, -0.059259846806526184, -0.0063874791376292706, 0.01822403445839882, 0.06767372786998749, -0.039023008197546005, -0.00582534447312355, 0.030518459156155586, 0.031715258955955505, -0.004678409080952406, 0.06226998567581177, 0.08508176356554031, -0.0145792281255126, -0.0014189360663294792, 0.00413214135915041, -0.031207526102662086, -0.002325604436919093, -0.03151579201221466, 0.02121604047715664, -0.019457103684544563, -0.039893411099910736, 0.05893344804644585, 0.034362733364105225, -0.0025114715099334717, -0.043157417327165604, 0.011614422313869, -0.030917393043637276, 0.0073122805915772915, -0.07304120808839798, 0.037082739174366, 0.03162459284067154, 0.029720589518547058, -0.03472540155053139, -0.01296535786241293, -0.02293870970606804, 0.006899746600538492, -0.00003679798828670755, 0.02645658329129219, -0.06687586009502411, -0.07470947504043579, 0.018151501193642616, 0.009116550907492638, -0.01710883341729641, -0.03128005936741829, -0.0018473368836566806, 0.038624074310064316, -0.006836279761046171, -0.0037377404514700174, -0.007715748157352209, -0.040401145815849304, -0.08268816024065018, -0.04410035163164139, 0.01734456606209278, -0.042758483439683914, -0.016329098492860794, -0.017843233421444893, -0.0015900697326287627, -0.0022111376747488976, -0.0350155346095562, -0.040292344987392426, 0.028995255008339882, 0.015186695381999016, -0.02293870970606804, 0.018949368968605995, -0.05661237612366676, 0.011841089464724064, 0.044825684279203415, -0.053964901715517044, -0.016247497871518135, -0.009964285418391228, -0.015884829685091972, 0.03536006808280945, 0.00003113130878773518, -0.11177407950162888, -0.020780839025974274, -0.028777655214071274, -0.04910515993833542, 0.03985714167356491, 0.002570404903963208, 0.023682178929448128, -0.017897633835673332, 0.004542408511042595, 0.016292830929160118, 0.05095476284623146, -0.00626961188390851, -0.023936046287417412, 0.04573235288262367, 0.006917879916727543, 0.07797348499298096, -0.0017952034249901772, 0.04598622024059296, -0.034362733364105225, 0.04526088759303093, -0.022104576230049133, -0.007380280643701553, 0.014361627399921417, -0.02836058847606182, 0.0291584562510252, -0.017915768548846245, 0.015458696521818638, 0.057772912085056305, 0.06303158402442932, -0.01296535786241293, 0.019402703270316124, 0.009116550907492638, -0.036720070987939835, -0.03826140612363815, -0.00144500273745507, -0.007325880695134401, 0.052768100053071976, 0.03577713668346405, 0.027272585779428482, -0.040292344987392426, -0.01676429808139801, 0.019565904513001442, -0.01862296834588051, -0.04562355577945709, -0.06288652122020721, 0.03265819698572159, 0.009102950803935528, -0.016891231760382652, 0.0020082704722881317, 0.014071493409574032, -0.08689510077238083, 0.021778175607323647, -0.009356818161904812, 0.019293904304504395, 0.03467100113630295, 0.019692838191986084, 0.006623212713748217, 0.012031489983201027, 0.029720589518547058, -0.04087261110544205, -0.021306706592440605, 0.002835605526342988, -0.025749383494257927, -0.0243349801748991, -0.03282139450311661, 0.02830618806183338, -0.02001923881471157, -0.007924281992018223, -0.025840049609541893, -0.014243761077523232, -0.03291206434369087, 0.03312966227531433, -0.01742616668343544, -0.03688327223062515, 0.005616810638457537, -0.047074224799871445, -0.028850188478827477, 0.02139737457036972, 0.008957884274423122, 0.05882464721798897, 0.06372065842151642, -0.018768036738038063, -0.005426410585641861, -0.02565871551632881, 0.03162459284067154, 0.06125451624393463, 0.03536006808280945, -0.016174964606761932, 0.03135259449481964, -0.02841498702764511, 0.00881735049188137, -0.062378786504268646, 0.014343494549393654, -0.06241505220532417, -0.013010691851377487, -0.0023845378309488297, 0.00011892939801327884, 0.017126966267824173, -0.03615793585777283, 0.01938457041978836, 0.04584115371108055, -0.020146172493696213, -0.04420915246009827, 0.05664864182472229, -0.047872092574834824, -0.01700003258883953, 0.05338463559746742, 0.03572273626923561, -0.0017680033342912793, 0.07942415028810501, -0.00884455069899559, -0.01596643030643463, -0.0006256012129597366, 0.004263608250766993, 0.033383529633283615, 0.008889883756637573, -0.031080592423677444, 0.03438086435198784, 0.015875764191150665, 0.03249499574303627, 0.05171636492013931, 0.037082739174366, -0.0028809388168156147, -0.025332314893603325, 0.010508286766707897, 0.04127154499292374, -0.0028152053710073233, 0.048851292580366135, -0.004614942241460085, -0.04348381608724594, -0.00920268427580595, -0.028795788064599037, 0.005421876907348633, 0.06945080310106277, -0.02807045355439186, -0.00883095059543848, -0.029720589518547058, 0.03778994083404541, -0.011886422522366047, -0.011260821484029293, 0.006033878307789564, -0.06999479979276657, 0.03144326061010361, -0.006695745978504419, -0.038043804466724396, 0.05715637654066086, -0.028433121740818024, -0.005467210430651903, -0.0022372042294591665, 0.02645658329129219, 0.02904965542256832, 0.022394709289073944, -0.025495516136288643, 0.016827765852212906, 0.043846484273672104, -0.025042181834578514, 0.012938158586621284, 0.05030196160078049, 0.04362888261675835, -0.026547251269221306, 0.02098030596971512, -0.010218152776360512, -0.011442155577242374, -0.07739321142435074, -0.04997556284070015, 0.017761634662747383, 0.013708826154470444, -0.03227739408612251, -0.005625877529382706, -0.06292279064655304, 0.0033886730670928955, 0.0315701924264431, 0.027399519458413124, -0.00858161598443985, 0.03352859616279602, -0.04721929132938385, 0.018106168136000633, -0.02156057395040989, 0.08413882553577423, -0.007475480902940035, 0.054944105446338654, -0.020798973739147186, -0.02214084193110466, 0.04801715910434723, 0.0032005393877625465, 0.007797348313033581, -0.025731248781085014, 0.010653353296220303, -0.05392863601446152, 0.04308488219976425, -0.010807487182319164, -0.008291482925415039, -0.05842571333050728, -0.02346457913517952, -0.035686466842889786, 0.012892824597656727, -0.08413882553577423, -0.09414844959974289, -0.03483419865369797, -0.04653022065758705, -0.042939815670251846, -0.008101082406938076, 0.09726738929748535, -0.04043741151690483, 0.0430123507976532, -0.001320335897617042, 0.04848862811923027 ]
10,864
burnman.classes.anisotropicmineral
AnisotropicMineral
A class implementing the anisotropic mineral equation of state described in :cite:`Myhill2022`. This class is derived from both Mineral and AnisotropicMaterial, and inherits most of the methods from these classes. Instantiation of an AnisotropicMineral takes three required arguments; a reference Mineral (i.e. a standard isotropic mineral which provides volume as a function of pressure and temperature), cell_parameters, which give the lengths of the molar cell vectors and the angles between them (see :func:`~burnman.utils.unitcell.cell_parameters_to_vectors`), and an anisotropic parameters object, which should be either a 4D array of anisotropic parameters or a dictionary of parameters which describe the anisotropic behaviour of the mineral. For a description of the physical meaning of the parameters in the 4D array, please refer to the code or to the original paper. If the user chooses to define their parameters as a dictionary, they must also provide a function to the psi_function argument that describes how to compute the tensors Psi, dPsidf and dPsidPth (in Voigt form). The function arguments should be f, Pth and params, in that order. The output variables Psi, dPsidf and dPsidth must be returned in that order in a tuple. The user should also explicitly state whether the material is orthotropic or not by supplying a boolean to the orthotropic argument. States of the mineral can only be queried after setting the pressure and temperature using set_state(). This class is available as ``burnman.AnisotropicMineral``. All the material parameters are expected to be in plain SI units. This means that the elastic moduli should be in Pascals and NOT Gigapascals. Additionally, the cell parameters should be in m/(mol formula unit) and not in unit cell lengths. To convert unit cell lengths given in Angstrom to molar cell parameters you should multiply by 10^(-10) * (N_a / Z)^1/3, where N_a is Avogadro's number and Z is the number of formula units per unit cell. You can look up Z in many places, including www.mindat.org. Finally, it is assumed that the unit cell of the anisotropic material is aligned in a particular way relative to the coordinate axes (the anisotropic_parameters are defined relative to the coordinate axes). The crystallographic a-axis is assumed to be parallel to the first spatial coordinate axis, and the crystallographic b-axis is assumed to be perpendicular to the third spatial coordinate axis.
class AnisotropicMineral(Mineral, AnisotropicMaterial): """ A class implementing the anisotropic mineral equation of state described in :cite:`Myhill2022`. This class is derived from both Mineral and AnisotropicMaterial, and inherits most of the methods from these classes. Instantiation of an AnisotropicMineral takes three required arguments; a reference Mineral (i.e. a standard isotropic mineral which provides volume as a function of pressure and temperature), cell_parameters, which give the lengths of the molar cell vectors and the angles between them (see :func:`~burnman.utils.unitcell.cell_parameters_to_vectors`), and an anisotropic parameters object, which should be either a 4D array of anisotropic parameters or a dictionary of parameters which describe the anisotropic behaviour of the mineral. For a description of the physical meaning of the parameters in the 4D array, please refer to the code or to the original paper. If the user chooses to define their parameters as a dictionary, they must also provide a function to the psi_function argument that describes how to compute the tensors Psi, dPsidf and dPsidPth (in Voigt form). The function arguments should be f, Pth and params, in that order. The output variables Psi, dPsidf and dPsidth must be returned in that order in a tuple. The user should also explicitly state whether the material is orthotropic or not by supplying a boolean to the orthotropic argument. States of the mineral can only be queried after setting the pressure and temperature using set_state(). This class is available as ``burnman.AnisotropicMineral``. All the material parameters are expected to be in plain SI units. This means that the elastic moduli should be in Pascals and NOT Gigapascals. Additionally, the cell parameters should be in m/(mol formula unit) and not in unit cell lengths. To convert unit cell lengths given in Angstrom to molar cell parameters you should multiply by 10^(-10) * (N_a / Z)^1/3, where N_a is Avogadro's number and Z is the number of formula units per unit cell. You can look up Z in many places, including www.mindat.org. Finally, it is assumed that the unit cell of the anisotropic material is aligned in a particular way relative to the coordinate axes (the anisotropic_parameters are defined relative to the coordinate axes). The crystallographic a-axis is assumed to be parallel to the first spatial coordinate axis, and the crystallographic b-axis is assumed to be perpendicular to the third spatial coordinate axis. """ def __init__( self, isotropic_mineral, cell_parameters, anisotropic_parameters, psi_function=None, orthotropic=None, ): if psi_function is None: self.check_standard_parameters(anisotropic_parameters) self.anisotropic_params = {"c": anisotropic_parameters} self.psi_function = self.standard_psi_function else: if not isinstance(orthotropic, bool): raise Exception( "If the Psi function is provided, " "you must specify whether your material is " "orthotropic as a boolean." ) self.orthotropic = orthotropic self.anisotropic_params = anisotropic_parameters self.psi_function = psi_function self.cell_vectors_0 = cell_parameters_to_vectors(cell_parameters) if ( np.abs(np.linalg.det(self.cell_vectors_0) - isotropic_mineral.params["V_0"]) > np.finfo(float).eps ): factor = np.cbrt( isotropic_mineral.params["V_0"] / np.linalg.det(self.cell_vectors_0) ) raise Exception( "The standard state unit vectors are inconsistent " "with the volume. Suggest multiplying each " f"by {factor}." ) # Note, Psi_0 may be asymmetric, in which case the Voigt contraction # cannot be applied self.Psi_0 = np.einsum("ij, kl", logm(self.cell_vectors_0), np.eye(3) / 3.0) self.isotropic_mineral = isotropic_mineral if "name" in isotropic_mineral.params: self.name = isotropic_mineral.params["name"] Mineral.__init__( self, isotropic_mineral.params, isotropic_mineral.property_modifiers ) def standard_psi_function(self, f, Pth, params): # Compute Psi, dPsidPth, dPsidf, needed by most anisotropic properties c = params["c"] ns = np.arange(c.shape[-1]) x = c[:, :, 0, :] + c[:, :, 1, :] * f dPsidf = c[:, :, 1, :] for i in list(range(2, c.shape[2])): # non-intuitively, the += operator doesn't simply add in-place, # so here we overwrite the arrays with new ones x = x + c[:, :, i, :] * np.power(f, float(i)) / float(i) dPsidf = dPsidf + c[:, :, i, :] * np.power(f, float(i) - 1.0) Psi = np.einsum("ikn, n->ik", x, np.power(Pth, ns)) dPsidPth = np.einsum( "ikn, n->ik", x[:, :, 1:], ns[1:] * np.power(Pth, ns[1:] - 1) ) dPsidf = np.einsum("ikn, n->ik", dPsidf, np.power(Pth, ns)) return (Psi, dPsidf, dPsidPth) @copy_documentation(Material.set_state) def set_state(self, pressure, temperature): # 1) Compute dPthdf|T # relatively large dP needed for accurate estimate of dPthdf self.isotropic_mineral.set_state(pressure, temperature) V2 = self.isotropic_mineral.V KT2 = self.isotropic_mineral.K_T self.isotropic_mineral.set_state_with_volume(V2, self.params["T_0"]) P1 = self.isotropic_mineral.pressure KT1 = self.isotropic_mineral.K_T self.dPthdf = KT1 - KT2 self.Pth = pressure - P1 self.isotropic_mineral.set_state(pressure, temperature) Mineral.set_state(self, pressure, temperature) # 2) Compute other properties needed for anisotropic equation of state V = self.V V_0 = self.params["V_0"] Vrel = V / V_0 f = np.log(Vrel) self._Vrel = Vrel self._f = f out = self.psi_function(f, self.Pth, self.anisotropic_params) Psi_Voigt, self.dPsidf_Voigt, self.dPsidPth_Voigt = out self.Psi = voigt_notation_to_compliance_tensor(Psi_Voigt) + self.Psi_0 # Convert to (f, T) variables self.dPsidP_Voigt = -self.isothermal_compressibility_reuss * ( self.dPsidf_Voigt + self.dPsidPth_Voigt * self.dPthdf ) self.dPsidT_Voigt = self.alpha * ( self.dPsidf_Voigt + self.dPsidPth_Voigt * (self.dPthdf + self.isothermal_bulk_modulus_reuss) ) @material_property def deformation_gradient_tensor(self): """ :returns: The deformation gradient tensor describing the deformation of the mineral from its undeformed state (i.e. the state at the reference pressure and temperature). :rtype: numpy.array (2D) """ F = expm(np.einsum("ijkl, kl", self.Psi, np.eye(3))) return F @material_property def unrotated_cell_vectors(self): """ :returns: The vectors of the cell [m] constructed from one mole of formula units after deformation of the mineral from its undeformed state (i.e. the state at the reference pressure and temperature). See the documentation for the function :func:`~burnman.utils.unitcell.cell_parameters_to_vectors` for the assumed relationships between the cell vectors and spatial coordinate axes. :rtype: numpy.array (2D) """ return self.deformation_gradient_tensor @material_property def deformed_coordinate_frame(self): """ :returns: The orientations of the three spatial coordinate axes after deformation of the mineral [m]. For orthotropic minerals, this is equal to the
(isotropic_mineral, cell_parameters, anisotropic_parameters, psi_function=None, orthotropic=None)
[ 0.06323976814746857, -0.03824002295732498, 0.022669626399874687, 0.04756048694252968, 0.008340506814420223, -0.05143675208091736, -0.08240333199501038, -0.023845573887228966, -0.05370153859257698, 0.015515955165028572, -0.005770846735686064, 0.01086116861552, 0.0068106879480183125, 0.06367529928684235, -0.09930211305618286, 0.034472640603780746, -0.020677052438259125, -0.0005862717516720295, -0.023279376327991486, 0.021961882710456848, -0.0414847657084465, -0.03887155279517174, 0.011999005451798439, 0.09451122581958771, -0.010801282711327076, 0.010202420875430107, 0.015515955165028572, -0.023627806454896927, 0.004731005523353815, -0.04729916527867317, -0.019424887374043465, -0.002036128891631961, 0.006391484756022692, -0.0039552077651023865, 0.03512594476342201, -0.036606766283512115, 0.05783912539482117, 0.0510447695851326, -0.07904970645904541, 0.01835782453417778, -0.026937875896692276, -0.019348667934536934, 0.08192424476146698, -0.008340506814420223, -0.005667406599968672, -0.014731991104781628, -0.02628457173705101, 0.032186079770326614, 0.0033890113700181246, 0.016016820445656776, 0.04253004863858223, -0.05357087776064873, 0.04812668263912201, 0.003350901883095503, -0.03649788349866867, 0.07260378450155258, 0.07155849784612656, 0.01857559196650982, 0.052046503871679306, -0.08092251420021057, 0.016898781061172485, 0.005558522883802652, 0.05487748235464096, -0.051480308175086975, -0.018858691677451134, -0.011225929483771324, 0.005534023977816105, 0.00948378723114729, 0.014546888880431652, 0.0939885824918747, 0.004649342503398657, -0.0011813902528956532, 0.023518921807408333, -0.02358425222337246, 0.023823795840144157, 0.009554562158882618, -0.04157187044620514, -0.04420686140656471, 0.0013610486639663577, -0.055922769010066986, 0.0105508491396904, 0.020045524463057518, -0.017247209325432777, 0.0005433987244032323, -0.017268985509872437, 0.016408802941441536, 0.07752533257007599, 0.010817615315318108, -0.008661714382469654, -0.026241019368171692, -0.021417463198304176, 0.04777825251221657, 0.014329120516777039, 0.017062107101082802, 0.040657248347997665, 0.015428848564624786, -0.02881067991256714, -0.07813508063554764, 0.005640185903757811, -0.012467206455767155, -0.016332585364580154, 0.04542636126279831, -0.0022838397417217493, 0.019664430990815163, 0.02213609591126442, 0.0039552077651023865, -0.05274336040019989, 0.007725312374532223, 0.07722046226263046, -0.06310910731554031, -0.06955503672361374, 0.019446663558483124, -0.04864932596683502, -0.039154648780822754, -0.03072703629732132, -0.02189655229449272, -0.045905452221632004, 0.011378367431461811, 0.010398412123322487, 0.03427664935588837, 0.04542636126279831, -0.010659733787178993, -0.03569214046001434, -0.0018591925036162138, 0.04157187044620514, 0.006870573852211237, 0.021602565422654152, 0.002961641876026988, 0.04499082639813423, -0.05095766484737396, -0.04756048694252968, 0.011269483715295792, 0.0059613934718072414, 0.04207273945212364, -0.02314871735870838, -0.037782713770866394, -0.026828991249203682, -0.046079665422439575, -0.015984155237674713, 0.02107992209494114, 0.042399387806653976, 0.025435278192162514, -0.0034162322990596294, -0.004363521933555603, -0.050914108753204346, 0.036018792539834976, 0.05849242955446243, -0.008656269870698452, -0.0120861129835248, -0.03948130086064339, -0.02493441291153431, -0.03325314074754715, -0.033144257962703705, 0.003568669781088829, 0.00787775032222271, -0.014242013916373253, 0.03131501004099846, -0.004649342503398657, 0.04283492639660835, 0.023431815207004547, -0.04324868321418762, -0.05875375121831894, 0.0003206971159670502, 0.05391930416226387, -0.037608496844768524, -0.008765153586864471, -0.027373410761356354, -0.013272946700453758, -0.01400246936827898, 0.05661962553858757, 0.016572128981351852, -0.04464239627122879, -0.062281589955091476, 0.02471664361655712, -0.0004270290373824537, 0.07630583643913269, 0.0012875520624220371, -0.023497145622968674, -0.002655406016856432, -0.028723571449518204, -0.013392719440162182, -0.03497350588440895, -0.024194002151489258, 0.010779505595564842, -0.0012079307343810797, 0.069206602871418, 0.05409352108836174, -0.02432466298341751, 0.03442908823490143, -0.01690967008471489, 0.027003206312656403, -0.04969460889697075, 0.019675320014357567, 0.04022170975804329, 0.01784607023000717, 0.013272946700453758, 0.07595741003751755, -0.03164166212081909, 0.027983160689473152, 0.006206382066011429, -0.038000479340553284, -0.020361289381980896, 0.023671358823776245, -0.008743376471102238, -0.044163309037685394, -0.01624547690153122, 0.003440731205046177, 0.0074204374104738235, -0.004984160419553518, 0.04594900459051132, -0.011922786943614483, -0.02064438723027706, -0.010512740351259708, 0.03708585351705551, 0.02915910817682743, -0.08114027976989746, 0.031946536153554916, 0.010610735975205898, 0.014644884504377842, 0.006380596198141575, 0.03773915767669678, -0.015864383429288864, -0.04581834375858307, -0.0066255852580070496, -0.021025480702519417, 0.04307447001338005, -0.01872803084552288, 0.029507536441087723, 0.006075721234083176, -0.029986625537276268, 0.019446663558483124, -0.0006066874484531581, -0.030596375465393066, -0.006130163557827473, 0.003228407585993409, -0.01168324239552021, 0.002342364750802517, -0.013425384648144245, -0.015711946412920952, -0.03074881248176098, -0.04157187044620514, -0.07290865480899811, 0.009053695946931839, 0.05060923472046852, -0.011650577187538147, -0.0031168016139417887, 0.05017369985580444, 0.05696805566549301, -0.04459884390234947, -0.0019993805326521397, 0.019054681062698364, -0.03220785781741142, -0.022952726110816002, 0.043009139597415924, 0.0021654285956174135, -0.05600987747311592, 0.04133232682943344, 0.04351000487804413, 0.03693341836333275, -0.049346182495355606, -0.010153423063457012, -0.10696753859519958, 0.03416776657104492, 0.03710763156414032, 0.016397913917899132, -0.003936152905225754, -0.024085117504000664, 0.02277851104736328, -0.03462507948279381, 0.02473842166364193, 0.15252456068992615, 0.059232838451862335, -0.07242956757545471, 0.014133130200207233, -0.01931600272655487, 0.00569462776184082, 0.010060871951282024, 0.0024975244887173176, -0.008912147022783756, 0.016114816069602966, -0.009396680630743504, -0.011302148923277855, 0.012793857604265213, 0.028484027832746506, -0.03268694505095482, -0.006059388630092144, -0.005574855487793684, -0.02282206527888775, 0.061541177332401276, -0.02191832847893238, -0.008084629662334919, 0.07073097676038742, 0.01486265193670988, -0.025065073743462563, 0.1416361778974533, -0.010218753479421139, -0.04555702209472656, 0.00884681660681963, 0.013392719440162182, -0.07569608837366104, 0.051088325679302216, -0.04379310458898544, 0.026741884648799896, -0.025827260687947273, -0.050739895552396774, 0.015537732280790806, 0.06411083787679672, -0.0013610486639663577, 0.008895814418792725, -0.016191035509109497, 0.031053686514496803, 0.0235624760389328, -0.0052754245698452, 0.01931600272655487, 0.03954663127660751, -0.0373036228120327, 0.023518921807408333, 0.008884926326572895, 0.049389734864234924, 0.06807421147823334, 0.01273941621184349, 0.002406334038823843, 0.042007409036159515, 0.006914127618074417, -0.003565947525203228, -0.0795288011431694, 0.010480075143277645, -0.015232857316732407, 0.002734346780925989, -0.023867350071668625, -0.0505656823515892, 0.00350606138817966, 0.0414847657084465, -0.01612570509314537, 0.006424149964004755, 0.007676314562559128, 0.016310807317495346, -0.013033402152359486, 0.02107992209494114, -0.07055676728487015, 0.06981635093688965, 0.06202026829123497, -0.02093837410211563, 0.04459884390234947, 0.00917891226708889, -0.052438486367464066, 0.03710763156414032, -0.03151100128889084, -0.026132134720683098, 0.04244294390082359, -0.00947289913892746, 0.04083146154880524, 0.009445678442716599, 0.06972924619913101, 0.035082392394542694, 0.011247706599533558, -0.036650318652391434, -0.027155643329024315, -0.002983418758958578, 0.002836425555869937, -0.01276119239628315, 0.01602770946919918, -0.05548723414540291, 0.02800493873655796, 0.009848548099398613, -0.07573963701725006, -0.02452065423130989, 0.005155652295798063, 0.003059637499973178, -0.03532193601131439, 0.0478653609752655, -0.08127094060182571, -0.04904130846261978, -0.03366690129041672, 0.004605788737535477, 0.015505067072808743, -0.0414847657084465, 0.034603301435709, -0.05875375121831894, -0.046863630414009094, 0.08240333199501038, -0.0120861129835248, -0.07543476670980453, 0.04930263012647629, 0.047255612909793854, 0.00754020968452096, 0.020328624173998833, -0.0013821449829265475, 0.0333838015794754, 0.015897048637270927, 0.013066067360341549, -0.012989848852157593, 0.03512594476342201, -0.0032910157460719347, -0.00228520086966455, 0.035278383642435074, 0.043161578476428986, 0.04808313027024269, -0.06053944677114487, -0.024847304448485374, 0.003364512464031577, -0.07273444533348083, -0.008482055738568306, 0.028484027832746506, -0.024433545768260956, -0.09616626054048538, 0.040679022669792175, 0.001480820938013494, -0.0200019720941782, 0.054572608321905136, -0.002969808178022504, 0.03945952281355858, -0.032534509897232056, -0.012902741320431232, -0.08100961893796921, -0.002569659845903516, -0.011824791319668293, -0.03956840932369232, 0.0017121993005275726, 0.02203810028731823, 0.008498388342559338, 0.006876017898321152, 0.05017369985580444, 0.06276068091392517, -0.021961882710456848, -0.017650078982114792, -0.04891064763069153, 0.03993861377239227, -0.034494418650865555, 0.022952726110816002, -0.00695768091827631, 0.022299421951174736, -0.0024076951667666435, -0.03597524017095566, -0.019000239670276642, -0.01949021779000759, -0.009380348026752472, -0.023453591391444206, 0.013185840100049973, 0.02508684992790222, 0.05039146915078163, 0.00991387851536274, 0.032382071018218994, -0.007551098242402077, -0.045731235295534134, -0.012107889167964458, -0.06080076843500137, 0.0278524998575449, -0.07125362008810043, 0.02213609591126442, 0.026589447632431984, 0.03281760588288307, 0.021363019943237305, 0.0025438000448048115, 0.011999005451798439, 0.0033890113700181246, -0.012586978264153004, -0.020502837374806404, -0.012053447775542736, -0.018499374389648438, 0.018542926758527756, 0.06763868033885956, -0.011748572811484337, 0.0015720112714916468, -0.014829986728727818, 0.008939367718994617, 0.03111901693046093, -0.030182616785168648, -0.005896063055843115, 0.019947530701756477, 0.04004749655723572, -0.026785438880324364, -0.009402124211192131, -0.038740891963243484, 0.029855964705348015, -0.0235624760389328, -0.05087055638432503, 0.02243008278310299, -0.026916099712252617, -0.05261269956827164, -0.002742513082921505, -0.04364066570997238, 0.014917094260454178, 0.005917839705944061, 0.009391236118972301, -0.020818600431084633, 0.056140538305044174, -0.026698332279920578, 0.03693341836333275, -0.04176786169409752, -0.0675080195069313, 0.004880720749497414, 0.05657607316970825, 0.016387026757001877, -0.06654983758926392, 0.03749961405992508, -0.00897203292697668, -0.03675920516252518, 0.02317049354314804, -0.03425487503409386, 0.017824294045567513, 0.018423154950141907, -0.09451122581958771, -0.008073740638792515, 0.015526843257248402, -0.032556284219026566, -0.02238652855157852, -0.00904280785471201, -0.0033073483500629663, -0.009881213307380676, -0.03967729210853577, -0.0800078883767128, 0.010147979483008385, -0.01580994203686714, -0.0002895631187129766, -0.007627316750586033, -0.018858691677451134, 0.049389734864234924, -0.0032991820480674505, -0.04061369225382805, 0.007768866140395403, 0.021559011191129684, -0.023257600143551826, -0.040875013917684555, 0.015439736656844616, 0.0309230275452137, -0.028919562697410583, -0.061715394258499146, 0.04634098708629608, -0.009636225178837776, -0.026524117216467857, -0.03270872309803963, -0.0191417895257473, 0.02262607403099537, 0.02260429784655571, -0.0037102187052369118, 0.03499528393149376, -0.05540012568235397, -0.029485758394002914, -0.04873643070459366, -0.03586635738611221, 0.0012474011164158583, 0.02358425222337246, -0.046471647918224335, 0.020012861117720604, -0.03503883630037308, -0.029899518936872482, 0.013403607532382011, -0.01604948565363884, -0.018325159326195717, -0.01198811735957861, -0.008503831923007965, -0.009336793795228004, -0.0017748074606060982, 0.10296061635017395, 0.03516949713230133, 0.024869082495570183, 0.00005984360905131325, -0.02898489311337471, 0.04351000487804413, -0.016387026757001877, -0.025936143472790718, 0.01629992015659809, -0.05465971678495407, -0.01412224117666483, 0.008754265494644642, 0.028092045336961746, 0.02074238285422325, -0.047604039311409, -0.020916596055030823, 0.001574733410961926, 0.08893636614084244, -0.015254633501172066, 0.012924518436193466, -0.018194498494267464, -0.03477751836180687, 0.01951199397444725, -0.030487490817904472, 0.0035904464311897755, -0.05387575179338455, 0.06811776757240295, 0.023540697991847992, 0.007610984146595001, -0.04651520028710365, 0.05047857388854027, 0.060974981635808945, -0.06219448149204254, 0.05966837704181671, -0.013305611908435822, 0.0022647851146757603, 0.005754514131695032, -0.006696359720081091, -0.03305714949965477, -0.05622764304280281, -0.023671358823776245, 0.0456441305577755, 0.021983658894896507, 0.0020402120426297188, 0.052090056240558624, 0.011726795695722103, -0.08179358392953873, -0.02338826097548008, -0.01129125989973545, -0.040679022669792175, 0.012009893544018269, -0.037978705018758774, 0.043967317789793015, 0.0211016982793808, 0.03523482754826546, -0.034124214202165604, 0.03445086628198624, -0.03693341836333275, -0.03299181908369064, -0.05017369985580444, -0.05256914347410202, -0.005468693561851978, -0.0419638529419899, 0.0176718570291996, 0.09390147030353546, 0.038174692541360855, -0.054964590817689896, 0.01410046499222517, -0.06358819454908371, -0.013458049856126308, -0.005438750609755516, -0.03651965782046318, 0.033949997276067734, -0.04986882582306862, 0.02608858235180378, 0.0022185093257576227, 0.020045524463057518, 0.007899526506662369, 0.05548723414540291, -0.011051715351641178, -0.01095916423946619, 0.01392624992877245, 0.01190100982785225, 0.011846567504107952, -0.035844579339027405, 0.0645463764667511, 0.022843841463327408, 0.025740154087543488, -0.011171488091349602, -0.007545654196292162, -0.025587715208530426, -0.008329617790877819, 0.0048371669836342335, -0.018052950501441956, 0.048388004302978516, -0.0009125831420533359, -0.040657248347997665, 0.05313534289598465, -0.04738627001643181, -0.0333838015794754, -0.021439239382743835, -0.04716850444674492, -0.03212074935436249, -0.010899278335273266, -0.01001187413930893, 0.03723829239606857, 0.0012950378004461527, 0.000802338239736855, 0.021515458822250366, 0.005814400035887957, 0.006358819548040628, -0.04930263012647629, 0.03050926700234413, 0.014394450932741165, 0.008253399282693863, 0.04873643070459366, -0.02084037847816944, -0.05121898651123047, 0.01590793766081333, -0.049346182495355606, 0.0024076951667666435, 0.03898043558001518, 0.03771738335490227, 0.009777774102985859, -0.007474879734218121, 0.04464239627122879, 0.05313534289598465, 0.06907594203948975, 0.0035223939921706915, 0.026611223816871643, 0.04327046126127243, 0.03251273185014725, -0.042791370302438736, 0.0052890353836119175, -0.008678046986460686, 0.004061369225382805, -0.019424887374043465, -0.034102436155080795, 0.02260429784655571, 0.0008152681984938681, 0.05666318163275719, -0.03440731018781662, -0.05753425136208534, 0.01149813923984766, 0.012674085795879364, -0.03094480372965336, 0.020067302510142326, -0.0019081903155893087, -0.03943774849176407, 0.021602565422654152, 0.0032583505380898714, 0.0054605272598564625, -0.01266319677233696, -0.020600832998752594, -0.00763820530846715, -0.01653946377336979, 0.030400384217500687, 0.05836176872253418, 0.01283741183578968, -0.028331590816378593, 0.03462507948279381, 0.007964856922626495, -0.018346937373280525, 0.016354361549019814, -0.01119326427578926, 0.02360602840781212, -0.006146496161818504, -0.007752533536404371, 0.0211016982793808, 0.028832456097006798, -0.050914108753204346, -0.0007798809092491865, -0.0005529260379262269, -0.03577924892306328, 0.0010398412123322487, 0.010311304591596127, 0.01659390516579151, 0.05143675208091736, -0.05047857388854027, 0.002353253308683634, 0.017704522237181664, -0.0544855035841465, 0.05540012568235397, 0.05026080831885338, -0.04921552166342735, 0.04263893514871597, 0.002336920704692602, -0.01604948565363884, -0.05783912539482117, -0.04157187044620514, 0.00522098271176219, 0.07817863672971725, -0.009837660007178783, 0.0013835059944540262, -0.02800493873655796, 0.01563572697341442, 0.0706874281167984, -0.002232119906693697, 0.026045028120279312, 0.009723331779241562, 0.08488588780164719, -0.022201426327228546, 0.009456566534936428, -0.007148227654397488, -0.05452905595302582, -0.06167183816432953, -0.00926601979881525, -0.027939608320593834, 0.019326891750097275, 0.02972530387341976, -0.018891356885433197, 0.05949416011571884, -0.05396286025643349, 0.02972530387341976 ]
10,865
burnman.classes.anisotropicmineral
__init__
null
def __init__( self, isotropic_mineral, cell_parameters, anisotropic_parameters, psi_function=None, orthotropic=None, ): if psi_function is None: self.check_standard_parameters(anisotropic_parameters) self.anisotropic_params = {"c": anisotropic_parameters} self.psi_function = self.standard_psi_function else: if not isinstance(orthotropic, bool): raise Exception( "If the Psi function is provided, " "you must specify whether your material is " "orthotropic as a boolean." ) self.orthotropic = orthotropic self.anisotropic_params = anisotropic_parameters self.psi_function = psi_function self.cell_vectors_0 = cell_parameters_to_vectors(cell_parameters) if ( np.abs(np.linalg.det(self.cell_vectors_0) - isotropic_mineral.params["V_0"]) > np.finfo(float).eps ): factor = np.cbrt( isotropic_mineral.params["V_0"] / np.linalg.det(self.cell_vectors_0) ) raise Exception( "The standard state unit vectors are inconsistent " "with the volume. Suggest multiplying each " f"by {factor}." ) # Note, Psi_0 may be asymmetric, in which case the Voigt contraction # cannot be applied self.Psi_0 = np.einsum("ij, kl", logm(self.cell_vectors_0), np.eye(3) / 3.0) self.isotropic_mineral = isotropic_mineral if "name" in isotropic_mineral.params: self.name = isotropic_mineral.params["name"] Mineral.__init__( self, isotropic_mineral.params, isotropic_mineral.property_modifiers )
(self, isotropic_mineral, cell_parameters, anisotropic_parameters, psi_function=None, orthotropic=None)
[ 0.06540672481060028, -0.013831564225256443, 0.042609360069036484, 0.03580504283308983, -0.0010904351947829127, -0.07029187679290771, -0.06990416347980499, -0.002524963114410639, -0.03404096141457558, 0.05443452298641205, -0.003625091165304184, 0.03022201545536518, -0.04764959216117859, 0.02971799299120903, -0.12678125500679016, 0.026499997824430466, -0.03053218498826027, -0.02698463574051857, -0.02713971957564354, 0.01822238229215145, -0.013531088829040527, -0.02374725416302681, -0.009716988541185856, 0.08715727180242538, 0.010574798099696636, 0.02896195836365223, -0.021634234115481377, -0.00010684750304790214, 0.0460599809885025, -0.056528158485889435, -0.008151608519256115, 0.0011358699994161725, -0.005578181706368923, 0.042454276233911514, 0.04385003447532654, -0.01777651719748974, 0.06339062750339508, 0.04516824707388878, -0.03704571723937988, 0.05462837964296341, -0.05633430555462837, -0.006925474852323532, 0.06121945381164551, 0.002583119785413146, -0.013259691186249256, -0.004485323093831539, -0.027721285820007324, 0.002583119785413146, 0.006120976060628891, 0.023630941286683083, 0.006276060361415148, -0.04268690198659897, 0.062305040657520294, -0.020122162997722626, -0.08219458162784576, 0.05210826173424721, 0.08886319398880005, 0.025899047031998634, 0.018658557906746864, -0.07129991799592972, -0.033924650400877, -0.0069642458111047745, 0.03621213883161545, -0.0865369364619255, 0.017689282074570656, -0.01644860953092575, 0.00011676743451971561, 0.008306692354381084, 0.03468068316578865, 0.08397804945707321, 0.01949213445186615, 0.034603141248226166, -0.0017725629732012749, -0.015033465810120106, 0.0037850216031074524, 0.007570043206214905, -0.04850255697965622, -0.043113384395837784, -0.008059527724981308, -0.03685186058282852, 0.012968908995389938, 0.01374432910233736, -0.018600400537252426, 0.02506547048687935, -0.033246155828237534, -0.002692163223400712, 0.08847548812627792, -0.021595463156700134, 0.026945864781737328, 0.01902688294649124, -0.02450329065322876, 0.041833940893411636, 0.006547457538545132, -0.009789684787392616, 0.033595096319913864, 0.059358444064855576, -0.015547182410955429, -0.06893488764762878, 0.038712870329618454, -0.007463423069566488, -0.007511886768043041, 0.05261228606104851, -0.0049214973114430904, 0.0012552120024338365, 0.027197876945137978, 0.013230613432824612, -0.03669677674770355, -0.02774067036807537, 0.06606583297252655, -0.05443452298641205, -0.04788221791386604, 0.02324323169887066, -0.05102267116308212, -0.019327357411384583, -0.030415872111916542, 0.00589804258197546, -0.01594458520412445, -0.021052667871117592, 0.008675017394125462, 0.004456244874745607, 0.04865764081478119, -0.02475530095398426, 0.0017095600487664342, -0.003450621385127306, 0.017301570624113083, 0.0027551662642508745, -0.0020051891915500164, -0.017698973417282104, 0.022215798497200012, -0.00946982391178608, 0.012949523515999317, -0.009702449664473534, 0.020664958283305168, 0.02339831553399563, -0.016972018405795097, -0.05082881823182106, -0.028225308284163475, 0.006654077675193548, -0.028942571952939034, 0.06009509414434433, 0.055558882653713226, 0.03018324449658394, -0.03665800765156746, 0.007550657726824284, -0.05726480856537819, 0.07048572599887848, 0.015818579122424126, -0.01027432270348072, -0.00981876254081726, -0.055209942162036896, -0.02491038478910923, -0.022487197071313858, -0.020587416365742683, 0.03078419715166092, -0.006857625674456358, -0.03838331624865532, 0.024425746873021126, -0.016690928488969803, 0.05614044889807701, 0.01356985978782177, -0.008708941750228405, -0.006474761757999659, -0.009406820870935917, 0.032683975994586945, -0.05137161165475845, -0.0369487889111042, -0.03605705499649048, -0.042958300560712814, -0.023223845288157463, 0.03281967341899872, 0.011447145603597164, -0.05179809406399727, -0.09359326213598251, 0.02132406458258629, -0.019065653905272484, 0.04799853265285492, 0.0113889891654253, -0.0020124586299061775, 0.018513165414333344, -0.05858302488923073, -0.026364298537373543, -0.0006724350387230515, -0.02415435016155243, 0.03603767231106758, -0.010904351249337196, 0.08033356815576553, 0.04291952773928642, -0.021091438829898834, 0.002689740154892206, -0.038247618824243546, 0.02374725416302681, -0.014752375893294811, 0.0016465571243315935, 0.05016971006989479, 0.028283465653657913, 0.007734820246696472, 0.08956107497215271, -0.021265909075737, -0.05757497623562813, 0.03625091165304184, -0.039972931146621704, -0.019676296040415764, -0.014800840057432652, -0.014471285976469517, -0.04640892148017883, -0.0006182161741890013, -0.013550474308431149, 0.02085881307721138, 0.012484271079301834, 0.02617044374346733, 0.01514008641242981, -0.016739390790462494, -0.007371341809630394, 0.04889026656746864, -0.005587874446064234, -0.0582340843975544, 0.0016053628642112017, 0.00845208391547203, 0.023805411532521248, 0.008839794434607029, 0.05629553273320198, -0.018251461908221245, -0.019831381738185883, -0.011301754973828793, -0.03433174639940262, 0.06121945381164551, -0.00870409607887268, 0.01220318116247654, -0.010952815413475037, -0.0014684527413919568, -0.0019324934110045433, -0.035204093903303146, -0.022816749289631844, -0.027915140613913536, -0.06947768479585648, -0.06509655714035034, 0.00707571255043149, -0.013104607351124287, -0.025084855034947395, -0.04431528598070145, -0.011156363412737846, -0.060676660388708115, 0.00305564166046679, 0.05563642457127571, -0.02485222928225994, -0.028516091406345367, 0.0028302851133048534, 0.04481931030750275, -0.030454643070697784, -0.021401608362793922, 0.026461226865649223, -0.028380392119288445, -0.03663862124085426, 0.058040227741003036, 0.03332369774580002, -0.04416020214557648, 0.009600675664842129, 0.019530905410647392, 0.036677394062280655, -0.028341621160507202, -0.029795534908771515, -0.07269567996263504, 0.038557786494493484, 0.04834747314453125, 0.023165689781308174, -0.033343084156513214, -0.027023406699299812, 0.03142391890287399, -0.00030153561965562403, 0.030241401866078377, 0.11801900714635849, 0.03506839647889137, -0.042105335742235184, 0.02010277844965458, 0.007162947207689285, 0.00691093597561121, -0.008500548079609871, 0.0033028069883584976, -0.03801499307155609, 0.007739666383713484, 0.024871613830327988, 0.03380833566188812, 0.041950251907110214, 0.014849303290247917, -0.03908119723200798, -0.01273628231137991, -0.010536027140915394, -0.004713103175163269, 0.029795534908771515, -0.01842593029141426, -0.007710588164627552, 0.08878565579652786, 0.015867043286561966, -0.00018461672880221158, 0.14570152759552002, -0.0012085656635463238, -0.03119129128754139, 0.008466622792184353, 0.0369487889111042, -0.0972377359867096, 0.05912581831216812, -0.06858594715595245, 0.000537342217285186, -0.022564738988876343, -0.06013386324048042, 0.03119129128754139, 0.0200058501213789, -0.0009080901509150863, 0.004688871093094349, 0.020839426666498184, 0.050092168152332306, 0.03206364065408707, -0.005306784529238939, 0.02302999049425125, 0.021285293623805046, 0.00885917991399765, 0.03012508898973465, -0.02952413819730282, 0.03154022991657257, 0.060172636061906815, 0.027566200122237206, 0.018251461908221245, 0.018862105906009674, -0.040321867913007736, -0.014771761372685432, -0.061335764825344086, -0.030512798577547073, -0.016477687284350395, -0.021285293623805046, 0.01430650893598795, -0.026092901825904846, 0.04578858241438866, 0.06087051331996918, -0.041329916566610336, 0.0022208529990166426, 0.039061810821294785, 0.019666604697704315, 0.023669712245464325, 0.005994970444589853, -0.08801023662090302, 0.07955814898014069, 0.03669677674770355, 0.010158008895814419, 0.012930138036608696, -0.02622860111296177, -0.030590340495109558, -0.030415872111916542, -0.05451206490397453, -0.026286756619811058, -0.02394110895693302, -0.026848936453461647, 0.028108995407819748, -0.0005067494348622859, 0.06815946847200394, 0.021886246278882027, 0.02167300507426262, -0.021072054281830788, -0.0030871431808918715, 0.01988953724503517, -0.014287123456597328, 0.013308155350387096, 0.011330832727253437, -0.045749813318252563, 0.006261521019041538, 0.03022201545536518, -0.08041111379861832, 0.0032761518377810717, 0.0031549923587590456, -0.02196378819644451, -0.03181162849068642, 0.049433059990406036, -0.09142208099365234, -0.023320773616433144, -0.051138985902071, 0.03256766498088837, 0.006455376278609037, -0.050751276314258575, 0.00885917991399765, -0.06606583297252655, -0.07754205912351608, 0.06152962148189545, 0.013220920227468014, -0.02839977853000164, 0.03989538922905922, 0.0349133126437664, -0.0003022928722202778, -0.03479699790477753, 0.027856983244419098, 0.05451206490397453, 0.05199194699525833, -0.004570134915411472, -0.02870994620025158, 0.030590340495109558, -0.0020185166504234076, 0.01979260891675949, 0.05261228606104851, 0.039468906819820404, 0.02587966062128544, -0.05990123748779297, -0.006658924277871847, 0.0031137980986386538, -0.07192026078701019, -0.013754022307693958, 0.004083073697984219, -0.03404096141457558, -0.05614044889807701, 0.01877487078309059, 0.013356619514524937, -0.004439282696694136, 0.03357570990920067, 0.012910752557218075, 0.044974394142627716, -0.0039788768626749516, -0.014926846139132977, -0.07665032148361206, -0.005883503705263138, 0.01316276378929615, -0.009552212432026863, -0.01681693270802498, 0.0008099509868770838, 0.016739390790462494, 0.01136960368603468, 0.041989024728536606, 0.05179809406399727, 0.005524871405214071, 0.010400327853858471, -0.03316861391067505, 0.014035112224519253, -0.005796268582344055, -0.034002192318439484, -0.01888149045407772, 0.03053218498826027, 0.025860276073217392, -0.02931089699268341, -0.009954461827874184, 0.022467810660600662, -0.020587416365742683, -0.02343708649277687, -0.010720189660787582, 0.029659835621714592, 0.0647863894701004, -0.027159105986356735, 0.004424743354320526, 0.016991402953863144, -0.08072128146886826, -0.018406545743346214, -0.02525932528078556, 0.04524578899145126, -0.05660570040345192, 0.01182516384869814, 0.04939429089426994, 0.01873609982430935, 0.0037559433840215206, -0.004688871093094349, 0.019550291821360588, 0.0102549372240901, -0.03198609873652458, 0.015227321535348892, -0.019404899328947067, 0.019656911492347717, 0.004853648133575916, 0.05846671015024185, 0.0048681870102882385, -0.011253290809690952, -0.041485000401735306, 0.01352139562368393, 0.012397035956382751, 0.002522540045902133, -0.007633046247065067, 0.013560167513787746, 0.03254827857017517, -0.0059610456228256226, 0.012532735243439674, -0.01000292506068945, 0.037995606660842896, -0.011427760124206543, -0.03165654465556145, 0.008563551120460033, -0.06160716339945793, -0.033536940813064575, -0.006969092413783073, -0.019967079162597656, -0.019763531163334846, 0.0026218907441943884, 0.017253108322620392, -0.004991769790649414, 0.018920261412858963, -0.02839977853000164, 0.02318507432937622, -0.02648061141371727, -0.0678105279803276, 0.06257644295692444, 0.028186537325382233, 0.04648646339774132, -0.031772855669260025, 0.05237966030836105, 0.00552971800789237, -0.021149596199393272, 0.019482441246509552, 0.0008953684009611607, 0.004153346177190542, 0.003995839040726423, -0.07195902615785599, -0.008549011312425137, 0.0255694929510355, -0.022603509947657585, -0.034254204481840134, -0.03053218498826027, -0.009920536540448666, -0.03028017282485962, -0.029543522745370865, -0.08335770666599274, 0.011708850041031837, 0.017698973417282104, -0.01005138922482729, -0.04241550341248512, -0.035456106066703796, 0.007293799426406622, 0.005253474228084087, -0.015052851289510727, 0.012193487957119942, -0.008214611560106277, -0.025181783363223076, -0.06129699572920799, 0.013492317870259285, 0.005132314749062061, -0.009964154101908207, -0.027818212285637856, 0.05893196165561676, -0.04055449366569519, -0.043966345489025116, -0.04090343415737152, -0.06827577948570251, 0.03012508898973465, -0.011350218206644058, 0.04927797615528107, 0.008486009202897549, -0.03710387274622917, -0.017350034788250923, -0.04687417298555374, -0.05067373439669609, 0.029485367238521576, 0.0379568375647068, -0.026461226865649223, 0.044276513159275055, -0.05796268582344055, -0.0506349615752697, 0.00919357966631651, -0.030260788276791573, -0.0030314098112285137, -0.023766640573740005, -0.0069157821126282215, -0.04501316323876381, -0.006285753101110458, 0.07792976498603821, 0.04078712314367294, 0.00015356962103396654, -0.007788130082190037, -0.006775237154215574, 0.04838624224066734, 0.0005430972669273615, -0.007027248851954937, 0.007361649069935083, -0.019908923655748367, 0.01509162224829197, 0.021401608362793922, 0.042803216725587845, 0.023960495367646217, -0.021905630826950073, -0.010322785936295986, 0.023805411532521248, 0.06540672481060028, -0.0311331357806921, 0.017340341582894325, -0.013579552993178368, -0.026713239029049873, 0.010758960619568825, 0.018619786947965622, -0.023960495367646217, -0.041795168071985245, 0.06974907964468002, 0.01818361133337021, -0.01741788350045681, -0.017330650240182877, 0.01938551478087902, 0.04536210373044014, -0.0744016021490097, 0.057187266647815704, -0.02915581315755844, 0.0064020659774541855, 0.034351129084825516, -0.020664958283305168, -0.055869050323963165, -0.03022201545536518, -0.05276736989617348, 0.027120335027575493, 0.04272567108273506, -0.018871797248721123, 0.02353401482105255, 0.02101389691233635, -0.10142500698566437, -0.018241768702864647, -0.037898678332567215, -0.019986465573310852, 0.010817117057740688, -0.029330283403396606, 0.009721835143864155, 0.05067373439669609, 0.0177183598279953, -0.014684527181088924, 0.022060714662075043, -0.025143012404441833, -0.042958300560712814, -0.06094805523753166, -0.024134965613484383, 0.015052851289510727, -0.05528748780488968, 0.0008196437847800553, 0.10452669113874435, 0.02491038478910923, -0.0683533251285553, -0.02390233799815178, -0.07316093146800995, 0.0024510559160262346, -0.045749813318252563, -0.031230062246322632, 0.03720080107450485, -0.057187266647815704, 0.033440012484788895, 0.020374175161123276, 0.04664154723286629, -0.005040233489125967, 0.06211118772625923, 0.0019167426507920027, 0.0006048885989002883, 0.014897767454385757, 0.004766413476318121, 0.04059326648712158, -0.013259691186249256, 0.07335478812456131, 0.03636722266674042, 0.008137069642543793, 0.01903657428920269, -0.0002556464751251042, -0.010032003745436668, -0.026868322864174843, 0.013666787184774876, 0.018648864701390266, 0.054395753890275955, -0.011776699684560299, -0.054201897233724594, 0.08436575531959534, -0.03144330531358719, -0.023708483204245567, -0.04431528598070145, -0.07839501649141312, -0.00810314528644085, -0.0243094339966774, -0.005049926228821278, 0.050906360149383545, -0.027721285820007324, 0.0017580237472429872, 0.0243094339966774, 0.02601535990834236, 0.021052667871117592, -0.06180102005600929, 0.04140745848417282, -0.0038456013426184654, 0.005801115185022354, 0.04889026656746864, 0.0044320132583379745, -0.024038037285208702, 0.014965617097914219, -0.04551718756556511, 0.015867043286561966, 0.06036648899316788, 0.04322969540953636, -0.00046767553430981934, 0.011960862204432487, 0.04175639897584915, 0.01868763566017151, 0.06253767013549805, -0.011107899248600006, -0.024212507531046867, 0.023708483204245567, 0.023611556738615036, -0.03770482540130615, 0.02936905436217785, 0.012658740393817425, 0.00037589724524877965, -0.03233503922820091, -0.037181414663791656, 0.014122347347438335, -0.004376279655843973, 0.05047987774014473, -0.017291879281401634, -0.08700218796730042, -0.03729772940278053, 0.013734636828303337, 0.005490947049111128, 0.057187266647815704, 0.02830285020172596, -0.0379568375647068, 0.03628968074917793, -0.009973847307264805, -0.02465837448835373, 0.022041330114006996, -0.028012067079544067, 0.011670079082250595, -0.04319092631340027, 0.04590489715337753, 0.05016971006989479, 0.00807406660169363, -0.05331016331911087, 0.029911847785115242, 0.04342355206608772, -0.009474669583141804, 0.026112288236618042, -0.018707020208239555, -0.014044804498553276, 0.022312726825475693, -0.06265398114919662, 0.024328820407390594, 0.010768652893602848, -0.00807891320437193, -0.00827761460095644, 0.0032713054679334164, -0.01797037199139595, 0.03481638431549072, 0.017999449744820595, 0.008093452081084251, 0.045943669974803925, -0.06346817314624786, 0.009615214541554451, 0.0044683609157800674, -0.03175347298383713, 0.048580098897218704, 0.04718434065580368, -0.010206473059952259, 0.04613752290606499, 0.008786484599113464, 0.005452175624668598, -0.01766989566385746, -0.05047987774014473, -0.04109729081392288, 0.07358741015195847, -0.04043818265199661, -0.0102549372240901, -0.01085588801652193, 0.0501309409737587, 0.02510424144566059, -0.02120775170624256, 0.06463130563497543, -0.02657753974199295, 0.06261520832777023, 0.009348664432764053, -0.016535842791199684, 0.0009323220583610237, -0.049898311495780945, -0.02927212603390217, -0.005195317789912224, -0.03811192139983177, 0.026713239029049873, 0.01105943601578474, 0.008951260708272457, 0.0354367196559906, -0.04140745848417282, 0.02626737207174301 ]
10,866
burnman.classes.anisotropicmineral
check_standard_parameters
null
def check_standard_parameters(self, anisotropic_parameters): if not np.all(anisotropic_parameters[:, :, 0, 0] == 0): raise Exception( "anisotropic_parameters_pqmn should be set to " "zero for all m = n = 0" ) sum_ijij_block = np.sum(anisotropic_parameters[:3, :3, :, :], axis=(0, 1)) if np.abs(sum_ijij_block[1, 0] - 1.0) > 1.0e-5: raise Exception( "The sum of the upper 3x3 pq-block of " "anisotropic_parameters_pqmn must equal " "1 for m=1, n=0 for consistency with the volume. " f"Value is {sum_ijij_block[1, 0]}" ) for m in range(2, len(sum_ijij_block)): if np.abs(sum_ijij_block[m, 0]) > 1.0e-10: raise Exception( "The sum of the upper 3x3 pq-block of " "anisotropic_parameters_pqmn must equal 0 for" f"m={m}, n=0 for consistency with the volume. " f"Value is {sum_ijij_block[m, 0]}" ) for m in range(len(sum_ijij_block)): for n in range(1, len(sum_ijij_block[0])): if np.abs(sum_ijij_block[m, n]) > 1.0e-10: raise Exception( "The sum of the upper 3x3 pq-block of " "anisotropic_parameters_pqmn must equal " f"0 for m={m}, n={n} for " "consistency with the volume. " f"Value is {sum_ijij_block[m, n]}" ) if cond(anisotropic_parameters[:, :, 1, 0]) > 1 / np.finfo(float).eps: raise Exception("anisotropic_parameters[:, :, 1, 0] is singular") sum_lower_left_block = np.sum(anisotropic_parameters[3:, :3, :, :], axis=1) self.orthotropic = True for i, s in enumerate(sum_lower_left_block): if not np.all(np.abs(s) < 1.0e-10): self.orthotropic = False
(self, anisotropic_parameters)
[ -0.0037844234611839056, 0.008007620461285114, 0.011951815336942673, 0.03914624825119972, -0.009695945307612419, -0.01881003938615322, -0.06257294863462448, -0.037143152207136154, 0.009381173178553581, 0.02773813158273697, 0.019105734303593636, 0.06631206721067429, 0.003274110611528158, -0.014136144891381264, -0.058948297053575516, 0.028310444205999374, -0.024132555350661278, -0.02109929360449314, 0.023426702246069908, -0.036876071244478226, -0.0238654762506485, -0.01853342168033123, -0.019058041274547577, 0.04719679430127144, 0.0238654762506485, 0.008389162831008434, 0.0323929488658905, -0.018399881199002266, -0.0209848303347826, 0.0005228322697803378, -0.031744327396154404, 0.0052318996749818325, 0.05570518597960472, 0.0496005080640316, 0.020298054441809654, 0.009986871853470802, 0.058185212314128876, -0.0077119255438447, -0.0941646620631218, 0.048265110701322556, -0.022530077025294304, 0.004907588940113783, 0.02109929360449314, -0.044449687004089355, -0.016587555408477783, -0.01220935583114624, 0.0033146494533866644, 0.081344835460186, -0.07997128367424011, 0.05127929523587227, 0.032144945114851, -0.029035374522209167, 0.02180514670908451, 0.009095016866922379, -0.060741547495126724, 0.0011499925749376416, 0.03634191304445267, 0.023197777569293976, 0.01706448383629322, -0.07875034958124161, -0.0072111510671675205, 0.01875280775129795, 0.02277808077633381, -0.060092926025390625, -0.018457112833857536, -0.025868574157357216, -0.025467954576015472, -0.019306045025587082, 0.06413727253675461, 0.04105396196246147, -0.014508148655295372, 0.03334680572152138, -0.0018254418391734362, -0.010005949065089226, -0.009471789933741093, 0.007282690145075321, 0.006696068681776524, 0.017617719247937202, -0.022415615618228912, -0.02327408455312252, -0.011541657149791718, 0.011245961301028728, 0.040138259530067444, -0.007678540423512459, -0.05078329145908356, 0.026288270950317383, 0.01561462227255106, 0.06871578097343445, 0.09584344923496246, -0.001719325315207243, 0.00932394154369831, 0.045479852706193924, 0.04258013144135475, 0.015442928299307823, 0.06982225924730301, 0.09050185233354568, -0.02920706942677498, -0.06638837605714798, -0.029397839680314064, -0.06272556632757187, 0.004232735838741064, 0.03454866260290146, 0.052614692598581314, -0.021328218281269073, 0.045212771743535995, 0.00951471272855997, -0.00753546180203557, -0.0011780121130868793, 0.0508977547287941, 0.003705730428919196, -0.04113026708364487, -0.04754018038511276, -0.07394291460514069, -0.047769106924533844, -0.024952871724963188, -0.015214002691209316, -0.00038154236972332, 0.03477758914232254, -0.018190033733844757, 0.012924748472869396, 0.028520293533802032, 0.017350640147924423, 0.003913193941116333, 0.009085478261113167, 0.0276808999478817, 0.05238576978445053, 0.028195982798933983, 0.03857393562793732, -0.029302455484867096, -0.0401001051068306, 0.036704376339912415, 0.017045406624674797, 0.04059610888361931, 0.05650642514228821, -0.04296167194843292, -0.031133858487010002, -0.009381173178553581, -0.011017036624252796, 0.042694590985774994, -0.03994748741388321, 0.039871178567409515, 0.0006593529251404107, -0.033175110816955566, 0.016320474445819855, -0.008718243800103664, 0.00826039258390665, 0.022167611867189407, -0.059596918523311615, 0.0003585902159102261, -0.004204120021313429, 0.007998081855475903, 0.01322044339030981, -0.02136637270450592, -0.02245376817882061, -0.011484425514936447, -0.06348865479230881, 0.07974235713481903, -0.07936081290245056, 0.00704422639682889, -0.0375056155025959, -0.032774489372968674, -0.005580057390034199, 0.013630601577460766, 0.024838408455252647, -0.0661594495177269, -0.010444723069667816, -0.049905743449926376, -0.019306045025587082, 0.02153806760907173, -0.010053642094135284, 0.02245376817882061, -0.018943579867482185, -0.049562353640794754, -0.006343142129480839, 0.017417410388588905, -0.038936398923397064, -0.010263490490615368, -0.049142658710479736, -0.06043631210923195, -0.05810890346765518, -0.017646335065364838, -0.0400237962603569, 0.002284484915435314, 0.01935373805463314, -0.010749956592917442, 0.06837239116430283, 0.03143909201025963, -0.03418619558215141, -0.024018092080950737, -0.035292670130729675, -0.0209848303347826, -0.010368414223194122, -0.044449687004089355, 0.029302455484867096, 0.0432669073343277, -0.014136144891381264, 0.10248228162527084, 0.015099539421498775, 0.02638365514576435, 0.002429947955533862, -0.03983302414417267, -0.018123263493180275, -0.012915209867060184, 0.008355777710676193, -0.0125622833147645, -0.0840156301856041, -0.07222597301006317, 0.01667340286076069, 0.015080462209880352, 0.03073323890566826, -0.020851291716098785, 0.008627627044916153, 0.002952184062451124, 0.017140790820121765, 0.023731935769319534, 0.03281264379620552, 0.022816235199570656, -0.0135161392390728, -0.0508977547287941, -0.01332536805421114, 0.05963507294654846, -0.02779536321759224, 0.02682242915034294, -0.004802664741873741, 0.03258372098207474, 0.08195530623197556, 0.034090813249349594, 0.06394650042057037, 0.028615677729249, 0.05070698261260986, 0.02180514670908451, 0.03737207502126694, -0.03216402232646942, -0.008899476379156113, 0.001471322844736278, -0.019687587395310402, -0.03264094889163971, -0.045594315975904465, -0.019592201337218285, -0.036876071244478226, -0.051966071128845215, -0.05684981495141983, -0.062000636011362076, 0.019935589283704758, -0.04517461732029915, -0.06661730259656906, -0.03395727276802063, 0.04296167194843292, 0.02207222580909729, 0.01727433130145073, 0.001303205732256174, -0.010292105376720428, -0.025162719190120697, -0.0028329521883279085, 0.02626919373869896, -0.01782756857573986, -0.0026040268130600452, 0.032125867903232574, 0.07012748718261719, -0.029092606157064438, 0.01935373805463314, -0.0270322784781456, 0.02148083597421646, 0.056430116295814514, 0.008980553597211838, 0.008446394465863705, 0.026688888669013977, 0.0257731880992651, -0.0075593083165585995, 0.002007866743952036, 0.0011064729187637568, 0.07455337792634964, -0.015595545060932636, -0.005117437336593866, 0.029359685257077217, 0.0366089902818203, 0.05849044770002365, 0.04563247039914131, -0.039642252027988434, 0.049791280180215836, 0.04620478302240372, 0.021461758762598038, 0.019172504544258118, 0.019468199461698532, 0.00753546180203557, 0.005656365770846605, -0.0063192956149578094, -0.022987928241491318, 0.01207581628113985, -0.006715145893394947, 0.005694520194083452, 0.021061139181256294, -0.0032550333999097347, -0.04341952130198479, 0.04189335182309151, 0.006672222167253494, -0.0464337095618248, -0.0005192553508095443, 0.012857978232204914, -0.040252722799777985, 0.019534969702363014, 0.0006182178622111678, 0.08103960007429123, -0.04315244406461716, 0.0241516325622797, 0.037143152207136154, 0.02087036892771721, -0.008570395410060883, 0.012495513074100018, -0.011188730597496033, 0.004015733487904072, 0.009571944363415241, 0.0457850843667984, -0.021385449916124344, 0.10004041343927383, -0.006271603051573038, 0.09195171296596527, -0.02976030483841896, 0.03428158164024353, 0.0401001051068306, 0.02653627283871174, -0.012877055443823338, 0.03855485841631889, -0.042045969516038895, -0.003562652040272951, -0.07039456814527512, -0.013420753180980682, -0.04113026708364487, -0.04536538943648338, -0.046853404492139816, -0.013573369942605495, 0.039642252027988434, 0.011465348303318024, 0.03145816922187805, -0.0011970892082899809, 0.01417429931461811, 0.002463333075866103, -0.004032426048070192, 0.003703345777466893, -0.056163039058446884, 0.05063067376613617, 0.03058062121272087, 0.03437696769833565, -0.008131622336804867, -0.0032693413086235523, 0.010606878437101841, -0.010511492379009724, -0.055132873356342316, -0.05940615013241768, 0.000445033423602581, -0.02539164572954178, 0.007692848332226276, 0.03906993940472603, 0.04154996573925018, 0.060741547495126724, 0.060207389295101166, 0.03254556655883789, -0.026459963992238045, 0.011188730597496033, 0.03019907884299755, 0.11217346042394638, 0.017350640147924423, 0.02806244231760502, 0.008026697672903538, 0.049409739673137665, 0.000881124462466687, 0.03302249312400818, 0.001992366509512067, -0.021652530878782272, -0.016368167474865913, -0.02779536321759224, -0.08073436468839645, -0.021595299243927002, -0.06257294863462448, 0.012705361470580101, 0.021881455555558205, -0.04670078679919243, 0.0017586719477549195, -0.04410630092024803, -0.05230946093797684, 0.0007350652595050633, -0.011093344539403915, 0.006171448156237602, -0.0008054121281020343, -0.014059836976230145, -0.06127570569515228, -0.041931506246328354, -0.0040610418654978275, 0.0008626434719190001, 0.010139488615095615, 0.018390342593193054, -0.021976841613650322, 0.0476546436548233, -0.005160360597074032, 0.025715956464409828, 0.046738941222429276, 0.06406096369028091, 0.03691422566771507, -0.0928674191236496, -0.018466651439666748, -0.07936081290245056, -0.12293295562267303, -0.05688796937465668, -0.004478353541344404, 0.0073065366595983505, -0.07100503891706467, 0.003286033868789673, 0.004049118608236313, 0.010158565826714039, 0.02468579262495041, -0.025219950824975967, 0.028901835903525352, 0.015214002691209316, 0.0030738008208572865, -0.03519728407263756, -0.0004319178988225758, -0.006800992880016565, 0.004072965122759342, -0.01585308648645878, 0.00629544910043478, 0.04754018038511276, -0.06635022163391113, 0.05662088841199875, 0.04452599585056305, 0.02535349130630493, -0.013067826628684998, -0.0375056155025959, 0.032621871680021286, -0.05269100144505501, 0.01596754789352417, -0.008618088439106941, 0.02506733499467373, 0.014431840740144253, -0.021213756874203682, -0.01712171360850334, -0.00047692796215415, -0.009967794641852379, 0.01695955917239189, 0.02840583026409149, -0.006457604933530092, 0.11255500465631485, 0.004878973122686148, 0.019077118486166, -0.005632519256323576, 0.009719791822135448, 0.01106472872197628, 0.022377461194992065, 0.02109929360449314, -0.04475492238998413, 0.019706664606928825, -0.04441153258085251, -0.02382732182741165, 0.01782756857573986, -0.06635022163391113, 0.00637652724981308, 0.004266120959073305, -0.043801065534353256, -0.00011133287625852972, -0.07741495221853256, 0.004530815873295069, 0.01781802996993065, 0.027947979047894478, -0.021595299243927002, -0.008303316310048103, 0.03058062121272087, -0.002751874504610896, -0.01935373805463314, -0.013210904784500599, 0.005766059271991253, 0.029779382050037384, 0.014508148655295372, -0.009686407633125782, -0.0068916091695427895, -0.008389162831008434, 0.013878604397177696, -0.0056134420447051525, -0.024819331243634224, 0.06562528759241104, -0.02550610899925232, 0.020889446139335632, -0.020832214504480362, 0.009037785232067108, -0.0116084273904562, 0.027184894308447838, 0.002799567300826311, -0.034148044884204865, -0.050821445882320404, -0.010377952829003334, 0.012218894436955452, -0.08218422532081604, -0.024514097720384598, -0.029149837791919708, 0.07172996550798416, 0.0668080672621727, -0.0066769914701581, -0.008241315372288227, 0.024380557239055634, -0.026784274727106094, -0.002005482092499733, -0.019143888726830482, -0.008785013109445572, 0.06684622168540955, -0.004380583297461271, 0.007010841276496649, 0.02659350447356701, -0.016425399109721184, 0.011017036624252796, -0.001387860393151641, 0.02077498286962509, 0.009853332303464413, -0.053606703877449036, -0.046853404492139816, 0.04338136687874794, -0.018285417929291725, 0.003581729019060731, -0.02600211277604103, -0.023617472499608994, 0.021137448027729988, -0.025124566629529, -0.008522703312337399, 0.03477758914232254, -0.001172050484456122, -0.021652530878782272, 0.0007261228165589273, -0.0002939068654086441, -0.000917490164283663, -0.006080831866711378, -0.0718444287776947, 0.00047037022886797786, -0.05040174722671509, 0.006738992407917976, -0.013954912312328815, 0.016864173114299774, 0.007397152949124575, -0.049028195440769196, 0.025258105248212814, 0.020641442388296127, -0.04376291111111641, -0.01193273812532425, 0.006014061626046896, -0.011474886909127235, 0.038287777453660965, 0.08355778455734253, -0.024514097720384598, 0.0219577644020319, 0.0629163384437561, -0.04315244406461716, 0.003321803407743573, -0.026727043092250824, -0.017255254089832306, 0.040519800037145615, 0.01498507708311081, 0.005952061153948307, 0.013611524365842342, 0.10629770904779434, 0.018571576103568077, 0.03609390929341316, -0.01712171360850334, 0.008823167532682419, 0.029989231377840042, 0.04551800712943077, -0.036380067467689514, 0.00940501969307661, -0.05192791670560837, -0.06657914817333221, -0.05188976228237152, -0.011408117599785328, 0.003712884383276105, -0.01612970419228077, 0.030714161694049835, 0.01651124656200409, 0.012991517782211304, 0.013382598757743835, -0.01379275694489479, -0.015004154294729233, -0.07749126106500626, -0.02174791507422924, -0.0378299281001091, -0.060856010764837265, -0.006500528194010258, 0.062382180243730545, -0.018619267269968987, 0.006047446746379137, -0.010568724013864994, 0.04719679430127144, 0.051966071128845215, -0.038612090051174164, 0.019143888726830482, -0.005770828574895859, -0.0027781054377555847, -0.02201499603688717, 0.011570272967219353, 0.015786316245794296, -0.0598258450627327, -0.03273633494973183, 0.04921896755695343, 0.05280546471476555, -0.028253212571144104, 0.012857978232204914, 0.0016382476314902306, -0.060970474034547806, -0.04334321618080139, -0.015185386873781681, -0.0037391153164207935, -0.004161196760833263, -0.012161663733422756, 0.015252157114446163, 0.03542621061205864, -0.001827826490625739, 0.012676745653152466, 0.06829608976840973, 0.02544887736439705, -0.02644088678061962, -0.0610467791557312, -0.04757833480834961, 0.009219017811119556, -0.06837239116430283, 0.06890655308961868, 0.08607596158981323, -0.02600211277604103, -0.03706684336066246, 0.04322875291109085, -0.0323929488658905, -0.009719791822135448, -0.0802002102136612, -0.02239653840661049, 0.017417410388588905, -0.09675914794206619, -0.028691986575722694, -0.034090813249349594, 0.05188976228237152, 0.0008459509699605405, 0.04475492238998413, -0.01182781346142292, -0.07592693716287613, -0.02644088678061962, 0.03519728407263756, 0.0007112188613973558, -0.062153253704309464, 0.06627391278743744, 0.03138186037540436, -0.01695002056658268, -0.0289399903267622, 0.0006247756537050009, 0.05898645147681236, 0.0010796457063406706, 0.011131498962640762, -0.013687833212316036, 0.06818162649869919, -0.025258105248212814, -0.03952779248356819, 0.07020379602909088, -0.008293777704238892, -0.04082503542304039, 0.021461758762598038, -0.007669001817703247, 0.017589103430509567, -0.012218894436955452, -0.028310444205999374, -0.028901835903525352, 0.031420014798641205, -0.042274896055459976, -0.050554364919662476, 0.0073685371316969395, -0.008083929307758808, -0.04731125384569168, 0.043037980794906616, -0.03307972475886345, -0.012724438682198524, 0.04029087722301483, -0.005184207111597061, -0.01174196694046259, 0.043953683227300644, 0.002111598616465926, 0.05978769063949585, 0.048265110701322556, -0.02773813158273697, 0.008889937773346901, -0.028386753052473068, -0.00940501969307661, -0.00885655265301466, 0.027108585461974144, -0.026479041203856468, 0.000760700146201998, 0.04620478302240372, 0.006047446746379137, -0.024075323715806007, 0.009161786176264286, 0.005255746189504862, 0.016053395345807076, -0.02981753647327423, -0.040672417730093, 0.02447594329714775, 0.043953683227300644, 0.021461758762598038, -0.03460589423775673, -0.008365316316485405, 0.07913188636302948, 0.02436148189008236, 0.029416916891932487, 0.010397030040621758, -0.04238935932517052, -0.06093231961131096, 0.026898737996816635, -0.039375174790620804, 0.02773813158273697, -0.01700725220143795, -0.004576123785227537, 0.006586375180631876, -0.025983035564422607, -0.03363296017050743, 0.007888388819992542, 0.008479779586195946, -0.08546549081802368, -0.06066523864865303, 0.04723494499921799, 0.03979486972093582, 0.02371285855770111, 0.014908768236637115, -0.06333603709936142, -0.02010728418827057, 0.011522579938173294, -0.019534969702363014, -0.008522703312337399, -0.039756715297698975, 0.04143550246953964, 0.03351849690079689, -0.07920819520950317, 0.05074513703584671, 0.004604739602655172, 0.007921773940324783, 0.04082503542304039, -0.023121468722820282, -0.021595299243927002, 0.006786684971302748, 0.0006492182146757841, 0.037963468581438065, -0.027051355689764023, -0.026097498834133148, -0.011131498962640762, 0.059444304555654526, 0.01881003938615322, 0.036933302879333496, -0.0755835473537445, -0.016310935840010643, 0.022167611867189407, -0.012419204227626324, -0.007487769238650799, 0.01820911094546318, 0.01322044339030981, 0.05421717092394829, 0.015843547880649567, 0.0298747681081295, -0.0015094770351424813, 0.05887198820710182, 0.0340145044028759, 0.0006024196627549827, -0.007788233924657106, -0.03494928032159805, -0.029397839680314064, -0.04277089983224869, -0.007740540895611048, 0.025277182459831238, 0.08485502749681473, -0.006519605405628681, 0.007893158122897148, -0.044068146497011185, -0.010769033804535866 ]
10,869
burnman.classes.mineral
debug_print
null
def debug_print(self, indent=""): print("%s%s" % (indent, self.to_string()))
(self, indent='')
[ 0.0054157511331140995, 0.022694576531648636, 0.025451071560382843, 0.0032173197250813246, 0.027209816500544548, -0.05959440395236015, -0.0010780768934637308, -0.028613431379199028, 0.01618383824825287, -0.029323693364858627, -0.04062024876475334, -0.00910657923668623, 0.0054580289870500565, 0.021612271666526794, -0.017097031697630882, -0.014306715689599514, 0.018872687593102455, -0.024250390008091927, -0.007085713557898998, 0.04518622159957886, 0.07515253126621246, 0.07887295633554459, 0.011516398750245571, 0.007762154098600149, -0.027463482692837715, 0.06490445882081985, -0.02572164684534073, -0.0453215092420578, -0.003925468306988478, 0.002164609497413039, -0.006371223367750645, -0.04782433807849884, 0.0012302760733291507, 0.012784724123775959, -0.02626279927790165, 0.028782540932297707, -0.024706987664103508, -0.042006950825452805, -0.056212201714515686, -0.017841117456555367, 0.013604908250272274, 0.019633684307336807, -0.0018390724435448647, -0.05100360885262489, -0.022762220352888107, -0.005720149260014296, 0.10890690982341766, 0.029188405722379684, -0.00821029581129551, -0.016750356182456017, 0.07711420953273773, 0.012987656518816948, 0.0007277019321918488, -0.026905419304966927, -0.01663197949528694, 0.005504534114152193, 0.04133051261305809, -0.04335983097553253, 0.019413840025663376, -0.03268898278474808, -0.035208724439144135, 0.013714829459786415, 0.021290963515639305, 0.009013568982481956, -0.050428636372089386, -0.02719290554523468, -0.029272960498929024, 0.010873779654502869, -0.0012059664586558938, 0.01222666073590517, 0.018889598548412323, -0.02585693635046482, -0.050360988825559616, 0.029323693364858627, -0.01789185032248497, 0.0013232865603640676, -0.04860224574804306, -0.042548105120658875, 0.031691234558820724, -0.07461138069629669, -0.03448155149817467, -0.031369924545288086, -0.016936376690864563, 0.028393587097525597, -0.010806135833263397, -0.04620088264346123, 0.002602181863039732, -0.012979201041162014, 0.0029171493370085955, 0.031150082126259804, -0.015160721726715565, 0.03571605682373047, -0.02712526172399521, 0.03507343679666519, -0.05242413282394409, 0.011837707832455635, 0.03791448473930359, -0.04971837252378464, -0.02626279927790165, 0.030287621542811394, 0.01743525266647339, -0.001605489058420062, -0.028004633262753487, -0.022221067920327187, -0.07792593538761139, -0.0472155436873436, -0.041601087898015976, 0.019549129530787468, 0.006417728494852781, 0.05834298953413963, -0.013782474212348461, -0.019126353785395622, 0.0065530166029930115, -0.02665175311267376, 0.05228884518146515, -0.026854684576392174, 0.00555103924125433, 0.0253157839179039, 0.018551379442214966, -0.035276368260383606, 0.01819624751806259, -0.04133051261305809, 0.01992117054760456, -0.03791448473930359, -0.008641527034342289, 0.005813159979879856, -0.028393587097525597, 0.032164741307497025, 0.028393587097525597, -0.03514108061790466, 0.05874885246157646, -0.044273026287555695, -0.03534401208162308, -0.0022956696338951588, 0.09091359376907349, 0.009081212803721428, 0.004654755815863609, -0.007664915639907122, 0.021274052560329437, 0.07021451741456985, -0.0036020453553646803, -0.0786023810505867, -0.03142065927386284, 0.012294304557144642, -0.044577423483133316, 0.00502257002517581, -0.00890364684164524, 0.05039481446146965, 0.011076712049543858, 0.010696214623749256, -0.009901396930217743, 0.01688564382493496, -0.008675348944962025, -0.010095873847603798, -0.0056017725728452206, 0.03140374645590782, -0.008802181109786034, -0.02218724600970745, 0.04210841655731201, -0.034261707216501236, -0.03416024148464203, -0.05019187927246094, 0.005094442050904036, -0.01883886568248272, 0.012624070048332214, 0.025028295814990997, -0.022390179336071014, 0.00831598974764347, 0.012082917615771294, 0.028427409008145332, -0.0013803612673655152, -0.03126845881342888, 0.005622911266982555, 0.03071039542555809, 0.02523122914135456, 0.054419633001089096, -0.008104601874947548, 0.026989974081516266, -0.04846695810556412, -0.04549061879515648, 0.008954380638897419, -0.039571765810251236, 0.010467915795743465, 0.04633617028594017, 0.0429539680480957, -0.05445345491170883, 0.027564948424696922, -0.007605727296322584, 0.03561458736658096, 0.0057666548527777195, 0.018703578040003777, 0.030456731095910072, -0.013182133436203003, -0.026161333546042442, 0.005166314076632261, -0.010890690609812737, 0.021679915487766266, -0.05979733541607857, 0.08326981961727142, -0.005673644132912159, -0.0020589155610650778, 0.036460138857364655, -0.056922461837530136, -0.011584042571485043, 0.05587397888302803, 0.01907562091946602, -0.014721035026013851, -0.030270708724856377, 0.02289750799536705, -0.06257074326276779, 0.009360244497656822, -0.0010664506116881967, 0.05617837980389595, -0.06730582565069199, 0.010095873847603798, -0.01238731574267149, -0.025687824934720993, -0.0026973062194883823, -0.03490432724356651, 0.025028295814990997, 0.07136446982622147, -0.028393587097525597, -0.014484280720353127, -0.02272839844226837, -0.046606745570898056, -0.0006727411528117955, 0.057869479060173035, -0.03899678960442543, -0.015363653190433979, -0.016513602808117867, 0.02656719833612442, -0.059662047773599625, -0.06558089703321457, 0.038726214319467545, 0.02562018111348152, 0.014830956235527992, -0.06974101066589355, -0.03086259588599205, -0.026313532143831253, -0.07664070278406143, -0.015126898884773254, 0.04701261222362518, 0.04072171449661255, 0.01985352672636509, 0.02186593785881996, -0.047147899866104126, -0.02233944460749626, 0.02509593963623047, 0.016057005152106285, 0.03703511506319046, -0.02110494114458561, -0.029509713873267174, -0.01642059162259102, 0.0400114506483078, -0.022559288889169693, -0.0011710874969139695, 0.003711966797709465, 0.03240149840712547, -0.008624615147709846, 0.052322667092084885, -0.03558076545596123, -0.004992975853383541, -0.03343306854367256, 0.023235728964209557, 0.0814434289932251, 0.041229043155908585, -0.054047591984272, -0.04596412926912308, 0.026837773621082306, -0.025434160605072975, 0.06642644852399826, 0.012632525525987148, -0.012776268646121025, 0.05695628374814987, -0.03703511506319046, 0.01735069788992405, -0.0014807704137638211, 0.0044349124655127525, -0.08103756606578827, -0.05144329369068146, 0.036291029304265976, -0.03595281019806862, -0.014044594950973988, -0.009089668281376362, -0.011262733489274979, -0.03784684091806412, 0.004333446733653545, 0.01892342045903206, 0.01074694748967886, 0.007922808639705181, 0.04068789258599281, 0.055840156972408295, 0.050902143120765686, 0.02766641415655613, 0.064667709171772, 0.008548515848815441, 0.01363873016089201, 0.043427474796772, -0.04680967703461647, -0.0030735761392861605, -0.012793179601430893, -0.052153557538986206, 0.029831023886799812, 0.03180961310863495, 0.011178177781403065, 0.04315689951181412, -0.020665256306529045, 0.0443744920194149, -0.006734810303896666, -0.03054128587245941, -0.015473575331270695, 0.03547929972410202, 0.04657292366027832, 0.04018056020140648, -0.010730036534368992, 0.01292846817523241, -0.034566108137369156, -0.02196740359067917, 0.01399386115372181, 0.061759013682603836, -0.023151174187660217, 0.034735217690467834, -0.03696747124195099, 0.042074594646692276, 0.005174769554287195, -0.039808519184589386, -0.015135354362428188, 0.06104874983429909, 0.0050986697897315025, 0.03642631694674492, -0.02233944460749626, -0.02108803018927574, -0.009529354982078075, 0.005521445069462061, 0.03595281019806862, 0.018568290397524834, -0.03561458736658096, -0.024098191410303116, -0.024047456681728363, -0.002562018111348152, 0.04938015341758728, 0.018179336562752724, -0.00008970763155957684, -0.01655587926506996, 0.03507343679666519, 0.017705827951431274, -0.02726054936647415, 0.05073303356766701, 0.03135301545262337, 0.01711394265294075, 0.011431843042373657, -0.018416091799736023, 0.0118038859218359, -0.012547969818115234, -0.015160721726715565, -0.04667438939213753, 0.023692326620221138, 0.005813159979879856, -0.02313426323235035, 0.026770129799842834, -0.005124036222696304, 0.02218724600970745, -0.0007572962203994393, 0.0250790286809206, 0.039571765810251236, -0.02813992276787758, -0.016530513763427734, -0.04914339631795883, 0.051680050790309906, 0.032790448516607285, -0.015025433152914047, -0.010374905541539192, 0.015727240592241287, -0.017773471772670746, -0.09186061471700668, 0.04603177309036255, 0.0077283321879804134, 0.018737399950623512, 0.006460006348788738, -0.03666307032108307, 0.03632485121488571, -0.008252573199570179, 0.05776801332831383, 0.0121843833476305, -0.021003475412726402, -0.04018056020140648, -0.0015790656907483935, 0.038015954196453094, 0.018872687593102455, -0.009385610930621624, -0.05922235921025276, -0.003976201638579369, 0.005487623158842325, 0.04647145792841911, -0.05100360885262489, -0.055671047419309616, -0.011812341399490833, -0.023151174187660217, -0.07806122303009033, -0.019092531874775887, 0.002043061424046755, -0.02812301181256771, -0.01773964986205101, -0.022068869322538376, 0.011837707832455635, -0.014272892847657204, 0.019802793860435486, 0.010713125579059124, -0.007318240124732256, 0.09598689526319504, 0.010197339579463005, -0.0020599726121872663, -0.018094781786203384, 0.018500646576285362, 0.08198457956314087, -0.05154476314783096, -0.001593862776644528, 0.07210855185985565, -0.008624615147709846, -0.0008122569997794926, -0.006071052979677916, -0.029509713873267174, -0.02852887474000454, 0.02827521041035652, -0.0031729284673929214, -0.04210841655731201, -0.03595281019806862, 0.0655132532119751, 0.09368699789047241, -0.016606612130999565, -0.036832183599472046, -0.00249014631845057, 0.006937742233276367, 0.03243532031774521, 0.06355158239603043, -0.0026000679936259985, 0.022525466978549957, -0.009774564765393734, 0.044036272913217545, 0.0655132532119751, 0.03290882706642151, -0.057091571390628815, -0.01968441717326641, -0.020056458190083504, 0.008573882281780243, 0.02742965891957283, -0.013520353473722935, 0.0012397884856909513, 0.0021508692298084497, 0.05360790342092514, 0.015372108668088913, 0.0026317760348320007, -0.024334944784641266, -0.035445477813482285, -0.016361402347683907, -0.07055273652076721, 0.005500306375324726, 0.012953834608197212, -0.0365954264998436, 0.001071206876076758, -0.028461230918765068, 0.03781301900744438, -0.017722738906741142, 0.028325943276286125, -0.01562577486038208, 0.029797201976180077, -0.013976950198411942, 0.061759013682603836, -0.0727173462510109, -0.04975219443440437, 0.064667709171772, 0.03727186843752861, -0.04765522852540016, -0.016386769711971283, 0.013427342288196087, 0.04850078001618385, -0.014188338071107864, -0.02352321706712246, -0.05306675285100937, 0.0250790286809206, -0.07095859944820404, -0.068455770611763, -0.013097577728331089, 0.0030524374451488256, -0.015887895599007607, 0.02359086088836193, 0.0365954264998436, 0.028934739530086517, 0.00652765017002821, -0.006193657871335745, 0.028850184753537178, 0.031217725947499275, -0.05634748935699463, -0.07772300392389297, -0.002526082331314683, -0.013452709652483463, -0.07055273652076721, 0.0001901167561300099, -0.047621406614780426, -0.008624615147709846, -0.023658504709601402, 0.007136446423828602, 0.037068936973810196, -0.011693963780999184, 0.0029044661205261946, -0.006058369763195515, 0.03727186843752861, 0.08387861400842667, 0.010341083630919456, 0.016919465735554695, 0.035513121634721756, 0.003187725553289056, -0.020022636279463768, -0.007500033359974623, 0.015296009369194508, -0.015126898884773254, -0.023303372785449028, 0.00595690356567502, 0.037542443722486496, -0.03290882706642151, 0.02007336914539337, -0.02585693635046482, -0.03639249503612518, -0.024943741038441658, -0.010983701795339584, 0.017469074577093124, 0.03531019017100334, 0.08090227842330933, -0.03071039542555809, 0.045896485447883606, 0.02788625657558441, 0.04062024876475334, 0.0284443199634552, -0.04102611169219017, -0.00796508602797985, 0.15314611792564392, -0.04954926297068596, -0.03947030007839203, -0.015042344108223915, 0.007242140360176563, 0.06449859589338303, -0.011930718086659908, -0.009351789020001888, -0.059898801147937775, -0.03366982191801071, -0.0021318444050848484, -0.002642345381900668, -0.005288918502628803, 0.0009575859876349568, 0.031927987933158875, -0.005504534114152193, -0.05181533843278885, -0.0010601090034469962, 0.03737333416938782, 0.012624070048332214, 0.019954992458224297, 0.0016604498960077763, 0.023929079994559288, 0.07251441478729248, 0.02835976518690586, 0.014306715689599514, 0.030693484470248222, 0.023929079994559288, 0.002198431408032775, 0.006045686546713114, -0.03366982191801071, -0.025214318186044693, -0.008151107467710972, -0.0030693484004586935, 0.04569355025887489, 0.007106852252036333, -0.030659662559628487, -0.04440831393003464, 0.04883899912238121, -0.06967336684465408, 0.028309032320976257, 0.0018422432476654649, 0.09023715555667877, 0.003282849909737706, -0.0006822536233812571, -0.027767879888415337, -0.006819365080446005, 0.02976338006556034, -0.029340604320168495, -0.06395744532346725, -0.023100441321730614, -0.005682099610567093, -0.06273984909057617, 0.04041731730103493, -0.08272866904735565, -0.023404838517308235, -0.06554707884788513, -0.038726214319467545, -0.019109442830085754, 0.04545679688453674, -0.011389565654098988, 0.006882781628519297, 0.0195322185754776, 0.034971971064805984, 0.002206886885687709, -0.028325943276286125, 0.025907669216394424, -0.004075553733855486, 0.0472155436873436, 0.03940265625715256, 0.021595360711216927, 0.027243638411164284, 0.002342174993827939, -0.017925672233104706, 0.02108803018927574, -0.051916804164648056, 0.011533309705555439, -0.008945925161242485, -0.014061505906283855, -0.058173876255750656, -0.04359658807516098, 0.037779197096824646, 0.020597610622644424, -0.0086288433521986, 0.019363107159733772, -0.009317967109382153, 0.05773419141769409, -0.07339378446340561, 0.009529354982078075, 0.0003878963179886341, 0.04927868768572807, -0.024639343842864037, -0.013207499869167805, 0.05533282831311226, -0.043867163360118866, 0.014602658338844776, 0.06000026687979698, -0.018788132816553116, -0.03886150196194649, -0.07231148332357407, -0.08272866904735565, -0.0043017384596168995, 0.0011510057374835014, -0.08699023723602295, 0.0011700305622071028, 0.02609368972480297, -0.006104874890297651, -0.0651412159204483, 0.03030453249812126, -0.020732900127768517, -0.02890091761946678, -0.043630409985780716, -0.059898801147937775, 0.028850184753537178, -0.02259311079978943, -0.05587397888302803, -0.01585407368838787, -0.015202999114990234, 0.059492938220500946, 0.0020483462139964104, 0.011313466355204582, 0.027226727455854416, 0.03514108061790466, 0.014239070937037468, 0.018094781786203384, -0.008497782982885838, -0.03187725692987442, -0.03275662660598755, -0.04691114276647568, 0.04782433807849884, 0.006569927558302879, -0.020276302471756935, -0.02546798251569271, 0.017925672233104706, -0.08157871663570404, 0.00002810795012919698, 0.04376569762825966, -0.016285303980112076, -0.027564948424696922, -0.03189416602253914, -0.03510725870728493, 0.04068789258599281, 0.0033504939638078213, 0.04971837252378464, -0.08502856642007828, 0.01968441717326641, -0.012776268646121025, 0.012683258391916752, -0.09294291585683823, 0.013401975855231285, 0.04992130398750305, -0.02874871902167797, 0.004206614103168249, -0.02375997044146061, -0.026837773621082306, -0.0743408054113388, -0.07772300392389297, 0.0192954633384943, 0.01390930637717247, -0.008996658027172089, 0.03221547603607178, 0.037542443722486496, -0.05627984553575516, 0.029797201976180077, -0.05986497923731804, 0.024182746186852455, 0.03794831037521362, 0.05360790342092514, 0.029408248141407967, 0.030338354408740997, 0.004718171898275614, 0.06470152735710144, -0.019887348636984825, -0.0054580289870500565, 0.02509593963623047, 0.06544560939073563, 0.07122917473316193, 0.009799931198358536, -0.024520965293049812, -0.006882781628519297, 0.0018876915564760566, -0.030067777261137962, -0.016226114705204964, 0.00644309539347887, 0.05570486932992935, -0.07407023012638092, -0.005221274681389332, -0.026584109291434288, -0.04335983097553253, 0.018263891339302063, 0.09876030683517456, -0.052627064287662506, -0.010527104139328003, 0.008759903721511364, 0.014594202861189842, -0.01679263450205326, 0.018889598548412323, -0.021663004532456398, 0.023929079994559288, -0.03936883434653282, 0.0062401629984378815, -0.026550287380814552, 0.009402521885931492, 0.07806122303009033, 0.0175874512642622, -0.007622638251632452, 0.033247046172618866, 0.07055273652076721, 0.0062359352596104145, 0.007174496538937092, 0.04315689951181412, 0.013706373982131481, 0.0694027915596962, -0.03240149840712547, 0.05472403019666672, 0.06913221627473831, 0.02633044496178627, -0.027953900396823883, 0.015515852719545364, 0.04697878658771515, 0.016268393024802208, -0.014585747383534908, -0.011398021131753922, 0.02069907821714878, -0.04538915306329727, -0.07231148332357407, -0.05117271840572357, 0.03886150196194649, 0.049413975328207016, 0.007195635233074427, 0.08029347658157349, -0.02298206463456154, 0.014670302160084248 ]
10,877
burnman.classes.mineral
set_method
Set the equation of state to be used for this mineral. Takes a string corresponding to any of the predefined equations of state: 'bm2', 'bm3', 'mgd2', 'mgd3', 'slb2', 'slb3', 'mt', 'hp_tmt', or 'cork'. Alternatively, you can pass a user defined class which derives from the equation_of_state base class. After calling set_method(), any existing derived properties (e.g., elastic parameters or thermodynamic potentials) will be out of date, so set_state() will need to be called again.
def set_method(self, equation_of_state): """ Set the equation of state to be used for this mineral. Takes a string corresponding to any of the predefined equations of state: 'bm2', 'bm3', 'mgd2', 'mgd3', 'slb2', 'slb3', 'mt', 'hp_tmt', or 'cork'. Alternatively, you can pass a user defined class which derives from the equation_of_state base class. After calling set_method(), any existing derived properties (e.g., elastic parameters or thermodynamic potentials) will be out of date, so set_state() will need to be called again. """ if equation_of_state is None: self.method = None return new_method = eos.create(equation_of_state) if self.method is not None and "equation_of_state" in self.params: self.method = eos.create(self.params["equation_of_state"]) if type(new_method).__name__ == "instance": raise Exception( "Please derive your method from object (see python old style classes)" ) if ( self.method is not None and isinstance(new_method, type(self.method)) is False ): # Warn user that they are changing the EoS warnings.warn( "Warning, you are changing the method to " f"{new_method.__class__.__name__} even though the " "material is designed to be used with the method " f"{self.method.__class__.__name__}. " "This does not overwrite any mineral attributes", stacklevel=2, ) self.reset() self.method = new_method # Validate the params object on the requested EOS. try: self.method.validate_parameters(self.params) except Exception as e: print( f"Mineral {self.to_string()} failed to validate parameters " f'with message: "{e.message}"' ) raise # Invalidate the cache upon resetting the method self.reset()
(self, equation_of_state)
[ 0.06078705936670303, -0.048666488379240036, 0.061413347721099854, 0.0038889902643859386, -0.05187162384390831, -0.08112309128046036, -0.06590791046619415, -0.026654204353690147, -0.0115034906193614, -0.012820543721318245, -0.0061662024818360806, 0.028219930827617645, 0.016255933791399002, 0.08053364604711533, -0.07824952155351639, -0.0006688879220746458, 0.030025122687220573, -0.0020412018056958914, -0.011521910317242146, -0.04339827597141266, 0.0034146669786423445, 0.03175663203001022, 0.030117224901914597, 0.07574436068534851, 0.02564108744263649, 0.04892437160015106, 0.00923779048025608, 0.0295830350369215, 0.05422942340373993, -0.05632933974266052, 0.00016103389498312026, -0.004169899970293045, -0.017572985962033272, 0.0349617674946785, 0.0650605708360672, -0.03265922889113426, 0.03879319503903389, 0.07191292941570282, -0.08701759576797485, 0.04553503170609474, -0.04104047641158104, -0.020225511863827705, 0.08045995980501175, 0.007147084455937147, -0.02650684118270874, -0.036380134522914886, -0.01961764134466648, 0.07861793041229248, 0.03556963801383972, -0.03490650653839111, 0.026027914136648178, -0.03498018905520439, 0.07662853598594666, 0.02131231129169464, -0.00031372110242955387, 0.042993027716875076, 0.02941725216805935, 0.042366739362478256, 0.05643986165523529, -0.010195647366344929, -0.019212394952774048, 0.014404690824449062, 0.010711416602134705, -0.07176557183265686, -0.01136533822864294, -0.024167461320757866, -0.05798716843128204, 0.03661959618330002, 0.009417388588190079, 0.04789283499121666, 0.02387273497879505, 0.0037600479554384947, -0.008786492981016636, 0.01177979540079832, -0.005024142563343048, 0.016569077968597412, -0.09062797576189041, 0.0017384177772328258, -0.0039465539157390594, -0.02145967446267605, -0.007985209114849567, 0.016486186534166336, -0.0018293680623173714, -0.02273067645728588, -0.041408881545066833, -0.004506071098148823, 0.05028747394680977, 0.002710089785978198, -0.0008789947023615241, -0.03986157476902008, -0.036453813314437866, 0.03509071096777916, -0.03661959618330002, 0.018042704090476036, 0.049255937337875366, 0.01492966990917921, 0.0103798508644104, -0.06030812859535217, 0.024277983233332634, -0.03017248585820198, -0.03864583373069763, 0.05695563182234764, -0.015141503885388374, -0.016845382750034332, 0.020575499162077904, -0.028496235609054565, -0.024388505145907402, -0.006368825677782297, 0.028017308562994003, -0.039677370339632034, -0.060676537454128265, -0.004169899970293045, -0.09519621729850769, -0.0259542316198349, -0.00886017456650734, 0.02425956167280674, -0.02193860150873661, -0.0038222165312618017, -0.00837664119899273, -0.004591264761984348, 0.01595199853181839, 0.02304382063448429, -0.04376668110489845, 0.018328219652175903, 0.05010327324271202, 0.030190905556082726, 0.019636061042547226, 0.010508793406188488, 0.03284343332052231, -0.07743902504444122, -0.06793414056301117, 0.03131454437971115, 0.00005777936530648731, 0.05990288406610489, -0.014487582258880138, 0.018263747915625572, -0.055003076791763306, -0.023762213066220284, -0.03385654836893082, 0.03520123288035393, 0.04122467711567879, 0.03304605558514595, 0.023099081590771675, -0.02650684118270874, -0.011448229663074017, 0.06565002351999283, 0.028643598780035973, -0.0004389217065181583, -0.010877199470996857, 0.019433438777923584, 0.006695786491036415, 0.005935948342084885, -0.023854315280914307, -0.00030048147891648114, -0.003978789318352938, -0.009560146369040012, -0.00007285380706889555, 0.0009906678460538387, -0.019286075606942177, -0.005153084639459848, -0.047634948045015335, -0.006272119004279375, -0.009468045085668564, -0.07482334226369858, 0.004648828413337469, 0.006161597091704607, -0.04619816318154335, -0.023209603503346443, -0.002958764089271426, 0.009486464783549309, -0.046456050127744675, -0.04100363329052925, -0.053861018270254135, 0.04225621744990349, 0.012811332941055298, 0.07419705390930176, 0.009113453328609467, -0.02930673025548458, -0.010941670276224613, -0.024517446756362915, 0.006428692024201155, -0.002677854150533676, -0.07047614455223083, 0.018521632999181747, 0.02674630656838417, 0.031185602769255638, 0.006032655015587807, -0.02477533183991909, -0.031204024329781532, 0.011144294403493404, 0.03982473537325859, 0.00019614763732533902, 0.00497348653152585, 0.020704440772533417, -0.007354313042014837, 0.0005295842420309782, 0.025935811921954155, -0.02713313326239586, 0.022343849763274193, 0.054929398000240326, -0.005452414974570274, 0.044135089963674545, 0.03131454437971115, 0.024646388366818428, -0.0057701654732227325, 0.0010793156689032912, 0.009587776847183704, 0.004275816958397627, -0.01079430803656578, -0.016698021441698074, -0.00982724130153656, -0.011199555359780788, 0.021846501156687737, 0.03350656479597092, 0.03214345872402191, -0.05036115646362305, 0.11346917599439621, 0.056697748601436615, -0.009251605719327927, 0.02831203304231167, 0.03938264399766922, 0.01972816325724125, -0.01616383157670498, -0.008422691375017166, -0.020428135991096497, 0.013373153284192085, -0.027188394218683243, -0.021791240200400352, -0.030540890991687775, -0.030264586210250854, -0.02359643019735813, 0.0012917249696329236, 0.014284959062933922, -0.004040957894176245, -0.0011057949159294367, 0.04162992537021637, 0.04067206755280495, -0.016099359840154648, -0.09578566998243332, 0.00764903798699379, -0.014331009238958359, -0.029251469299197197, 0.01899135112762451, 0.004436994902789593, -0.021441252902150154, 0.0057563502341508865, 0.07276026904582977, 0.04664025083184242, -0.10249066352844238, -0.023854315280914307, 0.031148761510849, -0.021551774814724922, -0.008906224742531776, 0.02996986173093319, 0.03986157476902008, -0.0178216602653265, 0.014607314020395279, 0.04789283499121666, 0.05058220028877258, -0.0036195931024849415, -0.011411388404667377, -0.057324036955833435, 0.0038820826448500156, 0.015509909950196743, 0.031609270721673965, 0.016633549705147743, 0.014920460060238838, 0.039603687822818756, -0.041850969195365906, 0.0034952559508383274, 0.061781756579875946, -0.0030877061653882265, -0.035938046872615814, 0.05282948166131973, 0.007363523356616497, -0.01340999361127615, -0.023375386372208595, -0.035643320530653, -0.061302825808525085, -0.0394563265144825, 0.059092387557029724, 0.010075915604829788, 0.05323472619056702, 0.04977170750498772, -0.06318169832229614, -0.0002672385598998517, -0.0018063427414745092, 0.014966510236263275, 0.06347642838954926, -0.010444321669638157, 0.00245220516808331, 0.05651354417204857, 0.0030623783823102713, 0.021607035771012306, 0.08104941248893738, -0.036380134522914886, -0.03975105285644531, 0.03208819776773453, 0.024204300716519356, -0.07445493340492249, 0.03547753766179085, -0.04380352422595024, -0.030927717685699463, -0.03000670298933983, -0.005908317863941193, -0.0411878377199173, 0.055666208267211914, 0.0169559046626091, 0.030669834464788437, -0.01311526820063591, 0.04722970351576805, 0.059534475207328796, -0.04888753220438957, -0.03724588826298714, 0.040708910673856735, -0.00918713491410017, 0.005028747487813234, -0.004215951077640057, 0.030061963945627213, 0.08502820134162903, -0.011475860141217709, 0.007520095910876989, -0.0429193489253521, 0.0017499304376542568, -0.02827519178390503, -0.01329026184976101, 0.009606197476387024, 0.01366787776350975, -0.015390178188681602, -0.03225398063659668, -0.07239186018705368, -0.008100336417555809, 0.0366748571395874, -0.004890595097094774, -0.02851465716958046, -0.04369300231337547, -0.0028712674975395203, -0.028643598780035973, 0.012065310031175613, -0.00547544052824378, 0.0809757336974144, 0.022030703723430634, -0.03442757949233055, -0.025235839188098907, 0.02823835238814354, -0.00953251589089632, 0.017978232353925705, -0.007902317680418491, 0.05227687209844589, 0.019507119432091713, -0.060160767287015915, -0.005516886245459318, 0.035588059574365616, 0.014036284759640694, 0.045313987880945206, -0.03930896520614624, -0.03289869427680969, -0.006603685207664967, 0.002132152207195759, -0.07526542991399765, -0.03146190941333771, -0.004639618098735809, -0.0698866993188858, 0.02567792683839798, 0.004609685391187668, -0.06760257482528687, -0.020649179816246033, -0.01465336512774229, 0.07633380591869354, -0.05235055088996887, 0.03083561733365059, -0.10263802856206894, -0.04321407154202461, -0.008648340590298176, 0.025346361100673676, 0.05404522269964218, -0.015242815017700195, 0.002542004222050309, 0.03208819776773453, 0.022656993940472603, 0.08053364604711533, -0.0432509146630764, -0.022435950115323067, 0.03894055634737015, 0.06483952701091766, -0.005843846593052149, 0.05702931433916092, 0.02280435711145401, 0.05625566095113754, 0.015196764841675758, 0.0035367016680538654, -0.010296959429979324, 0.007082613185048103, 0.011282446794211864, -0.015473069623112679, 0.02564108744263649, 0.006364220753312111, -0.0005523217841982841, -0.06491321325302124, -0.007883897051215172, 0.016421716660261154, 0.0017971325432881713, 0.030061963945627213, 0.023209603503346443, 0.007501675747334957, -0.03717220574617386, 0.035624898970127106, 0.06314486265182495, -0.01508624292910099, -0.011107453145086765, 0.0010459288023412228, -0.00870360154658556, -0.03017248585820198, -0.03516439348459244, -0.038498468697071075, -0.025456883013248444, 0.06970249116420746, -0.04973486438393593, 0.04512978717684746, 0.028919903561472893, 0.03820374608039856, 0.06377115100622177, 0.011706113815307617, 0.05573989078402519, 0.013741559349000454, 0.02792520634829998, 0.0006654341123066843, -0.027538379654288292, -0.012488977052271366, 0.07172872871160507, 0.007962184026837349, 0.03650907427072525, -0.06675524264574051, -0.008970696479082108, -0.018319008871912956, -0.06804466247558594, -0.014487582258880138, -0.04969802498817444, -0.033690765500068665, 0.038572151213884354, -0.011825845576822758, -0.016513817012310028, -0.007833241485059261, 0.03162769228219986, -0.033101316541433334, -0.05931343138217926, 0.022399110719561577, 0.012240302748978138, 0.024130620062351227, -0.017011165618896484, 0.025898970663547516, 0.03665643930435181, -0.051061131060123444, 0.02315434254705906, 0.05142953619360924, 0.024333244189620018, 0.02985933981835842, 0.009468045085668564, 0.013852081261575222, -0.0035758446902036667, -0.019562380388379097, 0.027869945392012596, -0.05736088007688522, 0.05772928521037102, -0.03135138750076294, 0.03824058547616005, -0.0074694398790597916, -0.012498187832534313, -0.008017444983124733, 0.0041330596432089806, -0.0052221608348190784, -0.07452861964702606, 0.011844266206026077, -0.016200672835111618, -0.007124058902263641, -0.008229278028011322, -0.021993862465023994, -0.043029870837926865, -0.045350831001996994, -0.07117611914873123, -0.004395549185574055, -0.005843846593052149, -0.0017130898777395487, -0.002125244587659836, 0.0036311056464910507, -0.023891156539320946, 0.04207201302051544, -0.006129361689090729, 0.004413969349116087, -0.006995116826146841, -0.07213397324085236, 0.01910187304019928, 0.022380689159035683, 0.027225233614444733, -0.03809322416782379, 0.04711918160319328, -0.05187162384390831, -0.006212253123521805, 0.013161319307982922, -0.05463467165827751, 0.0006199589115567505, -0.008293749764561653, -0.028643598780035973, -0.0028666623402386904, 0.015408597886562347, -0.005410969257354736, -0.07283394783735275, 0.008956881240010262, 0.001219194964505732, 0.032990794628858566, 0.01723220944404602, -0.03269606828689575, 0.011770584620535374, 0.00043460444430820644, -0.012829753570258617, -0.02477533183991909, -0.009864081628620625, 0.05824505537748337, -0.010287749581038952, -0.015417808666825294, 0.0415194034576416, 0.012949485331773758, 0.031406648457050323, -0.02228858880698681, -0.022638574242591858, 0.008137176744639874, -0.014800727367401123, -0.06152386963367462, 0.04770863056182861, -0.03308289498090744, 0.022362269461154938, -0.00041762320324778557, -0.007004327140748501, 0.058466099202632904, 0.028256772086024284, 0.00018405930313747376, 0.03201451897621155, -0.03612224757671356, 0.005899107549339533, -0.0332118384540081, 0.007828636094927788, 0.012019258923828602, -0.04376668110489845, 0.023099081590771675, -0.014303378760814667, -0.05014011263847351, 0.01844795048236847, -0.02418588101863861, -0.025972653180360794, -0.0598660409450531, -0.06509741395711899, -0.0052083455957472324, 0.006313564721494913, 0.021238630637526512, 0.07150768488645554, -0.05183478444814682, 0.05341893061995506, 0.01889924891293049, 0.018291378393769264, 0.036766961216926575, -0.060160767287015915, -0.0018639061599969864, 0.016615130007267, -0.02346748858690262, 0.011521910317242146, 0.048666488379240036, 0.026451580226421356, 0.005369523540139198, 0.02512531727552414, -0.033230260014534, 0.036380134522914886, 0.06568686664104462, -0.0011696903966367245, -0.00844571739435196, 0.00385905709117651, 0.009072007611393929, -0.013971813023090363, -0.002565029775723815, -0.032511867582798004, -0.015408597886562347, 0.044135089963674545, -0.026322638615965843, -0.0806073248386383, -0.08281776309013367, -0.015427018515765667, 0.02260173298418522, -0.052092667669057846, 0.06727100908756256, -0.011429809033870697, 0.03155400976538658, -0.039124760776758194, -0.019986048340797424, -0.009362127631902695, -0.04608764126896858, -0.04122467711567879, 0.06800782680511475, 0.07253922522068024, -0.03455652296543121, -0.011982418596744537, 0.039603687822818756, -0.07766006886959076, 0.008095731027424335, 0.03501702845096588, -0.012829753570258617, 0.01285738404840231, -0.019746582955121994, -0.03442757949233055, 0.061781756579875946, -0.00877267774194479, -0.008505582809448242, 0.03544069826602936, 0.00844571739435196, 0.0026110804174095392, 0.02252805233001709, -0.0171308983117342, -0.0034330873750150204, -0.04439297318458557, 0.017969023436307907, 0.03177505359053612, 0.0034422974567860365, -0.07964947074651718, 0.0002836441562976688, -0.04778231307864189, -0.033340781927108765, -0.061265986412763596, -0.006336590275168419, 0.02516215853393078, -0.051061131060123444, -0.01965448260307312, -0.07519175112247467, 0.012350824661552906, -0.01792297139763832, 0.014294168911874294, -0.07559699565172195, 0.012323194183409214, -0.004370220936834812, 0.033377621322870255, 0.06561318039894104, -0.042550940066576004, 0.013363942503929138, 0.03619593009352684, 0.000743144832085818, 0.012590289115905762, -0.04085627198219299, -0.03689590096473694, 0.012166622094810009, -0.021551774814724922, -0.01382445078343153, 0.03273291140794754, 0.01689143478870392, -0.03464862331748009, 0.00021600704349111766, -0.036564335227012634, 0.025235839188098907, 0.03409601375460625, -0.05643986165523529, 0.012479767203330994, -0.023485908284783363, 0.06045549362897873, -0.019267655909061432, -0.08451243489980698, 0.034243375062942505, 0.013999443501234055, 0.024093778803944588, 0.03650907427072525, -0.007243791129440069, -0.013713928870856762, 0.021128108724951744, 0.029951442033052444, 0.0335618257522583, 0.02615685574710369, -0.03442757949233055, 0.017849290743470192, -0.022233327850699425, -0.006239883601665497, 0.0033571035601198673, 0.024664809927344322, -0.048298079520463943, 0.035588059574365616, 0.04501926526427269, -0.028367293998599052, 0.06318169832229614, -0.02398325689136982, -0.0037784683518111706, 0.059092387557029724, 0.015804635360836983, 0.019709743559360504, 0.036490656435489655, -0.0016014166176319122, -0.05809769034385681, -0.06152386963367462, -0.042993027716875076, -0.01268239039927721, 0.002578845014795661, 0.016661180183291435, -0.06590791046619415, -0.08355457335710526, -0.0653921365737915, -0.02072286047041416, -0.009836451150476933, 0.05238739401102066, 0.034795984625816345, -0.021607035771012306, -0.00024392534396611154, 0.028090989217162132, -0.0027837709058076143, -0.01702958717942238, -0.022749096155166626, 0.002205833327025175, -0.033138155937194824, 0.04266146197915077, 0.02374379336833954, 0.014616524800658226, -0.007948368787765503, 0.05540832504630089, 0.017536144703626633, 0.0003989150864072144, -0.0018523934995755553, -0.06450796127319336, 0.0366748571395874, -0.029748817905783653, -0.027593640610575676, 0.04067206755280495, -0.06008708477020264, 0.017738768830895424, -0.007013536989688873, -0.04207201302051544, -0.007078008260577917, 0.0030416555237025023, -0.007520095910876989, -0.0411878377199173, 0.031609270721673965, -0.04000893607735634, -0.01843874156475067, 0.0027561404276639223, -0.09173319488763809, -0.013584986329078674, 0.03405917435884476, -0.024443766102194786, 0.04575607553124428, -0.018678205087780952, 0.00833979994058609, -0.017978232353925705, -0.03155400976538658, 0.009081218391656876, 0.052129507064819336, -0.0012663970701396465, 0.030688254162669182, -0.009587776847183704, 0.026801567524671555, 0.024167461320757866, -0.0013020863989368081, 0.07736534625291824, 0.046492889523506165, 0.08171254396438599, -0.0574345588684082, 0.004692576825618744, 0.028846222907304764, 0.018770307302474976, -0.014616524800658226, -0.027206813916563988, -0.036453813314437866, 0.058429256081581116, 0.014690205454826355, 0.041887808591127396, 0.05400837957859039, -0.021993862465023994, -0.007897712290287018 ]
10,878
burnman.utils.misc
set_state
(copied from set_state): Set the material to the given pressure and temperature. :param pressure: The desired pressure in [Pa]. :type pressure: float :param temperature: The desired temperature in [K]. :type temperature: float
def copy_documentation(copy_from): """ Decorator @copy_documentation(another_function) will copy the documentation found in a different function (for example from a base class). The docstring applied to some function a() will be :: (copied from BaseClass.some_function): <documentation from BaseClass.some_function> <optionally the documentation found in a()> """ def mydecorator(func): def wrapper(*args): return func(*args) old = "" if func.__doc__: old = "\n" + func.__doc__ copied_from = "" if hasattr(copy_from, "__name__"): copied_from = "(copied from " + copy_from.__name__ + "):\n" wrapper.__doc__ = copied_from + copy_from.__doc__ + old wrapper.__name__ = func.__name__ return wrapper return mydecorator
(*args)
[ -0.045126963406801224, -0.036851800978183746, 0.04124385863542557, -0.025221334770321846, -0.013760519213974476, -0.014552219770848751, -0.0035155299119651318, 0.020489977672696114, 0.014985770918428898, 0.037078000605106354, -0.007177147548645735, -0.031215643510222435, 0.00392551813274622, 0.006616359110921621, -0.05609767884016037, 0.009406163357198238, 0.07626720517873764, -0.021526729688048363, -0.020263778045773506, 0.0069179595448076725, 0.028614340350031853, 0.010640840046107769, 0.005537195131182671, -0.01810545101761818, -0.03839750215411186, 0.06348688900470734, -0.021771781146526337, -0.023769883438944817, 0.0507819689810276, -0.05749258026480675, 0.020885828882455826, -0.09477793425321579, 0.02793573960661888, 0.05911368131637573, 0.04648416489362717, -0.011112090200185776, 0.02437308430671692, 0.05677627772092819, -0.04456146061420441, -0.02622038684785366, 0.02180948108434677, 0.03928345441818237, -0.0158340223133564, -0.020112978294491768, 0.02731368876993656, 0.019245875999331474, -0.03306294605135918, 0.013308118097484112, -0.034043148159980774, -0.003140885615721345, 0.04033905640244484, -0.02767183817923069, 0.004118730779737234, -0.02684243768453598, 0.022676581516861916, 0.003270479617640376, 0.05519287660717964, 0.053307872265577316, 0.006064996123313904, 0.026314636692404747, 0.008892499841749668, 0.024184582754969597, -0.0046135438606143, -0.035419199615716934, 0.03515530005097389, -0.0061639584600925446, -0.030028091743588448, -0.03835980221629143, -0.005914195906370878, 0.01576804742217064, -0.05059346929192543, 0.00542409485206008, 0.034947946667671204, -0.004933994263410568, -0.022601181641221046, 0.0009095137356780469, -0.023524831980466843, -0.07132849842309952, 0.04901006817817688, -0.06212968751788139, -0.019434377551078796, -0.01200746651738882, -0.0285012386739254, -0.015720922499895096, 0.03777545318007469, -0.04799216613173485, 0.011526791378855705, -0.039057254791259766, 0.06499489396810532, 0.030574742704629898, -0.0571155808866024, 0.018124300986528397, -0.02071617916226387, -0.012921692803502083, -0.010065914131700993, -0.033496495336294174, -0.022902781143784523, -0.0019285932648926973, 0.03353419527411461, 0.062393587082624435, -0.006390159018337727, 0.07766211032867432, 0.0045664189383387566, 0.02951914072036743, 0.061564184725284576, -0.03161149471998215, -0.040791455656290054, -0.023600231856107712, -0.0030819792300462723, -0.015871722251176834, -0.02540983445942402, -0.04701196402311325, -0.013232718221843243, -0.014241194352507591, 0.044712260365486145, -0.04015055671334267, -0.008553199470043182, -0.01379821915179491, 0.010603140108287334, -0.010339239612221718, 0.05734178051352501, -0.008166774176061153, 0.008656874299049377, -0.028067689388990402, -0.007115884684026241, -0.00380299286916852, -0.004059824161231518, 0.062393587082624435, 0.03502335026860237, -0.07871770858764648, -0.02733253873884678, -0.018981976434588432, -0.018802901729941368, 0.06050858274102211, 0.0495755672454834, 0.027144037187099457, -0.019358977675437927, 0.03498565033078194, -0.03753040358424187, 0.008326998911798, -0.017360873520374298, -0.03426934778690338, 0.04120615869760513, 0.033081796020269394, -0.03875565528869629, -0.018953701481223106, 0.00678129680454731, 0.03130989521741867, 0.017191223800182343, -0.042299456894397736, 0.006517396774142981, 0.016013097018003464, 0.007874598726630211, -0.0033435234799981117, -0.025786835700273514, -0.010933015495538712, -0.03325144574046135, -0.021036628633737564, -0.0014102176064625382, 0.0027073349338024855, 0.03770005330443382, -0.02650313638150692, 0.041470058262348175, -0.04648416489362717, 0.042035557329654694, 0.023166682571172714, 0.0475020669400692, -0.07351510226726532, 0.01831280067563057, -0.03306294605135918, -0.026239236816763878, 0.008619174361228943, 0.06118718534708023, 0.044297561049461365, 0.01201689150184393, 0.05549447610974312, -0.015080020762979984, 0.03741730377078056, 0.0025659597013145685, -0.007742648478597403, 0.023091282695531845, -0.006851984653621912, -0.06288368999958038, 0.01790752448141575, 0.03849175199866295, -0.004731356631964445, -0.002075859112665057, 0.008553199470043182, -0.0071724350564181805, 0.010301539674401283, 0.01335524395108223, 0.023487132042646408, 0.050065670162439346, 0.004066893365234137, -0.012959392741322517, -0.0717431977391243, -0.07524930685758591, 0.005673857871443033, 0.039208054542541504, 0.04309115931391716, 0.045956362038850784, 0.027426788583397865, 0.024957435205578804, 0.031762294471263885, 0.04976407065987587, 0.07155469805002213, 0.039132654666900635, 0.007087609730660915, -0.09967894107103348, -0.016342973336577415, 0.034797146916389465, -0.022261880338191986, 0.04003745689988136, -0.015805747359991074, -0.0027450351044535637, 0.010716239921748638, 0.011215765960514545, 0.010895315557718277, -0.04003745689988136, 0.015786897391080856, 0.05168677121400833, 0.00012186247477075085, -0.024618133902549744, 0.002813366474583745, 0.0560222789645195, -0.008868937380611897, 0.08143211156129837, -0.09530573338270187, 0.03798280283808708, -0.04701196402311325, 0.01749282516539097, -0.041960157454013824, -0.005716270301491022, 0.0024834908545017242, -0.013930168934166431, -0.037134550511837006, -0.03901955485343933, -0.018981976434588432, 0.04482536390423775, -0.02169637940824032, -0.06058398261666298, 0.02395838312804699, 0.09605973213911057, 0.04474996030330658, -0.015645522624254227, -0.009382600896060467, -0.04576786234974861, 0.014505094848573208, 0.01132886577397585, -0.02024492807686329, -0.014919796027243137, -0.013336393982172012, -0.012582392431795597, 0.018831176683306694, -0.004665381275117397, 0.055381376296281815, -0.036587901413440704, -0.04565476253628731, -0.017445698380470276, 0.006267633754760027, -0.004587625153362751, -0.01865210011601448, -0.005768108181655407, -0.03688950091600418, 0.030103491619229317, -0.060056183487176895, -0.002841641427949071, 0.014505094848573208, -0.02196028083562851, 0.0216775294393301, 0.16120542585849762, 0.018755776807665825, 0.008826524950563908, 0.015532421879470348, -0.00846366211771965, -0.03826555237174034, 0.0013124330434948206, -0.002639003563672304, 0.033345695585012436, -0.02657853625714779, 0.05210147053003311, 0.010659690015017986, -0.0038100616075098515, -0.004606475122272968, 0.036305151879787445, -0.001089767087250948, 0.013166743330657482, -0.012375041842460632, 0.052139174193143845, 0.011215765960514545, 0.0370214506983757, -0.006036720704287291, 0.05775647982954979, 0.024825483560562134, 0.004620612598955631, 0.049462467432022095, -0.03743615373969078, -0.03366614505648613, -0.020188378170132637, -0.0057068453170359135, 0.010753939859569073, 0.007115884684026241, -0.06390158832073212, 0.043468158692121506, -0.006215796340256929, -0.030650142580270767, 0.015023470856249332, -0.03125334158539772, -0.03306294605135918, -0.04784136638045311, -0.014260045252740383, -0.017813274636864662, -0.04493846371769905, -0.01535334624350071, -0.03462749719619751, -0.021375929936766624, -0.01001878920942545, 0.02401493303477764, 0.015117720700800419, 0.07215789705514908, -0.026126137003302574, 0.029160991311073303, 0.029424890875816345, -0.02416573278605938, 0.0571155808866024, -0.01705927401781082, 0.02022607810795307, 0.012601242400705814, -0.016286423429846764, 0.016917899250984192, -0.01623929664492607, -0.03815245255827904, -0.014476819895207882, 0.01768132485449314, -0.04339275881648064, 0.038454052060842514, -0.008652161806821823, -0.04569246247410774, -0.04101765528321266, -0.00212651863694191, 0.03021659143269062, -0.0028628476429730654, 0.0009754888596944511, -0.002422228455543518, -0.05281777307391167, 0.023713333532214165, 0.0011304124491289258, 0.01387361902743578, 0.04097995534539223, -0.03540034964680672, 0.04060295596718788, -0.010810489766299725, -0.009736038744449615, -0.03551344946026802, 0.05409957468509674, 0.014297745190560818, 0.012506992556154728, 0.011724716052412987, -0.02401493303477764, -0.10284574329853058, -0.020621929317712784, 0.0363617017865181, -0.004806756507605314, -0.037209950387477875, 0.03240319341421127, 0.06695529073476791, -0.010292114689946175, 0.008147924207150936, -0.005867070518434048, -0.008746412582695484, -0.012714342214167118, -0.01837877556681633, 0.062468986958265305, -0.029651090502738953, -0.009415588341653347, -0.08603151887655258, -0.04403366148471832, -0.04199785739183426, -0.07894390821456909, 0.04769056662917137, 0.03489139676094055, -0.006211083848029375, 0.019358977675437927, 0.0006155711598694324, 0.014212919399142265, 0.0103203896433115, -0.029443740844726562, 0.01699329912662506, -0.004382631275802851, 0.026069587096571922, 0.03247859328985214, -0.024618133902549744, -0.04584326222538948, 0.02437308430671692, -0.054288074374198914, -0.06944349408149719, -0.013609718531370163, 0.02320438250899315, -0.03138529509305954, -0.03132874518632889, 0.053383275866508484, -0.014467394910752773, -0.0464087650179863, -0.0182374007999897, 0.03434474766254425, 0.020414577797055244, 0.013119618408381939, 0.0129405427724123, 0.02361908368766308, 0.02759643830358982, -0.058321982622146606, -0.07287420332431793, 0.03423164784908295, 0.03140414506196976, 0.06963199377059937, 0.007634260691702366, 0.005023532081395388, -0.00433550588786602, -0.03083864226937294, -0.026861287653446198, 0.023562531918287277, -0.011602191254496574, 0.04753976687788963, 0.061978887766599655, -0.004882156848907471, 0.015438171103596687, -0.050216469913721085, -0.014985770918428898, -0.0028039414901286364, 0.02458043396472931, -0.0004768467624671757, -0.009811438620090485, -0.04120615869760513, -0.005730407778173685, -0.016710547730326653, -0.04048985615372658, 0.03462749719619751, 0.025164784863591194, 0.025522936135530472, 0.06280829012393951, 0.024618133902549744, 0.006743596866726875, 0.026050735265016556, -0.006738884374499321, -0.08211071044206619, 0.012139417231082916, 0.0021701091900467873, 0.047464367002248764, -0.0052685821428895, -0.04991487041115761, 0.04576786234974861, 0.058812081813812256, 0.015654947608709335, -0.009311912581324577, -0.04192245751619339, -0.049688670784235, -0.01926472596824169, -0.08294011652469635, 0.015249671414494514, 0.05775647982954979, 0.049462467432022095, 0.03442014753818512, 0.0023574314545840025, -0.019170476123690605, 0.037756603211164474, 0.00600373325869441, 0.04901006817817688, -0.0050800819881260395, -0.05059346929192543, 0.04686116427183151, 0.11762416362762451, -0.07592790573835373, -0.007572997827082872, -0.018011199310421944, 0.048142965883016586, 0.015127145685255527, -0.04339275881648064, 0.011366565711796284, 0.013892468996345997, 0.029104439541697502, -0.036041248589754105, -0.04810526594519615, -0.046559564769268036, 0.035343799740076065, 0.00271204742603004, 0.005343982484191656, -0.025032835081219673, -0.03268594667315483, -0.002716759918257594, 0.031234493479132652, -0.03470289707183838, 0.06740768998861313, 0.002811010228469968, -0.051724471151828766, -0.00562673294916749, 0.01810545101761818, 0.034250497817993164, 0.0962105318903923, 0.006800146773457527, -0.03779430314898491, -0.062393587082624435, -0.06642749160528183, -0.04011285677552223, 0.03485369682312012, 0.06375078856945038, 0.022544631734490395, -0.026955537497997284, 0.008133786730468273, -0.02312898263335228, -0.02105547860264778, 0.009575813077390194, 0.024731233716011047, -0.005405244883149862, 0.06337378919124603, -0.015325071290135384, -0.06348688900470734, -0.07155469805002213, 0.053647175431251526, 0.020471127703785896, -0.0550420768558979, 0.018425900489091873, 0.07343970239162445, -0.01396786980330944, -0.09078172594308853, 0.03338339552283287, -0.016465498134493828, 0.01817142590880394, 0.023430582135915756, -0.005414669867604971, -0.011046115309000015, 0.0020864622201770544, 0.0024552159011363983, 0.0005955430096946657, 0.00991511344909668, 0.023788733407855034, 0.08030111342668533, -0.03048049286007881, -0.05040496960282326, 0.016427798196673393, 0.015843447297811508, -0.0013077205512672663, 0.014241194352507591, -0.013600293546915054, -0.022959331050515175, 0.0031644480768591166, 0.06925499439239502, -0.049688670784235, -0.017106398940086365, -0.04248796030879021, -0.0338546484708786, 0.02147017978131771, -0.0023550752084702253, 0.007252547424286604, -0.01941552758216858, -0.047728266566991806, 0.03766235336661339, -0.024731233716011047, 0.009486275725066662, 0.02086697891354561, 0.011489090509712696, -0.008647449314594269, 0.021507879719138145, 0.07901930809020996, 0.00788402371108532, -0.013854769058525562, 0.050970472395420074, 0.05074426904320717, 0.015372196212410927, -0.10118693858385086, -0.018058324232697487, -0.015145995654165745, 0.01651262305676937, 0.024184582754969597, -0.015617246739566326, -0.05048036947846413, 0.06951889395713806, 0.035211849957704544, -0.05556987598538399, -0.0009371997439302504, -0.03070669248700142, -0.020320327952504158, -0.014872671104967594, -0.005603170488029718, -0.022280730307102203, -0.013958444818854332, -0.019377827644348145, -0.03606009855866432, 0.029896141961216927, 0.03161149471998215, -0.022827381268143654, -0.033967748284339905, 0.010565439239144325, -0.03540034964680672, -0.06951889395713806, 0.00748346047475934, 0.007610698230564594, -0.022959331050515175, -0.020980078727006912, 0.012686067260801792, -0.006696471944451332, -0.07570170611143112, 0.004187061917036772, -0.017125248908996582, 0.02829388901591301, -0.024203432723879814, 0.03992435708642006, -0.0034754734952002764, -0.0433550588786602, 0.04983947053551674, -0.009533400647342205, -0.01941552758216858, 0.05651237815618515, -0.010867039673030376, -0.003770005190744996, -0.017125248908996582, 0.005131919402629137, -0.0422617569565773, -0.022054530680179596, 0.027502188459038734, 0.022469231858849525, 0.0064184339717030525, 0.018114876002073288, 0.009062150493264198, -0.02933064103126526, -0.07649340480566025, 0.005216744728386402, -0.02339288219809532, -0.012412741780281067, 0.01596597209572792, 0.03278019651770592, -0.009971664287149906, -0.04916086792945862, 0.05402417480945587, -0.03890645503997803, 0.03387349843978882, -0.01273319311439991, -0.0316680446267128, -0.006578659173101187, -0.04867076873779297, -0.008425961248576641, 0.023430582135915756, 0.009269500151276588, -0.026408886536955833, -0.0033812234178185463, -0.059302181005477905, 0.008072523400187492, 0.006064996123313904, -0.07012210041284561, 0.03849175199866295, -0.05632387846708298, -0.04192245751619339, 0.12991437315940857, 0.0495755672454834, 0.07788830995559692, 0.014118669554591179, -0.046559564769268036, -0.008765262551605701, 0.005617307964712381, 0.028576640412211418, -0.01131944078952074, 0.0570024773478508, -0.06623899191617966, 0.0538356751203537, -0.003781786421313882, -0.028859389945864677, 0.026597386226058006, 0.007987698540091515, -0.017850974574685097, 0.013807644136250019, -0.006220508832484484, 0.022751981392502785, 0.06944349408149719, -0.02870859019458294, -0.03298754617571831, 0.010603140108287334, -0.05100817233324051, 0.006154533475637436, -0.037078000605106354, -0.04109305888414383, -0.05315707251429558, -0.015805747359991074, 0.020885828882455826, -0.007860461249947548, -0.04082915559411049, -0.054137274622917175, 0.06378848850727081, -0.0031338168773800135, -0.012752043083310127, -0.0644293874502182, -0.026597386226058006, 0.020414577797055244, -0.026880137622356415, 0.040640655905008316, -0.004198843147605658, 0.029142141342163086, 0.02022607810795307, -0.03981125354766846, -0.05202607065439224, 0.012912267819046974, -0.02876514010131359, 0.033760398626327515, 0.03453324735164642, 0.018397625535726547, 0.04689886420965195, 0.0007492885342799127, -0.024863185361027718, -0.027709538117051125, -0.071630097925663, -0.054288074374198914, -0.017153523862361908, 0.060131583362817764, 0.01988677680492401, 0.023223232477903366, 0.012412741780281067, 0.05670087784528732, -0.08580531924962997, -0.027219437062740326, 0.0010025857482105494, 0.04474996030330658, 0.009401450864970684, 0.007257259916514158, -0.00801597349345684, 0.02671048790216446, -0.003951436839997768, -0.00021839523105882108, 0.016842497512698174, -0.0740429013967514, -0.010763364844024181, 0.013506043702363968, -0.033289145678281784, 0.009443863295018673, 0.026107287034392357, -0.02801113948225975, 0.014882096089422703, 0.029066739603877068, -0.011130940169095993, -0.040791455656290054, -0.0016093209851533175, -0.026880137622356415, -0.04795446619391441, 0.0024929160717874765, 0.04987717047333717, -0.01749282516539097, 0.10556014627218246, -0.013694544322788715, -0.02442963421344757, 0.00005463562411023304, 0.007926436141133308, 0.03462749719619751, 0.01941552758216858, 0.01671997271478176, -0.005570182576775551, -0.07901930809020996, -0.03950965404510498, 0.023355182260274887, -0.03187539428472519, 0.031215643510222435, 0.02442963421344757, 0.008581474423408508, -0.00953811313956976, 0.016710547730326653, -0.005603170488029718, 0.037813153117895126, 0.008586186915636063, 0.037134550511837006, 0.022111080586910248, -0.05232767388224602, 0.03523069992661476 ]
10,880
burnman.classes.anisotropicmineral
standard_psi_function
null
def standard_psi_function(self, f, Pth, params): # Compute Psi, dPsidPth, dPsidf, needed by most anisotropic properties c = params["c"] ns = np.arange(c.shape[-1]) x = c[:, :, 0, :] + c[:, :, 1, :] * f dPsidf = c[:, :, 1, :] for i in list(range(2, c.shape[2])): # non-intuitively, the += operator doesn't simply add in-place, # so here we overwrite the arrays with new ones x = x + c[:, :, i, :] * np.power(f, float(i)) / float(i) dPsidf = dPsidf + c[:, :, i, :] * np.power(f, float(i) - 1.0) Psi = np.einsum("ikn, n->ik", x, np.power(Pth, ns)) dPsidPth = np.einsum( "ikn, n->ik", x[:, :, 1:], ns[1:] * np.power(Pth, ns[1:] - 1) ) dPsidf = np.einsum("ikn, n->ik", dPsidf, np.power(Pth, ns)) return (Psi, dPsidf, dPsidPth)
(self, f, Pth, params)
[ 0.024691833183169365, -0.05678366497159004, 0.060634683817625046, 0.013204844668507576, 0.030355097725987434, 0.009514284320175648, -0.02691938355565071, -0.05821835994720459, 0.020123466849327087, 0.05716121569275856, 0.0012801337288692594, -0.010080610401928425, 0.019896935671567917, -0.005158290266990662, -0.08442039787769318, 0.04560815542936325, -0.0069705345667898655, 0.003438073443248868, -0.09967345744371414, -0.0192079059779644, -0.011015049181878567, 0.0195193849503994, -0.006923340726643801, 0.04315407574176788, 0.02729693427681923, -0.019500507041811943, 0.019821425899863243, -0.05542448163032532, -0.012827293947339058, -0.03431938216090202, 0.036886729300022125, 0.03241274878382683, -0.024276526644825935, -0.021709181368350983, 0.008863008581101894, 0.020236732438206673, -0.004875126760452986, 0.01009948831051588, -0.06814794987440109, 0.038359180092811584, 0.0022995213512331247, 0.004209693055599928, -0.00662601925432682, 0.003171428106725216, -0.011222702451050282, 0.004601402208209038, 0.016565049067139626, 0.07286733388900757, 0.0029661348089575768, 0.06003060191869736, 0.0460989736020565, -0.012695151381194592, -0.03388519957661629, -0.06905407458543777, 0.016744384542107582, 0.07600101083517075, 0.042134687304496765, -0.048855096101760864, 0.037811730057001114, -0.0348857082426548, 0.09257549792528152, -0.015243620611727238, 0.06441019475460052, -0.013261477462947369, -0.033941831439733505, -0.03331887349486351, 0.03533877059817314, -0.028542853891849518, -0.018707649782299995, 0.03869897499680519, -0.0008335617603734136, 0.010023978538811207, 0.005479208193719387, -0.03409285098314285, 0.02301173098385334, 0.05867141857743263, 0.02963775023818016, -0.020123466849327087, -0.034073974937200546, -0.01091122254729271, -0.004304081201553345, -0.0031619893852621317, -0.011987242847681046, 0.027882138267159462, -0.0096039529889822, 0.04134183004498482, 0.03658469021320343, -0.03341326117515564, 0.0019479270558804274, 0.05678366497159004, -0.007291452959179878, 0.007522703148424625, 0.012798978015780449, 0.008178697898983955, 0.042738769203424454, 0.013554079458117485, -0.03337550535798073, -0.03469693288207054, -0.008919641375541687, 0.006715687923133373, 0.014743365347385406, 0.027787750586867332, 0.009651146829128265, 0.003987882286310196, 0.10375100374221802, 0.003945407457649708, -0.013365304097533226, -0.00608800956979394, 0.07056427747011185, 0.0005197225254960358, -0.02016122080385685, 0.025258159264922142, 0.018669895827770233, -0.0300908125936985, -0.016281886026263237, -0.046778563410043716, 0.014752804301679134, 0.05489591136574745, -0.005993621423840523, 0.001323788077570498, -0.013346427120268345, 0.028656117618083954, -0.009113136678934097, -0.0020080991089344025, 0.007942728698253632, -0.009301912039518356, 0.06184284761548042, -0.04239897429943085, 0.00701772840693593, 0.004610841162502766, -0.04085101559758186, -0.0066684940829873085, 0.07543468475341797, -0.0025461092591285706, -0.01709361933171749, -0.07150815427303314, 0.03056275099515915, -0.052668359130620956, 0.02848622016608715, -0.030676016584038734, 0.00556887686252594, 0.07966325432062149, -0.033488769084215164, 0.04934591054916382, 0.006772320251911879, 0.08245713263750076, 0.04013366624712944, 0.030392853543162346, -0.001929049496538937, -0.013289794325828552, -0.05821835994720459, 0.022218873724341393, -0.0010825094068422914, 0.004856249317526817, 0.006357014179229736, -0.048628564924001694, 0.100504070520401, -0.03282805532217026, -0.02038775198161602, 0.01182678434997797, 0.0087214270606637, -0.01847168058156967, -0.005436733830720186, 0.0137617327272892, -0.03628264740109444, -0.014582905918359756, -0.03800050541758537, 0.006994131486862898, 0.013195406645536423, -0.010741325095295906, 0.0055452799424529076, -0.024012241512537003, -0.008938519284129143, 0.021709181368350983, 0.058331623673439026, -0.02586224116384983, 0.0028835455887019634, -0.01587601751089096, 0.007366963196545839, -0.028410710394382477, -0.006427805405110121, -0.031449995934963226, 0.004006759729236364, -0.04020917788147926, 0.021426016464829445, 0.09166937321424484, 0.035603057593107224, 0.021935710683465004, 0.016716068610548973, -0.03805713728070259, 0.0342438742518425, -0.013884437270462513, 0.008985713124275208, 0.0681857019662857, 0.03628264740109444, -0.003933608997613192, 0.042096931487321854, -0.021709181368350983, -0.01470561046153307, -0.006899743806570768, 0.039189789444208145, -0.006762881763279438, -0.004110586363822222, 0.00597002450376749, -0.07422652095556259, 0.007692601066082716, -0.011213263496756554, -0.005734055303037167, -0.026315301656723022, 0.022294385358691216, 0.025522446259856224, -0.03197856619954109, -0.002496555680409074, -0.03226172924041748, -0.02329489402472973, -0.013355865143239498, 0.041681624948978424, -0.021709181368350983, -0.007565177511423826, -0.03650917857885361, 0.05882244184613228, -0.04115305468440056, -0.023408159613609314, -0.0030156883876770735, 0.004035076126456261, 0.05901121720671654, -0.004993111360818148, 0.024314282462000847, -0.02499387413263321, -0.03212958574295044, 0.019151272252202034, 0.03800050541758537, -0.016687752678990364, -0.03801938146352768, 0.06138978898525238, -0.02406887337565422, -0.01936836540699005, -0.0257678534835577, -0.004025637172162533, -0.011553059332072735, -0.059804074466228485, -0.045721422880887985, 0.022011220455169678, 0.09446325153112411, -0.0130443861708045, -0.02314387448132038, 0.00358909391798079, 0.04617448151111603, 0.01491326279938221, 0.048477545380592346, 0.024219894781708717, -0.0329601988196373, -0.014526273123919964, 0.02067091502249241, 0.02623979188501835, 0.014148722402751446, 0.03881223872303963, 0.09838978201150894, 0.056255094707012177, -0.0015031248331069946, -0.03482907637953758, -0.04945917800068855, 0.037755098193883896, -0.00317614758387208, -0.010580865666270256, -0.008216452784836292, -0.0630510151386261, 0.016055354848504066, -0.027259180322289467, 0.029656628146767616, 0.06025713309645653, 0.02691938355565071, -0.006838392000645399, -0.025616833940148354, 0.0026098210364580154, -0.02186020091176033, 0.023219384253025055, 0.024012241512537003, 0.033620912581682205, -0.0024871169589459896, 0.028127547353506088, -0.04205917939543724, 0.01993469148874283, 0.01747117191553116, 0.005295152310281992, 0.0604836642742157, 0.025258159264922142, -0.024276526644825935, 0.0681857019662857, -0.026994893327355385, -0.01965152844786644, 0.027598975226283073, -0.0444755032658577, -0.0169614776968956, 0.04579693078994751, 0.05591529980301857, -0.053687747567892075, 0.005125254392623901, 0.04689183086156845, -0.0254469346255064, 0.008315560407936573, -0.0007173468475230038, -0.0007604112615808845, 0.01091122254729271, -0.013591835275292397, 0.0015503186732530594, 0.04598570615053177, -0.007551019545644522, -0.013006630353629589, -0.026843873783946037, -0.016744384542107582, 0.02825968898832798, -0.03800050541758537, -0.002140242140740156, 0.04598570615053177, -0.03129897639155388, -0.027164792641997337, -0.03741529956459999, 0.06422141939401627, 0.027372445911169052, 0.06263570487499237, 0.01019387599080801, 0.04900611564517021, 0.02986428141593933, -0.016234692186117172, -0.04523060470819473, -0.04689183086156845, -0.03280917927622795, 0.023785710334777832, -0.018924742937088013, 0.01051479484885931, -0.0021024870220571756, 0.021595915779471397, 0.014630099758505821, -0.035093363374471664, 0.021595915779471397, 0.024503057822585106, -0.00873558595776558, 0.022483160719275475, -0.04496632143855095, 0.026390813291072845, 0.014894385822117329, -0.021614793688058853, 0.027863262221217155, -0.015583416447043419, -0.00947652943432331, -0.010401529259979725, -0.021010711789131165, -0.002442282857373357, -0.056443870067596436, 0.03363979235291481, -0.044437747448682785, 0.009363263845443726, 0.04187040403485298, 0.06486325711011887, 0.07551019638776779, -0.02807091362774372, 0.01504540629684925, -0.026126526296138763, -0.0007143972325138748, 0.04221019893884659, 0.004511734005063772, 0.003438073443248868, -0.03567856550216675, 0.05459386855363846, -0.03014744445681572, 0.013280355371534824, 0.019273977726697922, -0.059992849826812744, 0.01054311078041792, 0.004591963719576597, -0.04432448372244835, -0.044173464179039, -0.06244692951440811, 0.014592344872653484, 0.02816530130803585, -0.018707649782299995, -0.00006378546822816133, -0.0358484648168087, -0.05565101280808449, 0.031770914793014526, -0.05523570626974106, -0.03756632283329964, 0.045494891703128815, 0.030619382858276367, 0.04334285110235214, 0.018773721531033516, -0.02535254694521427, 0.0339229553937912, 0.022162241861224174, -0.039378564804792404, -0.015441834926605225, 0.020123466849327087, -0.047344889491796494, 0.031506627798080444, 0.006559947971254587, 0.03715101629495621, 0.010618620552122593, -0.046363260596990585, -0.002303060842677951, -0.009929590858519077, -0.10375100374221802, -0.025428056716918945, 0.03363979235291481, -0.01567780412733555, -0.07309386879205704, -0.04745815694332123, -0.013714538887143135, -0.03367754444479942, 0.03934080898761749, -0.004466899670660496, 0.029260199517011642, -0.023313771933317184, -0.011364283971488476, -0.0023561539128422737, 0.028146425262093544, -0.09438773989677429, -0.013308671303093433, -0.03313009813427925, 0.01683877222239971, 0.02131275273859501, -0.07441529631614685, -0.014337497763335705, 0.0630510151386261, 0.004969514440745115, 0.0010842791525647044, -0.011468110606074333, 0.03056275099515915, 0.001126753631979227, 0.05482039973139763, -0.000029883305614930578, 0.07441529631614685, -0.015281375497579575, 0.00982576422393322, 0.00661658076569438, -0.0323183611035347, -0.010741325095295906, 0.0045447698794305325, -0.003173787845298648, 0.03479132056236267, 0.03492346405982971, 0.06482549756765366, 0.008844131603837013, -0.0026688133366405964, -0.028826016932725906, 0.0040822699666023254, -0.04670305550098419, 0.015630610287189484, -0.05417856201529503, -0.040888771414756775, 0.031412240117788315, -0.006328698247671127, 0.06414590775966644, 0.0127234673127532, 0.025843363255262375, -0.0011173149105161428, -0.01741453818976879, -0.026334179565310478, -0.02435203827917576, -0.005748213268816471, -0.019056884571909904, 0.07358468323945999, 0.007230101153254509, -0.057463258504867554, -0.010854590684175491, -0.054367341101169586, 0.03952958807349205, -0.02355918101966381, 0.016716068610548973, 0.017036987468600273, 0.05814284831285477, -0.003362563205882907, -0.02614540420472622, -0.019160712137818336, 0.040699996054172516, -0.029694383963942528, -0.07641631364822388, 0.0009674743632785976, 0.01863214001059532, -0.012619640678167343, -0.019821425899863243, -0.02182244509458542, -0.0075982133857905865, 0.03337550535798073, 0.021482650190591812, -0.07551019638776779, 0.05293264612555504, -0.01392219215631485, 0.0005592473899014294, -0.07381121069192886, 0.027882138267159462, 0.003695280058309436, 0.0348857082426548, -0.0056632645428180695, -0.04983672872185707, -0.013214283622801304, 0.013214283622801304, -0.029014792293310165, -0.0220867320895195, -0.008334437385201454, -0.023124996572732925, 0.009490687400102615, -0.07056427747011185, 0.006347575690597296, 0.011524743400514126, 0.005323468707501888, 0.010052294470369816, 0.00145829061511904, -0.018679333850741386, -0.0008931439951993525, -0.039189789444208145, -0.07528366148471832, -0.040888771414756775, -0.037396423518657684, -0.0009780930122360587, -0.058935705572366714, -0.032280609011650085, 0.020727548748254776, -0.01698979362845421, -0.04390917718410492, 0.013988262973725796, -0.04266325756907463, -0.054367341101169586, 0.023729078471660614, 0.016536733135581017, 0.0022346298210322857, -0.0835142731666565, -0.0736224353313446, 0.01385612040758133, -0.017084181308746338, -0.05002550408244133, -0.037302035838365555, -0.025786731392145157, -0.021558159962296486, -0.025786731392145157, -0.009684182703495026, 0.01936836540699005, -0.06512754410505295, -0.02903367020189762, -0.019085200503468513, -0.018292345106601715, 0.024748465046286583, 0.003454591380432248, 0.03207295387983322, 0.05723672732710838, -0.04870407655835152, -0.06826121360063553, -0.019821425899863243, 0.02019897662103176, 0.01904744654893875, 0.012364794500172138, -0.05047856271266937, -0.023351527750492096, 0.005686861462891102, 0.07690713554620743, 0.03690560534596443, 0.01997244544327259, 0.007881376892328262, -0.08585508912801743, -0.013941069133579731, -0.020368874073028564, -0.03569744527339935, 0.03673570975661278, -0.05991733819246292, -0.08155100792646408, -0.01955714076757431, 0.08721427619457245, -0.0028080353513360023, -0.07422652095556259, -0.007692601066082716, -0.004327678121626377, 0.12761223316192627, -0.016461221501231194, 0.0060124993324279785, -0.015630610287189484, -0.032469384372234344, 0.04598570615053177, -0.05927550047636032, 0.02688162960112095, -0.014969895593822002, -0.020463261753320694, -0.02480509877204895, 0.03190305829048157, 0.024276526644825935, 0.03881223872303963, 0.11258570104837418, -0.0444755032658577, 0.027674484997987747, -0.007989922538399696, 0.0014323339564725757, -0.043380606919527054, -0.06055917590856552, -0.01910407841205597, -0.05278162658214569, -0.04205917939543724, 0.0032233414240181446, -0.003119514789432287, 0.011005610227584839, 0.03764183074235916, -0.009721937589347363, -0.09619998931884766, -0.01094897836446762, 0.005417856387794018, -0.02669285424053669, 0.02554132230579853, -0.0300908125936985, 0.036848973482847214, 0.016083670780062675, 0.02125611901283264, -0.005342346150428057, 0.06354182958602905, 0.016970915719866753, -0.0011969545157626271, -0.013799487613141537, 0.01615918055176735, 0.07358468323945999, 0.016659436747431755, 0.02941122092306614, 0.03262040391564369, -0.03724540397524834, -0.06807243824005127, 0.04387142136693001, -0.08442039787769318, 0.004936479032039642, -0.023596934974193573, 0.010316580533981323, 0.009995661675930023, -0.035735197365283966, 0.012931120581924915, -0.005861478857696056, 0.010580865666270256, 0.01693316176533699, -0.009641707874834538, 0.0035938131622970104, -0.04398468881845474, 0.0007910872809588909, -0.017914792522788048, -0.007282014470547438, -0.08442039787769318, 0.07800202816724777, 0.021935710683465004, 0.03498009592294693, -0.02467295527458191, -0.03514999523758888, 0.03741529956459999, -0.02550356835126877, -0.03856683149933815, -0.060181625187397, 0.0467408113181591, -0.017386222258210182, -0.007904973812401295, 0.015196426771581173, -0.04519284889101982, 0.009278315119445324, 0.03190305829048157, -0.06743060052394867, -0.01461122278124094, -0.005233800504356623, 0.020972955971956253, 0.004757142160087824, 0.005224361550062895, -0.04179489240050316, 0.0009220502688549459, 0.054744891822338104, -0.002314859302714467, -0.045041829347610474, 0.01801862008869648, -0.008093749172985554, -0.02563570998609066, -0.01814132370054722, 0.016008161008358, 0.013497446663677692, -0.034489281475543976, 0.01721632480621338, 0.020444385707378387, 0.022804077714681625, 0.0037377546541392803, 0.03180867061018944, -0.028278566896915436, 0.05655713379383087, 0.0524795837700367, 0.0033554842229932547, 0.05402754247188568, -0.023710200563073158, -0.01513979397714138, -0.032563772052526474, 0.012072192505002022, -0.0018417407991364598, -0.03037397563457489, 0.012619640678167343, -0.0940857008099556, -0.045683667063713074, -0.00027180719189345837, 0.028127547353506088, 0.07652957737445831, -0.004134183283895254, 0.013648467138409615, 0.026126526296138763, 0.034224994480609894, 0.021501528099179268, -0.01872652769088745, -0.0012529973173514009, -0.0010654015932232141, 0.012959436513483524, 0.025201527401804924, -0.004535330925136805, 0.07014896720647812, -0.05591529980301857, -0.017622191458940506, 0.025937750935554504, -0.045721422880887985, -0.007083800155669451, -0.017867598682641983, 0.022804077714681625, -0.001451211515814066, 0.06735508888959885, -0.012770661152899265, -0.020180098712444305, 0.02067091502249241, 0.0332811176776886, 0.02512601763010025, -0.016008161008358, 0.026107650250196457, 0.06138978898525238, -0.04523060470819473, 0.021199487149715424, 0.10344896465539932, 0.05614182725548744, -0.013808926567435265, 0.019953569397330284, 0.0032044637482613325, 0.020878568291664124, -0.05670815706253052, -0.050742849707603455, -0.008749743923544884, -0.0005126434261910617, 0.0342438742518425, 0.028542853891849518, -0.08177754282951355, -0.010316580533981323, 0.01350688561797142, 0.03171428292989731, -0.043607138097286224, -0.04817550256848335, -0.014573466964066029, 0.04251223802566528, 0.006597703322768211, -0.06505203247070312, 0.010618620552122593, 0.004903443157672882, 0.031053567305207253, 0.028278566896915436, 0.005063902121037245, -0.015658926218748093, 0.011902294121682644, -0.013478569686412811, 0.03881223872303963, -0.004832652397453785, -0.07086631655693054, -0.03216734156012535, -0.05991733819246292, 0.015196426771581173, 0.10639385879039764, 0.05059183016419411, 0.0003849250206258148, 0.016111986711621284, -0.023672444745898247, 0.026579588651657104 ]
10,881
burnman.classes.mineral
to_string
Returns the name of the mineral class
def to_string(self): """ Returns the name of the mineral class """ return ( "'" + self.__class__.__module__.replace(".minlib_", ".") + "." + self.__class__.__name__ + "'" )
(self)
[ 0.04759557917714119, -0.024238161742687225, 0.044424887746572495, -0.0016998420469462872, 0.01593271642923355, -0.07049500197172165, 0.004198962356895208, 0.03168928250670433, -0.021366925910115242, -0.02603488601744175, -0.012991020455956459, -0.004557866603136063, -0.02351594902575016, 0.013052673079073429, -0.036498162895441055, -0.02980448491871357, 0.016875116154551506, -0.03265810385346413, 0.007107629906386137, 0.019781582057476044, 0.012436150573194027, 0.05819977447390556, 0.01181962713599205, 0.00967941153794527, -0.008670955896377563, 0.06549236178398132, 0.04132465645670891, 0.019076984375715256, -0.01550114993005991, -0.07757621258497238, -0.07799897342920303, -0.04474195837974548, 0.03396161273121834, -0.01930597797036171, 0.007239741738885641, 0.01128237135708332, 0.026316724717617035, 0.01732429675757885, -0.07581471651792526, -0.08877931535243988, 0.017808707430958748, 0.008129296824336052, -0.019693506881594658, -0.00813810434192419, 0.033292245119810104, 0.011388060636818409, 0.03896425664424896, 0.006063944194465876, 0.0009104724158532917, 0.011053376831114292, 0.047666035592556, -0.009846753440797329, 0.013352126814424992, 0.005117141176015139, -0.04135988652706146, 0.0880747139453888, 0.010216667316854, -0.012964598834514618, -0.04217017441987991, 0.023868247866630554, -0.04495333507657051, 0.011335216462612152, 0.07278494536876678, -0.03218250349164009, -0.01930597797036171, 0.0019211297621950507, -0.04784218594431877, 0.023973938077688217, -0.013316897675395012, 0.040866669267416, -0.0026642601005733013, -0.04333275929093361, -0.0003057844005525112, 0.04329753294587135, 0.040267761796712875, -0.048758164048194885, -0.03783689811825752, -0.04886385425925255, -0.00989959854632616, -0.0404791384935379, 0.012215963564813137, -0.023938708007335663, -0.023375030606985092, -0.026633795350790024, 0.036744773387908936, -0.06926196068525314, -0.027373623102903366, -0.02023956924676895, -0.06802891194820404, -0.04608069360256195, -0.08039460331201553, 0.05622689798474312, -0.014065532013773918, 0.09744586795568466, -0.023621639236807823, -0.017650173977017403, -0.006579181179404259, -0.044354427605867386, 0.02444954216480255, 0.00442355265840888, 0.03276379406452179, 0.014990316703915596, -0.07722391188144684, 0.022089138627052307, 0.007900302298367023, 0.01727145165205002, -0.021419771015644073, 0.015395460650324821, -0.004055840894579887, -0.00022940711642149836, -0.021772069856524467, -0.024114858359098434, -0.01134402398020029, -0.028078220784664154, 0.03949270397424698, -0.06587988883256912, -0.012119080871343613, 0.0384710356593132, 0.05450063571333885, 0.004998240154236555, 0.014250488951802254, 0.0637308657169342, -0.06425931304693222, 0.0108155757188797, 0.028254369273781776, 0.006072751712054014, 0.02860666811466217, 0.007420294918119907, 0.020609483122825623, -0.06394224613904953, 0.028906121850013733, 0.019288362935185432, -0.06654925644397736, -0.0027963723987340927, 0.015871064737439156, 0.014382601715624332, -0.06422408670186996, 0.04593977332115173, 0.015192888677120209, 0.08483356982469559, 0.0005452375626191497, 0.03371500223875046, -0.0029747236985713243, -0.0008636827114969492, -0.045059025287628174, 0.020591868087649345, 0.002866832073777914, 0.054359715431928635, -0.036110635846853256, -0.027778765186667442, 0.0028690339531749487, -0.043227072805166245, 0.03773120790719986, 0.002411045366898179, -0.039387013763189316, -0.007975165732204914, -0.010022902861237526, -0.0066056037321686745, 0.02520698495209217, -0.08835655450820923, -0.009335920214653015, -0.02552405372262001, -0.016698965802788734, -0.06027833744883537, 0.01380130834877491, -0.059644199907779694, 0.010049325414001942, 0.01470847800374031, -0.03531796112656593, 0.02332218550145626, -0.018724685534834862, -0.03596971556544304, -0.04262816160917282, 0.05566322058439255, 0.0029879347421228886, 0.06485822051763535, -0.008864720351994038, 0.05999649688601494, 0.0330280177295208, 0.027127012610435486, 0.03540603816509247, 0.025753047317266464, -0.042099714279174805, 0.033855922520160675, 0.03174212947487831, -0.004597500432282686, 0.02709178254008293, -0.023991553112864494, 0.023375030606985092, -0.017755862325429916, 0.0032345440704375505, 0.044354427605867386, -0.000944601371884346, 0.01550114993005991, 0.006640833802521229, -0.020045805722475052, -0.003696936182677746, -0.016329051926732063, -0.020081035792827606, 0.003115643048658967, -0.03364454209804535, 0.07546241581439972, 0.0006055136909708381, 0.025858737528324127, 0.0282367542386055, -0.025612127035856247, 0.04918092116713524, -0.025541668757796288, -0.015157658606767654, 0.005997888278216124, 0.037695977836847305, -0.021930605173110962, -0.04368505999445915, 0.03570549190044403, 0.025242213159799576, -0.04593977332115173, 0.03251718729734421, 0.010128592140972614, 0.0012792852940037847, 0.03545888140797615, 0.000554595491848886, -0.0021985650528222322, 0.021472616121172905, 0.00639862846583128, -0.07666023075580597, -0.025171754881739616, -0.02892373688519001, 0.012867716141045094, 0.018143391236662865, -0.05545184388756752, 0.03290471434593201, -0.07511012256145477, 0.00001199845974042546, 0.03086138144135475, -0.013933420181274414, 0.018196236342191696, 0.006072751712054014, 0.008913161233067513, 0.033221784979104996, -0.05192885175347328, -0.022529512643814087, -0.02351594902575016, 0.011846049688756466, 0.03246434032917023, 0.07835126668214798, 0.00000801187525212299, -0.0184252317994833, -0.019517356529831886, -0.021402155980467796, 0.013449009507894516, 0.02899419702589512, -0.025682587176561356, -0.013607543893158436, -0.03695615008473396, 0.017209799960255623, -0.04019730165600777, -0.04160649701952934, -0.008640130050480366, -0.018072932958602905, 0.014320949092507362, -0.05657919868826866, -0.08687689900398254, 0.0000749323153286241, 0.017315490171313286, 0.0020301223266869783, -0.002397834090515971, -0.02999824844300747, 0.04312138259410858, -0.012436150573194027, -0.0023097593802958727, 0.1097763255238533, 0.0038951043970882893, -0.0661264955997467, 0.051083337515592575, -0.028500977903604507, -0.053796038031578064, -0.06193413957953453, -0.008270216174423695, -0.04231109470129013, -0.038013048470020294, -0.006565970368683338, -0.023674484342336655, 0.02018672600388527, -0.01575656607747078, -0.02999824844300747, -0.01144090574234724, -0.01769421063363552, -0.06186368316411972, 0.0003545007493812591, 0.029381725937128067, 0.018161006271839142, 0.03338031843304634, -0.032799024134874344, -0.022053908556699753, 0.02067994326353073, -0.014752515591681004, 0.010084555484354496, 0.014752515591681004, 0.030544312670826912, -0.0330280177295208, -0.003342435462400317, -0.02992778830230236, -0.04431919753551483, -0.008208563551306725, -0.08067644387483597, -0.00040101518970914185, -0.012462572194635868, -0.024872301146388054, -0.02659856528043747, 0.07200989127159119, -0.04139511659741402, 0.0392460934817791, 0.03212965652346611, 0.02175445482134819, 0.006433858070522547, 0.0632728785276413, 0.004315661266446114, 0.03301040455698967, 0.013906997628509998, 0.08208563923835754, -0.03966885432600975, 0.05774178355932236, -0.002926282584667206, 0.021719224750995636, 0.009538492187857628, -0.02407962828874588, -0.055240463465452194, 0.0031750935595482588, -0.020221956074237823, -0.041289426386356354, -0.050836727023124695, -0.02048617973923683, 0.06137046217918396, -0.003062798408791423, 0.02439669705927372, 0.046679601073265076, 0.07024839520454407, -0.028078220784664154, -0.039845000952482224, -0.045869313180446625, 0.09589575231075287, 0.011493750847876072, -0.05383126810193062, 0.060384027659893036, -0.07581471651792526, 0.0556984506547451, -0.014074339531362057, 0.00443456182256341, 0.027567386627197266, -0.06225121021270752, -0.03487758710980415, -0.0376255176961422, -0.016478778794407845, 0.02459046058356762, 0.015598032623529434, 0.000325876462738961, 0.0010904751252382994, 0.0234454907476902, -0.013589928857982159, 0.0480535663664341, -0.009186193346977234, -0.0059670619666576385, -0.0001522041275165975, 0.0060771554708480835, 0.009335920214653015, -0.01759732887148857, 0.017579713836312294, 0.0067817531526088715, 0.07947862148284912, -0.027831610292196274, -0.023780174553394318, 0.012374497950077057, -0.023057961836457253, -0.051224254071712494, -0.08243793249130249, 0.06697201728820801, 0.019076984375715256, 0.01480535976588726, -0.09314782172441483, -0.04992074891924858, 0.025929197669029236, 0.024995604529976845, -0.010489698499441147, 0.005337327718734741, 0.022282904013991356, 0.018953679129481316, 0.018707070499658585, -0.017650173977017403, -0.02909988723695278, 0.02811344899237156, 0.027866840362548828, -0.04160649701952934, -0.04780695587396622, 0.04139511659741402, -0.01681346446275711, -0.024484772235155106, -0.04646822065114975, 0.007363046519458294, -0.04861724376678467, 0.030650001019239426, 0.03861195594072342, -0.06006695702672005, 0.05066057667136192, 0.02439669705927372, -0.04407258704304695, -0.04139511659741402, 0.0640479326248169, 0.0079179173335433, 0.0030077516566962004, -0.0008433154434897006, -0.0294345710426569, 0.014444253407418728, -0.0833539143204689, -0.07060069590806961, 0.017086494714021683, -0.0014069936005398631, -0.00473401602357626, -0.018460460007190704, 0.05583937093615532, -0.030579542741179466, -0.014444253407418728, 0.04953322187066078, 0.01967589184641838, 0.020133880898356438, -0.04692620784044266, -0.01405672449618578, -0.013986265286803246, 0.013123133219778538, 0.012048621661961079, 0.05154132470488548, -0.0250308346003294, 0.044424887746572495, -0.012374497950077057, -0.044424887746572495, 0.01898890919983387, -0.03836534544825554, 0.013493047095835209, 0.018143391236662865, -0.019341208040714264, 0.019147444516420364, 0.00792672485113144, -0.003787212772294879, -0.010524928569793701, 0.03061477094888687, 0.019024139270186424, -0.016795849427580833, -0.07729437202215195, 0.007486350834369659, -0.006799368187785149, 0.0006886341725476086, -0.023251725360751152, -0.014241681434214115, -0.012215963564813137, -0.006367802154272795, 0.050519656389951706, -0.06024310737848282, -0.013220014981925488, -0.025171754881739616, 0.014188837260007858, -0.013986265286803246, -0.047067128121852875, 0.03780166804790497, 0.04925138130784035, 0.03840057551860809, -0.012304037809371948, 0.020838478580117226, 0.04970937222242355, 0.01273560430854559, -0.009221422486007214, -0.005385769065469503, 0.07715345174074173, 0.009415186941623688, -0.02006342075765133, -0.020891323685646057, 0.00403822585940361, 0.0633433386683464, -0.0492866113781929, 0.04407258704304695, 0.004773649852722883, -0.01496389415115118, -0.028747588396072388, -0.04896954447031021, 0.0428747721016407, 0.05192885175347328, -0.013026250526309013, 0.024731380864977837, 0.04231109470129013, -0.03642770275473595, 0.002750133164227009, -0.00243526604026556, -0.008741416037082672, 0.11625862866640091, -0.03371500223875046, 0.015034354291856289, 0.012339267879724503, 0.07440552115440369, -0.013281667605042458, 0.019094599410891533, -0.0424872450530529, 0.019147444516420364, 0.021278852596879005, -0.021032242104411125, -0.032059196382761, -0.04262816160917282, 0.029575489461421967, -0.008397924713790417, 0.005636781919747591, 0.003707945579662919, -0.02899419702589512, 0.003650696948170662, -0.007565618027001619, -0.012691566720604897, -0.027514541521668434, 0.03903471305966377, 0.017967242747545242, -0.0169367678463459, -0.028219139203429222, 0.03709707036614418, 0.019376438111066818, 0.02589396759867668, -0.030544312670826912, 0.017262645065784454, -0.009926021099090576, -0.040267761796712875, -0.03440198302268982, 0.013501854613423347, -0.0048441095277667046, 0.049075230956077576, -0.00385106704197824, 0.09786862879991531, -0.0054826512932777405, 0.04382598027586937, 0.012682759203016758, 0.01791439764201641, -0.000029037133572273888, 0.05073103681206703, -0.07496920228004456, 0.006993132643401623, 0.050202589482069016, -0.00732781644910574, 0.017139339819550514, -0.04135988652706146, 0.021666379645466805, -0.0013387356884777546, 0.014312141574919224, -0.012656336650252342, -0.015236926265060902, 0.05104810744524002, -0.025189369916915894, -0.02772592194378376, 0.006662852596491575, -0.0028580245561897755, -0.04181787744164467, -0.028906121850013733, 0.04541132599115372, -0.031971123069524765, 0.012964598834514618, 0.006720100995153189, -0.00198168121278286, 0.05478247255086899, -0.0404791384935379, 0.01710410974919796, 0.046679601073265076, 0.02672186866402626, -0.04044391214847565, 0.016461165621876717, -0.01781751587986946, 0.0432623028755188, -0.013167169876396656, -0.002613617340102792, 0.02194822020828724, 0.01524573378264904, 0.026334339752793312, 0.01427691150456667, -0.011026954278349876, 0.07398276031017303, 0.04111327975988388, 0.05784747377038002, 0.0111238369718194, -0.012242386117577553, 0.0248370710760355, 0.057001955807209015, -0.013678004033863544, -0.039950691163539886, -0.030896611511707306, -0.03988023102283478, -0.051153797656297684, -0.03501850739121437, 0.008728204295039177, -0.012022199109196663, -0.009274267591536045, 0.010348779149353504, -0.0010315751424059272, -0.004879339132457972, 0.04985028877854347, -0.05097764730453491, -0.003133258083835244, -0.0005912015330977738, 0.03600494563579559, 0.04097235947847366, 0.025136524811387062, 0.0018715877085924149, 0.019376438111066818, 0.030103938654065132, 0.07313724607229233, -0.0030275683384388685, -0.02628149650990963, -0.01849569007754326, -0.016161710023880005, 0.03699138015508652, -0.049004774540662766, 0.0018352569313719869, -0.022547127678990364, 0.0018881018040701747, -0.03061477094888687, 0.005980273243039846, -0.01706007309257984, -0.04269862174987793, 0.011546595022082329, 0.023868247866630554, -0.007992780767381191, 0.05590983107686043, 0.026510490104556084, -0.04269862174987793, 0.030103938654065132, 0.030826151371002197, -0.01502554677426815, -0.006499913986772299, 0.06679586321115494, -0.04484764486551285, -0.0008455172646790743, -0.034049686044454575, 0.08849747478961945, -0.1313370168209076, -0.040267761796712875, -0.01295579131692648, -0.013378549367189407, -0.015104814432561398, -0.04389644041657448, 0.01729787513613701, 0.005328520201146603, 0.0034062897320836782, -0.04044391214847565, -0.027056552469730377, -0.052351612597703934, -0.05323236063122749, 0.015888679772615433, -0.033239398151636124, 0.00232737441547215, -0.05520523339509964, -0.05263344943523407, 0.01854853518307209, -0.007578829303383827, 0.045552242547273636, 0.041289426386356354, -0.020609483122825623, -0.04548178240656853, 0.008851509541273117, -0.013272860087454319, -0.007953147403895855, -0.011546595022082329, -0.046503450721502304, 0.0404791384935379, -0.016091251745820045, 0.0536903478205204, 0.006433858070522547, -0.008604899980127811, -0.019728736951947212, 0.005007047671824694, -0.06281489133834839, -0.025735432282090187, 0.04925138130784035, 0.0338735356926918, -0.11428575217723846, -0.09018851071596146, 0.012497802264988422, 0.028500977903604507, 0.038189198821783066, 0.010428046807646751, -0.03804827854037285, 0.0017251635435968637, 0.000027127700377604924, -0.04213494434952736, -0.0009297387441620231, 0.03843580558896065, 0.03931655362248421, -0.04245201498270035, 0.039210863411426544, 0.026316724717617035, -0.010833189822733402, -0.03489520400762558, -0.00488814665004611, 0.004588692914694548, 0.043156612664461136, 0.07098822295665741, 0.045869313180446625, 0.03251718729734421, 0.010128592140972614, -0.020521409809589386, -0.037942588329315186, 0.07976046204566956, -0.008349482901394367, -0.02006342075765133, 0.021860145032405853, 0.0294345710426569, 0.03663908317685127, 0.05298575013875961, -0.0038951043970882893, -0.03440198302268982, 0.013246437534689903, 0.0520697720348835, 0.047701265662908554, 0.02735600806772709, -0.0037035418208688498, 0.04720804840326309, -0.064118392765522, -0.03276379406452179, 0.05735425651073456, -0.029505031183362007, 0.0250308346003294, -0.029910173267126083, -0.0079179173335433, 0.0540778748691082, -0.01610005833208561, 0.048758164048194885, 0.06831075251102448, 0.010921264998614788, -0.02848336286842823, -0.013818923383951187, 0.027990145608782768, -0.04583408311009407, 0.0016018588794395328, -0.0977981686592102, 0.027884455397725105, 0.06309672445058823, 0.00003639962960733101, 0.014074339531362057, 0.014100762084126472, -0.018953679129481316, 0.014638017863035202, -0.027585001662373543, 0.012339267879724503, -0.019094599410891533, 0.020891323685646057, 0.011775589548051357, 0.007363046519458294, 0.017016034573316574, 0.029452186077833176, -0.028025375679135323, -0.000397437164792791, 0.072925865650177, 0.029839714989066124, -0.005491458810865879, -0.04019730165600777, 0.04576362296938896, -0.0637308657169342, 0.01508719939738512, -0.015571610070765018, 0.017747055739164352, -0.04470672830939293, 0.005539899691939354, -0.028201524168252945, 0.03049146756529808, -0.026827558875083923, 0.03716753050684929, 0.06665494292974472, -0.01810816116631031, -0.055980291217565536 ]
10,882
burnman.classes.mineral
unroll
null
def unroll(self): return ([self], [1.0])
(self)
[ -0.02126549556851387, -0.017846604809165, 0.017308130860328674, 0.0030000759288668633, -0.029436642304062843, -0.016034593805670738, -0.050291869789361954, -0.0175218116492033, 0.020342394709587097, 0.011863548308610916, 0.0038248831406235695, 0.012487495318055153, 0.014966190792620182, 0.025111746042966843, -0.0376419797539711, 0.007773701101541519, 0.0008547224570065737, 0.03723170980811119, -0.01776113361120224, 0.025846807286143303, 0.02150481753051281, 0.013513162732124329, 0.06612133234739304, 0.055283449590206146, -0.043795980513095856, -0.009914780966937542, -0.010051536373794079, -0.021778328344225883, 0.0299665704369545, -0.04820634797215462, -0.07685664296150208, 0.016256822273135185, 0.014940548688173294, -0.010077178478240967, 0.043146390467882156, -0.003032128093764186, -0.0319153368473053, 0.02680409699678421, -0.02230825647711754, 0.049984171986579895, 0.08690818399190903, -0.08984842896461487, -0.009829308837652206, -0.040787357836961746, 0.0023739917669445276, 0.011436186730861664, 0.07001886516809464, -0.03215466067194939, 0.03541969880461693, -0.056890327483415604, 0.052992794662714005, 0.01970990002155304, 0.05877071991562843, 0.028000708669424057, -0.024547629058361053, 0.0763780027627945, 0.04051384702324867, 0.007786521688103676, 0.01612006686627865, 0.031214464455842972, -0.01311999000608921, -0.019504766911268234, 0.012402023188769817, 0.0015662789810448885, 0.011222505941987038, -0.03952236846089363, -0.06030922010540962, 0.015256796032190323, -0.009641269221901894, 0.04800121486186981, 0.005106966942548752, -0.0074745481833815575, -0.010735314339399338, 0.025761336088180542, 0.008846377953886986, -0.012025945819914341, 0.007777974475175142, 0.0089233024045825, 0.06112975254654884, -0.08061742782592773, -0.03941980004310608, 0.038154810667037964, -0.045505426824092865, 0.07801906764507294, 0.01380376797169447, -0.015906386077404022, 0.029539208859205246, -0.0007713870145380497, -0.05555696040391922, 0.02386385202407837, -0.036308612674474716, 0.01596621610224247, -0.038975346833467484, 0.027881046757102013, 0.022017650306224823, 0.012590061873197556, -0.04506096988916397, -0.038975346833467484, -0.015667062252759933, -0.005226627923548222, 0.002348350128158927, -0.0021218485198915005, -0.05712965130805969, 0.018154306337237358, 0.016641447320580482, -0.030120421200990677, -0.014137109741568565, -0.026428019627928734, 0.002775711240246892, 0.018068833276629448, 0.028975091874599457, 0.01059001125395298, -0.0449925921857357, 0.029197320342063904, -0.04789864644408226, -0.03627442196011543, -0.033676065504550934, 0.009436136111617088, 0.020718473941087723, 0.03329998627305031, 0.041676267981529236, -0.013863598927855492, -0.03859926760196686, 0.027265647426247597, -0.011342166922986507, 0.03235979378223419, 0.010624200105667114, 0.015222607180476189, 0.01282938476651907, -0.030599065124988556, 0.009564344771206379, -0.004406094551086426, -0.059180986136198044, 0.03446241095662117, -0.017402149736881256, -0.030684536322951317, 0.043214768171310425, -0.031060615554451942, 0.011666961945593357, 0.024410873651504517, -0.014855076558887959, 0.03333417698740959, 0.034257277846336365, 0.09381434321403503, 0.0204449612647295, 0.03297519311308861, 0.02550491876900196, 0.13538804650306702, -0.022701429203152657, 0.004777898546308279, -0.012820837087929249, 0.028222937136888504, 0.050975650548934937, -0.0057565560564398766, 0.0024680111091583967, -0.03056487627327442, -0.040889922529459, -0.004679605830460787, -0.010410520248115063, -0.04625758156180382, -0.053232114762067795, -0.023812567815184593, -0.026445113122463226, -0.02076975628733635, -0.030975142493844032, 0.0038248831406235695, 0.027026325464248657, -0.021402250975370407, -0.037436846643686295, 0.03535132110118866, 0.007265141233801842, -0.06417256593704224, 0.00863697100430727, 0.03541969880461693, -0.049505528062582016, 0.029693059623241425, -0.014000354334712029, 0.048274725675582886, -0.024410873651504517, 0.015444835647940636, 0.02191508375108242, -0.04902688041329384, -0.0428386926651001, -0.04553961381316185, 0.03340255469083786, 0.01744488626718521, 0.03133412450551987, -0.025846807286143303, 0.010145556181669235, 0.0068420534953475, -0.0003726055729202926, -0.0035150463227182627, 0.024786952883005142, 0.002487242454662919, 0.03382991626858711, 0.011239600367844105, -0.07316424697637558, 0.029761437326669693, 0.01172679290175438, -0.01727394200861454, -0.06516404449939728, -0.00069018843350932, 0.04389854520559311, 0.010786597616970539, 0.0035129094030708075, 0.004790719598531723, -0.014803793281316757, -0.020991984754800797, -0.04307801276445389, -0.0020096662919968367, 0.05401846021413803, 0.02336811274290085, 0.0023547604214400053, 0.005931774154305458, -0.005491591989994049, -0.058941662311553955, -0.001574826193973422, -0.023607434704899788, 0.042154911905527115, -0.0003346772864460945, 0.007389076054096222, -0.03480429947376251, -0.03047940321266651, -0.046872980892658234, -0.016154255717992783, 0.006410418543964624, -0.02663315273821354, -0.058360449969768524, -0.03138541057705879, -0.007970287464559078, 0.013743937946856022, -0.07063426822423935, -0.015607232227921486, -0.07152317464351654, -0.01022248063236475, 0.06376229971647263, -0.051283348351716995, -0.033129043877124786, -0.01393197663128376, 0.042633555829524994, -0.01875261217355728, 0.011521658860147, 0.07418990880250931, 0.06673672795295715, 0.03422308713197708, 0.045334480702877045, 0.028479352593421936, 0.055112507194280624, -0.013162726536393166, 0.04300963506102562, -0.036547932773828506, -0.0009508787770755589, 0.021162929013371468, 0.013538803905248642, 0.052924416959285736, -0.045266102999448776, 0.008564319461584091, -0.019846655428409576, 0.01017974503338337, -0.010906258597970009, 0.028086181730031967, -0.03801805526018143, 0.026291264221072197, -0.007205310743302107, -0.06277082115411758, 0.033676065504550934, -0.005453129298985004, 0.024086080491542816, -0.039214666932821274, 0.08889114111661911, 0.01194047275930643, -0.022906562313437462, -0.029864003881812096, -0.0057266405783593655, 0.016017498448491096, 0.06030922010540962, 0.05285603925585747, -0.0016944872913882136, -0.018359439447522163, -0.026598963886499405, 0.04683879390358925, 0.0039765965193510056, -0.0033120496664196253, -0.003021443961188197, -0.0415395125746727, -0.021368062123656273, -0.0040236059576272964, 0.007478821557015181, 0.03658212348818779, -0.02306041307747364, 0.026171602308750153, 0.04225748032331467, 0.062052853405475616, -0.0003958433517254889, 0.09709647297859192, -0.012171247974038124, -0.06892482191324234, -0.0069446200504899025, 0.018718423321843147, 0.013094348832964897, 0.0061668227426707745, -0.06454864144325256, 0.0057608294300735, 0.03294100612401962, 0.03294100612401962, -0.049813225865364075, 0.01660725846886635, 0.036787256598472595, -0.03535132110118866, -0.02003469504415989, -0.012205436825752258, 0.0488901250064373, -0.0170346200466156, 0.010906258597970009, -0.02143643982708454, -0.0594886839389801, -0.013957617804408073, 0.06471958756446838, 0.030017852783203125, 0.09189976006746292, -0.048103783279657364, -0.03695819899439812, -0.0177440382540226, 0.021145833656191826, 0.01540209911763668, -0.0044958400540053844, -0.007619850803166628, -0.029453737661242485, -0.0395907461643219, -0.003354785731062293, -0.06971116364002228, -0.023180073127150536, 0.0006736281793564558, 0.027915235608816147, -0.060992997139692307, 0.0036154761910438538, 0.0832841619849205, -0.0067010242491960526, 0.03133412450551987, -0.051761992275714874, -0.010325047187507153, -0.03610347956418991, -0.04181302338838577, 0.001644272357225418, 0.023761285468935966, -0.008128411136567593, 0.036787256598472595, 0.013256745412945747, 0.08533549308776855, 0.041095055639743805, 0.020547527819871902, -0.018120117485523224, 0.011983209289610386, 0.08212173730134964, 0.07993364334106445, 0.013231104239821434, -0.0601382739841938, -0.01311999000608921, 0.0066240993328392506, -0.009684005752205849, 0.004269338678568602, -0.001235074014402926, -0.03969331085681915, 0.059112608432769775, 0.05565952882170677, -0.02412026934325695, -0.046633657068014145, -0.0018162853084504604, -0.055283449590206146, -0.01515422947704792, -0.05056538060307503, -0.02762463130056858, -0.033607687801122665, 0.02061590552330017, -0.0369923897087574, -0.002997939009219408, -0.02695794776082039, 0.02386385202407837, 0.0030342647805809975, -0.0350436232984066, 0.027983613312244415, -0.03275296464562416, 0.003876166418194771, 0.052343204617500305, 0.015077305026352406, 0.032069187611341476, 0.006970261689275503, -0.022513389587402344, 0.042154911905527115, 0.04841148108243942, 0.023402301594614983, -0.03842832148075104, -0.0281203705817461, -0.008662612177431583, -0.05648006126284599, 0.0071412064135074615, 0.021607384085655212, 0.0010368851944804192, -0.025539107620716095, -0.04577893763780594, 0.029607586562633514, -0.01547902449965477, -0.002446643076837063, 0.01882098987698555, -0.04800121486186981, -0.04653109237551689, 0.036206044256687164, 0.010701125487685204, 0.025351068004965782, -0.044274624437093735, -0.011923378333449364, 0.014205487444996834, 0.00623092707246542, -0.04837729409337044, 0.08246362209320068, -0.0010523770470172167, -0.009778025560081005, 0.026684435084462166, 0.031077709048986435, 0.021487724035978317, 0.05230901762843132, 0.046086635440588, 0.0009567549568600953, 0.051522672176361084, -0.00960708037018776, -0.03736846521496773, -0.05767667293548584, 0.036787256598472595, -0.059522874653339386, 0.03215466067194939, -0.002286382718011737, -0.05596722662448883, -0.0026453661266714334, -0.06742051243782043, -0.014692679978907108, -0.06659997254610062, -0.006820685230195522, -0.0010486376704648137, -0.0056497156620025635, 0.07726690918207169, 0.03941980004310608, 0.029282791540026665, 0.013111443258821964, -0.046155013144016266, 0.02459891326725483, -0.04229166731238365, -0.05518088489770889, -0.008538677357137203, -0.05261671543121338, -0.015068757347762585, 0.07453180104494095, 0.02347067929804325, 0.05579628422856331, 0.0146584901958704, -0.000006381204457284184, -0.01619699038565159, -0.020889418199658394, -0.07685664296150208, -0.029846908524632454, -0.02974434196949005, 0.06297595053911209, -0.006457428447902203, -0.003756505437195301, 0.049539715051651, -0.009564344771206379, -0.058531396090984344, 0.03403504937887192, -0.051864560693502426, -0.03747103363275528, -0.016923505812883377, 0.03176148608326912, -0.03437693789601326, -0.010410520248115063, -0.08130120486021042, -0.022462107241153717, 0.027419498190283775, -0.013641370460391045, -0.005867669824510813, 0.019863750785589218, -0.06690767407417297, -0.04577893763780594, -0.060240842401981354, 0.012282362207770348, 0.005611252970993519, -0.05012092739343643, 0.0240177009254694, 0.02241082303225994, -0.01834234409034252, 0.028821242973208427, -0.007243772968649864, -0.06191609799861908, 0.0421891026198864, -0.014393527060747147, 0.03986425697803497, -0.0006378366379067302, 0.019915033131837845, -0.0037864206824451685, -0.032069187611341476, 0.025949373841285706, 0.0018932103412225842, 0.036547932773828506, -0.020752662792801857, -0.015205512754619122, -0.027556253597140312, 0.028086181730031967, -0.002252193633466959, 0.03394957631826401, -0.02784685790538788, -0.0579843744635582, -0.03805224597454071, -0.004224465694278479, -0.0014690542593598366, -0.08875438570976257, 0.06184772029519081, -0.02892380952835083, -0.00019111060828436166, -0.05172780528664589, 0.009513061493635178, 0.016154255717992783, -0.013256745412945747, 0.022906562313437462, 0.05142010375857353, -0.0073848022148013115, 0.014974737539887428, -0.03600091114640236, 0.012957592494785786, -0.00929083302617073, -0.021692857146263123, 0.027829764410853386, 0.05374494940042496, -0.05514669418334961, -0.07186506688594818, -0.02835969254374504, 0.020068883895874023, -0.041436947882175446, 0.038667645305395126, -0.08519873768091202, -0.002515021013095975, 0.014094374142587185, -0.049539715051651, 0.021624479442834854, 0.03911210224032402, 0.034342750906944275, -0.03227432072162628, -0.011684056371450424, 0.023077506572008133, -0.04636014625430107, 0.015983309596776962, -0.024872424080967903, -0.004284296650439501, -0.047214869409799576, -0.06249730661511421, 0.03070163168013096, -0.021162929013371468, 0.03753941133618355, 0.014461904764175415, -0.0024551902897655964, -0.020957795903086662, -0.007414717692881823, 0.03379572555422783, 0.018308155238628387, 0.018530383706092834, 0.05224063992500305, -0.046325959265232086, -0.012478948570787907, 0.040889922529459, 0.06776239722967148, 0.08013878017663956, 0.01017974503338337, -0.0011111391941085458, -0.017308130860328674, -0.0456421822309494, 0.01258151512593031, -0.016590163111686707, -0.0065300799906253815, -0.013504615053534508, 0.02061590552330017, -0.036787256598472595, -0.0281203705817461, -0.08417306840419769, 0.028154559433460236, 0.014128562994301319, -0.0058463020250201225, -0.09490838646888733, 0.004277885891497135, -0.0010561164235696197, -0.031727299094200134, 0.045505426824092865, 0.03306066617369652, 0.035727400332689285, -0.004820634610950947, 0.010316500440239906, -0.029231509193778038, 0.0017479074886068702, 0.024479251354932785, -0.045984070748090744, -0.019282538443803787, -0.0011773802107200027, -0.04718068242073059, 0.02133387327194214, 0.04236004501581192, 0.027145985513925552, -0.012000303715467453, 0.027026325464248657, -0.02729983627796173, -0.033676065504550934, 0.0024765583220869303, -0.03422308713197708, -0.04099249094724655, -0.012436212040483952, 0.004282159730792046, 0.016256822273135185, 0.04030871391296387, -0.032701682299375534, 0.006410418543964624, -0.012615703977644444, -0.06673672795295715, -0.016590163111686707, 0.0006121949991211295, 0.027094703167676926, -0.0586339607834816, -0.012684081681072712, -0.026735719293355942, -0.008154052309691906, -0.031077709048986435, -0.015786724165081978, 0.05548858270049095, -0.030086232349276543, 0.07077102363109589, 0.007350613363087177, 0.04006939008831978, -0.0006495891138911247, 0.0737796425819397, -0.06854874640703201, -0.013675559312105179, 0.0321204699575901, -0.012607156299054623, 0.03647955507040024, 0.03675306588411331, -0.032633304595947266, 0.05774505063891411, -0.006978808902204037, 0.021539006382226944, -0.02502627484500408, -0.02143643982708454, -0.07207019627094269, -0.03013751469552517, -0.03184695914387703, 0.03235979378223419, -0.012154153548181057, -0.05459967255592346, 0.04936876893043518, 0.00017682071484159678, 0.03176148608326912, -0.03907791152596474, 0.03046230971813202, 0.0029680237639695406, 0.02182961255311966, -0.018273966386914253, -0.0004094654868822545, -0.04690717160701752, 0.01897483877837658, -0.034274373203516006, 0.018530383706092834, 0.0726855993270874, 0.02100907824933529, -0.017077354714274406, 0.00564116844907403, 0.024222835898399353, -0.024804046377539635, -0.0027009230107069016, -0.017538905143737793, -0.02133387327194214, 0.020017599686980247, -0.010000253096222878, -0.03692401200532913, -0.008419016376137733, 0.013684106990695, 0.00031143950764089823, 0.016410671174526215, -0.009307927452027798, -0.0015310216695070267, -0.04328314587473869, -0.045334480702877045, -0.024154458194971085, 0.02410317398607731, -0.010017347522079945, 0.037197522819042206, -0.018017549067735672, -0.053471438586711884, 0.029282791540026665, -0.027487875893712044, 0.035146187990903854, 0.03511200100183487, -0.020239828154444695, 0.04181302338838577, -0.008183968253433704, -0.04991579428315163, 0.03695819899439812, 0.005282185040414333, 0.03145378828048706, -0.01793207786977291, -0.020581716671586037, 0.0021838159300386906, 0.053163737058639526, 0.0449925921857357, 0.06328365206718445, -0.0012884940952062607, -0.020325301215052605, 0.0015929890796542168, 0.02037658356130123, 0.1109771654009819, -0.007196763530373573, 0.0332145169377327, 0.03812062367796898, 0.004517208319157362, -0.011290883645415306, 0.027727197855710983, -0.04984741657972336, 0.06837780028581619, -0.04051384702324867, 0.05675357207655907, 0.04099249094724655, -0.016564521938562393, -0.016094423830509186, 0.0653349831700325, 0.03357350081205368, -0.02842807024717331, -0.06964278966188431, 0.012111417949199677, 0.035146187990903854, 0.014043090865015984, 0.005465950351208448, 0.007470274344086647, 0.035556454211473465, -0.01817139983177185, 0.00003170152194797993, 0.03771035745739937, 0.03887277841567993, 0.009350663982331753, -0.02070137858390808, -0.031214464455842972, 0.014966190792620182, 0.0646853968501091, -0.07412153482437134, -0.012743912637233734, 0.04909525811672211, 0.03682144358754158, -0.02345358580350876, -0.03569320961833, 0.03562483191490173, 0.0627366304397583, -0.0089233024045825, -0.006491617299616337, 0.051283348351716995, -0.0776771828532219, 0.06034340709447861, -0.048684991896152496, -0.0204449612647295, -0.0586339607834816, -0.03403504937887192, 0.014735415577888489, -0.011051561683416367, 0.10475479066371918, -0.001880389521829784, 0.04653109237551689, 0.04054803401231766, 0.02916313149034977 ]
10,884
burnman.classes.layer
BoundaryLayerPerturbation
A class that implements a temperature perturbation model corresponding to a simple thermal boundary layer. The model takes the following form: T = a*exp((r - r1)/(r0 - r1)*c) + b*exp((r - r0)/(r1 - r0)*c) The relationships between the input parameters and a, b and c are given below. This model is a simpler version of that proposed by :cite:`Richter1981`. :param radius_bottom: The radius at the bottom of the layer (r0) [m]. :type radius_bottom: float :param radius_top: The radius at the top of the layer (r1) [m]. :type radius_top: float :param rayleigh_number: The Rayleigh number of convection within the layer. The exponential scale factor is this number to the power of 1/4 (Ra = c^4). :type rayleigh_number: float :param temperature_change: The total difference in potential temperature across the layer [K]. temperature_change = (a + b)*exp(c). :type temperature_change: float :param boundary_layer_ratio: The ratio of the linear scale factors (a/b) corresponding to the thermal boundary layers at the top and bottom of the layer. A number greater than 1 implies a larger change in temperature across the top boundary than the bottom boundary. :type boundary_layer_ratio: float
class BoundaryLayerPerturbation(object): """ A class that implements a temperature perturbation model corresponding to a simple thermal boundary layer. The model takes the following form: T = a*exp((r - r1)/(r0 - r1)*c) + b*exp((r - r0)/(r1 - r0)*c) The relationships between the input parameters and a, b and c are given below. This model is a simpler version of that proposed by :cite:`Richter1981`. :param radius_bottom: The radius at the bottom of the layer (r0) [m]. :type radius_bottom: float :param radius_top: The radius at the top of the layer (r1) [m]. :type radius_top: float :param rayleigh_number: The Rayleigh number of convection within the layer. The exponential scale factor is this number to the power of 1/4 (Ra = c^4). :type rayleigh_number: float :param temperature_change: The total difference in potential temperature across the layer [K]. temperature_change = (a + b)*exp(c). :type temperature_change: float :param boundary_layer_ratio: The ratio of the linear scale factors (a/b) corresponding to the thermal boundary layers at the top and bottom of the layer. A number greater than 1 implies a larger change in temperature across the top boundary than the bottom boundary. :type boundary_layer_ratio: float """ def __init__( self, radius_bottom, radius_top, rayleigh_number, temperature_change, boundary_layer_ratio, ): self.r0 = radius_bottom self.r1 = radius_top self.Ra = rayleigh_number self.c = np.power(self.Ra, 1.0 / 4.0) self.a = temperature_change / (np.exp(self.c) * (1.0 + boundary_layer_ratio)) self.b = -boundary_layer_ratio * self.a def temperature(self, radii): """ Returns the temperature at one or more radii [K]. :param radii: The radii at which to evaluate the temperature. :type radii: float or numpy.array :returns: The temperatures at the requested radii. :rtype: float or numpy.array """ return self.a * np.exp( (radii - self.r1) / (self.r0 - self.r1) * self.c ) + self.b * np.exp((radii - self.r0) / (self.r1 - self.r0) * self.c) def dTdr(self, radii): """ Returns the thermal gradient at one or more radii [K/m]. :param radii: The radii at which to evaluate the thermal gradients. :type radii: float or numpy.array :returns: The thermal gradient at the requested radii. :rtype: float or numpy.array """ return ( self.c / (self.r0 - self.r1) * ( self.a * np.exp((radii - self.r1) / (self.r0 - self.r1) * self.c) - self.b * np.exp((radii - self.r0) / (self.r1 - self.r0) * self.c) ) ) def set_model_thermal_gradients(self, dTdr_bottom, dTdr_top): """ Reparameterizes the model based on the thermal gradients at the bottom and top of the model. :param dTdr_bottom: The thermal gradient at the bottom of the model [K/m]. Typically negative for a cooling planet. :type dTdr_bottom: float :param dTdr_top: The thermal gradient at the top of the model [K/m]. Typically negative for a cooling planet. :type dTdr_top: float """ def delta_dTdrs(args, dTdr_bottom, dTdr_top): a, b = args self.a = a self.b = b return [dTdr_bottom - self.dTdr(self.r0), dTdr_top - self.dTdr(self.r1)] fsolve(delta_dTdrs, [self.a, self.b], args=(dTdr_bottom, dTdr_top))
(radius_bottom, radius_top, rayleigh_number, temperature_change, boundary_layer_ratio)
[ -0.0034617227502167225, -0.05245126038789749, 0.0048594847321510315, 0.0568356066942215, -0.03453175351023674, -0.05631270259618759, -0.07183892279863358, -0.041228942573070526, -0.06447804719209671, -0.006269816309213638, 0.010528463870286942, 0.02564239129424095, 0.0036955210380256176, 0.015868114307522774, -0.07859644293785095, 0.03686470910906792, -0.0441250242292881, 0.0012733207549899817, -0.009568131528794765, -0.06109928339719772, -0.032681480050086975, -0.05538756400346756, 0.00542009761556983, 0.08696290105581284, -0.023510552942752838, -0.0023103291168808937, -0.029222270473837852, -0.008653050288558006, 0.0024599097669124603, -0.015898283571004868, -0.03495410084724426, -0.009643550030887127, -0.03032841347157955, -0.007763108238577843, -0.002071503084152937, -0.05872610583901405, 0.045090384781360626, 0.03338538855314255, -0.053255725651979446, 0.019176486879587173, -0.0026547417510300875, -0.016732918098568916, 0.04472837597131729, -0.01588822714984417, 0.02389267459511757, -0.024355243891477585, -0.014530688524246216, 0.022022288292646408, -0.003715632716193795, -0.015465881675481796, 0.003245522268116474, -0.044929493218660355, 0.021760838106274605, -0.018603304401040077, -0.032178688794374466, 0.020614471286535263, 0.05466354638338089, 0.028176462277770042, -0.007903889752924442, -0.08921541273593903, -0.003836302785202861, 0.011725109070539474, 0.026788756251335144, 0.007360874675214291, -0.037548504769802094, 0.012680414132773876, -0.04557306692004204, 0.025240158662199974, 0.021157486364245415, 0.06117972731590271, 0.027392107993364334, -0.0009810728952288628, 0.014470353722572327, -0.04384346306324005, 0.019940730184316635, 0.010860307142138481, 0.01747705042362213, -0.0662076473236084, -0.019890451803803444, -0.03774962201714516, -0.02471725456416607, 0.031072545796632767, 0.029262494295835495, -0.0027904955204576254, 0.0441250242292881, -0.0386144258081913, -0.02338988333940506, -0.0059027778916060925, 0.014601079747080803, -0.03443119674921036, -0.043441228568553925, -0.02459658496081829, -0.001514660893008113, 0.021700501441955566, 0.07195959240198135, 0.011735164560377598, -0.01478208415210247, -0.05434175953269005, 0.009100534953176975, -0.04336078092455864, 0.03881554305553436, 0.02709043212234974, -0.04846914857625961, 0.028538472950458527, 0.022424522787332535, -0.015073703601956367, -0.047624457627534866, 0.00973908044397831, 0.014852475374937057, -0.004276245832443237, -0.05273282527923584, 0.044768597930669785, -0.003916749730706215, 0.0003183301887474954, -0.05522667244076729, -0.02007145620882511, -0.04012279957532883, 0.027211101725697517, -0.0036854653153568506, 0.0011369383428245783, 0.058002084493637085, -0.019216710701584816, -0.029363052919507027, 0.03535633161664009, -0.024294909089803696, 0.026125071570277214, 0.04424569383263588, 0.009527908638119698, 0.007692717481404543, -0.060978613793849945, -0.014017840847373009, 0.03744794800877571, 0.023470329120755196, 0.025803284719586372, 0.013163094408810139, 0.019236821681261063, -0.032621145248413086, -0.008879306726157665, 0.029101600870490074, 0.02709043212234974, 0.05188813433051109, 0.005244120489805937, 0.021137375384569168, 0.0391574390232563, -0.00962343905121088, -0.0034365833271294832, 0.029443498700857162, -0.017275933176279068, -0.022525081411004066, 0.03943900391459465, -0.06278866529464722, 0.021861394867300987, 0.01859324797987938, 0.032621145248413086, 0.012620079331099987, 0.004135464318096638, 0.04416524991393089, -0.0039670285768806934, -0.012982089072465897, 0.0035220577847212553, -0.07960202544927597, -0.0237116701900959, 0.015687109902501106, 0.012821195647120476, 0.013665886595845222, -0.01307259127497673, 0.012841307558119297, -0.037367500364780426, 0.0039997100830078125, 0.025461386889219284, 0.006898306310176849, -0.03789040446281433, -0.01825134828686714, 0.02300776168704033, -0.007853610441088676, 0.026949649676680565, 0.04830825328826904, -0.04665909707546234, 0.00962343905121088, 0.013293820433318615, 0.04311944171786308, -0.022203294560313225, -0.018824532628059387, -0.011523992754518986, -0.004361720290035009, 0.022585416212677956, 0.01565694250166416, -0.031032321974635124, -0.004459764808416367, -0.003793565556406975, 0.029423387721180916, -0.035114992409944534, 0.03189712390303612, 0.036824483424425125, 0.048951826989650726, 0.018070343881845474, 0.08286011964082718, -0.013334043323993683, 0.08125118166208267, 0.014993256889283657, -0.05172723904252052, -0.002179603325203061, 0.01831168495118618, 0.03215857595205307, 0.027371995151042938, -0.015003313310444355, 0.010950809344649315, -0.00880388729274273, -0.0364222526550293, 0.03012729622423649, -0.0250993762165308, -0.009854722768068314, 0.016702750697731972, 0.041671399027109146, 0.0424758680164814, -0.03652280941605568, 0.004955015145242214, 0.009005004540085793, 0.033847957849502563, -0.03284237161278725, -0.022022288292646408, -0.032078128308057785, -0.0008911988115869462, 0.004899708088487387, 0.03491387516260147, 0.01804017648100853, -0.018764197826385498, 0.05542778968811035, 0.022605527192354202, -0.01577761210501194, 0.048187583684921265, -0.023953009396791458, -0.02630607597529888, -0.02741221897304058, 0.04549261927604675, -0.05498533323407173, -0.030710535123944283, -0.03608035296201706, 0.00929662398993969, -0.03117310255765915, -0.019508328288793564, -0.03348594531416893, 0.003665353637188673, 0.009397182613611221, 0.005666465498507023, -0.02322898991405964, 0.042717207223176956, 0.02073514088988304, -0.006249704398214817, -0.026044625788927078, -0.052491482347249985, -0.014842419885098934, -0.00275027216412127, 0.052974164485931396, -0.01726587675511837, -0.06572496891021729, 0.08639977872371674, 0.03225913271307945, 0.030469194054603577, 0.006455848924815655, 0.025722838938236237, -0.006450821179896593, 0.008693273179233074, 0.09138747304677963, -0.03495410084724426, -0.019608886912465096, -0.024134015664458275, -0.019447993487119675, -0.02586361952126026, 0.013042423874139786, 0.12396839261054993, 0.0634322389960289, -0.051003217697143555, -0.02057424746453762, -0.01798989810049534, 0.004243564326316118, 0.03342561051249504, 0.014520633034408092, -0.050600986927747726, -0.03634180501103401, -0.028156351298093796, -0.08229698985815048, -0.02200217731297016, 0.04573395848274231, -0.06270821392536163, -0.020835699513554573, -0.04042447730898857, -0.03988146036863327, 0.0656847432255745, -0.01114187017083168, -0.009583215229213238, -0.03740772232413292, 0.05035964399576187, 0.021801060065627098, 0.11230362206697464, -0.0485495962202549, -0.04118872061371803, -0.04585462808609009, 0.039479225873947144, -0.06825903803110123, 0.015506104566156864, -0.008597742766141891, 0.06504116952419281, -0.00507568521425128, -0.04826803132891655, -0.002272619865834713, 0.06761546432971954, 0.005070657003670931, 0.028659142553806305, 0.012056952342391014, 0.02355077676475048, -0.01001058891415596, 0.019558608531951904, 0.014570911414921284, 0.01169494166970253, -0.08511263132095337, 0.01100108865648508, -0.0009119389578700066, 0.019166430458426476, 0.05550823733210564, 0.019659167155623436, 0.0032254105899482965, -0.007742996793240309, 0.03535633161664009, 0.03772950917482376, -0.037809956818819046, 0.05856521055102348, 0.0035094881895929575, 0.012881530448794365, 0.014279292896389961, -0.08141207695007324, 0.015687109902501106, 0.029161935672163963, 0.016481520608067513, -0.0007101937080733478, -0.008587687276303768, 0.021097151562571526, 0.01356532797217369, 0.010020644403994083, -0.06471938639879227, 0.03408929705619812, 0.06150151416659355, -0.0319775715470314, 0.04794624447822571, 0.006169257685542107, -0.003029321786016226, 0.05723784118890762, -0.013122870586812496, 0.03173622861504555, 0.06652943789958954, -0.03237980231642723, 0.021801060065627098, 0.014229013584554195, 0.06906350702047348, 0.01456085592508316, 0.040625590831041336, -0.031032321974635124, 0.01881447620689869, 0.06238643079996109, 0.0003415842948015779, 0.020262517035007477, 0.03177645429968834, -0.04750378802418709, -0.002290217438712716, 0.011674829758703709, -0.054422203451395035, -0.039901573210954666, 0.05200880393385887, -0.007577075157314539, -0.025300493463873863, 0.02968483977019787, -0.054301533848047256, -0.01332398783415556, 0.0005119051202200353, -0.000622833555098623, -0.017577607184648514, 0.009206120856106281, 0.012640190310776234, 0.02503904141485691, 0.03589934855699539, 0.01914631947875023, 0.004580434877425432, -0.047745127230882645, 0.010458073578774929, 0.03575856611132622, -0.038151856511831284, 0.007903889752924442, -0.03962000831961632, 0.08197520673274994, 0.011664774268865585, 0.054140642285346985, -0.04899205267429352, 0.06471938639879227, -0.00827595591545105, -0.03636191785335541, 0.01638096384704113, 0.028779814019799232, 0.031032321974635124, -0.07867688685655594, 0.006797747686505318, -0.03248036280274391, -0.03054964169859886, -0.022987648844718933, 0.009593270719051361, 0.019297156482934952, -0.043320558965206146, 0.049997635185718536, 0.05566912889480591, 0.006023447960615158, 0.050761878490448, -0.0173764917999506, 0.031253550201654434, 0.008190481923520565, -0.00009340932592749596, -0.04006246477365494, 0.004937417339533567, -0.05301438644528389, -0.026386523619294167, 0.004975126590579748, 0.014721749350428581, 0.0008446905412711203, 0.018603304401040077, 0.032902706414461136, 0.04044458642601967, 0.012620079331099987, 0.01456085592508316, -0.013716164976358414, 0.045693736523389816, -0.008250816725194454, 0.03597979620099068, -0.008391598239541054, -0.039579786360263824, -0.04585462808609009, -0.010437961667776108, 0.023852452635765076, 0.030589863657951355, -0.000423602235969156, 0.03159544989466667, 0.049072496592998505, -0.051606569439172745, -0.001245667110197246, 0.02190161868929863, 0.01632062718272209, -0.06656965613365173, -0.0734076276421547, -0.05096299573779106, 0.01092064194381237, -0.0695059671998024, -0.08004448562860489, -0.003313399152830243, 0.034451305866241455, 0.024415578693151474, 0.03374739736318588, -0.0029941261745989323, -0.005188813433051109, 0.014017840847373009, -0.030268076807260513, -0.04677976667881012, -0.027070321142673492, 0.0038161911070346832, 0.02002117782831192, 0.03630158305168152, 0.01533515565097332, 0.01001058891415596, -0.00526926014572382, 0.011011144146323204, 0.05928923189640045, -0.04130939021706581, -0.011644662357866764, -0.030107183381915092, 0.028096016496419907, -0.018603304401040077, -0.040525034070014954, 0.01810051128268242, -0.04044458642601967, 0.047302670776844025, -0.017939617857336998, 0.018945202231407166, -0.0057670241221785545, -0.0938008725643158, 0.01470163743942976, -0.0375082828104496, 0.004939931444823742, 0.015385434962809086, 0.023470329120755196, 0.01962899975478649, 0.018492689356207848, 0.027211101725697517, 0.05096299573779106, -0.03785018250346184, -0.08105006814002991, -0.03630158305168152, 0.042395420372486115, 0.05856521055102348, -0.0976623147726059, -0.006998864468187094, -0.020212238654494286, -0.023470329120755196, 0.0300669614225626, -0.030268076807260513, 0.026406634598970413, -0.017517272382974625, -0.023289324715733528, -0.017195485532283783, 0.04991718754172325, -0.014168677851557732, -0.03608035296201706, 0.017306100577116013, -0.0059027778916060925, 0.027211101725697517, 0.0005496144876815379, -0.028096016496419907, 0.04959540069103241, 0.032460249960422516, -0.010508352890610695, -0.018392130732536316, -0.0435618981719017, 0.002253765007480979, -0.024536248296499252, -0.02713065594434738, -0.0011124273296445608, 0.07606237381696701, 0.01820106990635395, -0.011534048244357109, 0.06282888352870941, 0.04887138307094574, 0.0068480269983410835, -0.02990606799721718, 0.04006246477365494, 0.026929538697004318, -0.011604439467191696, -0.01069941371679306, 0.016783196479082108, 0.009382098913192749, -0.013022312894463539, -0.055910468101501465, -0.03575856611132622, -0.0938008725643158, -0.09235282987356186, -0.06311044842004776, 0.008642993867397308, 0.015134038403630257, 0.03674403950572014, -0.09146791696548462, -0.012760860845446587, -0.04971607029438019, 0.006888250354677439, -0.023510552942752838, -0.06628809869289398, 0.004198313225060701, 0.04573395848274231, -0.017849115654826164, -0.010156397707760334, 0.03672392666339874, 0.03855409100651741, 0.03105243295431137, -0.03827252611517906, 0.01431951578706503, -0.003630158258602023, 0.015284876339137554, -0.047624457627534866, -0.04159095510840416, 0.03740772232413292, 0.00395697308704257, -0.037709400057792664, 0.009854722768068314, -0.013585439883172512, 0.04094737768173218, -0.08197520673274994, -0.029544057324528694, -0.038533978164196014, 0.045653510838747025, 0.046578649431467056, 0.035275887697935104, -0.04500993713736534, -0.008291039615869522, 0.0292423814535141, -0.03441108390688896, -0.00967874564230442, -0.059047892689704895, 0.03855409100651741, -0.01913626305758953, -0.016642414033412933, -0.08253832906484604, 0.037930626422166824, 0.0013550244038924575, -0.00727037200704217, 0.026889314875006676, -0.05007808282971382, -0.027814453467726707, -0.016803307458758354, 0.019126206636428833, -0.03821219131350517, -0.051485899835824966, -0.026728421449661255, 0.0289608184248209, -0.01621001400053501, 0.024998817592859268, 0.026064736768603325, 0.03612057492136955, -0.04677976667881012, -0.0479864664375782, -0.004889652132987976, -0.028156351298093796, -0.026768645271658897, -0.03597979620099068, 0.011735164560377598, -0.0150334807112813, 0.0023015302140265703, -0.08032605051994324, 0.047302670776844025, -0.031414441764354706, 0.022384298965334892, 0.01139326673001051, 0.002581836888566613, -0.022907203063368797, -0.03646247461438179, 0.004894679877907038, 0.06520206481218338, 0.06017414480447769, -0.03521554917097092, 0.010789915919303894, -0.020835699513554573, 0.030428970232605934, -0.012388794682919979, 0.009276512078940868, 0.043722789734601974, -0.10972931981086731, 0.0010451788548380136, 0.0162703488022089, 0.025783173739910126, 0.01991056278347969, -0.03248036280274391, 0.0007548164576292038, -0.0003686093841679394, 0.024134015664458275, 0.03553733602166176, 0.022625640034675598, -0.011272596195340157, -0.02101670578122139, -0.039519451558589935, 0.01185583509504795, -0.036160800606012344, 0.013716164976358414, 0.01015137042850256, -0.0027301604859530926, 0.007873722352087498, -0.029322829097509384, 0.04593507573008537, 0.03591946139931679, -0.09669695794582367, 0.059771910309791565, -0.013575383462011814, -0.007863666862249374, -0.06351268291473389, -0.0005015350179746747, -0.000019218045054003596, 0.0033209410030394793, 0.022102735936641693, 0.0125496881082654, -0.01682342030107975, 0.00007691146311117336, -0.0047438424080610275, -0.03437086194753647, 0.007008920423686504, -0.02085581235587597, 0.008487128652632236, 0.006284900009632111, -0.040907155722379684, 0.03728705272078514, -0.01649157702922821, -0.0700690895318985, 0.005666465498507023, -0.010075950995087624, -0.021418938413262367, 0.00759718706831336, 0.005772051867097616, -0.011523992754518986, 0.007320651318877935, 0.011272596195340157, 0.10948798060417175, 0.08591709285974503, -0.031253550201654434, 0.03855409100651741, 0.10586787760257721, 0.009140758775174618, -0.03459208831191063, 0.03235969319939613, 0.014027896337211132, 0.03390829265117645, -0.0036452419590204954, -0.016421185806393623, 0.003308371175080538, 0.010040756314992905, 0.024697141721844673, -0.008813943713903427, -0.055910468101501465, -0.0358390137553215, 0.022545192390680313, -0.055347342044115067, 0.00945751741528511, -0.021157486364245415, -0.06846015900373459, 0.04243564233183861, -0.011252484284341335, 0.044326141476631165, -0.00838154274970293, -0.03231946751475334, 0.010236844420433044, -0.05188813433051109, 0.0179295614361763, 0.03595968335866928, 0.07292494922876358, -0.04444681107997894, -0.0013223428977653384, -0.0021708044223487377, 0.010226788930594921, -0.008406681939959526, 0.01962899975478649, 0.03237980231642723, -0.0024259714409708977, -0.00008869564771885052, 0.04424569383263588, 0.02576306089758873, -0.022323964163661003, -0.00719998124986887, 0.004836858715862036, -0.06789702922105789, -0.06379424780607224, 0.009281540289521217, 0.019458049908280373, 0.07642438262701035, -0.01055863220244646, 0.018020065501332283, -0.007773164194077253, -0.04098760336637497, 0.013012256473302841, 0.0048293168656528, -0.02487814798951149, 0.0876869261264801, -0.01803012005984783, -0.04311944171786308, -0.02990606799721718, -0.04291832447052002, 0.02073514088988304, 0.06085794046521187, -0.0024536249693483114, 0.034069184213876724, 0.02361111156642437, -0.025380939245224, 0.07027021050453186, -0.011815611273050308, -0.015184317715466022, -0.03165578469634056, 0.08583664894104004, 0.0015661970246583223, 0.005922889802604914, -0.05631270259618759, -0.05007808282971382, -0.038252413272857666, 0.032460249960422516, -0.031092656776309013, 0.056795384734869, 0.06174285709857941, 0.010176509618759155, 0.05876632779836655, -0.0159887857735157, 0.04392390698194504 ]
10,885
burnman.classes.layer
__init__
null
def __init__( self, radius_bottom, radius_top, rayleigh_number, temperature_change, boundary_layer_ratio, ): self.r0 = radius_bottom self.r1 = radius_top self.Ra = rayleigh_number self.c = np.power(self.Ra, 1.0 / 4.0) self.a = temperature_change / (np.exp(self.c) * (1.0 + boundary_layer_ratio)) self.b = -boundary_layer_ratio * self.a
(self, radius_bottom, radius_top, rayleigh_number, temperature_change, boundary_layer_ratio)
[ 0.0065414984710514545, -0.034800585359334946, 0.021558381617069244, 0.04543929919600487, -0.05802594870328903, -0.03952058032155037, -0.07964052259922028, -0.008681416511535645, -0.09035415947437286, 0.012549188919365406, 0.03309614211320877, 0.08248750120401382, 0.00687395827844739, 0.039782799780368805, -0.08750718086957932, 0.00292190071195364, -0.006232451647520065, 0.01678219810128212, -0.03907105699181557, -0.026165993884205818, -0.04349136725068092, -0.01545235887169838, -0.03628026694059372, 0.10541318356990814, 0.012436808086931705, 0.019310766831040382, -0.029125355184078217, 0.022438697516918182, 0.011931094340980053, -0.022195206955075264, -0.04311676323413849, 0.002212496940046549, -0.0329650342464447, 0.01714743673801422, 0.02575393207371235, -0.0578761100769043, 0.04206787794828415, 0.021090129390358925, -0.06405705213546753, 0.05675230175256729, 0.030230432748794556, -0.0007158422376960516, 0.0017969220643863082, 0.0018496005795896053, 0.003493169555440545, -0.04195549711585045, 0.026802819222211838, -0.03530630096793175, -0.001465632813051343, -0.01495601050555706, -0.03796597942709923, -0.008091417141258717, 0.02049076370894909, 0.010470143519341946, -0.007773004937916994, 0.05439230427145958, 0.04993453249335289, 0.07746782898902893, -0.020172351971268654, -0.019947590306401253, -0.051470402628183365, 0.029762180522084236, 0.019404416903853416, -0.017934100702404976, -0.010048716329038143, 0.0033714238088577986, -0.05596563592553139, 0.03528757020831108, 0.013551251031458378, 0.048061519861221313, 0.047012630850076675, 0.04809897765517235, 0.015527279116213322, -0.01600489765405655, 0.014216170646250248, 0.04176819324493408, -0.0320097953081131, 0.008428559638559818, -0.015480454079806805, -0.03082979843020439, 0.013260933570563793, 0.05682722106575966, 0.016763469204306602, 0.005946816876530647, 0.008208480663597584, -0.045851364731788635, -0.03466947376728058, -0.021446000784635544, 0.020153623074293137, -0.0016845412319526076, -0.07274783402681351, -0.03702947124838829, -0.03215963765978813, -0.005380230490118265, 0.06986339390277863, 0.04540184140205383, 0.027289802208542824, -0.06087293103337288, 0.03146662190556526, -0.01900171861052513, 0.012680299580097198, -0.0320097953081131, -0.06843990087509155, 0.014281725510954857, -0.02309425361454487, -0.01307363249361515, -0.0076606241054832935, -0.037928517907857895, -0.010198556818068027, 0.04345390573143959, -0.027795515954494476, 0.08623352646827698, -0.06877704709768295, 0.07851671427488327, -0.10354016721248627, 0.012933156453073025, -0.03695455193519592, -0.011659507639706135, 0.017737435176968575, 0.019123464822769165, 0.0770932212471962, 0.01336394902318716, -0.000006726568244630471, 0.0839109942317009, 0.01914219558238983, 0.05427992343902588, 0.012783315032720566, 0.002175036584958434, -0.03575582057237625, -0.03384535014629364, 0.029144085943698883, -0.0037483677733689547, 0.015536644496023655, -0.0024676949251443148, -0.01284887082874775, 0.013092362321913242, 0.00462400121614337, -0.019310766831040382, 0.011219348758459091, -0.0008012984762899578, 0.04809897765517235, 0.0003924547927454114, 0.04225517809391022, -0.03757264465093613, -0.022663459181785583, 0.06117261201143265, 0.007342211902141571, -0.008283400908112526, 0.0010125978151336312, 0.03026789426803589, -0.028394879773259163, 0.008297448977828026, 0.046151045709848404, 0.04675041139125824, 0.009973795153200626, -0.05735166370868683, 0.04622596502304077, -0.036542486399412155, 0.016126643866300583, 0.0458139032125473, -0.04416565224528313, -0.011322365142405033, 0.010029985569417477, -0.057538967579603195, -0.0030108687933534384, 0.006611736491322517, -0.0081429248675704, -0.0843605175614357, -0.013008076697587967, -0.011781252920627594, 0.012137125246226788, -0.0848100408911705, -0.0768684595823288, 0.05600309371948242, -0.032890111207962036, 0.028881864622235298, 0.02395583875477314, 0.005609674379229546, -0.00009782104461919516, -0.0013146211858838797, 0.0330212228000164, -0.012886330485343933, 0.0023330720141530037, -0.004616977646946907, 0.025828851386904716, 0.008873400278389454, 0.024199331179261208, -0.0291066262871027, 0.026053613051772118, 0.005197611637413502, 0.037928517907857895, 0.0032660667784512043, -0.014768709428608418, 0.022981872782111168, 0.038153279572725296, -0.006031102500855923, 0.06978847086429596, -0.02343139611184597, 0.013850932940840721, 0.042330097407102585, -0.04600120335817337, 0.0015838667750358582, -0.004883882123976946, -0.010001890361309052, 0.03165392205119133, -0.00870951171964407, -0.0012783315032720566, 0.01697886548936367, 0.02539805881679058, 0.0024442821741104126, -0.019366957247257233, 0.0020579732954502106, 0.02852599136531353, 0.0383218489587307, -0.0013239862164482474, -0.025547901168465614, -0.02279457077383995, 0.00686927605420351, 0.04019486531615257, 0.016445055603981018, 0.026634247973561287, 0.004469477571547031, -0.028263770043849945, -0.025135837495326996, -0.016360770910978317, 0.03761010617017746, 0.010638714767992496, 0.006962926592677832, -0.03221582621335983, -0.03811581805348396, 0.009908240288496017, -0.056452617049217224, -0.03614915534853935, -0.042330097407102585, -0.004883882123976946, -0.025023456662893295, -0.007515465375036001, -0.0055722142569720745, -0.08016496896743774, -0.04926024749875069, 0.008728241547942162, -0.007403084542602301, 0.010470143519341946, 0.002330730902031064, 0.01105077750980854, -0.049784690141677856, -0.01064808014780283, 0.05982404202222824, -0.0331897959113121, -0.030679956078529358, -0.06937640905380249, -0.017625054344534874, 0.0003447514900472015, 0.036542486399412155, 0.01368236169219017, -0.038396771997213364, 0.03633645549416542, -0.0033386461436748505, 0.042667239904403687, 0.023525046184659004, 0.011753157712519169, -0.016622992232441902, 0.03952058032155037, 0.04262978211045265, 0.0035610664635896683, 0.008882764726877213, -0.039558038115501404, -0.013082996942102909, -0.017212990671396255, -0.012802045792341232, 0.09305129945278168, 0.008475384674966335, -0.002750988118350506, 0.01429109089076519, -0.03320852294564247, -0.026634247973561287, 0.013691727072000504, -0.022588539868593216, 0.0015206525567919016, -0.012989346869289875, 0.020059971138834953, -0.03154154121875763, -0.011088238097727299, 0.0453643798828125, -0.043828509747982025, -0.04705009236931801, -0.006981656886637211, -0.013635536655783653, 0.01908600516617298, -0.05109580233693123, -0.044802475720644, -0.010975857265293598, -0.003078765468671918, 0.025660280138254166, 0.1323096603155136, -0.042030416429042816, -0.018589656800031662, -0.0013040854828432202, 0.028713293373584747, -0.0384342297911644, 0.030192973092198372, -0.03536248952150345, 0.04315422475337982, -0.008498797193169594, -0.033526938408613205, 0.004584199748933315, 0.0586627721786499, 0.02678408846259117, 0.04034470394253731, 0.04034470394253731, 0.057763729244470596, 0.030399003997445107, 0.008016496896743774, 0.015714580193161964, 0.01009554136544466, -0.035493601113557816, 0.031728845089673996, -0.014487757347524166, -0.013907123357057571, 0.06937640905380249, 0.0009265562403015792, -0.04697517305612564, -0.026821549981832504, -0.007108085323125124, 0.005881261546164751, -0.019891399890184402, 0.01689457893371582, 0.022551078349351883, -0.006433800328522921, 0.024349171668291092, -0.07046275585889816, 0.006831815931946039, 0.019479338079690933, -0.02099647745490074, 0.013691727072000504, -0.017802990972995758, 0.0006859910790808499, 0.018514735624194145, -0.017690610140562057, -0.06375736743211746, 0.03182249516248703, 0.02755202353000641, -0.013438870199024677, 0.06806530058383942, 0.0065414984710514545, -0.007318798918277025, 0.03137297183275223, -0.06023610383272171, 0.024049488827586174, -0.012689664959907532, -0.028451070189476013, 0.009739669039845467, 0.002314341953024268, 0.04873580485582352, 0.042105335742235184, 0.04645072668790817, -0.04779929667711258, -0.02002251148223877, 0.019704099744558334, -0.007065942510962486, 0.02841361053287983, 0.001830870402045548, -0.03940819948911667, 0.007688719313591719, -0.020322194322943687, -0.03472566604614258, -0.057426586747169495, 0.028151389211416245, 0.02019108273088932, -0.0010477168252691627, 0.00023485829296987504, -0.06431927531957626, -0.04952247068285942, -0.013111092150211334, 0.012137125246226788, 0.026709169149398804, -0.022419968619942665, -0.0013169624144211411, 0.04079422727227211, -0.0037975343875586987, -0.008995145559310913, -0.012212046422064304, -0.013438870199024677, 0.011987284757196903, -0.01683838851749897, -0.005665864795446396, 0.014946645125746727, -0.01833679899573326, 0.07919099926948547, 0.06589260697364807, 0.003259042976424098, -0.0330774150788784, 0.0768684595823288, -0.041056450456380844, -0.017184896394610405, 0.049559928476810455, 0.039483118802309036, 0.03165392205119133, -0.06229642033576965, 0.03182249516248703, -0.02996821142733097, -0.026353295892477036, -0.012614743784070015, 0.005459833424538374, 0.019947590306401253, -0.055740874260663986, 0.06282086670398712, 0.053792938590049744, 0.006878640968352556, -0.005497294012457132, -0.013813472352921963, -0.03541867807507515, 0.012886330485343933, 0.0027814246714115143, -0.03556852042675018, -0.014768709428608418, 0.03448217362165451, -0.057426586747169495, -0.013036171905696392, -0.013616805896162987, -0.031110748648643494, 0.03528757020831108, 0.011893633753061295, 0.04337898641824722, 0.04030724614858627, 0.04270470142364502, 0.037179313600063324, 0.005890626460313797, 0.02697139047086239, 0.03817201033234596, -0.047649458050727844, 0.007440545130521059, -0.08173829317092896, -0.026709169149398804, 0.04600120335817337, 0.023412665352225304, -0.024330440908670425, 0.00462400121614337, 0.030174242332577705, -0.03152281418442726, 0.004670826718211174, 0.029200276359915733, 0.032665349543094635, -0.06656689196825027, -0.07724306732416153, -0.04068184643983841, 0.0006912589306011796, -0.027964087203145027, -0.019647909328341484, -0.057538967579603195, 0.04802405834197998, 0.023974569514393806, -0.00006431166548281908, 0.008133559487760067, 0.020209813490509987, -0.024405362084507942, -0.08518464118242264, -0.03101709857583046, 0.014337915927171707, -0.036711059510707855, 0.007243878673762083, 0.00444372370839119, -0.05132056027650833, -0.019535528495907784, -0.021221239119768143, 0.0011829249560832977, 0.06847736239433289, -0.022700920701026917, -0.03440725430846214, -0.04004502296447754, 0.02337520569562912, -0.03880883380770683, 0.003383130067959428, 0.011837443336844444, 0.014131885021924973, 0.017681244760751724, -0.012614743784070015, -0.024405362084507942, -0.036711059510707855, -0.06192181631922722, -0.039558038115501404, -0.018467910587787628, -0.0165387075394392, 0.02354377694427967, 0.022588539868593216, 0.02650313638150692, -0.011753157712519169, 0.005422373302280903, 0.04495231807231903, -0.027907896786928177, -0.07555735111236572, 0.056677378714084625, -0.022120285779237747, 0.0636824518442154, -0.040419626981019974, 0.04367866739630699, -0.005389595404267311, 0.0129050612449646, 0.012839505448937416, 0.012006014585494995, -0.02841361053287983, -0.05090849846601486, -0.025304408743977547, -0.034744396805763245, 0.018589656800031662, -0.008419194258749485, -0.060723088681697845, -0.036598678678274155, -0.006059197708964348, 0.0524069108068943, 0.03667359799146652, -0.012830140069127083, -0.0013193036429584026, 0.038733914494514465, -0.0164263267070055, 0.005623721983283758, -0.07544497400522232, 0.02094028703868389, -0.07443354278802872, -0.021652033552527428, 0.0013204743154346943, 0.04611358419060707, 0.009177764877676964, -0.03620534390211105, 0.022419968619942665, 0.02539805881679058, 0.022026635706424713, -0.03317106515169144, 0.0518450066447258, 0.018102671951055527, -0.030979638919234276, -0.07428370416164398, -0.03952058032155037, 0.044053271412849426, -0.010076811537146568, 0.02123996987938881, 0.00734689412638545, -0.03738534450531006, -0.037460263818502426, -0.03592439368367195, 0.004808961413800716, 0.012596013955771923, 0.02221393585205078, -0.07357195764780045, -0.032609160989522934, -0.011987284757196903, 0.00675689522176981, -0.013186013326048851, -0.019928861409425735, -0.009500859305262566, 0.09469954669475555, -0.026952659711241722, -0.02343139611184597, 0.02157711237668991, 0.030005671083927155, 0.030473925173282623, -0.012436808086931705, -0.06121007353067398, 0.01179998368024826, 0.02886313386261463, -0.002402139361947775, -0.01938568614423275, 0.052219606935977936, 0.015667755156755447, -0.08248750120401382, 0.009786494076251984, 0.011500300839543343, 0.0520697683095932, -0.018730131909251213, 0.00371090741828084, -0.022551078349351883, 0.04970977082848549, 0.017437752336263657, 0.025304408743977547, -0.024686314165592194, -0.012127760797739029, 0.037535183131694794, 0.01373855210840702, -0.04030724614858627, -0.039033595472574234, 0.054017700254917145, -0.02361869625747204, -0.05596563592553139, -0.08810654282569885, 0.00753419566899538, 0.013935218565165997, -0.027814246714115143, 0.026428217068314552, 0.010554429143667221, -0.033058684319257736, 0.023749807849526405, 0.005590944550931454, -0.04705009236931801, -0.028881864622235298, -0.08773194253444672, -0.01584569178521633, -0.003263725433498621, -0.012080934830009937, 0.012764585204422474, 0.03328344598412514, -0.04143105074763298, -0.014927915297448635, -0.03757264465093613, 0.030567575246095657, -0.05750150606036186, -0.023468855768442154, 0.01247426774352789, -0.005848483648151159, -0.05555357038974762, -0.02337520569562912, 0.077542744576931, -0.0161734689027071, 0.03530630096793175, -0.011116333305835724, 0.031223129481077194, -0.0227383803576231, -0.02824503928422928, 0.027121230959892273, 0.007089355029165745, 0.05446722358465195, -0.042105335742235184, 0.006049832794815302, -0.020696796476840973, 0.03373296931385994, -0.027964087203145027, -0.01330775860697031, 0.06870212405920029, -0.12069696933031082, 0.029256466776132584, 0.004940072540193796, 0.04761199653148651, -0.0018027751939371228, -0.06349515169858932, -0.07859163731336594, -0.021652033552527428, 0.03603677451610565, 0.003980153240263462, 0.03412630036473274, 0.02301933243870735, 0.030005671083927155, -0.009454034268856049, 0.018102671951055527, -0.006241816561669111, 0.013776011765003204, -0.00420257356017828, -0.05427992343902588, -0.009322923608124256, -0.015611564740538597, 0.013616805896162987, 0.023225363343954086, -0.06716625392436981, 0.05772626772522926, 0.0021527945064008236, 0.0581008717417717, -0.06053578853607178, 0.012886330485343933, -0.02401202917098999, 0.02309425361454487, 0.046600569039583206, 0.009655383415520191, -0.08241257816553116, 0.011622047051787376, 0.00650872103869915, -0.01015173178166151, 0.04364120960235596, -0.02168949320912361, 0.013850932940840721, -0.024330440908670425, -0.012998711317777634, 0.035156458616256714, -0.0070237996987998486, -0.05356817692518234, 0.01417871005833149, -0.0077214972116053104, -0.010236017405986786, -0.020846636965870857, 0.002861027605831623, -0.012933156453073025, 0.06829006224870682, 0.04787421599030495, 0.01336394902318716, 0.08188813924789429, -0.02609107457101345, -0.036298997700214386, 0.07926592230796814, 0.01733473688364029, -0.04285454377532005, 0.06930148601531982, 0.036823440343141556, 0.05409262329339981, -0.031035829335451126, -0.0056705474853515625, 0.0080305440351367, 0.023075522854924202, 0.017437752336263657, -0.0006713581969961524, -0.061472292989492416, -0.053718019276857376, 0.05461706593632698, 0.009992525912821293, 0.03571836277842522, -0.010104906745254993, -0.08923035115003586, 0.05547865107655525, -0.007384354714304209, -0.009692843072116375, 0.009692843072116375, -0.004764477256685495, 0.03176630288362503, -0.06765323877334595, 0.01711934059858322, 0.06585514545440674, 0.035325028002262115, -0.06330784410238266, -0.009955065324902534, 0.05566595122218132, 0.02719615213572979, 0.015911247581243515, -0.0159487072378397, 0.008658003993332386, -0.018730131909251213, 0.0027345994021743536, 0.07911607623100281, 0.05049643665552139, 0.012923791073262691, 0.0008323202491737902, 0.026240915060043335, -0.03789105638861656, -0.047649458050727844, -0.013691727072000504, -0.007599750999361277, 0.0845852792263031, -0.0076231639832258224, 0.001526505802758038, -0.011912364512681961, -0.03571836277842522, -0.02736472338438034, -0.005118008702993393, 0.017681244760751724, 0.09132812172174454, 0.011987284757196903, -0.06675419211387634, -0.01874886266887188, -0.048173900693655014, -0.010198556818068027, 0.04236755892634392, 0.0025098377373069525, 0.024854885414242744, 0.0322345569729805, -0.02361869625747204, 0.022251397371292114, 0.024405362084507942, 0.03176630288362503, 0.021202510222792625, 0.02500472590327263, -0.018018387258052826, 0.027214882895350456, -0.012155856005847454, -0.0037694391794502735, -0.04813643917441368, 0.010994588024914265, -0.02174568362534046, 0.01961044780910015, 0.06282086670398712, 0.014422201551496983, 0.07630655914545059, 0.028732022270560265, 0.020678065717220306 ]
10,886
burnman.classes.layer
dTdr
Returns the thermal gradient at one or more radii [K/m]. :param radii: The radii at which to evaluate the thermal gradients. :type radii: float or numpy.array :returns: The thermal gradient at the requested radii. :rtype: float or numpy.array
def dTdr(self, radii): """ Returns the thermal gradient at one or more radii [K/m]. :param radii: The radii at which to evaluate the thermal gradients. :type radii: float or numpy.array :returns: The thermal gradient at the requested radii. :rtype: float or numpy.array """ return ( self.c / (self.r0 - self.r1) * ( self.a * np.exp((radii - self.r1) / (self.r0 - self.r1) * self.c) - self.b * np.exp((radii - self.r0) / (self.r1 - self.r0) * self.c) ) )
(self, radii)
[ -0.012552527710795403, 0.002162400633096695, 0.07092945277690887, 0.01590949296951294, -0.006452233996242285, -0.020737389102578163, -0.02795667201280594, -0.04670875892043114, -0.10424643754959106, 0.03811781108379364, 0.04371275752782822, 0.03010440804064274, -0.00003153148645651527, 0.014267107471823692, -0.03873145207762718, -0.005617504008114338, -0.058620575815439224, 0.06446819007396698, -0.028083009645342827, -0.06352968513965607, -0.031331684440374374, -0.01970864087343216, -0.00471509387716651, 0.003338918089866638, -0.02205490879714489, 0.02772204577922821, -0.009601646102964878, -0.0294546727091074, -0.03660176321864128, 0.01617119275033474, -0.031205348670482635, -0.020737389102578163, -0.010585272684693336, 0.008428512141108513, -0.025429923087358475, -0.03171069920063019, 0.007074896711856127, -0.010693562217056751, -0.08417683094739914, 0.04439858719706535, -0.008338271640241146, 0.010621369816362858, 0.04537319019436836, -0.04681704565882683, -0.013644443824887276, -0.04302692413330078, -0.020394472405314445, -0.028841033577919006, -0.03636713698506355, 0.004931672476232052, 0.0364212803542614, -0.01022430881857872, -0.02774009294807911, -0.035049617290496826, -0.006407113280147314, 0.02270464412868023, 0.010296502150595188, 0.007417812943458557, -0.03894802927970886, -0.04024749994277954, 0.03607836365699768, -0.015277806669473648, 0.04623950645327568, 0.029201997444033623, 0.005924323573708534, 0.026079658418893814, -0.015404144302010536, 0.038695354014635086, 0.017660170793533325, 0.042990826070308685, -0.020953968167304993, -0.02023203857243061, -0.012859347276389599, -0.0727342739701271, 0.020737389102578163, -0.0035081200767308474, 0.055949438363313675, -0.08381587266921997, 0.0009898312855511904, -0.04970476031303406, -0.07565808296203613, 0.01626143418252468, 0.035085711628198624, 0.03158435970544815, -0.027487417683005333, -0.0038893884047865868, -0.03405696526169777, -0.023372426629066467, -0.028299586847424507, -0.011027454398572445, -0.02257830649614334, -0.08309394121170044, -0.0449400320649147, -0.010504055768251419, 0.015377071686089039, 0.013319576159119606, 0.009926513768732548, 0.0048143588937819, 0.03584373742341995, 0.0008809780701994896, 0.04324350133538246, 0.01949206367135048, 0.004381202161312103, -0.006429673638194799, 0.009926513768732548, -0.030140504240989685, -0.034778892993927, 0.025502115488052368, 0.03631298989057541, 0.009764079935848713, -0.04237718880176544, 0.04937989264726639, 0.047719456255435944, -0.01097330916672945, -0.055083125829696655, -0.015638770535588264, -0.028985420241951942, 0.03725149855017662, -0.024274837225675583, 0.0018138447776436806, 0.042665958404541016, -0.006704908795654774, -0.033244796097278595, 0.03246872499585152, -0.04089723527431488, 0.038153909146785736, 0.030158553272485733, -0.00432480126619339, 0.0024680921342223883, 0.029635155573487282, 0.006659788079559803, 0.030429275706410408, 0.09247901290655136, 0.03494132682681084, 0.03459841012954712, 0.028299586847424507, 0.018336977809667587, 0.006037124898284674, 0.04208841547369957, 0.02645867131650448, 0.018012110143899918, 0.000537780171725899, -0.008924838155508041, 0.04432639479637146, 0.006059685256332159, 0.05898153781890869, -0.022722691297531128, 0.042016223073005676, -0.018445266410708427, 0.05923421308398247, -0.07129041850566864, 0.07883456349372864, 0.04696143418550491, 0.031439974904060364, 0.028028864413499832, 0.012543503195047379, 0.01477245707064867, 0.026945972815155983, -0.01636972278356552, -0.043965429067611694, -0.05533580109477043, -0.03060975857079029, -0.005094106309115887, -0.013472986407577991, 0.024762138724327087, -0.0062040709890425205, -0.024653850123286247, -0.01230887696146965, -0.0007422324852086604, 0.03822610154747963, 0.0012374301441013813, -0.030375130474567413, -0.010350646451115608, 0.020791534334421158, -0.028317635878920555, -0.015972662717103958, -0.0101701645180583, -0.004886551760137081, -0.019780833274126053, 0.007002703845500946, 0.025303585454821587, -0.02387777715921402, -0.013662491925060749, 0.005261051934212446, 0.03703491762280464, -0.012877395376563072, 0.003023074474185705, -0.037323690950870514, 0.014005407691001892, 0.0013017269084230065, 0.049415990710258484, -0.001670587109401822, 0.008423999883234501, -0.00957457348704338, 0.06399893760681152, -0.002242489717900753, 0.0620858296751976, -0.05147348344326019, 0.07854579389095306, 0.037540268152952194, -0.01026942953467369, 0.02557430788874626, -0.027559611946344376, 0.012651792727410793, 0.0030478909611701965, -0.02118859440088272, -0.015792179852724075, 0.002404923550784588, -0.02140517346560955, 0.06176096200942993, 0.004773750435560942, 0.02409435622394085, 0.004494003485888243, 0.046744853258132935, 0.014637094922363758, 0.015765108168125153, 0.02055690623819828, -0.007553174160420895, 0.0040202378295362, -0.024491416290402412, 0.005053497850894928, -0.03649347275495529, 0.047394588589668274, -0.0013908399268984795, 0.0022943781223148108, -0.003293797606602311, -0.018553556874394417, 0.018418194726109505, -0.015395119786262512, -0.029183950275182724, 0.03804561868309975, -0.0003964965289924294, 0.009394091553986073, 0.009015078656375408, 0.07298694550991058, -0.030681950971484184, -0.06042539328336716, -0.008351807482540607, 0.021874425932765007, 0.015377071686089039, -0.06334920227527618, 0.051762256771326065, 0.028606407344341278, 0.04786384478211403, 0.06121951714158058, -0.026260139420628548, 0.029364431276917458, 0.030429275706410408, -0.02227148599922657, -0.022289535030722618, -0.02324608899652958, -0.05533580109477043, -0.017642121762037277, 0.014474661089479923, -0.03319065272808075, -0.011099646799266338, 0.09067419171333313, 0.050174012780189514, 0.02376948855817318, -0.04894673451781273, 0.049091123044490814, -0.02537577785551548, -0.021134449169039726, 0.047069720923900604, -0.06176096200942993, 0.010756731033325195, 0.02044861763715744, -0.022036859765648842, -0.01564779505133629, 0.021585654467344284, 0.12388288974761963, 0.06898024678230286, -0.06114732474088669, -0.036132510751485825, -0.002043959451839328, 0.0031629481818526983, 0.060317106544971466, 0.0395977646112442, -0.012994708493351936, -0.025321632623672485, -0.05923421308398247, -0.06861928105354309, -0.02108030579984188, 0.03223409503698349, -0.08251640200614929, 0.016559230163693428, 0.004410530440509319, -0.06435990333557129, 0.03865925967693329, 0.05085984617471695, 0.029183950275182724, 0.012489358894526958, 0.0021545046474784613, 0.005319708958268166, 0.10691757500171661, -0.04165526106953621, -0.04432639479637146, -0.05746548995375633, 0.017597001045942307, 0.009457260370254517, -0.02483433112502098, -0.0010174675844609737, 0.015557553619146347, 0.024274837225675583, -0.09182927012443542, -0.015611698850989342, 0.07883456349372864, 0.00664173997938633, 0.022036859765648842, -0.015602674335241318, 0.0006469154031947255, 0.011541827581822872, -0.00007173456833697855, 0.03883973881602287, 0.006506378296762705, -0.056887947022914886, -0.03125949203968048, 0.005062521900981665, 0.016550205647945404, 0.045553673058748245, -0.007977306842803955, 0.048441383987665176, -0.015611698850989342, -0.018012110143899918, 0.033353086560964584, 0.007805849425494671, 0.019780833274126053, -0.0305014681071043, -0.003582569072023034, 0.06677836179733276, -0.032396528869867325, 0.02043057046830654, 0.005315196700394154, 0.007986331358551979, 0.04692533612251282, -0.01864379644393921, 0.05746548995375633, 0.0014799529453739524, -0.04226889833807945, -0.03199946880340576, -0.000169483944773674, -0.0073997643776237965, 0.005143738817423582, 0.014862697571516037, -0.0011517012026160955, -0.014934890903532505, 0.07832921296358109, -0.03234238550066948, 0.05533580109477043, 0.06833051145076752, -0.0015250734286382794, 0.01836404949426651, -0.01830088160932064, 0.05959517881274223, 0.02088177390396595, 0.018391123041510582, -0.057970840483903885, 0.06147219240665436, 0.03822610154747963, -0.02097201533615589, -0.021224690601229668, 0.0802784189581871, -0.01664946973323822, 0.02322804182767868, -0.001187797635793686, -0.05706842988729477, -0.05793474242091179, -0.008717283606529236, -0.01703750714659691, 0.02398606576025486, -0.009163976646959782, -0.004854967352002859, 0.020899822935461998, -0.0008623658795841038, 0.021784184500575066, -0.05511922389268875, 0.012119370512664318, -0.04291863366961479, 0.03607836365699768, 0.01782260462641716, -0.0641794204711914, -0.004945208318531513, 0.0031381319276988506, 0.03703491762280464, 0.014447589404881, 0.005179835017770529, -0.018012110143899918, -0.0025041885673999786, 0.020466666668653488, -0.01938377320766449, 0.02774009294807911, -0.06067806854844093, 0.016053879633545876, 0.04104162007570267, -0.026530863717198372, 0.0019503342919051647, -0.003002770245075226, 0.009118855930864811, -0.08937472105026245, -0.0009971633553504944, -0.04551757499575615, -0.017118724063038826, -0.0028448484372347593, 0.0071786739863455296, -0.00989944115281105, -0.04346008226275444, 0.051004230976104736, -0.0019221339607611299, 0.01836404949426651, 0.013644443824887276, 0.017921868711709976, 0.04901892691850662, 0.008748868480324745, 0.03116925247013569, -0.0037156743928790092, -0.0019582302775233984, -0.05934250354766846, 0.02515919879078865, -0.003774331184104085, 0.05631040409207344, -0.01708262786269188, -0.07334791123867035, -0.04060846567153931, 0.01128915324807167, 0.00957457348704338, 0.044687360525131226, 0.028624454513192177, 0.08215543627738953, -0.025718694552779198, 0.03353356570005417, 0.01673971116542816, -0.0027275350876152515, -0.01762407273054123, 0.0017619561403989792, 0.014691240154206753, -0.012922516092658043, -0.026837682351469994, 0.03360576182603836, 0.05631040409207344, -0.0395977646112442, -0.0006356352823786438, -0.020177895203232765, 0.020394472405314445, -0.08150570094585419, -0.07767947763204575, -0.057790357619524, 0.05006572604179382, -0.05984785035252571, -0.018264785408973694, -0.06385455280542374, 0.01960035227239132, 0.002747839316725731, 0.05544409155845642, 0.021008111536502838, -0.01671263948082924, -0.0038600601255893707, -0.014628071337938309, -0.05425290763378143, -0.0011184248141944408, 0.011956936679780483, 0.04530099779367447, 0.025502115488052368, -0.012696913443505764, -0.02450946345925331, -0.013265431858599186, 0.031331684440374374, 0.036150556057691574, -0.03804561868309975, 0.02977954037487507, -0.043532274663448334, 0.02153150923550129, 0.023047558963298798, -0.03865925967693329, -0.011018429882824421, -0.03358771279454231, 0.05093203857541084, -0.0071200174279510975, 0.02431093342602253, 0.006664300337433815, -0.061833154410123825, -0.02001546137034893, -0.08273297548294067, -0.013066901825368404, -0.018914520740509033, 0.010531128384172916, 0.011216959916055202, -0.058295708149671555, 0.041474778205156326, 0.05984785035252571, -0.038190003484487534, -0.004954232834279537, -0.0021138961892575026, 0.030339034274220467, -0.020791534334421158, -0.043857142329216, 0.024978717789053917, 0.00703880051150918, -0.03275749459862709, 0.02784838154911995, 0.04053627327084541, 0.0000992651330307126, -0.04703362658619881, -0.021170545369386673, -0.006312360055744648, -0.003002770245075226, -0.03938118740916252, -0.01118988823145628, 0.03241457790136337, -0.016315579414367676, 0.0006971119437366724, 0.01278715394437313, -0.006321384105831385, 0.018932567909359932, 0.04811651632189751, 0.005152762867510319, -0.049415990710258484, -0.062049731612205505, -0.010675514116883278, -0.028768841177225113, -0.014474661089479923, -0.024238741025328636, 0.055191416293382645, -0.025628453120589256, -0.00897447019815445, 0.028028864413499832, 0.03402086719870567, -0.021982714533805847, -0.025556260719895363, 0.03167460113763809, 0.025520164519548416, 0.018553556874394417, -0.01348200999200344, 0.05096813291311264, -0.02376948855817318, -0.03865925967693329, -0.03674614802002907, -0.03322674706578255, -0.07092945277690887, -0.07782386243343353, -0.07450299710035324, 0.03728759288787842, -0.061616577208042145, 0.07587465643882751, -0.06952168792486191, -0.00013747657067142427, -0.06681445986032486, -0.02142322063446045, -0.053278304636478424, 0.020611051470041275, 0.001490105059929192, 0.06089464947581291, -0.025195296853780746, -0.03524814546108246, -0.0173894464969635, -0.010476984083652496, 0.07399764657020569, -0.015431215986609459, 0.020593004301190376, -0.015584626235067844, -0.00974603183567524, -0.022018812596797943, -0.07565808296203613, 0.06822221726179123, 0.008067548274993896, -0.0013660236727446318, 0.0001390980905853212, 0.020412521436810493, -0.003666041884571314, -0.05425290763378143, -0.04988524317741394, -0.09031322598457336, 0.011974984779953957, 0.07551369816064835, 0.0717957615852356, -0.015377071686089039, 0.022993415594100952, 0.05345878750085831, -0.06132780387997627, -0.02151346206665039, -0.09543891251087189, 0.015259758569300175, -0.0034043430350720882, -0.029617106541991234, -0.04829699918627739, 0.027794238179922104, -0.01958230324089527, 0.009619694203138351, 0.027234744280576706, -0.022018812596797943, -0.05060717090964317, -0.0032825174275785685, -0.011460610665380955, -0.05309782177209854, -0.040716752409935, -0.028841033577919006, 0.030699998140335083, -0.024888476356863976, 0.017199940979480743, 0.018282832577824593, 0.06006443127989769, -0.05836790055036545, -0.027902526780962944, 0.0033750145230442286, -0.03151216730475426, -0.037648558616638184, -0.0035374483559280634, 0.019979365170001984, -0.0364212803542614, -0.015900470316410065, -0.09247901290655136, 0.09760469943284988, -0.026278188452124596, 0.02848006971180439, 0.04519270732998848, 0.04475955292582512, -0.019636448472738266, 0.005770913790911436, -0.0023688271176069975, 0.03255896270275116, 0.05973956361413002, -0.033461373299360275, 0.029093708842992783, 0.001835276954807341, -0.016703614965081215, -0.008487168699502945, 0.01830088160932064, 0.026819635182619095, -0.06869146972894669, -0.013734685257077217, -0.0028786889743059874, -0.02043057046830654, 0.0406806580722332, -0.013572251424193382, 0.011424514465034008, -0.0759468525648117, 0.04013920947909355, 0.043965429067611694, -0.0012543502962216735, -0.014980011619627476, -0.009182024747133255, -0.03618665412068367, 0.08590946346521378, -0.01782260462641716, 0.00952042918652296, -0.0028922250494360924, -0.014041504822671413, -0.01370761264115572, -0.052411992102861404, 0.009890416637063026, 0.01267886534333229, -0.09709934890270233, 0.0310429148375988, -0.03607836365699768, -0.024473367258906364, -0.015602674335241318, -0.03288383036851883, -0.014312227256596088, 0.027559611946344376, 0.003219348844140768, 0.011108671315014362, 0.032595060765743256, 0.0033456862438470125, 0.004633876960724592, -0.06833051145076752, 0.0039457892999053, -0.028624454513192177, 0.020899822935461998, 0.007616342976689339, -0.025141151621937752, -0.07695755362510681, 0.020935919135808945, -0.0012645024107769132, 0.019221339374780655, -0.008451072499155998, 0.019239388406276703, 0.031205348670482635, 0.018373074010014534, -0.022849028930068016, 0.05201493203639984, -0.02003350853919983, 0.04291863366961479, 0.08489876240491867, 0.026314284652471542, 0.03008636087179184, 0.009312874637544155, -0.017768459394574165, 0.029274189844727516, 0.012949587777256966, -0.01584632508456707, 0.01510634832084179, -0.029490768909454346, -0.015972662717103958, 0.01477245707064867, 0.0073997643776237965, 0.0610390342772007, -0.02986978180706501, 0.003623177530243993, 0.017524808645248413, -0.012164491228759289, -0.0028358243871480227, -0.027252791449427605, -0.014384420588612556, -0.01209229789674282, 0.051437389105558395, 0.006542474962770939, -0.00038578041130676866, 0.08078376948833466, -0.04743068665266037, 0.011180863715708256, -0.041583068668842316, 0.03286578506231308, 0.02613380365073681, 0.040427982807159424, 0.029905878007411957, -0.047069720923900604, -0.006587595213204622, 0.01162304449826479, -0.01990717090666294, 0.028714695945382118, 0.019329629838466644, 0.010341621935367584, -0.035699352622032166, 0.04475955292582512, 0.06519012153148651, -0.028714695945382118, 0.02728888764977455, 0.009006055071949959, 0.01862574927508831, -0.07251769304275513, -0.01097330916672945, -0.005631040316075087, 0.012579599395394325, 0.0385870635509491, -0.0045932685025036335, -0.02023203857243061, 0.005450558383017778, 0.03883973881602287, 0.0048820399679243565, -0.01514244545251131, 0.06692274659872055, -0.042232804000377655, 0.023065607994794846, 0.00141227210406214, -0.03829829394817352, 0.024473367258906364, 0.025339681655168533, -0.03351552039384842, 0.016902144998311996, 0.048224806785583496, -0.03297407180070877, 0.1070619598031044, -0.016252409666776657, -0.012714961543679237, -0.026603056117892265, 0.030140504240989685, -0.018770134076476097, 0.008451072499155998, -0.06764467805624008, -0.0375041738152504, 0.00666881212964654, 0.0503544956445694, -0.04161916300654411, 0.008243517950177193, 0.056274306029081345, -0.006186022888869047, 0.026837682351469994, -0.033154554665088654, -0.008392415940761566 ]
10,887
burnman.classes.layer
set_model_thermal_gradients
Reparameterizes the model based on the thermal gradients at the bottom and top of the model. :param dTdr_bottom: The thermal gradient at the bottom of the model [K/m]. Typically negative for a cooling planet. :type dTdr_bottom: float :param dTdr_top: The thermal gradient at the top of the model [K/m]. Typically negative for a cooling planet. :type dTdr_top: float
def set_model_thermal_gradients(self, dTdr_bottom, dTdr_top): """ Reparameterizes the model based on the thermal gradients at the bottom and top of the model. :param dTdr_bottom: The thermal gradient at the bottom of the model [K/m]. Typically negative for a cooling planet. :type dTdr_bottom: float :param dTdr_top: The thermal gradient at the top of the model [K/m]. Typically negative for a cooling planet. :type dTdr_top: float """ def delta_dTdrs(args, dTdr_bottom, dTdr_top): a, b = args self.a = a self.b = b return [dTdr_bottom - self.dTdr(self.r0), dTdr_top - self.dTdr(self.r1)] fsolve(delta_dTdrs, [self.a, self.b], args=(dTdr_bottom, dTdr_top))
(self, dTdr_bottom, dTdr_top)
[ 0.014517546631395817, -0.04158833995461464, 0.01964299939572811, 0.0348823107779026, -0.06563502550125122, -0.025252673774957657, -0.05229605734348297, -0.04875118285417557, -0.06355195492506027, 0.024156320840120316, 0.005308177787810564, 0.017715243622660637, -0.009501729160547256, -0.004750864580273628, -0.03526603430509567, 0.056644927710294724, -0.06033598259091377, 0.03577766567468643, 0.037330832332372665, -0.07309022545814514, -0.022383881732821465, -0.07557529211044312, -0.009204800240695477, 0.06329613924026489, -0.01279078982770443, -0.014937815256416798, -0.06658519804477692, 0.021269256249070168, 0.04696046933531761, -0.0210499856621027, -0.019131366163492203, -0.005851786118000746, -0.008483034558594227, 0.02443040907382965, 0.02291378565132618, -0.05288077890872955, 0.08127633482217789, 0.005659924354404211, -0.07491748034954071, 0.04239233210682869, -0.020976895466446877, -0.021908795461058617, 0.07499057054519653, 0.014956087805330753, 0.00910886935889721, -0.030935438349843025, -0.02934572659432888, 0.01989881508052349, 0.03499194607138634, 0.031995248049497604, -0.012288294732570648, -0.05839909240603447, -0.018098967149853706, -0.025398854166269302, -0.01902173087000847, 0.009168255142867565, 0.01291869767010212, 0.007203955668956041, -0.0030355285853147507, -0.05876454338431358, 0.010616355575621128, -0.03168461471796036, -0.02879755012691021, -0.005678196903318167, -0.0026061234530061483, 0.007752132136374712, -0.03141052648425102, 0.038774363696575165, 0.015760080888867378, 0.03786073625087738, -0.052624963223934174, 0.0018021309515461326, 0.014764226041734219, -0.02041044645011425, 0.019533362239599228, -0.012507565319538116, -0.003960576839745045, -0.07667164504528046, -0.06581775099039078, -0.04615647718310356, -0.03300023823976517, 0.002674645511433482, 0.007733859587460756, 0.010799081064760685, -0.0424288772046566, -0.002236104104667902, -0.022420426830649376, -0.007203955668956041, 0.055621661245822906, -0.04239233210682869, -0.024485226720571518, -0.005856354255229235, -0.04268469288945198, 0.006664915010333061, 0.06969153136014938, 0.022986875846982002, -0.018062422052025795, 0.008747986517846584, 0.002628964139148593, -0.024320773780345917, 0.013238467276096344, 0.011721844784915447, -0.00729531841352582, -0.009195663966238499, 0.0559140220284462, -0.07013007253408432, -0.06322304904460907, -0.009264186024665833, 0.03314641863107681, -0.02413804829120636, -0.04644883796572685, 0.02426595613360405, 0.020008450374007225, 0.0226579699665308, -0.04056507721543312, 0.013229331001639366, -0.005125452298671007, -0.009565683081746101, 0.05923962965607643, 0.00579240033403039, 0.002280643442645669, -0.004051939584314823, -0.03928599879145622, 0.028907185420393944, -0.014234322123229504, 0.03382250294089317, 0.052369147539138794, 0.015303266234695911, 0.013878006488084793, -0.03367632254958153, -0.0011060606921091676, 0.005742150824517012, 0.032799240201711655, 0.010360539890825748, 0.0009758687228895724, -0.027536742389202118, -0.02477758750319481, -0.014901270158588886, 0.027719467878341675, 0.00494272680953145, -0.00003961433321819641, 0.06830281764268875, -0.018437009304761887, 0.041734520345926285, -0.012772517278790474, 0.04772791638970375, -0.032378971576690674, 0.0011854320764541626, 0.0034991945140063763, 0.07078788429498672, -0.054013676941394806, 0.0565718375146389, -0.0032022655941545963, 0.016280848532915115, -0.02828591875731945, -0.007679041940718889, 0.023315781727433205, -0.011292439885437489, -0.014499274082481861, 0.0004439660406205803, -0.045169759541749954, -0.062236327677965164, 0.03641720488667488, 0.0016582345124334097, 0.02037390135228634, -0.037714555859565735, 0.0008302592905238271, -0.03342050686478615, 0.03460822254419327, 0.07067824900150299, -0.003987985663115978, -0.05631601810455322, -0.030094901099801064, 0.0018626587698236108, -0.001048958976753056, -0.00478740967810154, 0.034370679408311844, -0.0800338014960289, -0.019405454397201538, 0.024485226720571518, 0.0306978952139616, 0.011319848708808422, 0.012626336887478828, -0.017596472054719925, 0.007770404685288668, 0.02574603259563446, -0.05653528869152069, -0.024667952209711075, -0.0315018892288208, -0.010214359499514103, 0.03570457547903061, -0.01621689461171627, 0.03976108506321907, -0.01291869767010212, 0.0372760146856308, 0.02516131103038788, 0.08032616227865219, -0.04213651642203331, 0.07944907993078232, 0.04447540268301964, -0.029144728556275368, -0.040638167411088943, 0.004714319482445717, -0.0013110559666529298, 0.03570457547903061, -0.007299886550754309, -0.00135216920170933, 0.000909630733076483, -0.03526603430509567, 0.0404919870197773, 0.003003551624715328, 0.02274933271110058, -0.028523461893200874, 0.04743555560708046, 0.05229605734348297, 0.010625491850078106, 0.0049884081818163395, 0.005783264059573412, -0.00650046207010746, -0.03490058332681656, -0.014024186879396439, -0.04140561446547508, 0.010031634010374546, 0.01902173087000847, 0.022036703303456306, -0.008035357110202312, -0.01778833381831646, -0.030076628550887108, 0.03226933628320694, 0.0030149719677865505, 0.036819200962781906, -0.003702476853504777, -0.02134234644472599, -0.016454437747597694, 0.07429621368646622, -0.021250983700156212, -0.043342504650354385, -0.017075704410672188, 0.009693590924143791, -0.012854743748903275, -0.04169797524809837, -0.031191254034638405, -0.021780887618660927, 0.03753183037042618, 0.03725774213671684, 0.026367299258708954, 0.018701961264014244, -0.018272556364536285, -0.028231099247932434, -0.026531752198934555, -0.03230588138103485, -0.015513400547206402, 0.017925377935171127, 0.08032616227865219, 0.000180155984708108, -0.029035093262791634, 0.08288431912660599, 0.015696126967668533, -0.0012562383199110627, -0.02870618738234043, -0.015157085843384266, -0.001954021630808711, -0.026330754160881042, 0.07404039800167084, -0.035850755870342255, -0.012882152572274208, -0.0020750772673636675, 0.008834781125187874, -0.06826627254486084, 0.005915740039199591, 0.104153573513031, 0.04447540268301964, -0.05708346888422966, 0.011831480078399181, 0.023224418982863426, 0.03511985391378403, 0.005299041513353586, -0.010762535966932774, -0.012370521202683449, -0.04615647718310356, 0.01047931145876646, -0.07849890738725662, -0.01969781704246998, 0.06512339413166046, -0.06183433160185814, -0.002326324814930558, -0.04780100658535957, -0.04586411640048027, 0.06402704119682312, -0.007939426228404045, -0.0013453169958665967, -0.0332743264734745, 0.0469239242374897, 0.020081540569663048, 0.06099379435181618, -0.015403765253722668, 0.011000079102814198, -0.01638134755194187, 0.02210979349911213, -0.03502849116921425, 0.03219624608755112, -0.019716089591383934, 0.02452177181839943, 0.04780100658535957, -0.0031086187809705734, -0.01935063675045967, 0.06113997474312782, 0.006509598344564438, 0.044658128172159195, -0.026440389454364777, 0.00872514583170414, -0.0047965459525585175, 0.014535819180309772, 0.03862818330526352, -0.009602228179574013, -0.0504688024520874, -0.04995717108249664, -0.011703572236001492, 0.02918127365410328, 0.0385550931096077, -0.00885305367410183, -0.0007326152990572155, 0.02574603259563446, 0.010552401654422283, 0.032159700989723206, 0.0060619208961725235, 0.04666810855269432, -0.022383881732821465, -0.012845607474446297, 0.04162488505244255, -0.04052853211760521, -0.000208706856938079, 0.048422276973724365, 0.013996778056025505, 0.019113093614578247, -0.02799355611205101, 0.025727760046720505, 0.027975283563137054, -0.011356393806636333, 0.007327295374125242, 0.054013676941394806, 0.04191724583506584, -0.0029944153502583504, 0.032799240201711655, 0.020867260172963142, -0.017285838723182678, 0.033859048038721085, -0.015449446626007557, 0.03607002645730972, 0.043634865432977676, -0.06256523728370667, 0.027372289448976517, -0.009684454649686813, 0.03320123627781868, 0.05514657497406006, 0.04988408088684082, -0.03378595784306526, 0.0623459629714489, 0.0613957904279232, -0.03778764605522156, -0.012105569243431091, 0.04714319482445717, -0.058508727699518204, 0.008816508576273918, 0.017541654407978058, -0.030204536393284798, -0.03066135011613369, 0.03833582252264023, 0.007989675737917423, -0.012507565319538116, 0.0045293099246919155, -0.07791417837142944, 0.07378458231687546, 0.0023525916039943695, 0.015166222117841244, -0.02870618738234043, -0.03749528527259827, 0.010662036947906017, 0.06033598259091377, 0.060664888471364975, -0.01986226998269558, -0.025307491421699524, 0.009912862442433834, -0.01406073197722435, 0.062492143362760544, -0.01613466814160347, -0.0017975628143176436, -0.016417892649769783, 0.07542911171913147, -0.032963693141937256, 0.06808354705572128, -0.044146496802568436, 0.05152861028909683, 0.031447071582078934, 0.019661271944642067, 0.029400544241070747, 0.02642211690545082, 0.026074938476085663, -0.08588101714849472, -0.03709328919649124, -0.04630265757441521, -0.0784258171916008, -0.04750864580273628, 0.022036703303456306, -0.010598083026707172, -0.05843563750386238, 0.02790219336748123, 0.06779118627309799, 0.00629032775759697, 0.043634865432977676, 0.0064730532467365265, -0.005171133670955896, 0.004154722671955824, 0.03866472840309143, -0.029528452083468437, 0.028815822675824165, -0.009520001709461212, -0.007327295374125242, 0.04323286935687065, 0.021817432716488838, 0.0456448458135128, -0.013348102569580078, -0.008108447305858135, 0.02757328748703003, 0.007747563999146223, 0.007158274296671152, -0.02262142486870289, 0.04557175561785698, -0.021031713113188744, 0.013795780017971992, 0.0358324833214283, -0.038482002913951874, -0.01778833381831646, 0.0015052019152790308, 0.01266288198530674, 0.025526762008666992, 0.02879755012691021, 0.032251063734292984, 0.0021550196688622236, -0.05525621026754379, 0.003707044990733266, -0.053977131843566895, 0.018948640674352646, -0.05196715146303177, -0.09647910296916962, -0.04666810855269432, 0.02609321102499962, -0.05353859066963196, -0.07718327641487122, -0.003777851117774844, 0.011091441847383976, 0.03044207952916622, -0.00507063465192914, 0.01796192303299904, 0.03994381055235863, 0.033603232353925705, -0.03044207952916622, -0.04834918677806854, -0.005979693960398436, 0.04710664972662926, 0.016628026962280273, 0.030643077567219734, -0.011785798706114292, -0.00030235369922593236, -0.0197709072381258, 0.010260040871798992, 0.015248448587954044, -0.05123624950647354, 0.005180269945412874, -0.043305959552526474, -0.01914963871240616, -0.044109951704740524, -0.014965224079787731, -0.0035768530797213316, -0.06420976668596268, 0.031118163838982582, 0.003866929793730378, 0.02728092670440674, 0.0013807200593873858, -0.08017998188734055, 0.022383881732821465, -0.0652695745229721, 0.01081735361367464, 0.04484085366129875, 0.02274933271110058, 0.04381759092211723, -0.03511985391378403, -0.010287449695169926, 0.023151328787207603, -0.01579662598669529, -0.010077315382659435, -0.03320123627781868, 0.013914551585912704, -0.007277045864611864, -0.03645374998450279, 0.028176281601190567, -0.016481846570968628, -0.006847640499472618, 0.05101697891950607, -0.002603839384391904, 0.0060025351122021675, -0.0639539510011673, -0.05112661421298981, 0.005568561609834433, 0.02358986996114254, -0.03400522843003273, -0.014179504476487637, 0.04023617133498192, -0.011950251646339893, 0.018985185772180557, 0.04060162231326103, -0.025947030633687973, 0.008912439458072186, 0.06022634729743004, 0.00006042077802703716, -0.0424288772046566, -0.04502357915043831, 0.017779197543859482, 0.0022246837615966797, -0.014736817218363285, -0.04367141053080559, 0.07944907993078232, 0.009858044795691967, -0.055840931832790375, 0.04206342622637749, 0.014371366240084171, -0.024485226720571518, -0.026458662003278732, 0.07893744856119156, 0.000003127212494291598, 0.030259354040026665, 0.005404108669608831, 0.024284228682518005, -0.002505624433979392, 0.01626257598400116, -0.08427303284406662, 0.011447756551206112, -0.12264540046453476, -0.06307686865329742, -0.11036624014377594, -0.007989675737917423, 0.012251749634742737, 0.0549638494849205, -0.05434258282184601, 0.018747642636299133, -0.07089751958847046, -0.018729370087385178, -0.03596039116382599, -0.0848577544093132, -0.007770404685288668, -0.007025797851383686, -0.023937050253152847, -0.0075465659610927105, 0.019003458321094513, -0.043086688965559006, 0.02214633859694004, -0.038006916642189026, 0.0051026116125285625, 0.0065918248146772385, 0.003599693765863776, -0.04019962623715401, -0.05832600221037865, 0.09487111121416092, 0.05459839850664139, -0.00961136445403099, -0.032159700989723206, -0.04454849287867546, 0.008588101714849472, -0.07217659801244736, -0.0249054953455925, -0.019917087629437447, 0.02943708933889866, 0.04268469288945198, 0.04637574777007103, -0.01956990733742714, -0.011000079102814198, 0.038518548011779785, -0.02388223074376583, -0.007391249295324087, -0.05920308455824852, 0.018802460283041, 0.020465264096856117, -0.02697029337286949, -0.024503499269485474, 0.024375591427087784, -0.00016245445294771343, 0.03230588138103485, 0.08858535438776016, -0.03338396176695824, -0.04743555560708046, -0.0024645111989229918, 0.030935438349843025, -0.037330832332372665, -0.0329454205930233, -0.050541892647743225, 0.012315703555941582, -0.04802028089761734, -0.006632938049733639, 0.012059887871146202, 0.05247878283262253, -0.07411348819732666, -0.006742573343217373, 0.03753183037042618, -0.048641547560691833, -0.03014971874654293, -0.03446204215288162, 0.0003617395123001188, 0.019460272043943405, -0.006582688540220261, -0.07740254700183868, 0.062017057090997696, 0.012260885909199715, 0.05437912791967392, 0.053684771060943604, 0.022986875846982002, -0.014773362316191196, -0.03268960490822792, 0.0008114157244563103, 0.04348868504166603, 0.043050143867731094, -0.03808000683784485, 0.013137968257069588, 0.0027797126676887274, 0.0021059121936559677, -0.030350716784596443, 0.011529983021318913, 0.030716167762875557, -0.0915820524096489, -0.024704497307538986, -0.020044995471835136, -0.01120107714086771, -0.0033370256423950195, -0.02854173444211483, 0.008697737008333206, -0.03369459509849548, 0.0213788915425539, 0.03168461471796036, 0.000569018826354295, 0.010241768322885036, -0.045717936009168625, 0.006084761582314968, 0.05679110810160637, 0.017687834799289703, 0.023279236629605293, 0.0010740837315097451, 0.024064958095550537, -0.025051675736904144, -0.01035140361636877, 0.041734520345926285, 0.03833582252264023, -0.08208032697439194, 0.04721628502011299, -0.01677420735359192, 0.008862189948558807, -0.005838081706315279, -0.027591560035943985, 0.01964299939572811, -0.03460822254419327, 0.048129916191101074, 0.0094012301415205, 0.0030834940262138844, 0.013941960409283638, 0.028139736503362656, -0.04045544192194939, 0.031739432364702225, -0.004040519241243601, 0.0049290223978459835, 0.048422276973724365, -0.03638065978884697, -0.0212144386023283, 0.02070280723273754, -0.05653528869152069, -0.005828945431858301, -0.006048216484487057, 0.0007217659731395543, -0.002638100413605571, 0.0023731482215225697, -0.012936970219016075, 0.01698434166610241, -0.03274442255496979, 0.0922398641705513, 0.055073484778404236, -0.00808560661971569, 0.03815309703350067, 0.02680584043264389, 0.05982435122132301, -0.03663647547364235, 0.047837551683187485, -0.0007092035957612097, 0.01795278675854206, -0.019917087629437447, -0.056973833590745926, 0.009501729160547256, 0.008779963478446007, 0.027792558073997498, -0.04487739875912666, -0.06048216298222542, -0.0411497987806797, 0.006093897856771946, -0.018802460283041, -0.012370521202683449, 0.014809907414019108, -0.08653882890939713, 0.021579889580607414, 0.002544453600421548, -0.000027051948563894257, 0.022932058200240135, -0.02011808566749096, -0.061213064938783646, -0.064904123544693, 0.058508727699518204, -0.006870481185615063, 0.0613957904279232, -0.0047325920313596725, 0.016591481864452362, -0.03950526937842369, 0.01584230735898018, -0.03206833824515343, 0.021817432716488838, -0.0041478704661130905, 0.03219624608755112, -0.024503499269485474, 0.03049689717590809, 0.017523381859064102, 0.030990255996584892, -0.011621345765888691, -0.014435320161283016, 0.0006583830690942705, -0.05792400613427162, -0.022767605260014534, 0.029546724632382393, 0.015805762261152267, 0.04315977916121483, 0.003512898925691843, 0.0012665166286751628, 0.0265134796500206, 0.03502849116921425, 0.0098854536190629, -0.01905827596783638, 0.09150896221399307, -0.025143038481473923, 0.012178659439086914, -0.0427577830851078, -0.027847375720739365, -0.03303678333759308, 0.04856845736503601, -0.025654669851064682, 0.002053378615528345, 0.015951942652463913, 0.04458503797650337, 0.0771101862192154, 0.014554091729223728, 0.0021002020221203566, -0.01783401519060135, 0.09786781668663025, 0.0075922473333776, 0.030862348154187202, -0.019496817141771317, -0.031227799132466316, -0.0007885750383138657, 0.042282696813344955, -0.03263478726148605, 0.03647202253341675, 0.04239233210682869, 0.02236560918390751, 0.022603152319788933, -0.03195870295166969, 0.008026220835745335 ]
10,888
burnman.classes.layer
temperature
Returns the temperature at one or more radii [K]. :param radii: The radii at which to evaluate the temperature. :type radii: float or numpy.array :returns: The temperatures at the requested radii. :rtype: float or numpy.array
def temperature(self, radii): """ Returns the temperature at one or more radii [K]. :param radii: The radii at which to evaluate the temperature. :type radii: float or numpy.array :returns: The temperatures at the requested radii. :rtype: float or numpy.array """ return self.a * np.exp( (radii - self.r1) / (self.r0 - self.r1) * self.c ) + self.b * np.exp((radii - self.r0) / (self.r1 - self.r0) * self.c)
(self, radii)
[ 0.033424679189920425, -0.04657537117600441, 0.08832882344722748, 0.025333350524306297, 0.014009141363203526, -0.024237457662820816, -0.05055711045861244, -0.033570796251297, -0.02400001510977745, 0.03952514007687569, 0.06747036427259445, 0.020018277689814568, 0.03176257759332657, 0.01818265952169895, -0.07112333178520203, 0.004522833973169327, -0.032000020146369934, 0.009872152470052242, -0.05399090051651001, -0.01870320923626423, -0.03879454731941223, -0.02752513252198696, -0.022027410566806793, 0.01868494413793087, 0.009762563742697239, 0.07656625658273697, 0.036347053945064545, -0.02144293673336506, -0.014182657934725285, -0.02754339575767517, -0.05139729380607605, -0.002294522011652589, 0.010319641791284084, 0.008949777111411095, -0.0032922395039349794, -0.05231053754687309, -0.013351607136428356, 0.03883107379078865, -0.05428313836455345, 0.06184478849172592, -0.0029292255640029907, -0.014164392836391926, 0.037954363971948624, -0.03178084269165993, -0.04032879322767258, -0.03123289719223976, 0.022356178611516953, -0.021680379286408424, 0.012191788293421268, -0.025223759934306145, 0.023561658337712288, 0.0363653190433979, -0.014529690146446228, -0.030575362965464592, -0.027689514681696892, 0.03430139273405075, 0.013716903515160084, 0.00869863573461771, -0.05347948521375656, -0.051945239305496216, 0.024292252957820892, -0.005616441834717989, 0.05979912355542183, 0.014100465923547745, -0.027671251446008682, 0.03596349433064461, -0.013908685185015202, 0.05990871414542198, 0.029771707952022552, 0.06396351009607315, -0.010365303605794907, 0.009716900996863842, -0.02805481292307377, -0.08460279554128647, 0.015360740013420582, 0.04715984687209129, -0.00839269906282425, -0.026337916031479836, -0.020821930840611458, -0.026027413085103035, -0.0700274407863617, 0.026319650933146477, 0.023269420489668846, 0.04540642350912094, -0.029406411573290825, -0.014557086862623692, -0.049863044172525406, -0.03817354142665863, -0.011278546415269375, 0.03187216818332672, -0.04730596765875816, -0.03609134629368782, -0.02188129350543022, 0.006383565720170736, 0.039232902228832245, 0.011817359365522861, -0.0023812800645828247, -0.04496806487441063, 0.058885883539915085, -0.03304111585021019, 0.01772603951394558, 0.02113243378698826, -0.012438364326953888, -0.02529682032763958, 0.0032739746384322643, -0.0248219333589077, -0.03658450022339821, 0.02608220838010311, 0.08350690454244614, 0.053589075803756714, -0.07671237736940384, 0.07905028015375137, -0.010767130181193352, -0.006863018032163382, -0.09073978662490845, -0.02805481292307377, -0.022758005186915398, 0.07079456746578217, -0.043251167982816696, -0.0016906403470784426, 0.05220094695687294, -0.01094064675271511, 0.0228675939142704, 0.0416073314845562, -0.0032831071875989437, 0.05592697486281395, 0.03276714310050011, -0.008031968958675861, -0.01983562856912613, -0.022502297535538673, -0.006310506258159876, 0.019397273659706116, 0.10549778491258621, 0.022648416459560394, -0.010675805620849133, 0.031671252101659775, 0.003965755924582481, -0.012831058353185654, 0.06005483493208885, 0.04814615100622177, 0.03806395083665848, 0.01537900511175394, -0.012904117815196514, 0.030228329822421074, -0.02431051805615425, 0.013287680223584175, 0.034392714500427246, 0.005511418916285038, -0.03631052374839783, 0.019707774743437767, -0.04836532846093178, 0.08284936845302582, 0.05815528705716133, 0.019689509645104408, 0.03702285513281822, -0.008004571311175823, 0.07547036558389664, 0.03209134563803673, 0.01820092462003231, -0.04540642350912094, -0.058410994708538055, 0.03251143544912338, -0.020036542788147926, 0.018739737570285797, -0.00010459481563884765, 0.029899561777710915, -0.050264872610569, 0.00773973111063242, -0.016000010073184967, 0.0016027407255023718, -0.0007066214457154274, -0.04270322248339653, -0.015114164911210537, 0.004114157985895872, -0.0034931530244648457, -0.03492239862680435, -0.00479452358558774, -0.014155260287225246, 0.0363653190433979, 0.048109620809555054, -0.02772604487836361, -0.05022834241390228, -0.05738816410303116, 0.01160731352865696, 0.04189956933259964, -0.017132431268692017, 0.04427400231361389, -0.035178106278181076, 0.009310508146882057, -0.039050254970788956, 0.03751600533723831, 0.016237452626228333, -0.00981735810637474, 0.01048402488231659, 0.04767126217484474, -0.004940642509609461, 0.061954379081726074, -0.034867603331804276, 0.01242009922862053, 0.03216440603137016, -0.06005483493208885, 0.006388131994754076, 0.00587671622633934, 0.02624659240245819, 0.033771712332963943, 0.013095898553729057, -0.004589044023305178, 0.0008961192797869444, -0.052639301866292953, 0.037954363971948624, -0.016803663223981857, 0.002020549261942506, 0.013278547674417496, 0.04482194781303406, 0.02210047096014023, 0.04000002518296242, 0.01854795776307583, -0.02511417120695114, 0.009771695360541344, 0.006141556426882744, 0.0025114170275628567, -0.06337903439998627, 0.0531507208943367, 0.010575349442660809, 0.018794532865285873, 0.017168961465358734, -0.028456639498472214, 0.025333350524306297, -0.06852972507476807, -0.0098356232047081, 0.03722376748919487, 0.004968039691448212, 0.002484019845724106, -0.03802742063999176, -0.03030139021575451, -0.015853891149163246, 0.002563928486779332, -0.005118724890053272, 0.008095895871520042, 0.004621007479727268, -0.03216440603137016, 0.028401844203472137, 0.04171692207455635, 0.021041110157966614, 0.018292250111699104, -0.0622100867331028, 0.03147033974528313, 0.06038359925150871, -0.042630165815353394, -0.060200951993465424, -0.02365298382937908, 0.008840188384056091, 0.0005516555975191295, 0.01950686238706112, -0.0021952069364488125, -0.032639291137456894, 0.0856986865401268, 0.06078542768955231, 0.04555254057049751, -0.032474905252456665, 0.043433818966150284, -0.016867591068148613, 0.030246594920754433, 0.05238359421491623, -0.062100496143102646, -0.009351604618132114, -0.018109600991010666, 0.003468038747087121, -0.012438364326953888, 0.033917829394340515, 0.08657539635896683, 0.07605484127998352, -0.05351601541042328, -0.03338814899325371, 0.018575353547930717, 0.009013704024255276, 0.04306852072477341, 0.04336075857281685, -0.0418265126645565, -0.024438371881842613, -0.06484022736549377, -0.02854796312749386, -0.007474890444427729, 0.020821930840611458, -0.046137016266584396, -0.030392713844776154, 0.01562558114528656, -0.04073061794042587, 0.05442925915122032, 0.005041099153459072, 0.030557097867131233, 0.0070730638690292835, -0.06268496811389923, -0.021333346143364906, 0.08832882344722748, -0.05702286586165428, -0.0722922831773758, -0.03864842653274536, 0.05234706401824951, -0.020529692992568016, -0.024602755904197693, -0.013406401500105858, 0.0026963488198816776, -0.008251146413385868, -0.06400004029273987, 0.003132421988993883, 0.06052972003817558, 0.015844758599996567, 0.009442928247153759, 0.020657546818256378, 0.026337916031479836, 0.0016278548864647746, -0.010438363067805767, 0.011013705283403397, -0.007392698898911476, -0.05607309564948082, 0.03267582133412361, 0.013497725129127502, 0.024401841685175896, 0.023908691480755806, 0.04445664957165718, -0.0005913245840929449, 0.0064200954511761665, -0.008826489560306072, 0.03545207902789116, 0.00958904717117548, -0.03901372477412224, -0.04062103107571602, -0.0040684957057237625, 0.029442941769957542, -0.052785422652959824, 0.027762575075030327, 0.02029225043952465, 0.020712342113256454, 0.007041100412607193, 0.014018273912370205, 0.011178089305758476, 0.0024406409356743097, -0.01854795776307583, -0.02962558902800083, -0.010922381654381752, -0.027598191052675247, -0.02496805228292942, 0.028273990377783775, 0.004070778843015432, 0.018438367173075676, 0.0801461711525917, -0.045698657631874084, 0.02659362368285656, 0.042776282876729965, -0.01932421326637268, 0.01705937087535858, 0.020401839166879654, 0.04025573283433914, 0.007986306212842464, 0.054392728954553604, -0.07554342597723007, 0.036493174731731415, 0.02624659240245819, -0.010009138844907284, 0.018958916887640953, 0.04832879826426506, -0.0048904139548540115, -0.021789968013763428, -0.013068501837551594, -0.0593242384493351, -0.024073075503110886, 0.05139729380607605, -0.017452066764235497, -0.015022840350866318, 0.010328773409128189, 0.0008430370944552124, -0.020511427894234657, -0.012849323451519012, 0.01919635944068432, -0.011579915881156921, 0.02160731889307499, -0.03026486001908779, -0.004767126403748989, -0.036000024527311325, -0.0008327630930580199, -0.012164391577243805, -0.055634740740060806, 0.007356169167906046, 0.016675809398293495, -0.013972612097859383, -0.0364566445350647, -0.024456636980175972, -0.005022834055125713, 0.0673607736825943, 0.007589045912027359, -0.06659364700317383, 0.028273990377783775, -0.021479465067386627, -0.024876728653907776, 0.012127861380577087, 0.01710503362119198, -0.012995442375540733, -0.11594527959823608, 0.03627399727702141, -0.05457537621259689, -0.03674888238310814, -0.02611873857676983, -0.014904119074344635, 0.002965755295008421, -0.012292245402932167, 0.02272147499024868, -0.025424674153327942, 0.005515985190868378, -0.008872151374816895, -0.012246583588421345, 0.037479475140571594, 0.004977172240614891, -0.007360735442489386, -0.021187229081988335, 0.01806393824517727, -0.04303199052810669, -0.01903197541832924, -0.008607311174273491, 0.06107766553759575, -0.030246594920754433, -0.05289500951766968, -0.02885846607387066, 0.029680384323000908, 0.025899559259414673, 0.03395435959100723, 0.029516000300645828, 0.041351623833179474, -0.010429230518639088, 0.06432881206274033, -0.02462102100253105, -0.007666671648621559, -0.05256624519824982, -0.022630151361227036, 0.019415536895394325, -0.01457535196095705, -0.022758005186915398, -0.011022837832570076, 0.028000017628073692, -0.030812805518507957, 0.04299546033143997, 0.01361644733697176, 0.021077638491988182, -0.04109591618180275, -0.08869411796331406, -0.05216441676020622, 0.009461193345487118, -0.012000007554888725, -0.04686760902404785, -0.05939729884266853, 0.041168976575136185, 0.0116895055398345, 0.052127886563539505, -0.006109592970460653, 0.06136990338563919, 0.0022990882862359285, -0.03839271888136864, -0.04087673872709274, 0.020657546818256378, -0.009853887371718884, 0.035835638642311096, 0.06166214123368263, 0.007342470344156027, -0.05691327899694443, -0.012301377952098846, 0.00981735810637474, 0.04529683291912079, -0.056000035256147385, 0.025497732684016228, -0.03963472694158554, 0.04960733652114868, -0.010977176018059254, -0.0686027854681015, 0.0035593630746006966, -0.03802742063999176, 0.04303199052810669, -0.04350687563419342, 0.0405845008790493, 0.012684939429163933, -0.07097721099853516, -0.06644753366708755, -0.05676715821027756, 0.003196349134668708, -0.008424662984907627, 0.04109591618180275, 0.00966210663318634, 0.006333337631076574, -0.02043836936354637, 0.04153427481651306, -0.04588130861520767, -0.023433804512023926, 0.032292257994413376, 0.05198176950216293, 0.024584490805864334, -0.10498636960983276, -0.0018173527205362916, 0.025351613759994507, 0.016977179795503616, -0.0228675939142704, 0.05658451095223427, -0.0002210332459071651, 0.009844754822552204, -0.023415539413690567, -0.02208220586180687, 0.009488590992987156, -0.02385389618575573, 0.0020262571051716805, -0.046648431569337845, -0.019890423864126205, -0.004251144360750914, 0.0029703215695917606, -0.031835637986660004, 0.022520562633872032, 0.0019668962340801954, 0.002710047410801053, -0.05285848304629326, -0.06878542900085449, -0.004365299828350544, -0.032474905252456665, 0.0027351616881787777, -0.006666671019047499, 0.021223757416009903, -0.0013961195945739746, 0.048767153173685074, 0.03400915488600731, 0.021662114188075066, -0.015671242028474808, -0.016045672819018364, -0.020237455144524574, 0.051653001457452774, -0.03234705328941345, -0.0231780968606472, -0.01458448451012373, 0.0022773987147957087, -0.06834707409143448, -0.0305936262011528, -0.015598183497786522, -0.052785422652959824, -0.039232902228832245, -0.007534251548349857, 0.0008607311174273491, -0.009780827909708023, 0.06009136140346527, -0.09037448465824127, 0.007488589268177748, -0.08372607827186584, -0.038611896336078644, -0.030356183648109436, 0.03128769248723984, -0.025808235630393028, 0.0789041593670845, -0.055342502892017365, -0.009000006131827831, 0.04628313332796097, 0.06012789160013199, 0.048584505915641785, -0.02354339323937893, 0.01144292950630188, -0.05702286586165428, -0.005520551465451717, 0.023105038329958916, -0.036018289625644684, 0.048584505915641785, 0.009762563742697239, -0.05011875182390213, -0.003490869887173176, -0.008949777111411095, 0.02962558902800083, -0.050045695155858994, -0.059032000601291656, -0.06370780616998672, 0.04157080128788948, 0.08606398105621338, 0.04073061794042587, -0.022831065580248833, 0.012520556338131428, 0.051324233412742615, -0.07079456746578217, -0.027963487431406975, -0.008479457348585129, 0.0020125582814216614, -0.021041110157966614, -0.04270322248339653, -0.06356168538331985, 0.04445664957165718, 0.020876726135611534, 0.0273972786962986, 0.023452069610357285, -0.04431053251028061, 0.014118730090558529, 0.025004582479596138, -0.025844765827059746, -0.04642925411462784, -0.024876728653907776, -0.029716914519667625, -0.007383566349744797, -0.02562558650970459, -0.005634706933051348, 0.011716902256011963, 0.01886759139597416, -0.060018304735422134, -0.050666701048612595, -0.016666676849126816, -0.06834707409143448, -0.04913245141506195, -0.005095893517136574, -0.0007009137189015746, -0.03189043328166008, -0.01054795179516077, -0.026155268773436546, 0.07634708285331726, -0.07269410789012909, 0.018812797963619232, 0.06261191517114639, 0.07419183105230331, 0.03709591552615166, -0.012063934467732906, -0.006210049614310265, 0.029552530497312546, 0.06144296005368233, -0.06947949528694153, 0.02836531586945057, -0.03369865193963051, 0.004885847680270672, 0.001010274630971253, 0.0038630161434412003, 0.047780852764844894, -0.0776621475815773, -0.023561658337712288, 0.010273979045450687, 0.00878082774579525, 0.0254429392516613, 0.024219194427132607, -0.0039132446981966496, -0.06608223170042038, 0.015168959274888039, 0.032474905252456665, 0.03578084334731102, -0.033424679189920425, 0.01264841016381979, -0.054867614060640335, 0.07590872794389725, -0.009908681735396385, 0.00591324595734477, 0.0416073314845562, -0.02591782435774803, -0.032785408198833466, -0.03631052374839783, 0.022758005186915398, -0.010054800659418106, -0.08489502966403961, 0.03627399727702141, -0.026776272803544998, 0.025552527979016304, -0.018958916887640953, -0.009853887371718884, 0.00869863573461771, 0.008182653225958347, 0.009022836573421955, 0.011744299903512001, -0.02999088726937771, 0.03773518279194832, -0.04361646622419357, -0.027452072128653526, 0.018109600991010666, -0.02367124892771244, -0.022831065580248833, -0.00852968543767929, -0.04354340583086014, 0.01054795179516077, 0.011041102930903435, -0.011789961718022823, 0.06721465289592743, -0.01722375489771366, 0.0047899573110044, 0.0892055332660675, 0.015059370547533035, 0.006401830818504095, 0.00878539402037859, 0.006753428839147091, 0.08124206215143204, 0.053698666393756866, 0.033899564296007156, 0.04047491028904915, 0.045333363115787506, -0.011214619502425194, -0.0008573064696975052, 0.05724204704165459, -0.009808225557208061, -0.001175799872726202, -0.022684946656227112, -0.03251143544912338, -0.009945211932063103, -0.012063934467732906, 0.031141571700572968, 0.028091343119740486, -0.04843838885426521, 0.03773518279194832, 0.007488589268177748, 0.019086770713329315, 0.00019192363834008574, 0.011716902256011963, -0.033296823501586914, 0.021643849089741707, -0.0005211190436966717, -0.03176257759332657, 0.031214632093906403, -0.028164401650428772, 0.006136990152299404, -0.0376986525952816, 0.024438371881842613, 0.03886760398745537, 0.03413700684905052, -0.006502287462353706, -0.04124203696846962, 0.034082215279340744, 0.027269423007965088, -0.007004570681601763, 0.05168953165411949, 0.06871237605810165, -0.0035867602564394474, -0.03974431753158569, 0.04843838885426521, 0.03143380954861641, -0.050191812217235565, 0.0354338139295578, 0.0135433878749609, -0.013890420086681843, -0.03948860988020897, 0.007680370006710291, -0.04708678647875786, 0.019068505614995956, 0.011059368029236794, 0.015059370547533035, -0.02465754933655262, -0.037132445722818375, 0.0012956629507243633, -0.019433801993727684, -0.006415529176592827, 0.03687673434615135, 0.010657541453838348, 0.0008544526062905788, -0.0023184947203844786, -0.03981737792491913, 0.06078542768955231, -0.01691325195133686, 0.006105026695877314, 0.04540642350912094, 0.026831068098545074, -0.013315076939761639, 0.03992696478962898, 0.006269410252571106, 0.023324215784668922, -0.0024977184366434813, 0.059543415904045105, 0.021077638491988182, -0.008420096710324287, -0.025972619652748108, -0.02578997053205967, 0.029187234118580818, -0.013324209488928318, -0.03238358348608017, 0.011616446077823639, 0.0809498205780983, -0.03220093250274658, 0.03106851316988468, -0.0003595892630983144, 0.015698639675974846 ]
10,889
burnman.classes.calibrant
Calibrant
The base class for a pressure calibrant material. :param calibrant_function: A function that takes either pressure, temperature and a params object as arguments, returning the volume, or takes volume, temperature and a params object, returning the pressure. :type calibrant_function: function :param calibrant_function_return_type: The return type of the calibrant function. Valid values are 'pressure' or 'volume'. :type calibrant_function_return_type: str :param params: A dictionary containing the parameters required by the calibrant function. :type params: dictionary
class Calibrant(object): """ The base class for a pressure calibrant material. :param calibrant_function: A function that takes either pressure, temperature and a params object as arguments, returning the volume, or takes volume, temperature and a params object, returning the pressure. :type calibrant_function: function :param calibrant_function_return_type: The return type of the calibrant function. Valid values are 'pressure' or 'volume'. :type calibrant_function_return_type: str :param params: A dictionary containing the parameters required by the calibrant function. :type params: dictionary """ def __init__(self, calibrant_function, calibrant_function_return_type, params): if calibrant_function_return_type == "pressure": self.pressure_function = calibrant_function self.volume_function = self._volume_using_pressure_function elif calibrant_function_return_type == "volume": self.volume_function = calibrant_function self.pressure_function = self._pressure_using_volume_function else: raise Exception( "calibrant function return type must either " "be pressure or volume" ) self.calibrant_function = calibrant_function self.params = params def _volume_using_pressure_function(self, pressure, temperature, params): """ Helper function to compute volume iteratively by Brent's method using a function of the form pressure(volume, temperature). """ def func(x): return self.pressure_function(x, temperature, params) - pressure try: sol = bracket(func, params["V_0"], 1.0e-2 * params["V_0"]) except ValueError: raise ValueError( "Cannot find a volume, perhaps you are outside " "of the range of validity for the equation " "of state?" ) return opt.brentq(func, sol[0], sol[1]) def _pressure_using_volume_function(self, volume, temperature, params): """ Helper function to compute pressure iteratively by Brent's method using a function of the form volume(pressure, temperature). """ def func(x): (self.volume_function(x, temperature, params) - volume) try: sol = bracket(func, 0.0, 300.0e9) except ValueError: raise ValueError( "Cannot find a pressure, perhaps you are outside " "of the range of validity for the equation " "of state?" ) return opt.brentq(func, sol[0], sol[1]) def pressure(self, volume, temperature, VT_covariance=None): """ Returns the pressure of the calibrant as a function of volume, temperature and (optionally) a volume-temperature variance-covariance matrix. :param volume: The volume of the calibrant [m^3/mol]. :type volume: float :param temperature: The temperature of the calibrant [K]. :type temperature: float :param VT_covariance: The volume-temperature variance-covariance matrix [optional]. :type VT_covariance: 2x2 numpy.array :returns: The pressure of the calibrant [Pa] and the pressure-volume-temperature variance-covariance matrix if PT_covariance is provided. :rtype: float, tuple of a float and a numpy.array (3x3) """ if VT_covariance is None: return self.pressure_function(volume, temperature, self.params) else: # Here we take the centered differences # We could alternatively use thermodynamic properties # but these have not yet been implemented. dV = volume / 1.0e7 dT = 0.01 PdV0 = self.pressure_function(volume - dV / 2.0, temperature, self.params) PdV1 = self.pressure_function(volume + dV / 2.0, temperature, self.params) PdT0 = self.pressure_function(volume, temperature - dT / 2.0, self.params) PdT1 = self.pressure_function(volume, temperature + dT / 2.0, self.params) pressure = (PdV0 + PdV1 + PdT0 + PdT1) / 4.0 gradPVT = np.zeros((2, 3)) gradPVT[:, 1:] = np.eye(2) gradPVT[:, 0] = [(PdV1 - PdV0) / dV, (PdT1 - PdT0) / dT] PVT_covariance = gradPVT.T.dot(VT_covariance).dot(gradPVT) return pressure, PVT_covariance def volume(self, pressure, temperature, PT_covariance=None): """ Returns the volume of the calibrant as a function of pressure, temperature and (optionally) a pressure-temperature variance-covariance matrix. :param pressure: The pressure of the calibrant [Pa]. :type pressure: float :param temperature: The temperature of the calibrant [K]. :type temperature: float :param PT_covariance: The pressure-temperature variance-covariance matrix [optional]. :type PT_covariance: 2x2 numpy.array :returns: The volume of the calibrant [m^3/mol] and the volume-pressure-temperature variance-covariance matrix if VT_covariance is provided. :rtype: float, tuple of a float and a numpy.array (3x3) """ if PT_covariance is None: return self.volume_function(pressure, temperature, self.params) else: # Here we take the centered differences # We could alternatively use thermodynamic properties # but these have not yet been implemented. dP = 100.0 dT = 0.01 VdP0 = self.volume_function(pressure - dP / 2.0, temperature, self.params) VdP1 = self.volume_function(pressure + dP / 2.0, temperature, self.params) VdT0 = self.volume_function(pressure, temperature - dT / 2.0, self.params) VdT1 = self.volume_function(pressure, temperature + dT / 2.0, self.params) volume = (VdP0 + VdP1 + VdT0 + VdT1) / 4.0 gradVPT = np.zeros((2, 3)) gradVPT[:, 1:] = np.eye(2) gradVPT[:, 0] = [(VdP1 - VdP0) / dP, (VdT1 - VdT0) / dT] VPT_covariance = gradVPT.T.dot(PT_covariance).dot(gradVPT) return volume, VPT_covariance
(calibrant_function, calibrant_function_return_type, params)
[ 0.06661681830883026, -0.06724134832620621, 0.004494032822549343, 0.015446774661540985, 0.004051655530929565, -0.037555232644081116, -0.06049639731645584, -0.05779008939862251, -0.006266144569963217, -0.000021122703401488252, -0.0057613137178123, -0.009388808161020279, 0.0010428394889459014, 0.010367242619395256, -0.09842634946107864, 0.0728205069899559, -0.013240092433989048, -0.0017551970668137074, 0.009638620540499687, -0.008675799705088139, -0.03368312865495682, -0.05162803456187248, -0.002387536456808448, 0.06295289099216461, 0.0068074059672653675, 0.02248317562043667, 0.022816259413957596, -0.034578293561935425, -0.0040412466041743755, -0.045007988810539246, -0.0104505131021142, 0.023815512657165527, -0.0016328927595168352, 0.0015144917415454984, -0.011043819598853588, -0.013583585619926453, 0.04950462281703949, 0.01830921694636345, -0.051503125578165054, 0.06545102596282959, 0.015790266916155815, -0.03278796374797821, 0.08293794095516205, -0.010887686163187027, -0.018860885873436928, -0.004559088498353958, -0.024190232157707214, 0.028645232319831848, -0.007260192185640335, 0.026126284152269363, 0.04550761356949806, -0.03697233274579048, 0.02215009182691574, -0.011949392035603523, -0.04236413165926933, 0.07527700066566467, 0.05595812574028969, 0.045132894068956375, 0.016164986416697502, -0.03368312865495682, 0.03913738206028938, 0.01956869103014469, 0.009003679268062115, -0.025314390659332275, -0.029665302485227585, 0.008582119829952717, -0.007426734082400799, 0.014426704496145248, 0.02920731157064438, 0.05525032430887222, 0.017341190949082375, -0.00475165294483304, 0.010591032914817333, -0.03636861965060234, 0.05695737898349762, -0.007343463134020567, -0.03045637719333172, -0.048921726644039154, 0.02485639974474907, -0.05033733323216438, -0.00465276837348938, 0.0038903180975466967, 0.012209613807499409, -0.0031695032957941294, 0.05820644646883011, 0.04700649157166481, -0.02050548978149891, 0.006646068301051855, 0.030914366245269775, 0.015446774661540985, -0.03622289374470711, 0.02308689057826996, 0.01397912297397852, 0.06561756879091263, 0.05154476314783096, -0.029019951820373535, -0.011772440746426582, -0.10308952629566193, 0.02002668008208275, -0.023274250328540802, 0.023857148364186287, 0.04496635124087334, -0.013156821951270103, -0.01585272140800953, 0.04184368997812271, -0.011845302768051624, -0.03693069890141487, 0.023461610078811646, 0.07860784232616425, -0.006349415518343449, -0.05412616580724716, 0.025022942572832108, -0.05079532414674759, -0.0069479257799685, -0.05562504380941391, 0.008483235724270344, -0.05337672680616379, 0.029956750571727753, -0.06295289099216461, 0.017996950075030327, 0.03291287273168564, 0.005521909799426794, -0.00995088741183281, 0.03982436656951904, 0.026646727696061134, -0.004101098049432039, 0.02408614382147789, 0.012188795953989029, 0.018767205998301506, 0.002701103687286377, 0.004192175343632698, 0.028187241405248642, 0.018330033868551254, -0.004975443705916405, 0.004834923893213272, 0.007249783258885145, 0.001522298320196569, -0.02416941337287426, -0.020401399582624435, 0.018538210541009903, 0.04367564991116524, 0.02162964828312397, -0.013573176227509975, 0.0030289834830909967, -0.026251189410686493, 0.03201770782470703, 0.05591649189591408, -0.05166966840624809, -0.06270308047533035, 0.018277989700436592, -0.06099602207541466, 0.021015524864196777, -0.0033828853629529476, -0.02554338611662388, 0.06661681830883026, -0.03774259239435196, 0.01662297733128071, -0.006599228363484144, -0.003877307055518031, -0.03222588449716568, -0.08464499562978745, -0.006292166654020548, 0.007889929227530956, 0.046215418726205826, -0.0013700685231015086, 0.0071196723729372025, -0.002422666409984231, -0.018923340365290642, -0.0435091108083725, 0.029269764199852943, 0.023711424320936203, -0.05666593089699745, -0.07332013547420502, 0.004158346448093653, -0.0043821376748383045, 0.05462579056620598, 0.03855448216199875, -0.0422392264008522, -0.00439514871686697, -0.011147907935082912, 0.03376640006899834, -0.0387834794819355, -0.05924733355641365, 0.014801423996686935, 0.010762779973447323, 0.019225196912884712, 0.05208602547645569, -0.010887686163187027, 0.02360733412206173, -0.01351072359830141, -0.02702144719660282, -0.03674333915114403, 0.042718034237623215, 0.028645232319831848, 0.0508369579911232, 0.015259414911270142, 0.06840714812278748, 0.017330780625343323, 0.007655729539692402, -0.010585828684270382, 0.009446056559681892, -0.04467490315437317, 0.03287123516201973, -0.011189543642103672, -0.013229683972895145, -0.030664553865790367, -0.03561918064951897, -0.004795890301465988, -0.03838794305920601, -0.004090689122676849, -0.029665302485227585, -0.02985266223549843, 0.034578293561935425, 0.0073486678302288055, 0.032725512981414795, -0.05541686713695526, 0.09676092863082886, -0.016164986416697502, 0.021858643740415573, 0.013458679430186749, 0.05329345539212227, -0.057290464639663696, -0.01748691499233246, 0.02429432049393654, 0.010060179978609085, 0.010216313414275646, -0.02662590891122818, 0.04596560448408127, 0.0008060374530032277, -0.009919660165905952, 0.05362653732299805, -0.020089134573936462, -0.022170910611748695, -0.039054110646247864, -0.01658134162425995, -0.03476565331220627, -0.02331588603556156, 0.004421170800924301, -0.008462417870759964, -0.024793947115540504, 0.007869111374020576, -0.03343331441283226, 0.03262142464518547, 0.06053803488612175, -0.04325929656624794, -0.018236353993415833, 0.05783172324299812, 0.054001256823539734, -0.01848616637289524, 0.001249715918675065, -0.028582777827978134, -0.03924147039651871, -0.0254184789955616, 0.04704812914133072, -0.009430442936718464, -0.043717287480831146, 0.036555979400873184, 0.05562504380941391, 0.04115670174360275, -0.008582119829952717, 0.02787497453391552, -0.04253067448735237, 0.029998386278748512, 0.09184794127941132, -0.026958992704749107, 0.021182065829634666, 0.03609798848628998, -0.03847121074795723, -0.033183503895998, 0.03678497299551964, 0.012719648890197277, 0.07673424482345581, -0.01792408712208271, -0.024918854236602783, -0.02525193803012371, 0.004670984111726284, 0.0010103116510435939, 0.01210552453994751, -0.0014377261977642775, -0.020151587203145027, -0.021338200196623802, -0.019964227452874184, -0.004759459290653467, 0.021442288532853127, -0.05104513838887215, -0.027167171239852905, -0.004832321312278509, -0.07028074562549591, 0.08239667862653732, 0.02947794273495674, -0.01576944999396801, -0.03262142464518547, 0.009524122811853886, 0.018673526123166084, 0.11682924628257751, 0.006838632747530937, -0.03761768341064453, -0.0303731057792902, 0.018579846248030663, -0.08243831247091293, 0.020953070372343063, 0.0037237759679555893, 0.06732462346553802, -0.006011127028614283, -0.0590391531586647, 0.02283707819879055, 0.057415369898080826, -0.037034787237644196, 0.024419227614998817, -0.03110172599554062, 0.006005922332406044, -0.0027843748684972525, 0.014426704496145248, 0.02119247429072857, 0.015176143497228622, -0.02791661024093628, 0.004441988654434681, -0.016487661749124527, 0.04053217172622681, 0.05229420214891434, 0.015842311084270477, 0.0017499926034361124, 0.04442508891224861, 0.04454999789595604, 0.02920731157064438, -0.006583615206182003, -0.017684683203697205, 0.0021090989466756582, 0.02702144719660282, -0.0016667215386405587, -0.08048143982887268, 0.051294948905706406, 0.0023862351663410664, 0.02279544249176979, 0.019631143659353256, -0.03978273272514343, -0.0008704424253664911, -0.05200275406241417, 0.03376640006899834, -0.02960284799337387, 0.09334681928157806, 0.010835641995072365, -0.03867939114570618, 0.029269764199852943, 0.012761284597218037, -0.016747884452342987, 0.08285466581583023, -0.03940800949931145, 0.026209553703665733, 0.03630616515874863, -0.0187359806150198, 0.05583322048187256, -0.020276494324207306, 0.07919074594974518, -0.006838632747530937, -0.02593892253935337, -0.00699997041374445, -0.03282960131764412, 0.009862411767244339, -0.02227499894797802, 0.017299555242061615, 0.04929644614458084, -0.053668174892663956, 0.04417527839541435, 0.0254184789955616, -0.0637439712882042, -0.01649807207286358, -0.004533066414296627, -0.02416941337287426, -0.031184997409582138, 0.0409277081489563, -0.07165471464395523, -0.027687614783644676, -0.03486974164843559, -0.0038044448010623455, -0.011595489457249641, 0.02183782495558262, 0.0004885667003691196, 0.012136751785874367, -0.013052732683718204, 0.03670170158147812, 0.005178416613489389, -0.06536775082349777, 0.021306972950696945, 0.023711424320936203, -0.024190232157707214, -0.02727125957608223, -0.027208806946873665, 0.030144110321998596, 0.029894297942519188, 0.025064578279852867, -0.0026880926452577114, 0.039449647068977356, -0.02485639974474907, -0.0075412318110466, 0.017976131290197372, 0.02210845611989498, -0.013677265495061874, -0.03486974164843559, 0.01353154145181179, -0.03751359507441521, -0.07386139780282974, -0.030727006494998932, 0.037721771746873856, 0.010877277702093124, -0.07706733047962189, 0.06336924433708191, 0.009034905582666397, -0.021567195653915405, 0.025834834203124046, -0.00822821818292141, 0.013989531435072422, -0.03801322355866432, 0.025689110159873962, -0.041947778314352036, -0.002987348008900881, -0.06357742846012115, -0.04236413165926933, 0.038929201662540436, 0.03528609499335289, 0.010466126725077629, 0.023232614621520042, 0.06715808063745499, 0.013385816477239132, 0.025751562789082527, 0.013562767766416073, -0.03305859491229057, 0.03476565331220627, -0.037159692496061325, 0.03183034807443619, 0.04467490315437317, 0.011231179349124432, -0.06694990396499634, -0.05970532447099686, -0.017122603952884674, 0.013885443098843098, 0.0023042652755975723, 0.0036769360303878784, 0.06341088563203812, 0.019933000206947327, 0.07465247064828873, 0.039449647068977356, 0.016060898080468178, -0.017299555242061615, -0.0805647149682045, -0.036993153393268585, -0.03420357406139374, -0.0409277081489563, -0.07352831214666367, -0.025647474452853203, 0.02706308290362358, 0.05350163206458092, 0.027250442653894424, 0.011876530013978481, 0.0031981277279555798, 0.007327849976718426, -0.029290582984685898, -0.03607717156410217, -0.04363401606678963, -0.00812412891536951, -0.0030367900617420673, 0.041468970477581024, 0.0021038944832980633, -0.0000980711483862251, -0.028249694034457207, 0.026438549160957336, 0.044008735567331314, -0.04342583939433098, -0.04363401606678963, 0.022628899663686752, 0.014364250935614109, -0.02947794273495674, -0.04359237849712372, -0.001848876941949129, -0.022608082741498947, 0.028936680406332016, -0.047506120055913925, -0.016019262373447418, -0.0008548290934413671, -0.043800558894872665, -0.004064666572958231, -0.007827475666999817, -0.011345677077770233, 0.04342583939433098, 0.004369126632809639, 0.03158053383231163, 0.01758059486746788, 0.029228128492832184, 0.025127030909061432, -0.05970532447099686, -0.12299130111932755, 0.021817008033394814, 0.0633276104927063, 0.05962205305695534, -0.09043233096599579, 0.01236574724316597, -0.0020453445613384247, -0.036389436572790146, 0.04604887589812279, -0.027333712205290794, 0.03472401574254036, 0.0559997633099556, -0.05716555565595627, -0.02308689057826996, 0.018767205998301506, -0.05154476314783096, -0.058664433658123016, 0.024752311408519745, -0.030914366245269775, 0.010669100098311901, -0.05233583599328995, -0.033454135060310364, 0.03915819898247719, -0.0035910627339035273, -0.03609798848628998, -0.010185087099671364, -0.039054110646247864, 0.03412030264735222, -0.027770886197686195, -0.054958876222372055, -0.014041576534509659, 0.032205067574977875, -0.00696874363347888, -0.010585828684270382, 0.037596866488456726, 0.05204438790678978, -0.03753441199660301, -0.08281303197145462, 0.015602908097207546, -0.019152335822582245, -0.04321765899658203, -0.022628899663686752, 0.028666049242019653, 0.03551509231328964, -0.009919660165905952, -0.02352406457066536, 0.008134538307785988, -0.08239667862653732, -0.0616205558180809, -0.028707684949040413, 0.000026469451768207364, 0.04563251882791519, 0.056374482810497284, -0.04234331473708153, 0.025022942572832108, -0.029977567493915558, 0.004158346448093653, -0.02421104907989502, -0.014291388913989067, 0.023711424320936203, 0.04838046431541443, -0.02210845611989498, 0.03797158598899841, 0.05187784507870674, 0.07844129949808121, 0.033537402749061584, -0.003442736342549324, -0.004293662030249834, 0.01719546690583229, -0.0093679903075099, -0.014551611617207527, -0.00990925170481205, -0.015915174037218094, -0.026771632954478264, -0.01624825783073902, 0.00646391324698925, 0.01870475336909294, 0.04121915623545647, -0.006104806903749704, -0.05724882706999779, 0.015779858455061913, 0.00016946953837759793, 0.02856196090579033, -0.002760954899713397, -0.02904076874256134, -0.006203691009432077, 0.00798881333321333, -0.028936680406332016, -0.05275219306349754, -0.04171878099441528, 0.02416941337287426, -0.031205816194415092, -0.025397662073373795, -0.07261233031749725, 0.015488410368561745, 0.02227499894797802, -0.016383573412895203, 0.019985046237707138, 0.029956750571727753, 0.0065055484883487225, -0.038929201662540436, 0.008233422413468361, -0.013947896659374237, -0.04019908607006073, -0.023857148364186287, 0.03778422623872757, 0.003570245113223791, 0.01951664499938488, 0.020318130031228065, -0.01607130654156208, -0.08476989716291428, -0.03081027790904045, -0.000445955345639959, -0.02537684328854084, -0.04011581465601921, -0.008550893515348434, 0.01645643636584282, -0.017008107155561447, 0.03561918064951897, -0.031164180487394333, 0.031601354479789734, -0.04987934231758118, -0.03287123516201973, -0.0021351210307329893, 0.036035533994436264, -0.00861855037510395, -0.08135578781366348, 0.030185746029019356, 0.0736948549747467, 0.06582574546337128, -0.05350163206458092, 0.040011726319789886, -0.016393981873989105, 0.006854245904833078, -0.03545263782143593, -0.004985852632671595, 0.04808901622891426, -0.13373325765132904, -0.005092543549835682, -0.05853952839970589, 0.057290464639663696, -0.027479438111186028, 0.05166966840624809, -0.006250530946999788, -0.026813268661499023, -0.009477282874286175, 0.051419857889413834, 0.004114109091460705, -0.01662297733128071, 0.022545630112290382, 0.007426734082400799, -0.00003645140168373473, -0.0058914246037602425, 0.019464600831270218, 0.04055298864841461, -0.0299359317868948, -0.03416193649172783, 0.002781772520393133, 0.07373648881912231, 0.002474710810929537, -0.045132894068956375, 0.019017020240426064, -0.02835378237068653, -0.018527802079916, -0.07373648881912231, 0.00374199147336185, 0.036431074142456055, 0.005594771821051836, 0.005186223424971104, 0.03382885456085205, -0.02042221836745739, 0.02731289528310299, -0.052585650235414505, 0.016019262373447418, 0.03907492756843567, -0.07769186049699783, 0.025397662073373795, 0.006963539402931929, -0.022462358698248863, 0.05591649189591408, 0.04176041856408119, -0.04430018365383148, 0.037638500332832336, -0.011782849207520485, -0.013031914830207825, -0.0010272260988131166, 0.024918854236602783, 0.01951664499938488, 0.015425956808030605, 0.010731552727520466, 0.06732462346553802, 0.07773350179195404, 0.007848293520510197, 0.01848616637289524, 0.058622799813747406, 0.010153859853744507, -0.03339168056845665, -0.005724882706999779, 0.01778877153992653, -0.037118058651685715, -0.003140878863632679, -0.003351658582687378, 0.015488410368561745, -0.008602937683463097, 0.0033724764361977577, -0.042801305651664734, -0.052710555493831635, -0.009617802686989307, -0.007192534394562244, -0.031164180487394333, 0.0245649516582489, -0.040094997733831406, -0.03942883014678955, 0.04165633022785187, -0.027687614783644676, 0.024231867864727974, -0.016123352572321892, -0.023211797699332237, 0.004816708154976368, -0.04119833931326866, 0.02464822307229042, 0.0340370312333107, 0.05920569598674774, -0.04148978739976883, 0.03990763798356056, 0.040865253657102585, -0.0007507402915507555, 0.02421104907989502, 0.005261687561869621, 0.001977686770260334, -0.025876469910144806, 0.0029743367340415716, 0.040865253657102585, 0.0057196784764528275, 0.007567254360765219, 0.03366231173276901, 0.04971279948949814, -0.04554924741387367, -0.0349113754928112, 0.004777675028890371, 0.002680286066606641, 0.06686662882566452, 0.003151287790387869, -0.023128526285290718, 0.012043071910738945, -0.05458415672183037, -0.006255735643208027, 0.003963180352002382, -0.023232614621520042, 0.042197588831186295, -0.022628899663686752, 0.008394760079681873, -0.06832387298345566, -0.04700649157166481, 0.016727067530155182, 0.01947501115500927, 0.00930553674697876, 0.02042221836745739, 0.014655699953436852, -0.025647474452853203, 0.05462579056620598, 0.007837885059416294, -0.003002961166203022, 0.03718051314353943, 0.040740348398685455, 0.0027401370462030172, 0.03907492756843567, -0.042155954986810684, -0.018277989700436592, -0.03847121074795723, -0.04871354624629021, -0.013000688515603542, 0.04188532382249832, 0.07215434312820435, 0.017080968245863914, 0.0559997633099556, -0.054958876222372055, 0.036431074142456055 ]
10,890
burnman.classes.calibrant
__init__
null
def __init__(self, calibrant_function, calibrant_function_return_type, params): if calibrant_function_return_type == "pressure": self.pressure_function = calibrant_function self.volume_function = self._volume_using_pressure_function elif calibrant_function_return_type == "volume": self.volume_function = calibrant_function self.pressure_function = self._pressure_using_volume_function else: raise Exception( "calibrant function return type must either " "be pressure or volume" ) self.calibrant_function = calibrant_function self.params = params
(self, calibrant_function, calibrant_function_return_type, params)
[ 0.06582139432430267, -0.058879151940345764, 0.03608482703566551, -0.011777686886489391, -0.009949314408004284, -0.01941601373255253, -0.054238613694906235, 0.006594205275177956, -0.035249531269073486, 0.021643470972776413, 0.016000576317310333, 0.03849790617823601, -0.013095599599182606, 0.008083817549049854, -0.06207184121012688, 0.026042701676487923, -0.020214185118675232, 0.024409232661128044, 0.00676590483635664, -0.028622841462492943, -0.013253377750515938, 0.017337052151560783, -0.02452060580253601, 0.07840653508901596, 0.03666025400161743, 0.07937177270650864, 0.018478624522686005, 0.0008718411554582417, 0.017337052151560783, -0.0315556600689888, 0.023295503109693527, 0.004668381530791521, -0.03164847195148468, 0.07758980244398117, -0.002747198799625039, 0.056763067841529846, 0.0038423659279942513, 0.04714787006378174, -0.09310775995254517, 0.07176128774881363, 0.011684875935316086, -0.007577999494969845, 0.041913341730833054, 0.00676590483635664, -0.01950882375240326, 0.03886914998292923, -0.05832228809595108, 0.01316984836012125, 0.011257946491241455, 0.014162923209369183, 0.0025894204154610634, -0.03519384190440178, 0.028956959024071693, 0.00319037027657032, -0.03742130100727081, 0.09956739097833633, 0.03511959686875343, 0.05331050604581833, -0.0009814738295972347, 0.005396946333348751, -0.02136503905057907, 0.029773695394396782, -0.009044409729540348, -0.02491041086614132, 0.022497329860925674, 0.015165279619395733, -0.06582139432430267, 0.0021300071384757757, 0.004587172064930201, 0.09459273517131805, 0.05416436493396759, 0.03671593964099884, -0.06170060113072395, -0.03146285191178322, 0.08902408927679062, -0.0055268811993300915, -0.054758355021476746, -0.012520172633230686, 0.0036799469962716103, 0.018395094200968742, 0.030107812955975533, 0.02045549266040325, -0.029866505414247513, 0.0012251021107658744, 0.03534233942627907, -0.02585707977414131, -0.06281432509422302, -0.06437355279922485, 0.03137004002928734, 0.05646607279777527, -0.07684731483459473, -0.06047549843788147, -0.009615195915102959, 0.02648819424211979, 0.03886914998292923, -0.011360038071870804, 0.021884778514504433, -0.0833069458603859, 0.058210913091897964, -0.011824091896414757, 0.012343832291662693, 0.00564289465546608, 0.00523452740162611, -0.043955180794000626, 0.0564289465546608, -0.07952027022838593, -0.015954170376062393, -0.022441644221544266, 0.039314642548561096, 0.04506890848278999, -0.01764332689344883, -0.029662322252988815, -0.06058686971664429, 0.03107304498553276, -0.06266582757234573, 0.020585428923368454, -0.03203827887773514, -0.01130435150116682, -0.053236257284879684, 0.0017193194944411516, 0.029810819774866104, 0.0019362646853551269, 0.0034966457169502974, 0.04584851861000061, 0.08286145329475403, 0.023444000631570816, -0.018060974776744843, -0.0048215193673968315, 0.03185265511274338, 0.047593362629413605, 0.005972372833639383, 0.024706225842237473, -0.027471987530589104, -0.019044769927859306, -0.048075977712869644, -0.006454988848417997, -0.04072536528110504, 0.020139936357736588, -0.016845155507326126, 0.044586293399333954, 0.013624620623886585, 0.06262870877981186, 0.01355037186294794, -0.005410867743194103, 0.008909833617508411, 0.08078249543905258, 0.056057702749967575, -0.01415364257991314, -0.06381668150424957, 0.017671169713139534, -0.013216253370046616, 0.038794901221990585, -0.019471699371933937, -0.009262514300644398, 0.003779718652367592, -0.0628514513373375, 0.00917898491024971, 0.008278721012175083, 0.0022553016897290945, -0.006826232187449932, -0.03079461306333542, 0.020548304542899132, 0.00946669839322567, -0.038609281182289124, 0.01400514505803585, -0.0012784682912752032, -0.014497041702270508, -0.019731570035219193, 0.01230670791119337, -0.015137436799705029, -0.016845155507326126, -0.05353325232863426, -0.061886221170425415, 0.003635861910879612, 0.03187121823430061, 0.0611066110432148, 0.018432218581438065, -0.016603846102952957, 0.03433998301625252, -0.011861216276884079, 0.042767200618982315, -0.0004190986219327897, -0.08390093594789505, 0.045254532247781754, 0.038275159895420074, 0.03161134943366051, 0.006436426658183336, 0.008886631578207016, -0.006306491792201996, -0.01130435150116682, -0.005039624869823456, 0.04083673655986786, 0.008738134056329727, 0.02275720052421093, 0.0184507817029953, -0.04050261899828911, 0.01984294317662716, 0.01242736168205738, -0.05765404924750328, 0.05045193433761597, 0.014840441755950451, -0.016102667897939682, 0.017522674053907394, 0.02481759898364544, -0.012529454194009304, -0.004023347049951553, 0.022200336679816246, 0.025708582252264023, -0.06158922612667084, -0.05215965211391449, -0.04117085784673691, -0.047741860151290894, 0.02452060580253601, 0.03317056968808174, -0.015183841809630394, -0.0459970161318779, 0.06931108236312866, 0.010450492613017559, 0.0021659713238477707, 0.004647499416023493, 0.04068824276328087, 0.002375955693423748, -0.014664101414382458, -0.008524669334292412, 0.031964030116796494, 0.044920410960912704, -0.024037988856434822, -0.034729789942502975, -0.0544242337346077, 0.012009713798761368, -0.00778218312188983, -0.043621063232421875, 0.008325126022100449, -0.023889491334557533, -0.022627266123890877, -0.05780254676938057, 0.03393161669373512, 0.036548878997564316, -0.06144072860479355, -0.04518028348684311, 0.07283788919448853, 0.014571290463209152, 0.041430726647377014, 0.017624765634536743, -0.000903744890820235, -0.02891983650624752, 0.02236739546060562, 0.0879846066236496, -0.0824902132153511, -0.027564797550439835, -0.0060094972141087055, -0.00535518117249012, -0.01274291891604662, 0.017578359693288803, -0.010886703617870808, -0.0026149433106184006, -0.019286077469587326, 0.0008567594341002405, 0.045922767370939255, -0.004840081557631493, 0.020641114562749863, -0.015239528380334377, 0.013336907140910625, 0.06611838936805725, -0.027787543833255768, -0.045440152287483215, 0.012418081052601337, -0.004030307754874229, 0.020529741421341896, 0.024724788963794708, 0.06652675569057465, 0.04117085784673691, 0.004886487033218145, 0.0004214188957121223, -0.015053906477987766, 0.002930500078946352, 0.00635753758251667, -0.054906852543354034, 0.02663668990135193, -0.013522529043257236, 0.03816378861665726, 0.006338975392282009, 0.015285933390259743, 0.03905477002263069, -0.026618128642439842, -0.017234960570931435, 0.018274439498782158, -0.0033272660803049803, 0.04365818575024605, 0.013800960965454578, -0.026543879881501198, 0.001393321668729186, 0.011554940603673458, 0.04518028348684311, 0.07265227288007736, 0.020956670865416527, 0.018673526123166084, -0.05186265707015991, 0.0473334938287735, -0.08234171569347382, 0.03935176506638527, -0.03131435438990593, 0.03983438387513161, 0.011462129652500153, -0.044103678315877914, -0.029755132272839546, 0.02002856321632862, -0.05097167566418648, -0.009661600925028324, 0.04354681447148323, 0.051899783313274384, 0.043286941945552826, -0.013355469331145287, -0.0034943255595862865, 0.022218897938728333, 0.013680307194590569, 0.03046049363911152, -0.00915578193962574, 0.021105168387293816, 0.07517672330141068, 0.020566865801811218, 0.014348545111715794, 0.029291078448295593, 0.052679393440485, 0.006352897267788649, 0.01004212535917759, -0.017559798434376717, -0.007577999494969845, 0.006946885958313942, 0.02045549266040325, -0.11798104643821716, 0.015313777141273022, 0.018042413517832756, -0.019434574991464615, -0.012074680998921394, -0.007248520851135254, 0.004007104784250259, -0.05345900356769562, 0.020715363323688507, -0.009717287495732307, 0.05071180313825607, -0.043955180794000626, -0.02724924124777317, 0.03244664520025253, 0.0008260158356279135, 0.007856431417167187, 0.036400385200977325, -0.035398028790950775, 0.06827159970998764, -0.025300215929746628, -0.04621976241469383, -0.0061719161458313465, -0.022163212299346924, 0.07729280740022659, 0.04016850143671036, -0.014469198882579803, -0.020306997001171112, -0.023314064368605614, 0.01984294317662716, -0.02442779392004013, 0.07261514663696289, -0.01551796030253172, -0.049746572971343994, 0.025801394134759903, -0.0006519956514239311, 0.01917470432817936, 0.007100023794919252, -0.016362538561224937, 0.04506890848278999, -0.019248953089118004, 0.03433998301625252, -0.038460783660411835, -0.052568018436431885, -0.026562443003058434, 0.01381952315568924, -0.003373671555891633, 0.009559509344398975, -0.005058187060058117, 0.006306491792201996, -0.0011757963802665472, -0.008232315070927143, -0.01858999766409397, -0.017801105976104736, 0.020139936357736588, 0.001436246675439179, -0.004410831723362207, -0.04317557066679001, 0.011230102740228176, 0.0006809990154579282, 0.048558592796325684, 0.0017599242273718119, 0.007192834746092558, 0.018571434542536736, -0.016362538561224937, 0.002782002789899707, 0.015462273731827736, 0.013281221501529217, 0.02366674691438675, -0.005754267796874046, 0.0024896489921957254, -0.014859003946185112, -0.0584336593747139, -0.04087386280298233, 0.03131435438990593, 0.019824380055069923, -0.009522384963929653, 0.039314642548561096, 0.007805385626852512, 0.0009257874335162342, -0.014162923209369183, 0.025281652808189392, -0.025782831013202667, -0.07458273321390152, -0.026451069861650467, -0.041913341730833054, 0.04016850143671036, -0.0382380373775959, -0.015666456893086433, 0.022070400416851044, 0.017671169713139534, 0.025040345266461372, 0.0379781648516655, 0.042915698140859604, 0.04480903968214989, 0.03495253622531891, 0.059398893266916275, 0.02117941714823246, 0.026209760457277298, -0.02758336067199707, 0.008993363939225674, 0.008436499163508415, 0.05397874489426613, -0.08085674047470093, -0.09013781696557999, 0.01621404103934765, 0.002030235482379794, -0.02643250674009323, -0.006779826711863279, 0.0002810426231008023, -0.0012204615632072091, 0.03816378861665726, 0.008301923051476479, -0.022404519841074944, 0.02175484411418438, -0.059547390788793564, -0.06400230526924133, -0.020195623859763145, -0.016316132619976997, -0.020158499479293823, -0.06582139432430267, 0.003617299720644951, 0.015313777141273022, 0.003902692813426256, 0.0360291413962841, 0.04016850143671036, -0.013754555955529213, -0.027750419452786446, -0.018812742084264755, 0.01371743157505989, -0.005545443389564753, -0.012557297013700008, -0.014691945165395737, -0.03584351763129234, -0.0415792241692543, -0.036214761435985565, 0.1342414915561676, 0.05182553455233574, -0.026748063042759895, -0.022627266123890877, 0.02648819424211979, 0.01032983884215355, -0.021142292767763138, -0.008946957997977734, -0.0141072366386652, -0.0005931188352406025, 0.004090634640306234, -0.02270151488482952, -0.002501250244677067, -0.012362394481897354, -0.025374464690685272, -0.02418648637831211, 0.004918970633298159, -0.007680091075599194, 0.07194691151380539, -0.03886914998292923, -0.026896560564637184, 0.011861216276884079, -0.006385380867868662, -0.010134936310350895, -0.011239384301006794, -0.09474123269319534, 0.06329694390296936, 0.06960807740688324, 0.034822601824998856, -0.028362970799207687, 0.01908189430832863, 0.0009820539271458983, 0.005211324896663427, 0.0058517190627753735, 0.007731136865913868, 0.02873421460390091, 0.02700793370604515, -0.1040223091840744, -0.013995864428579807, 0.025263091549277306, -0.05861928313970566, -0.06767760962247849, -0.015211684629321098, -0.045774269849061966, 0.009480619803071022, -0.02609838917851448, 0.025207404047250748, -0.016650252044200897, 0.021977590397000313, -0.07350613176822662, -0.019768694415688515, 0.008533949963748455, -0.019137579947710037, -0.05850790813565254, -0.004236811771988869, 0.02142072468996048, 0.051899783313274384, 0.019490260630846024, -0.01831156387925148, 0.012909977696835995, -0.0020603991579264402, 0.015657177194952965, -0.04016850143671036, 0.016650252044200897, -0.011462129652500153, -0.047778982669115067, -0.024279296398162842, -0.02697080932557583, 0.049263957887887955, -0.010172060690820217, 0.007332050707191229, -0.030608991160988808, -0.016845155507326126, -0.03990862891077995, -0.05219677835702896, -0.010431930422782898, 0.028455782681703568, -0.005002500489354134, -0.02710074372589588, 0.04722211882472038, -0.11166992038488388, 0.013633902184665203, -0.02075248770415783, -0.0022599422372877598, -0.012807886116206646, -0.003524489002302289, -0.0466652549803257, -0.0006195118767209351, 0.019063331186771393, 0.03079461306333542, 0.030534742400050163, 0.021290790289640427, -0.025541523471474648, 0.005192762706428766, -0.023406876251101494, -0.022478768602013588, 0.03122154250741005, -0.0333561897277832, -0.008278721012175083, -0.048447221517562866, -0.02830728515982628, 0.06129223108291626, 0.051751285791397095, 0.005647535435855389, -0.05809954181313515, 0.023648183792829514, -0.018348688259720802, -0.020474055781960487, -0.010979513637721539, -0.03437710925936699, 0.0009246272966265678, 0.03905477002263069, -0.03433998301625252, -0.03283644840121269, -0.054387111216783524, -0.02452060580253601, -0.03742130100727081, -0.09125154465436935, -0.0742114931344986, -0.029031207785010338, -0.026543879881501198, -0.0415792241692543, -0.005475835409015417, 0.002577819162979722, -0.0014026027638465166, -0.00006620018393732607, -0.0041996873915195465, -0.03968588635325432, -0.02218177355825901, -0.034822601824998856, 0.024130800738930702, 0.021049482747912407, 0.0029281796887516975, -0.006533877924084663, -0.011554940603673458, -0.10357681661844254, 0.0324280820786953, -0.03161134943366051, -0.03491540998220444, 0.020381245762109756, 0.0041764844208955765, -0.03432142361998558, 0.005039624869823456, -0.00936924759298563, -0.016576003283262253, 0.02609838917851448, 0.0009832141222432256, 0.002962983911857009, 0.027991728857159615, 0.07591921091079712, 0.0049004084430634975, -0.08033700287342072, 0.0018956599524244666, 0.07450848817825317, 0.06867996603250504, -0.06893984228372574, 0.033783119171857834, 0.002263422589749098, 0.036159075796604156, -0.0415792241692543, -0.01854359172284603, 0.01950882375240326, -0.10654675960540771, 0.04699937254190445, -0.04421504959464073, 0.051936905831098557, -0.011387881822884083, 0.06322269886732101, -0.06700937449932098, -0.0037565159145742655, -0.015471555292606354, 0.032873574644327164, 0.0399828776717186, 0.03857215493917465, -0.005591848865151405, 0.011146573349833488, 0.03753267601132393, 0.01859927736222744, -0.05813666433095932, 0.05152853950858116, -0.051120173186063766, -0.02749055065214634, 0.008543231524527073, 0.05995575711131096, -0.03500822186470032, -0.0379781648516655, 0.030608991160988808, -0.0199914388358593, 0.026451069861650467, -0.027119306847453117, -0.016603846102952957, 0.02949526160955429, 0.017773263156414032, 0.04473479092121124, 0.0315556600689888, -0.10298282653093338, 0.023740993812680244, 0.01147141121327877, 0.05368174985051155, 0.024279296398162842, -0.05052618309855461, 0.0009652319713495672, -0.04566289857029915, -0.03253945708274841, 0.016854435205459595, 0.050229188054800034, -0.011991151608526707, 0.057245682924985886, -0.007155710365623236, 0.010617552325129509, -0.005104592069983482, -0.008204472251236439, 0.0009234671597369015, 0.03875777870416641, 0.03133291378617287, 0.017578359693288803, 0.039945755153894424, -0.047778982669115067, 0.0031671675387769938, 0.015091030858457088, -0.020826736465096474, -0.02227458544075489, 0.002030235482379794, -0.027713295072317123, -0.05884202942252159, -0.0013979622162878513, -0.04718499630689621, -0.016176916658878326, -0.05071180313825607, -0.023870930075645447, -0.031759846955537796, -0.0879846066236496, -0.021532097831368446, -0.010237027890980244, 0.029755132272839546, 0.04714787006378174, 0.008227674290537834, -0.05884202942252159, 0.07495398074388504, -0.02088242396712303, -0.03292926028370857, 0.00019881807384081185, -0.024037988856434822, 0.02864140272140503, -0.05579783394932747, 0.03680875152349472, 0.02825159765779972, 0.04440067335963249, -0.02672950178384781, 0.015657177194952965, 0.028715651482343674, 0.007225318346172571, 0.059547390788793564, 0.0023805962409824133, -0.0371057465672493, -0.005239167716354132, -0.017996007576584816, 0.06196046993136406, -0.006190478336066008, 0.045106034725904465, -0.014589852653443813, 0.02375955693423748, 0.02142072468996048, 0.01118369773030281, -0.01759692095220089, 0.04035412147641182, 0.021587785333395004, -0.05119442194700241, -0.014933252707123756, 0.012650107964873314, -0.08657388389110565, 0.013364750891923904, 0.023555373772978783, -0.0020789611153304577, 0.0371057465672493, -0.03660456836223602, 0.003916614223271608, -0.02190334163606167, -0.035249531269073486, 0.02539302594959736, 0.050229188054800034, 0.020733926445245743, -0.010274152271449566, 0.03528665378689766, 0.00652459729462862, -0.0034409593790769577, -0.019917191937565804, 0.0302191860973835, 0.04217321425676346, 0.035398028790950775, -0.039314642548561096, -0.009262514300644398, 0.02017706073820591, -0.00044520164374262094, -0.021290790289640427, -0.05115729570388794, 0.005782111082226038, 0.030664678663015366, 0.007299567107111216, 0.027657609432935715, 0.038275159895420074, -0.02763904631137848, 0.029086895287036896 ]
10,891
burnman.classes.calibrant
_pressure_using_volume_function
Helper function to compute pressure iteratively by Brent's method using a function of the form volume(pressure, temperature).
def _pressure_using_volume_function(self, volume, temperature, params): """ Helper function to compute pressure iteratively by Brent's method using a function of the form volume(pressure, temperature). """ def func(x): (self.volume_function(x, temperature, params) - volume) try: sol = bracket(func, 0.0, 300.0e9) except ValueError: raise ValueError( "Cannot find a pressure, perhaps you are outside " "of the range of validity for the equation " "of state?" ) return opt.brentq(func, sol[0], sol[1])
(self, volume, temperature, params)
[ 0.055560626089572906, -0.024563271552324295, -0.03215264901518822, 0.013836835511028767, -0.002343908417969942, 0.02895337902009487, -0.03821348398923874, -0.04482530429959297, 0.007918189279735088, -0.016920575872063637, 0.01344581414014101, -0.011712877079844475, -0.011970595456659794, -0.026642795652151108, -0.10991264134645462, 0.04169712960720062, -0.00939340703189373, 0.021986084058880806, -0.01965772733092308, 0.006354102399200201, -0.047242529690265656, -0.01844911463558674, 0.050690628588199615, 0.07095266133546829, 0.015631981194019318, 0.027584802359342575, 0.0330413319170475, -0.0315127931535244, -0.07145033031702042, -0.05851106345653534, 0.047989025712013245, 0.0012752639595419168, 0.034498777240514755, 0.04727807641029358, 0.014316726475954056, 0.049730848520994186, 0.029664328321814537, 0.023923417553305626, -0.06370098888874054, 0.005829778034240007, 0.035671841353178024, -0.01490325853228569, 0.0821145549416542, 0.0053498875349760056, -0.0003646388358902186, -0.002011762233451009, 0.06380762904882431, -0.004083510488271713, 0.01815584860742092, 0.05481413006782532, 0.049090996384620667, 0.0023794558364897966, 0.017249388620257378, -0.028971152380108833, -0.008344758301973343, 0.04180377349257469, 0.032988011837005615, 0.020262032747268677, 0.032010458409786224, 0.002122847829014063, 0.0319749116897583, 0.002961545018479228, -0.0005529291229322553, -0.04265691339969635, -0.023781228810548782, 0.005767569877207279, 0.001317476504482329, -0.01285039447247982, -0.0025438626762479544, 0.007780442945659161, 0.02593184821307659, -0.0009036822593770921, 0.0029415495228022337, -0.02753148227930069, -0.001078086788766086, 0.005865325219929218, -0.0349431186914444, -0.018982326611876488, -0.008193681947886944, -0.009206783026456833, 0.019888784736394882, -0.011748424731194973, 0.008229229599237442, 0.0022817004937678576, 0.009588918648660183, 0.017204955220222473, -0.044540926814079285, 0.002721599768847227, 0.053712163120508194, 0.010157677344977856, -0.02689162828028202, 0.019835464656352997, 0.017347143962979317, 0.049090996384620667, 0.09555148333311081, -0.01825360395014286, -0.011677329428493977, -0.06035953015089035, 0.007393864914774895, -0.029006700962781906, 0.0005123828304931521, 0.0436522401869297, -0.013570230454206467, -0.04621165618300438, 0.05708916857838631, -0.03736034408211708, -0.010370961390435696, -0.025523051619529724, 0.08673571795225143, -0.003981311805546284, -0.04564289748668671, -0.014707747846841812, -0.07169915735721588, 0.0000686648563714698, -0.06949521601200104, 0.05346332862973213, 0.009864411316812038, 0.034498777240514755, -0.006154148373752832, 0.001021988457068801, 0.024865424260497093, -0.017027217894792557, -0.011046363040804863, 0.0057275788858532906, 0.04080844670534134, 0.02516757883131504, 0.04482530429959297, -0.011810632422566414, -0.013863496482372284, 0.013179208151996136, 0.035582974553108215, 0.07109485566616058, 0.0312106404453516, 0.0007770445081405342, 0.003976868465542793, 0.01478772982954979, -0.022430425509810448, -0.0009009051136672497, 0.027122685685753822, 0.0028126901015639305, 0.02342575415968895, 0.02193276211619377, -0.03560074791312218, 0.005683145020157099, 0.03542301058769226, -0.008740223944187164, 0.001296370173804462, -0.03615173324942589, -0.02730042301118374, 0.01133962906897068, -0.037218157202005386, 0.08218564838171005, 0.0473136231303215, 0.010815304704010487, 0.04667377099394798, -0.0038346785586327314, 0.04770464822649956, 0.029095567762851715, -0.011677329428493977, -0.04343895614147186, -0.022163821384310722, 0.05364106595516205, -0.01995988003909588, 0.026838306337594986, -0.06252792477607727, -0.00923344399780035, -0.03334348648786545, -0.0030926261097192764, -0.010602019727230072, 0.029202211648225784, 0.03401888906955719, -0.01781814731657505, -0.079057477414608, 0.006269677542150021, 0.03414330258965492, -0.0015818604733794928, 0.02203940413892269, -0.024243345484137535, -0.021292908117175102, -0.025985168293118477, 0.008140360936522484, -0.022377105429768562, -0.032241515815258026, 0.005256575532257557, 0.007842650637030602, 0.006180808879435062, 0.027033817023038864, -0.0009347862214781344, -0.035458557307720184, -0.03435658663511276, -0.008282550610601902, 0.002203940413892269, 0.05552507936954498, 0.0010908616241067648, 0.05563172325491905, 0.00023397427867166698, 0.06839324533939362, 0.040097497403621674, -0.009757768362760544, 0.059364203363657, 0.05161486193537712, -0.06092828884720802, 0.015791945159435272, 0.023799002170562744, 0.016476232558488846, -0.01429895218461752, -0.04901990294456482, -0.023407980799674988, -0.0228925421833992, -0.03380560129880905, -0.04084399342536926, -0.028224656358361244, 0.0427280068397522, 0.024865424260497093, -0.0070606074295938015, 0.03529859334230423, 0.035369690507650375, -0.022625936195254326, 0.06771785020828247, -0.024972066283226013, 0.03377005457878113, -0.045713990926742554, 0.047882381826639175, 0.007855981588363647, 0.049090996384620667, 0.02797582559287548, 0.001987323397770524, 0.05040625110268593, -0.017311597242951393, 0.022003857418894768, 0.039777569472789764, 0.0170538779348135, 0.0008025942370295525, -0.056733693927526474, 0.010886399075388908, -0.045856181532144547, -0.054352015256881714, 0.00014816055772826076, 0.030161991715431213, -0.00863358099013567, 0.0007559382356703281, -0.015454243868589401, 0.002583853667601943, 0.040986184030771255, -0.049090996384620667, -0.028651226311922073, 0.038497861474752426, 0.04510968551039696, 0.010859739035367966, 0.0030926261097192764, -0.046567127108573914, -0.01285039447247982, -0.019088968634605408, 0.030197538435459137, 0.02644728496670723, 0.002723821671679616, 0.013374718837440014, 0.014316726475954056, -0.002877119928598404, 0.01630738191306591, -0.005318783689290285, -0.028206882998347282, 0.019462216645479202, 0.03920881077647209, -0.02161283604800701, 0.0302153117954731, -0.004843336995691061, -0.02052863873541355, -0.007922632619738579, 0.04414990544319153, 0.049090996384620667, 0.020653054118156433, 0.02582520619034767, -0.03714706003665924, -0.006034175865352154, -0.014698861166834831, 0.06188806891441345, 0.04134165868163109, -0.016707289963960648, -0.02312360145151615, -0.05061953514814377, -0.007847093977034092, 0.01559643354266882, 0.02017316408455372, -0.047775741666555405, -0.001845133607275784, 0.03000202775001526, -0.030926261097192764, 0.06658033281564713, -0.0010714216623455286, -0.05022851377725601, -0.037182606756687164, -0.000820923363789916, 0.006522952578961849, 0.05271683260798454, -0.03478315845131874, -0.04063070937991142, -0.043545596301555634, 0.045287422835826874, -0.030268633738160133, 0.013659099116921425, -0.02559414692223072, -0.004401215817779303, 0.029113342985510826, -0.024261118844151497, 0.049730848520994186, 0.048628877848386765, -0.03209932520985603, -0.02202163077890873, -0.061070479452610016, -0.023603491485118866, 0.0016573987668380141, -0.0074116382747888565, 0.03435658663511276, 0.03185049444437027, -0.05648485943675041, -0.012112786062061787, 0.010468716733157635, 0.0010575359920039773, 0.01620073989033699, 0.025540826842188835, 0.03991976007819176, 0.03176162391901016, 0.04340340942144394, -0.040879540145397186, 0.049090996384620667, -0.06658033281564713, 0.005620936863124371, 0.03444545716047287, -0.011561800725758076, -0.0670069009065628, 0.09384520351886749, 0.03970647603273392, 0.006945078261196613, -0.066082663834095, -0.029646553099155426, 0.014547783881425858, -0.033201295882463455, -0.01955108530819416, -0.04553625360131264, 0.051010556519031525, -0.007522724103182554, -0.0002567468327470124, 0.033841151744127274, -0.010077695362269878, 0.035031989216804504, 0.023727906867861748, -0.0654783621430397, 0.061497047543525696, 0.02710491232573986, -0.003594733541831374, 0.06099938228726387, -0.0239589661359787, 0.035796258598566055, 0.007082824595272541, -0.01143738441169262, 0.04308348149061203, 0.028100240975618362, -0.046567127108573914, -0.00046850397484377027, 0.017649296671152115, -0.012361617758870125, -0.033965565264225006, 0.022821448743343353, 0.05022851377725601, -0.031797174364328384, 0.030641881749033928, 0.02353239618241787, -0.05374770984053612, 0.02095520868897438, 0.01154402643442154, -0.08268331736326218, -0.03551187738776207, 0.004263469483703375, -0.03261476382613182, 0.013072566129267216, -0.01440559420734644, -0.035245273262262344, 0.03188604116439819, 0.011775084771215916, 0.008491391316056252, -0.020137617364525795, -0.01414787583053112, -0.0154897915199399, 0.024207796901464462, -0.01748044788837433, -0.05211252719163895, -0.022750353440642357, 0.039031073451042175, -0.008304767310619354, 0.005363218020647764, -0.02040422335267067, 0.02074192278087139, 0.005914202891290188, -0.03499644249677658, -0.013241416774690151, 0.06750456243753433, -0.0802660882472992, -0.04500304162502289, 0.011508479714393616, -0.03478315845131874, -0.07607149332761765, -0.08090594410896301, 0.022945864126086235, 0.023194696754217148, -0.04557180032134056, 0.005478747189044952, 0.028437940403819084, -0.011073023080825806, -0.034267719835042953, -0.0002988205524161458, -0.0012519359588623047, -0.05733799934387207, 0.0027104911860078573, -0.024332214146852493, -0.005318783689290285, -0.006771784741431475, -0.08893965929746628, -0.013205869123339653, 0.010228771716356277, 0.06231463700532913, -0.02689162828028202, 0.05449420586228371, 0.017142746597528458, 0.04169712960720062, -0.0024461073335260153, 0.023585718125104904, -0.0001441337080905214, -0.03035750240087509, 0.09043265134096146, -0.004665599670261145, -0.04891325905919075, -0.06185252219438553, -0.04265691339969635, 0.03842676803469658, 0.027158234268426895, 0.01790701597929001, 0.017142746597528458, 0.0567692406475544, 0.0270871389657259, 0.07820434123277664, 0.04386552423238754, 0.008811318315565586, -0.014005686156451702, -0.028118014335632324, -0.05303676053881645, 0.009695560671389103, -0.028793415054678917, -0.06963741034269333, -0.042799100279808044, 0.013588003814220428, -0.011188552714884281, 0.052183620631694794, -0.010593133047223091, 0.02506093494594097, 0.009402294643223286, -0.055240701884031296, -0.02582520619034767, -0.04287019744515419, -0.0032614762894809246, 0.022590389475226402, 0.07052609324455261, 0.017142746597528458, -0.0029415495228022337, -0.04710033908486366, 0.019177837297320366, 0.0004915542667731643, -0.053392235189676285, -0.008326984941959381, 0.015143203549087048, 0.042834650725126266, -0.011401836760342121, -0.06291894614696503, -0.013863496482372284, -0.028118014335632324, 0.0069806259125471115, -0.06267011165618896, 0.02754925563931465, 0.04343895614147186, -0.05325004458427429, -0.06370098888874054, -0.008620250970125198, 0.017133859917521477, 0.1040828675031662, 0.0062785642221570015, 0.003479204373434186, 0.0023505736608058214, 0.027033817023038864, 0.015196524560451508, -0.07422302663326263, -0.0791996642947197, 0.018733493983745575, 0.10031484067440033, 0.06828660517930984, -0.06881982088088989, 0.0022583724930882454, 0.002388342749327421, 0.028135787695646286, 0.03154833987355232, -0.03584957867860794, 0.025203125551342964, 0.05815558880567551, -0.0462472029030323, -0.0008992388029582798, 0.014627765864133835, -0.028757868334650993, 0.00159963418263942, 0.017649296671152115, 0.0004049074195791036, 0.021079624071717262, -0.021417325362563133, -0.01436115987598896, -0.008513608947396278, 0.021079624071717262, -0.03377005457878113, 0.004812232684344053, -0.05612938478589058, 0.0017229393124580383, -0.033858925104141235, -0.07212572544813156, 0.03700486943125725, -0.0008142582373693585, -0.01074420940130949, -0.02667834423482418, 0.05602274462580681, -0.018413566052913666, -0.048628877848386765, -0.05708916857838631, -0.034072209149599075, 0.03606286272406578, -0.036133959889411926, 0.025736337527632713, 0.04514523223042488, 0.001565197599120438, -0.023390207439661026, -0.05051289498806, 0.02061750739812851, -0.07077492773532867, -0.08687791228294373, 0.00564315402880311, -0.01694723591208458, 0.06661587953567505, 0.09896403551101685, -0.05655595660209656, 0.052859023213386536, -0.0032059336081147194, -0.028011372312903404, -0.0077626691199839115, -0.007651583757251501, 0.007855981588363647, 0.012281635776162148, -0.040310781449079514, -0.013081452809274197, 0.03487202525138855, 0.11993701756000519, -0.005429869517683983, -0.022270463407039642, 0.0005881988327018917, -0.014583331532776356, -0.028775641694664955, 0.003676936961710453, -0.010833078064024448, 0.030375275760889053, 0.023816775530576706, -0.03209932520985603, -0.050050776451826096, 0.024349987506866455, 0.0026482832618057728, 0.027833634987473488, -0.03163721039891243, 0.04251472279429436, -0.0215950608253479, 0.06675806641578674, -0.022928090766072273, -0.026269547641277313, -0.03949319198727608, 0.04343895614147186, -0.09903512895107269, -0.03771581873297691, 0.000004877356786892051, -0.02029758132994175, -0.053178951144218445, -0.03560074791312218, -0.03499644249677658, 0.00017537656822241843, 0.03938654810190201, -0.006651812233030796, 0.014458916150033474, 0.017196066677570343, 0.013907930813729763, 0.004714477341622114, -0.05993296205997467, 0.0018851244822144508, -0.035156406462192535, -0.016689516603946686, -0.015685301274061203, -0.021346230059862137, -0.005971967708319426, 0.01566752791404724, 0.011215212754905224, -0.03014421835541725, -0.00639853673055768, 0.0257896576076746, 0.013374718837440014, -0.031903814524412155, 0.005963081028312445, 0.01285039447247982, -0.02061750739812851, 0.022643711417913437, -0.03057078644633293, 0.030161991715431213, -0.04603391885757446, -0.029539911076426506, 0.052183620631694794, 0.004781128838658333, 0.0457850843667984, -0.04386552423238754, -0.010157677344977856, 0.05854661017656326, 0.029344400390982628, -0.07649806141853333, 0.016760611906647682, -0.005740909371525049, 0.004156826995313168, -0.009402294643223286, -0.01748044788837433, 0.0567692406475544, -0.13067233562469482, 0.0017462673131376505, -0.01258378941565752, 0.017791487276554108, -0.00858914665877819, 0.056413765996694565, 0.018715720623731613, -0.06412755697965622, -0.019799916073679924, 0.053498875349760056, -0.01944444142282009, -0.07073938101530075, -0.02978874370455742, -0.007225014269351959, 0.0315127931535244, -0.030304180458188057, -0.018520209938287735, 0.07308550924062729, -0.026216227561235428, -0.01836024597287178, -0.0005509851034730673, 0.022306010127067566, -0.013090339489281178, -0.013659099116921425, -0.006611821241676807, 0.020670829340815544, 0.034818705171346664, -0.00977554265409708, 0.05150822177529335, 0.08261221647262573, -0.007531610783189535, -0.005261019337922335, -0.00853582564741373, -0.02730042301118374, -0.0051988111808896065, -0.07742229849100113, 0.038177937269210815, -0.015089882537722588, -0.072196826338768, -0.01609409786760807, -0.05602274462580681, -0.07891529053449631, 0.010148790664970875, 0.05776456743478775, -0.036436110734939575, 0.010450943373143673, -0.04336785897612572, -0.010673115029931068, 0.03508530929684639, -0.02029758132994175, 0.03273918107151985, -0.03249034658074379, 0.010593133047223091, 0.04329676553606987, -0.0003501976898405701, -0.004687816835939884, 0.03023308701813221, 0.08922404050827026, 0.03775136545300484, -0.06899755448102951, 0.024545498192310333, 0.015276506543159485, -0.021079624071717262, -0.014921031892299652, -0.02482987754046917, -0.03474760800600052, 0.0010247656609863043, -0.028224656358361244, -0.023887870833277702, -0.021221812814474106, 0.011943935416638851, 0.05538288876414299, -0.030393049120903015, 0.028331298381090164, -0.0037435884587466717, -0.010379849001765251, -0.005256575532257557, 0.02969987504184246, -0.05897318199276924, 0.003663606708869338, -0.015463130548596382, -0.04500304162502289, -0.004612278658896685, 0.0005987519398331642, -0.034818705171346664, 0.033752281218767166, -0.040452972054481506, 0.03593844920396805, 0.08055046945810318, 0.010806418024003506, 0.010282092727720737, -0.00928676500916481, 0.006287450902163982, -0.052325811237096786, -0.020795244723558426, 0.018200282007455826, -0.0172849353402853, -0.004183487966656685, 0.03508530929684639, 0.0226614847779274, 0.0020095405634492636, -0.04361669346690178, 0.026696117594838142, -0.0038524523843079805, 0.017311597242951393, -0.01673395186662674, -0.058582160621881485, 0.023674586787819862, -0.03316574916243553, -0.016653969883918762, 0.037538081407547, 0.018289150670170784, 0.011375176720321178, 0.01062868069857359, 0.03938654810190201, -0.06590493023395538, -0.04806011915206909, 0.027833634987473488, -0.02495429292321205, 0.014378934167325497, 0.00858914665877819, 0.009402294643223286, -0.047669097781181335, 0.03321906924247742, 0.02582520619034767, 0.014023459516465664, 0.02161283604800701, 0.027780313044786453, -0.003819126635789871, 0.037858009338378906, 0.010548698715865612, -0.06295449286699295, -0.0009564479696564376, -0.058475516736507416, 0.01355245616286993, 0.08659353107213974, 0.07557383179664612, -0.052219171077013016, 0.005274349357932806, -0.0257896576076746, 0.02333688549697399 ]
10,892
burnman.classes.calibrant
_volume_using_pressure_function
Helper function to compute volume iteratively by Brent's method using a function of the form pressure(volume, temperature).
def _volume_using_pressure_function(self, pressure, temperature, params): """ Helper function to compute volume iteratively by Brent's method using a function of the form pressure(volume, temperature). """ def func(x): return self.pressure_function(x, temperature, params) - pressure try: sol = bracket(func, params["V_0"], 1.0e-2 * params["V_0"]) except ValueError: raise ValueError( "Cannot find a volume, perhaps you are outside " "of the range of validity for the equation " "of state?" ) return opt.brentq(func, sol[0], sol[1])
(self, pressure, temperature, params)
[ 0.06753743439912796, -0.032626695930957794, -0.03503372520208359, 0.01658567599952221, 0.001528552733361721, 0.021347030997276306, -0.03777458146214485, -0.048000071197748184, 0.015487577766180038, 0.00045433815103024244, 0.004915087949484587, -0.008437787182629108, -0.018061520531773567, -0.02168085239827633, -0.09564875066280365, 0.035437826067209244, -0.008986836299300194, 0.01934409886598587, -0.026653040200471878, 0.010998552665114403, -0.060860998928546906, -0.016743801534175873, 0.0431860089302063, 0.06876730918884277, 0.03234558179974556, 0.035947345197200775, 0.030342651531100273, -0.03805569186806679, -0.07203524559736252, -0.07098107039928436, 0.0345417782664299, 0.005341149866580963, 0.02185654826462269, 0.0548522062599659, 0.020978068932890892, 0.053130388259887695, 0.04209669679403305, 0.01655932143330574, -0.06050960719585419, 0.012386548332870007, 0.04455643519759178, -0.011464145965874195, 0.09192400425672531, 0.010383617132902145, -0.0023411454167217016, -0.004019039683043957, 0.06679951399564743, -0.0005852863541804254, 0.026319218799471855, 0.05070578679442406, 0.03791513666510582, 0.00849928054958582, 0.01561056450009346, -0.03812597319483757, -0.006540273316204548, 0.042729198932647705, 0.03578921779990196, 0.011183032765984535, 0.03338218852877617, 0.009153746999800205, 0.018325064331293106, 0.00006787620077375323, -0.004383608233183622, -0.03661498799920082, -0.027092279866337776, 0.0002796032640617341, -0.003878483083099127, -0.0001658128312556073, 0.001327600795775652, 0.02081994339823723, 0.01655932143330574, 0.004568088799715042, 0.0024158162996172905, -0.01827235519886017, -0.005657402332872152, 0.006452425383031368, -0.0345417782664299, -0.004572481382638216, -0.006329438183456659, -0.010875564999878407, 0.026055674999952316, -0.02150515653192997, 0.018289925530552864, -0.003340414958074689, 0.012421687133610249, 0.02422844059765339, -0.06462088972330093, 0.00022565919789485633, 0.06599131226539612, 0.005169846583157778, -0.019660351797938347, 0.028515415266156197, -0.011639841832220554, 0.045962002128362656, 0.09747598320245743, -0.015768691897392273, -0.012035156600177288, -0.07062967866659164, -0.011429007165133953, -0.026828736066818237, 0.00026148464530706406, 0.04459157586097717, -0.011920955032110214, -0.04033973813056946, 0.041956137865781784, -0.03837194666266441, -0.010005871765315533, -0.026459775865077972, 0.08004697412252426, 0.006197666749358177, -0.03139682486653328, 0.014767225831747055, -0.06616701185703278, 0.004036609083414078, -0.08756674826145172, 0.058787789195775986, 0.013827253133058548, 0.030114246532320976, -0.028655972331762314, -0.0005655206041410565, 0.02417573146522045, -0.003988292999565601, -0.007735004182904959, 0.007620802149176598, 0.03501615673303604, 0.017516862601041794, 0.03257398679852486, -0.03144953399896622, -0.017929747700691223, 0.02781263366341591, 0.027355823665857315, 0.07540860772132874, 0.027408532798290253, -0.013906316831707954, -0.005279656499624252, 0.009039544500410557, -0.011376298032701015, -0.013326520100235939, 0.026407066732645035, 0.006878487765789032, 0.03738804906606674, 0.018202077597379684, -0.029042502865195274, 0.0019106910331174731, 0.025405600666999817, 0.008530027233064175, 0.01403808780014515, -0.048773132264614105, -0.015496362932026386, 0.009505138732492924, -0.04062085226178169, 0.08405283093452454, 0.05794445052742958, 0.018342632800340652, 0.05000300332903862, -0.004638366866856813, 0.04244808480143547, 0.005802351050078869, -0.00363909755833447, -0.03759888559579849, -0.024491984397172928, 0.04863257706165314, -0.0008916557999327779, 0.03183606639504433, -0.05393858626484871, -0.003316256683319807, -0.040866825729608536, 0.004043197724968195, -0.005011720582842827, 0.02586241066455841, 0.046313393861055374, -0.010770147666335106, -0.08946426212787628, -0.005073213949799538, 0.02772478573024273, -0.0012057118583470583, 0.004025628324598074, -0.023525657132267952, 0.009241594932973385, -0.024808235466480255, -0.005029289983212948, -0.02621380239725113, -0.03622845932841301, 0.0021808231249451637, 0.010225490666925907, 0.009689618833363056, 0.033610593527555466, -0.0035666231997311115, -0.025967827066779137, -0.03317135199904442, -0.008007332682609558, 0.004049786366522312, 0.05242760479450226, -0.0038323630578815937, 0.051619403064250946, -0.0037554961163550615, 0.07372192293405533, 0.035262130200862885, -0.01676137186586857, 0.05474678799510002, 0.06599131226539612, -0.059314876794815063, 0.01649782806634903, 0.02811131626367569, 0.006601766683161259, 0.0006511722458526492, -0.02686387673020363, -0.02500150166451931, -0.007286980282515287, -0.02461497113108635, -0.05639832839369774, -0.02224307879805565, 0.026617901399731636, 0.014872643165290356, -0.005868236999958754, 0.02616109326481819, 0.030026398599147797, -0.024474414065480232, 0.07048912346363068, -0.01794731803238392, 0.035385116934776306, -0.054044004529714584, 0.026196232065558434, 0.013238673098385334, 0.04132363572716713, 0.021048348397016525, -0.003553445916622877, 0.04522407799959183, -0.03484046086668968, 0.02236606553196907, 0.024755528196692467, 0.023121556267142296, 0.01703369989991188, -0.05003814026713371, -0.013300166465342045, -0.034172818064689636, -0.05204107239842415, -0.0017591534415259957, 0.011464145965874195, -0.018430480733513832, 0.008565166033804417, -0.04209669679403305, -0.004357254132628441, 0.03534997999668121, -0.06353157013654709, -0.030852168798446655, 0.031168421730399132, 0.06585075706243515, 0.013844822533428669, 0.008222559466958046, -0.04452129453420639, -0.01697220653295517, -0.01794731803238392, 0.035947345197200775, 0.027689645066857338, -0.0009037348791025579, 0.022207939997315407, 0.009531493298709393, -0.0014286258956417441, 0.007862383499741554, -0.007102499715983868, -0.020609108731150627, 0.014442188665270805, 0.04891368746757507, -0.016313347965478897, 0.026178661733865738, -0.0027364608831703663, -0.010409971699118614, 0.005165454465895891, 0.030289942398667336, 0.004236462991684675, 0.01617279089987278, 0.026090815663337708, -0.0323982909321785, -0.008073218166828156, -0.017973672598600388, 0.06567505747079849, 0.034436360001564026, -0.024860944598913193, -0.004906303249299526, -0.05843639746308327, -0.0042540328577160835, 0.009926808066666126, 0.03816111013293266, -0.051584262400865555, 0.0017207199707627296, 0.03900444880127907, -0.05562526732683182, 0.06497228145599365, -0.012553459033370018, -0.04241294786334038, -0.03534997999668121, -0.020398274064064026, 0.022489052265882492, 0.0449078269302845, -0.029991259798407555, -0.03199419006705284, -0.05608207359910011, 0.04455643519759178, -0.030289942398667336, 0.023156696930527687, -0.024386566132307053, 0.014213783666491508, 0.021487586200237274, -0.014125935733318329, 0.04033973813056946, 0.05000300332903862, -0.027953188866376877, -0.014301631599664688, -0.06613186746835709, -0.03939098119735718, 0.012245992198586464, -0.016717448830604553, 0.032837528735399246, 0.023472947999835014, -0.05126801133155823, -0.008209382183849812, 0.016225500032305717, 0.008894596248865128, 0.018325064331293106, 0.034699905663728714, 0.044626712799072266, 0.028445137664675713, 0.03601762279868126, -0.05337636172771454, 0.03260912746191025, -0.05864723399281502, -0.008266483433544636, 0.033610593527555466, -0.004308937583118677, -0.05717138946056366, 0.09072927385568619, 0.03540268912911415, 0.021188903599977493, -0.05428997799754143, -0.037669163197278976, 0.018202077597379684, -0.019326530396938324, -0.02085508219897747, -0.02651248499751091, 0.061985451728105545, 0.0037598884664475918, -0.007221094332635403, 0.019273821264505386, -0.012184497900307178, 0.035121574997901917, 0.03589463606476784, -0.07094593346118927, 0.06412893533706665, 0.014310416765511036, -0.008696937933564186, 0.048948828130960464, -0.03057105652987957, 0.02888437733054161, 0.009285518899559975, 0.0033513959497213364, 0.03837194666266441, 0.027496380731463432, -0.05847153812646866, 0.004308937583118677, 0.02997368946671486, -0.0005026544677093625, -0.0535520575940609, 0.020415842533111572, 0.034172818064689636, -0.032538846135139465, 0.03696637973189354, 0.018114229664206505, -0.05474678799510002, 0.027215266600251198, 0.004888733383268118, -0.07976585626602173, -0.026740888133645058, -0.008266483433544636, -0.025423170998692513, 0.027443671599030495, -0.00345022464171052, -0.03325920179486275, 0.047824375331401825, 0.009443645365536213, 0.009311873465776443, -0.005767212249338627, 0.003039536066353321, -0.02911278046667576, 0.032890237867832184, -0.004576873499900103, -0.05822556093335152, -0.030289942398667336, 0.03721235319972038, -0.003814793424680829, -0.000835652754176408, -0.006513918749988079, 0.03231044486165047, 0.0005770506104454398, -0.020714525133371353, -0.0053762891329824924, 0.07618166506290436, -0.07878196239471436, -0.02927090786397457, 0.011437791399657726, -0.038196250796318054, -0.07112162560224533, -0.09445402026176453, 0.030518347397446632, 0.020978068932890892, -0.05618749186396599, 0.007497814949601889, 0.016374841332435608, -0.021224042400717735, -0.044029347598552704, 0.012351409532129765, 0.004805278033018112, -0.06686979532241821, 0.022524191066622734, -0.009961947798728943, 0.014073227532207966, 0.006852133199572563, -0.0936809629201889, -0.005934122949838638, 0.018114229664206505, 0.04930021986365318, -0.028603263199329376, 0.05186537653207779, 0.017973672598600388, 0.04845688119530678, -0.003032947424799204, 0.017191827297210693, 0.010638375766575336, -0.010585667565464973, 0.07203524559736252, -0.0010020146146416664, -0.0341201089322567, -0.06497228145599365, -0.04757840186357498, 0.021522726863622665, 0.027795063331723213, 0.019660351797938347, 0.007985370233654976, 0.05601179599761963, 0.018535898998379707, 0.07069995999336243, 0.04937049746513367, 0.007510992232710123, -0.012448041699826717, -0.03424309566617012, -0.044415879994630814, -0.001586752012372017, -0.005323580466210842, -0.05899862200021744, -0.04606741666793823, 0.009838960133492947, -0.012606168165802956, 0.03619331866502762, -0.011007336899638176, 0.018465619534254074, 0.02132946066558361, -0.051759958267211914, -0.03139682486653328, -0.0297979936003685, -0.015513932332396507, 0.02624894119799137, 0.0721055269241333, -0.002114937175065279, -0.009707188233733177, -0.03394441306591034, 0.005226947832852602, 0.0048579866997897625, -0.05643346533179283, 0.005490491166710854, 0.007814067415893078, 0.030764320865273476, -0.017314814031124115, -0.059314876794815063, -0.007462675683200359, -0.007370435632765293, 0.009329442866146564, -0.04638367146253586, 0.009610556066036224, 0.04037487879395485, -0.044451016932725906, -0.063496433198452, -0.013317735865712166, 0.008020509965717793, 0.09775710105895996, -0.007295764982700348, 0.005929730832576752, 0.012333840131759644, 0.04163988679647446, 0.02331482246518135, -0.0755491629242897, -0.06978633999824524, 0.026371927931904793, 0.07892251759767532, 0.07800889760255814, -0.048035211861133575, 0.006245982833206654, -0.00392460310831666, 0.020837511867284775, 0.035297270864248276, -0.024000035598874092, 0.02855055406689644, 0.06760771572589874, -0.05618749186396599, 0.000039051119529176503, 0.0016778941499069333, -0.029393894597887993, 0.0038960527162998915, 0.012202068231999874, 0.008442179299890995, 0.017218180000782013, -0.020310426130890846, -0.010304554365575314, -0.0024575439747422934, 0.01886972039937973, -0.03021966479718685, 0.014784795232117176, -0.06788882613182068, -0.005951692815870047, -0.039320703595876694, -0.04919480159878731, 0.021188903599977493, -0.00871011521667242, 0.0011206092312932014, -0.022313356399536133, 0.05109231546521187, -0.018588608130812645, -0.07013773173093796, -0.0656047835946083, -0.02115376479923725, 0.041815582662820816, -0.05720652639865875, 0.009768682532012463, 0.04223725199699402, 0.011727689765393734, -0.030026398599147797, -0.058014728128910065, 0.02668818086385727, -0.07561943680047989, -0.11068830639123917, -0.002534410683438182, -0.03329433873295784, 0.04153446853160858, 0.09740570932626724, -0.05942029505968094, 0.06050960719585419, -0.005666187033057213, -0.013212318532168865, -0.017174256965517998, -0.0014077619416639209, 0.0034612056333571672, 0.020064450800418854, -0.051795098930597305, -0.009654480032622814, 0.029393894597887993, 0.11378055065870285, -0.011121539399027824, -0.0334700345993042, -0.004915087949484587, -0.03199419006705284, -0.033434897661209106, -0.00043814119999296963, -0.0030461244750767946, 0.030289942398667336, 0.032925378531217575, -0.035174284130334854, -0.0565740242600441, 0.011543208733201027, -0.008380685932934284, 0.03731777146458626, -0.03231044486165047, 0.04814062640070915, -0.027267975732684135, 0.06834563612937927, -0.033610593527555466, -0.01981847733259201, -0.02918305993080139, 0.027232836931943893, -0.08327977359294891, -0.03520942106842995, 0.0005344993551261723, -0.03276725113391876, -0.060860998928546906, -0.02366621419787407, -0.024860944598913193, -0.0026156699750572443, 0.04413476586341858, -0.00011962407734245062, 0.014653023332357407, 0.017042485997080803, 0.037634022533893585, 0.009557846933603287, -0.07498693466186523, 0.018641315400600433, -0.0392855629324913, -0.02470281906425953, -0.01925625093281269, -0.02319183573126793, -0.009118608199059963, 0.026793597266077995, 0.009408505633473396, -0.030518347397446632, 0.003920210991054773, 0.02435142733156681, 0.004128849599510431, -0.032890237867832184, 0.016743801534175873, 0.01526795793324709, -0.011516854166984558, 0.022120092064142227, -0.013440722599625587, 0.03731777146458626, -0.0321698859333992, -0.03598248213529587, 0.0578741692006588, 0.019484655931591988, 0.06405866146087646, -0.04346712306141853, -0.010286984965205193, 0.049124523997306824, 0.02733825519680977, -0.06897813826799393, 0.025967827066779137, -0.0006731342291459441, -0.005191808566451073, -0.01649782806634903, -0.02435142733156681, 0.05302496999502182, -0.12614953517913818, -0.004897518083453178, -0.014055658131837845, 0.01380089856684208, -0.01874673366546631, 0.04364281892776489, 0.02742610312998295, -0.05804986506700516, -0.011165463365614414, 0.044451016932725906, -0.024246009066700935, -0.06212600693106651, 0.0041354382410645485, 0.00033464544685557485, 0.029077641665935516, -0.028655972331762314, -0.01765741966664791, 0.07737639546394348, -0.025317752733826637, -0.010489034466445446, 0.00789313018321991, 0.021557865664362907, -0.0004713586822617799, -0.006404109299182892, -0.01874673366546631, 0.017718913033604622, 0.03717721626162529, -0.018623746931552887, 0.050494950264692307, 0.08918315172195435, -0.010128858499228954, -0.0005452057812362909, -0.005934122949838638, -0.03851250186562538, -0.0044626714661717415, -0.06813479959964752, 0.04673506319522858, -0.011964878998696804, -0.07969558238983154, -0.005982439499348402, -0.04789465293288231, -0.08173365145921707, 0.02103077806532383, 0.06152864173054695, -0.04455643519759178, 0.004713037982583046, -0.032837528735399246, -0.024105453863739967, 0.024843374267220497, -0.023209404200315475, 0.03696637973189354, -0.02414059266448021, 0.012650092132389545, 0.027390962466597557, 0.004554911516606808, 0.006373362150043249, 0.030202094465494156, 0.07709528505802155, 0.03220502659678459, -0.07674389332532883, 0.02233092673122883, 0.018623746931552887, -0.03113328292965889, -0.026740888133645058, -0.03566623106598854, -0.03447150066494942, -0.009136177599430084, -0.023086417466402054, -0.029903411865234375, -0.013809683732688427, 0.006122996099293232, 0.04568088799715042, -0.01904541626572609, 0.02417573146522045, -0.008222559466958046, -0.015838969498872757, 0.003647882491350174, 0.023859478533267975, -0.0436076782643795, 0.009654480032622814, -0.022489052265882492, -0.046137697994709015, -0.012500750832259655, -0.007453890983015299, -0.023683782666921616, 0.024860944598913193, -0.040866825729608536, 0.04529435560107231, 0.09726515412330627, 0.003652274841442704, 0.001046487595885992, -0.006658867932856083, -0.005653009749948978, -0.05808500573039055, -0.03243343159556389, 0.025634005665779114, -0.014600314199924469, -0.0010036617750301957, 0.031027864664793015, 0.019150834530591965, 0.02245391346514225, -0.022225508466362953, 0.030904877930879593, -0.009057114832103252, 0.01451246626675129, -0.020345564931631088, -0.06507769227027893, 0.0338917039334774, -0.02651248499751091, -0.025071779265999794, 0.04251836612820625, 0.008301623165607452, 0.016418764367699623, 0.017780406400561333, 0.03640415519475937, -0.07709528505802155, -0.05980682373046875, 0.04357253760099411, -0.011349943466484547, 0.02517719753086567, 0.010875564999878407, -0.0005704620270989835, -0.041956137865781784, 0.02538803219795227, 0.02189168706536293, 0.01575990580022335, 0.022612038999795914, 0.024158161133527756, -0.001060762908309698, 0.047824375331401825, 0.00789313018321991, -0.06458574533462524, -0.006988297216594219, -0.05436025559902191, 0.009153746999800205, 0.08630173653364182, 0.08538812398910522, -0.04891368746757507, 0.02115376479923725, -0.020609108731150627, 0.02370135299861431 ]
10,893
burnman.classes.calibrant
pressure
Returns the pressure of the calibrant as a function of volume, temperature and (optionally) a volume-temperature variance-covariance matrix. :param volume: The volume of the calibrant [m^3/mol]. :type volume: float :param temperature: The temperature of the calibrant [K]. :type temperature: float :param VT_covariance: The volume-temperature variance-covariance matrix [optional]. :type VT_covariance: 2x2 numpy.array :returns: The pressure of the calibrant [Pa] and the pressure-volume-temperature variance-covariance matrix if PT_covariance is provided. :rtype: float, tuple of a float and a numpy.array (3x3)
def pressure(self, volume, temperature, VT_covariance=None): """ Returns the pressure of the calibrant as a function of volume, temperature and (optionally) a volume-temperature variance-covariance matrix. :param volume: The volume of the calibrant [m^3/mol]. :type volume: float :param temperature: The temperature of the calibrant [K]. :type temperature: float :param VT_covariance: The volume-temperature variance-covariance matrix [optional]. :type VT_covariance: 2x2 numpy.array :returns: The pressure of the calibrant [Pa] and the pressure-volume-temperature variance-covariance matrix if PT_covariance is provided. :rtype: float, tuple of a float and a numpy.array (3x3) """ if VT_covariance is None: return self.pressure_function(volume, temperature, self.params) else: # Here we take the centered differences # We could alternatively use thermodynamic properties # but these have not yet been implemented. dV = volume / 1.0e7 dT = 0.01 PdV0 = self.pressure_function(volume - dV / 2.0, temperature, self.params) PdV1 = self.pressure_function(volume + dV / 2.0, temperature, self.params) PdT0 = self.pressure_function(volume, temperature - dT / 2.0, self.params) PdT1 = self.pressure_function(volume, temperature + dT / 2.0, self.params) pressure = (PdV0 + PdV1 + PdT0 + PdT1) / 4.0 gradPVT = np.zeros((2, 3)) gradPVT[:, 1:] = np.eye(2) gradPVT[:, 0] = [(PdV1 - PdV0) / dV, (PdT1 - PdT0) / dT] PVT_covariance = gradPVT.T.dot(VT_covariance).dot(gradPVT) return pressure, PVT_covariance
(self, volume, temperature, VT_covariance=None)
[ 0.030187519267201424, -0.039619915187358856, 0.01880692131817341, 0.013473470695316792, 0.027834242209792137, -0.01152526680380106, -0.02305053360760212, -0.05578422173857689, 0.031036240980029106, 0.011033393442630768, 0.025075893849134445, -0.026213955134153366, -0.00606161542236805, -0.014727265574038029, -0.08533519506454468, 0.044249311089515686, -0.035762082785367966, 0.002859616419300437, -0.0027969267684966326, -0.0028885500505566597, -0.014119657687842846, -0.06766633689403534, -0.003799962578341365, 0.016154663637280464, 0.0038795301225036383, -0.021700292825698853, 0.02467082254588604, -0.06106944754719734, -0.005101980175822973, -0.016019638627767563, -0.03659151867032051, 0.02901088073849678, -0.010020713321864605, 0.034662600606679916, -0.006457042880356312, 0.03522198647260666, 0.032425060868263245, 0.005777100101113319, -0.04154882952570915, 0.054472558200359344, 0.0007601130637340248, -0.04459651559591293, 0.04733557254076004, -0.024979447945952415, -0.0092539694160223, -0.0312484223395586, -0.018392203375697136, 0.04127877950668335, -0.03801891207695007, 0.045831020921468735, 0.036186445504426956, -0.006543844006955624, 0.0133577361702919, -0.027313435450196266, -0.03350525349378586, 0.04513661190867424, 0.06913231313228607, 0.04413357377052307, -0.029049459844827652, 0.00647633196786046, 0.057520244270563126, 0.026831207796931267, 0.0072768316604197025, -0.024747978895902634, -0.024979447945952415, -0.003956686705350876, 0.01855616271495819, 0.0007679492700845003, 0.0293966643512249, 0.048647236078977585, -0.013618139550089836, -0.018450072035193443, -0.012663327157497406, -0.04517518728971481, 0.06643182784318924, 0.015383096411824226, -0.007783171720802784, -0.054704029113054276, 0.037478819489479065, -0.017205921933054924, -0.04297622665762901, -0.00791819579899311, 0.005984458606690168, 0.01607750542461872, 0.04390210285782814, 0.04332343116402626, -0.05034467950463295, -0.01699374057352543, 0.014650109224021435, 0.04953453689813614, -0.02519162930548191, -0.001961465459316969, 0.007792816497385502, 0.05817607417702675, 0.06272831559181213, -0.019723154604434967, -0.007667437195777893, -0.04907159507274628, 0.030091073364019394, -0.021816028282046318, 0.03126771003007889, 0.05701872706413269, -0.02046578750014305, -0.02800784446299076, 0.05115482583642006, -0.013724230229854584, -0.008795851841568947, 0.0629212036728859, 0.08425500243902206, -0.0152480723336339, -0.041201625019311905, 0.008366668596863747, -0.03933057561516762, -0.017360234633088112, -0.04625537991523743, -0.03196212276816368, -0.042397551238536835, 0.03364027664065361, -0.05582280084490776, 0.0009813355281949043, 0.007011605892330408, 0.013656717725098133, 0.01078263483941555, 0.022491147741675377, -0.013907477259635925, -0.013463826850056648, 0.04232039302587509, -0.01926986128091812, -0.013251645490527153, 0.008511337451636791, 0.0050103566609323025, 0.031190555542707443, 0.04104730859398842, -0.02781495451927185, 0.01283692941069603, -0.03329307213425636, 0.03201998770236969, -0.022317545488476753, 0.043400585651397705, 0.003281566547229886, 0.023417027667164803, 0.036765120923519135, -0.027216989547014236, 0.034431133419275284, 0.0045401835814118385, 0.032463639974594116, 0.06160954385995865, -0.03699658811092377, -0.05474260821938515, 0.03801891207695007, -0.07090691477060318, 0.026889074593782425, -0.017958197742700577, -0.026271821931004524, 0.053893882781267166, -0.02843220718204975, 0.04694978892803192, -0.025538833811879158, -0.007855506613850594, -0.03697729855775833, -0.07518910616636276, 0.012094296514987946, 0.003672171849757433, 0.06654756516218185, -0.0028138046618551016, 0.006621000822633505, 0.00535756116732955, -0.020388631150126457, -0.020099293440580368, -0.009398638270795345, 0.024265749379992485, -0.03391032665967941, -0.03807678073644638, 0.0038240738213062286, 0.036475781351327896, 0.012470435351133347, 0.022317545488476753, -0.04625537991523743, 0.0004204431897960603, 0.03763313218951225, 0.025018027052283287, -0.05358525738120079, -0.026831207796931267, 0.015874970704317093, 0.029280928894877434, 0.02748703770339489, 0.05223501846194267, -0.005724055226892233, -0.00844382494688034, -0.012595814652740955, -0.0017890685703605413, -0.010223248973488808, 0.031094109639525414, 0.054665450006723404, 0.08479510247707367, 0.012460790574550629, 0.0705982893705368, 0.012055718339979649, 0.008675294928252697, -0.003339434042572975, 0.028972303494811058, -0.07302872091531754, 0.020118582993745804, 0.02690836414694786, 0.015180560760200024, -0.02175816148519516, -0.015296295285224915, 0.005323805380612612, -0.06384708732366562, -0.012094296514987946, -0.006784958299249411, -0.031846385449171066, 0.04135593771934509, -0.006842826027423143, -0.0012791117187589407, -0.02771850861608982, 0.06893941760063171, -0.04513661190867424, 0.0034599911887198687, 0.0007179180392995477, 0.06130091845989227, -0.06018214672803879, 0.005077868700027466, 0.055861376225948334, 0.036379337310791016, 0.019925691187381744, -0.04374779015779495, 0.024728689342737198, -0.006090548820793629, 0.009813355281949043, 0.045638129115104675, 0.017630282789468765, -0.05381672829389572, -0.03240577131509781, 0.032193589955568314, -0.019964270293712616, -0.0260982196778059, -0.027795664966106415, -0.004877743776887655, -0.0068669370375573635, -0.016492223367094994, -0.003563670441508293, 0.043400585651397705, 0.06241968646645546, -0.022201811894774437, -0.05497407540678978, 0.028837278485298157, 0.03707374632358551, 0.004494371823966503, 0.012865862809121609, -0.05593853443861008, -0.007677081506699324, -0.0036480603739619255, 0.05493549630045891, -0.018343981355428696, -0.03693872317671776, 0.060490772128105164, 0.06739629060029984, 0.034238241612911224, -0.00323816598393023, 0.03869403526186943, -0.049033019691705704, 0.04830003157258034, 0.08981028199195862, -0.029184482991695404, -0.010898369364440441, 0.015064826235175133, -0.024651532992720604, -0.043593477457761765, 0.0675891786813736, 0.005314160604029894, 0.061146605759859085, -0.00013962028606329113, -0.06870795041322708, -0.005598675459623337, -0.025886038318276405, 0.025365231558680534, 0.02852865308523178, 0.0214302446693182, 0.01965564303100109, -0.03583924099802971, -0.053662415593862534, -0.004995889961719513, 0.03173065185546875, -0.037343792617321014, -0.031055530533194542, 0.010936947539448738, -0.07534341514110565, 0.07677081227302551, 0.041818875819444656, -0.01655009016394615, -0.037285927683115005, -0.03149918094277382, 0.0006190611748024821, 0.07028966397047043, 0.014659754000604153, -0.05597711354494095, -0.0304961446672678, 0.038732610642910004, -0.056710101664066315, 0.023629209026694298, 0.03607070818543434, 0.016145018860697746, -0.0176495723426342, -0.03325449302792549, 0.04054579138755798, 0.05273653566837311, -0.03244435042142868, 0.01578816957771778, -0.025886038318276405, -0.006529377307742834, -0.010898369364440441, -0.0011886938009411097, 0.050267525017261505, -0.0068380036391317844, -0.013608494773507118, 0.025268785655498505, 0.004672796465456486, 0.05011321231722832, 0.02324342541396618, 0.04610106721520424, 0.0024979449808597565, 0.07009676843881607, 0.029859604313969612, 0.03610928729176521, 0.009200924076139927, -0.04880154877901077, -0.02013787254691124, 0.04741273075342178, 0.017003385350108147, -0.07653934508562088, 0.05204212665557861, -0.019202347844839096, 0.06145523115992546, -0.0019409706583246589, -0.055861376225948334, -0.003790317801758647, -0.045638129115104675, 0.0178906861692667, -0.03147989138960838, 0.04270617663860321, -0.010502941906452179, -0.03707374632358551, 0.0006552283302880824, 0.03537629917263985, 0.0006522143958136439, 0.061532385647296906, -0.024555087089538574, 0.0300139170140028, 0.05157918483018875, -0.010744056664407253, 0.03477833792567253, -0.014659754000604153, 0.08201746642589569, -0.0024979449808597565, 0.010628321208059788, -0.016762271523475647, -0.008897120133042336, 0.023301292210817337, -0.005376850254833698, 0.015093759633600712, 0.04571528360247612, -0.009278081357479095, 0.015296295285224915, 0.04073868319392204, -0.055475592613220215, -0.03537629917263985, 0.042590443044900894, -0.05161776393651962, -0.0110912611708045, 0.025654569268226624, -0.05435682460665703, -0.02357134036719799, -0.023725654929876328, 0.002700480865314603, -0.025693146511912346, 0.005516696721315384, -0.0011844743276014924, 0.008173776790499687, -0.03936915472149849, -0.007190030533820391, -0.0162800420075655, -0.059333425015211105, -0.0029584732837975025, 0.01899016834795475, -0.01918306015431881, -0.03321591392159462, -0.04810713976621628, 0.022163232788443565, 0.03236719220876694, -0.0012206415412947536, 0.0034551690332591534, 0.032521504908800125, -0.05497407540678978, 0.014466862194240093, 0.011708513833582401, 0.029068749397993088, -0.02742917090654373, -0.02729414589703083, 0.015325229614973068, -0.054896920919418335, -0.08996459096670151, -0.06458007544279099, 0.027892110869288445, -0.020118582993745804, -0.06045219674706459, 0.013772453181445599, 0.005926591344177723, 0.005926591344177723, 0.024805845692753792, 0.014997313730418682, 0.04575386270880699, -0.013164844363927841, 0.009360060095787048, -0.006621000822633505, 0.03387174755334854, -0.060297880321741104, -0.0465640090405941, 0.02524949610233307, 0.04405641928315163, -0.002154356800019741, -0.017774950712919235, 0.02557741291821003, 0.004301480483263731, 0.04760562255978584, 0.0038337185978889465, -0.039446309208869934, 0.056324318051338196, -0.014052145183086395, 0.04347774386405945, 0.039619915187358856, -0.008892297744750977, -0.05601568892598152, -0.030573302879929543, 0.0022544192615896463, 0.024516509845852852, 0.02991747111082077, 0.03782602399587631, 0.064695805311203, 0.018102867528796196, 0.0659303143620491, 0.06207248196005821, 0.015460253693163395, -0.05736593157052994, -0.0837920680642128, -0.022876931354403496, -0.03412250429391861, -0.05578422173857689, -0.08302050083875656, -0.03882905840873718, 0.010946592316031456, 0.06901657581329346, 0.04756704345345497, -0.035241276025772095, 0.02991747111082077, -0.008361846208572388, -0.036340758204460144, -0.05717303976416588, -0.03338951617479324, 0.006804247386753559, 0.007836217060685158, 0.04170314222574234, 0.019597776234149933, -0.0121232308447361, -0.012316121719777584, -0.05682583525776863, 0.02580888196825981, -0.046216800808906555, -0.036861564964056015, -0.003725216956809163, 0.021063750609755516, -0.01956884190440178, -0.03400677070021629, 0.009056256152689457, -0.048415765166282654, 0.032039277255535126, -0.057481665164232254, 0.01894194446504116, 0.04509803280234337, -0.030148940160870552, -0.036437202244997025, -0.004422037396579981, 0.011071971617639065, 0.05312231928110123, 0.0152480723336339, 0.029608843848109245, 0.00001703812085906975, 0.037478819489479065, 0.023262714967131615, -0.05076904222369194, -0.0703282430768013, 0.010599387809634209, 0.0475284643471241, 0.05478118360042572, -0.11056540906429291, -0.013367380946874619, 0.01818002387881279, -0.0304961446672678, 0.00854509323835373, 0.005531163886189461, 0.02123735286295414, 0.031595628708601, -0.0032767443917691708, -0.04386352747678757, -0.0058639016933739185, -0.05362383648753166, -0.009962845593690872, 0.019964270293712616, -0.01746632531285286, 0.010464363731443882, -0.06546737253665924, -0.03684227541089058, -0.00018626084784045815, 0.01617395132780075, -0.022066786885261536, -0.01355062797665596, -0.03425753116607666, 0.03755597397685051, -0.014225747436285019, -0.04598533362150192, -0.026445424184203148, 0.050653308629989624, 0.01770743913948536, 0.02638755738735199, 0.011795314960181713, 0.07229573279619217, -0.06230395287275314, -0.07148558646440506, 0.00019590542069636285, -0.003988031763583422, -0.055089812725782394, -0.036861564964056015, 0.013724230229854584, 0.00667886808514595, -0.033620987087488174, -0.042821913957595825, -0.023262714967131615, -0.07260435819625854, -0.08633823692798615, -0.03130628913640976, 0.0043207695707678795, 0.003558848053216934, 0.041780296713113785, -0.03279155492782593, 0.02499873749911785, -0.03852043300867081, -0.015016603283584118, 0.004381048027426004, -0.006948916241526604, 0.012393279001116753, 0.03269510716199875, -0.03244435042142868, 0.0012248610146343708, 0.0497274287045002, 0.07318303734064102, 0.05134771764278412, -0.023937834426760674, -0.0032622774597257376, -0.028162159025669098, -0.020735835656523705, 0.005685477051883936, -0.04023716598749161, 0.010020713321864605, 0.020080003887414932, -0.06604605168104172, 0.0006636672769673169, -0.00760956946760416, 0.04266759753227234, -0.041818875819444656, -0.05875474959611893, 0.018633319064974785, 0.001165185240097344, 0.04031432420015335, 0.012094296514987946, -0.019221637398004532, -0.016251107677817345, 0.05119340494275093, -0.056478630751371384, -0.02625253237783909, -0.0050441124476492405, 0.011602423153817654, -0.04606248810887337, -0.030245386064052582, -0.04289906844496727, -0.00473789731040597, 0.02256830595433712, -0.0074890125542879105, 0.011911049485206604, 0.056902989745140076, -0.030361121520400047, -0.06056793034076691, -0.00493802223354578, -0.01855616271495819, -0.033331651240587234, -0.006505265831947327, -0.005680654663592577, -0.002767992904409766, 0.023166269063949585, 0.01565314456820488, -0.033563122153282166, -0.08363775163888931, -0.029956050217151642, 0.020793702453374863, -0.019163770601153374, -0.03759455308318138, -0.03940773382782936, 0.02000284753739834, -0.018093222752213478, 0.06407855451107025, -0.02914590574800968, 0.039446309208869934, -0.08024286478757858, -0.013994278386235237, -0.002174851717427373, 0.047219838947057724, 0.02787282131612301, -0.09251075983047485, -0.003821662859991193, 0.01875869743525982, 0.062149640172719955, -0.04467367008328438, 0.038906216621398926, -0.012354699894785881, 0.008675294928252697, -0.025982484221458435, 0.0009313042392022908, 0.036630094051361084, -0.15940552949905396, -0.008496870286762714, -0.06720339506864548, 0.041201625019311905, -0.02347489446401596, 0.05111624673008919, 0.008892297744750977, -0.03988996148109436, 0.001100687077268958, 0.04170314222574234, 0.008178599178791046, 0.006770491600036621, 0.002185701858252287, -0.016443999484181404, 0.03861687704920769, -0.005998925305902958, -0.004554650280624628, 0.06712624430656433, -0.031325578689575195, -0.0328301340341568, -0.018498294055461884, 0.07970276474952698, -0.02978244610130787, -0.016405422240495682, 0.006302729714661837, 0.017398813739418983, 0.027544906362891197, -0.0521964393556118, 0.030322542414069176, 0.028142869472503662, -0.0010247360914945602, -0.012991242110729218, 0.019684577360749245, 0.0034190018195658922, 0.01028111670166254, -0.05717303976416588, 0.0018288524588569999, 0.09173919260501862, -0.06666330248117447, -0.006375064142048359, 0.004783709067851305, -0.06180243566632271, 0.009191280230879784, 0.04394068196415901, -0.009552950970828533, 0.04289906844496727, -0.03136415779590607, 0.021912474185228348, -0.014158235862851143, 0.029801735654473305, 0.03254079446196556, 0.006442576181143522, 0.026078930124640465, 0.08919303119182587, 0.04976600781083107, 0.018199313431978226, 0.013637429103255272, 0.04332343116402626, 0.0011145512107759714, -0.015392741188406944, 0.004041076637804508, -0.022664749994874, -0.014283615164458752, 0.008246111683547497, -0.015460253693163395, 0.005405784118920565, -0.0032116433139890432, -0.002965706866234541, -0.022934798151254654, -0.033524543046951294, 0.009924267418682575, -0.003927753306925297, -0.03794175758957863, -0.018729764968156815, -0.02515305019915104, -0.04343916475772858, 0.052890848368406296, -0.0409315750002861, 0.007257542572915554, 0.016916584223508835, -0.04471224918961525, -0.018016066402196884, -0.026599736884236336, -0.013492760248482227, -0.0034214130137115717, 0.07646218687295914, -0.03244435042142868, 0.020832281559705734, 0.04405641928315163, -0.007344343699514866, 0.010985170491039753, 0.03398748114705086, -0.006432931404560804, -0.025307364761829376, -0.010512586683034897, 0.032656531780958176, 0.02000284753739834, -0.017784595489501953, 0.02567385882139206, 0.08024286478757858, -0.03587782010436058, -0.030708326026797295, -0.0014249859377741814, 0.0012706727720797062, 0.04370921477675438, 0.03707374632358551, -0.013502405025064945, 0.013598850928246975, -0.02198963053524494, -0.01159277930855751, 0.0038409519474953413, -0.0037927289959043264, 0.017215566709637642, -0.013164844363927841, 0.03425753116607666, -0.02820073626935482, -0.04691121354699135, 0.041780296713113785, -0.022317545488476753, 0.013434892520308495, 0.03292657807469368, 0.02700481005012989, -0.025847461074590683, 0.038250382989645004, 0.022838352248072624, -0.01159277930855751, -0.01660795696079731, 0.05443397909402847, -0.017003385350108147, 0.0506918840110302, -0.05674867704510689, -0.044403623789548874, -0.028239315375685692, -0.06365419179201126, 0.023397738113999367, 0.021102329716086388, 0.09413105249404907, 0.018054643645882607, 0.05200354754924774, -0.018527228385210037, 0.04791424795985222 ]
10,894
burnman.classes.calibrant
volume
Returns the volume of the calibrant as a function of pressure, temperature and (optionally) a pressure-temperature variance-covariance matrix. :param pressure: The pressure of the calibrant [Pa]. :type pressure: float :param temperature: The temperature of the calibrant [K]. :type temperature: float :param PT_covariance: The pressure-temperature variance-covariance matrix [optional]. :type PT_covariance: 2x2 numpy.array :returns: The volume of the calibrant [m^3/mol] and the volume-pressure-temperature variance-covariance matrix if VT_covariance is provided. :rtype: float, tuple of a float and a numpy.array (3x3)
def volume(self, pressure, temperature, PT_covariance=None): """ Returns the volume of the calibrant as a function of pressure, temperature and (optionally) a pressure-temperature variance-covariance matrix. :param pressure: The pressure of the calibrant [Pa]. :type pressure: float :param temperature: The temperature of the calibrant [K]. :type temperature: float :param PT_covariance: The pressure-temperature variance-covariance matrix [optional]. :type PT_covariance: 2x2 numpy.array :returns: The volume of the calibrant [m^3/mol] and the volume-pressure-temperature variance-covariance matrix if VT_covariance is provided. :rtype: float, tuple of a float and a numpy.array (3x3) """ if PT_covariance is None: return self.volume_function(pressure, temperature, self.params) else: # Here we take the centered differences # We could alternatively use thermodynamic properties # but these have not yet been implemented. dP = 100.0 dT = 0.01 VdP0 = self.volume_function(pressure - dP / 2.0, temperature, self.params) VdP1 = self.volume_function(pressure + dP / 2.0, temperature, self.params) VdT0 = self.volume_function(pressure, temperature - dT / 2.0, self.params) VdT1 = self.volume_function(pressure, temperature + dT / 2.0, self.params) volume = (VdP0 + VdP1 + VdT0 + VdT1) / 4.0 gradVPT = np.zeros((2, 3)) gradVPT[:, 1:] = np.eye(2) gradVPT[:, 0] = [(VdP1 - VdP0) / dP, (VdT1 - VdT0) / dT] VPT_covariance = gradVPT.T.dot(PT_covariance).dot(gradVPT) return volume, VPT_covariance
(self, pressure, temperature, PT_covariance=None)
[ 0.03856626898050308, -0.0499427504837513, 0.036366816610097885, 0.020686235278844833, 0.024781767278909683, -0.024459434673190117, -0.039476387202739716, -0.0502082034945488, 0.006489334162324667, 0.041979216039180756, 0.013869826681911945, -0.03704940527677536, -0.015178121626377106, -0.011954785324633121, -0.08775059133768082, 0.06897939741611481, -0.04068987816572189, 0.00008747151150600985, 0.0041927071288228035, 0.016145123168826103, -0.003965177573263645, -0.05995405465364456, -0.011404922232031822, 0.02734147571027279, 0.0020584319718182087, -0.005759343504905701, 0.006759525742381811, -0.056161895394325256, -0.00802041869610548, -0.034887876361608505, -0.008944758214056492, 0.01205907016992569, 0.009594165720045567, 0.03333308920264244, -0.02025013603270054, 0.029161712154746056, 0.06188805401325226, -0.0029270737431943417, -0.04326855018734932, 0.056503187865018845, 0.010343117639422417, -0.03390191122889519, 0.10102315247058868, -0.002559708198532462, -0.022222058847546577, -0.034356970340013504, -0.0036973562091588974, 0.02375788427889347, -0.04816043749451637, 0.06234311684966087, 0.04558176547288895, 0.0042756604962050915, 0.01354749221354723, -0.03031832166016102, -0.041220780462026596, 0.044444117695093155, 0.06522515416145325, 0.027796534821391106, -0.03120948001742363, 0.020458703860640526, 0.056161895394325256, 0.01218231488019228, 0.023037374019622803, -0.02237374521791935, -0.031057793647050858, 0.012618413195014, 0.020420782268047333, 0.03471722826361656, 0.024933453649282455, 0.04660565033555031, -0.016562260687351227, -0.001816681819036603, 0.006261804606765509, -0.02899106591939926, 0.05331777408719063, 0.01478942483663559, -0.0032612578943371773, -0.03750446438789368, 0.04129662737250328, -0.025578120723366737, -0.026924338191747665, -0.004728349857032299, -0.004609844647347927, 0.05085286870598793, 0.053772833198308945, 0.04660565033555031, -0.040462348610162735, -0.008731449022889137, 0.02861184999346733, 0.0392867811024189, -0.03854731097817421, 0.02299945242702961, 0.006062716245651245, 0.06624904274940491, 0.0425480380654335, -0.016249407082796097, -0.010655970312654972, -0.06325323134660721, 0.033863991498947144, -0.026146944612264633, 0.027284592390060425, 0.06094001606106758, 0.034489698708057404, -0.008740929886698723, 0.04785706102848053, -0.017927438020706177, -0.01773783005774021, 0.03813017159700394, 0.08115223050117493, -0.0005572697846218944, -0.042206745594739914, 0.03198687359690666, -0.05771667882800102, 0.010049224831163883, -0.05847511067986488, -0.033882953226566315, -0.03217647969722748, 0.05032196640968323, -0.06511139124631882, 0.01007766555994749, 0.004116863943636417, 0.01311139389872551, 0.009328714571893215, 0.0064845941960811615, 0.0022267091553658247, -0.003972287755459547, 0.03020455688238144, -0.03689771890640259, -0.012134913355112076, 0.03416736423969269, 0.016770828515291214, 0.019273655489087105, 0.033427894115448, -0.03659434616565704, 0.025900455191731453, -0.005498632322996855, 0.050435733050107956, -0.01633473113179207, 0.045050863176584244, 0.03706836700439453, 0.010665451176464558, 0.03069753758609295, -0.01760510355234146, 0.03259361907839775, -0.03058377280831337, 0.047174472361803055, 0.07061002403497696, -0.06181221082806587, -0.03280218690633774, 0.027284592390060425, -0.07553983479738235, 0.03221440315246582, -0.007356790825724602, -0.027038102969527245, 0.056161895394325256, -0.03477410972118378, 0.03852834925055504, -0.021463626995682716, 0.005105195567011833, -0.042320508509874344, -0.09290792793035507, 0.016514858230948448, 0.006939653307199478, 0.052293889224529266, -0.0013699178816750646, -0.005754603073000908, 0.009101185016334057, 0.00015450089995283633, -0.03750446438789368, -0.0014291703701019287, 0.019273655489087105, -0.02040182240307331, -0.0526731051504612, -0.009110664948821068, 0.008409115485846996, 0.002512306207790971, 0.010485323145985603, -0.055744756013154984, -0.008394895121455193, -0.0068448493257164955, 0.022923609241843224, -0.04364776611328125, -0.024895532056689262, 0.03149389103055, 0.012106471695005894, 0.02326490357518196, 0.05661695450544357, -0.013651777058839798, -0.007854511961340904, -0.030413124710321426, 0.011945304460823536, -0.03411048278212547, 0.015955515205860138, 0.0395522303879261, 0.058361347764730453, 0.011935824528336525, 0.0747814029455185, 0.00018368275777902454, -0.00625232420861721, -0.020591430366039276, 0.03894548490643501, -0.07235442101955414, 0.01733965240418911, 0.013699178583920002, 0.004877666011452675, -0.02487657219171524, -0.023151138797402382, 0.013139835558831692, -0.054758794605731964, -0.008271649479866028, -0.016505377367138863, -0.023587236180901527, 0.06397374719381332, 0.0004651321505662054, 0.016950955614447594, -0.03031832166016102, 0.047819141298532486, -0.03047000803053379, -0.002528896788135171, 0.0078402915969491, 0.05722369998693466, -0.05654111132025719, -0.008532360196113586, 0.07902862131595612, 0.007944575510919094, 0.022316863760352135, -0.03795952349901199, 0.021577391773462296, -0.013234639540314674, 0.022449588403105736, 0.03716317191720009, 0.01738705486059189, -0.05479671433568001, -0.05832342430949211, -0.013519051484763622, -0.0068685500882565975, -0.024781767278909683, -0.00262607098557055, 0.003877484006807208, -0.0169130340218544, -0.006764265708625317, -0.027284592390060425, 0.047439925372600555, 0.08259325474500656, -0.014391248114407063, -0.041713763028383255, 0.015453052707016468, 0.04167584329843521, 0.004403646104037762, 0.02525578811764717, -0.05430373549461365, -0.008774111047387123, -0.00023582496214658022, 0.0676521360874176, 0.028137829154729843, -0.052521418780088425, 0.03331412747502327, 0.06962406635284424, 0.02762588858604431, -0.009736371226608753, 0.031285323202610016, -0.041713763028383255, 0.06442880630493164, 0.0720510482788086, -0.039855603128671646, 0.004140565171837807, 0.015889151021838188, -0.011622970923781395, -0.02438359148800373, 0.05980236828327179, 0.0051668183878064156, 0.07648787647485733, 0.018401456996798515, -0.06897939741611481, 0.0013521421933546662, -0.02957884967327118, 0.018401456996798515, 0.02648823894560337, 0.0013628075830638409, 0.030432086437940598, -0.03788368031382561, -0.026810573413968086, -0.029010025784373283, 0.037239015102386475, -0.04205505922436714, -0.021217137575149536, -0.0005646763602271676, -0.09616918116807938, 0.07811850309371948, 0.042092978954315186, -0.009480400942265987, -0.02923755533993244, -0.031626615673303604, -0.0008247948717325926, 0.05210428312420845, 0.0078734727576375, -0.06264648586511612, -0.029673654586076736, 0.0472123958170414, -0.05369699001312256, 0.014514493755996227, 0.027682770043611526, 0.05024612322449684, -0.0010896535823121667, -0.034508660435676575, 0.0417516864836216, 0.059006012976169586, -0.031626615673303604, 0.0263365525752306, -0.03782679885625839, -0.006081677041947842, 0.004038650542497635, 0.004315952304750681, 0.020098449662327766, 0.013386325910687447, 0.014163718558847904, 0.02076207846403122, -0.0017586143221706152, 0.03921093791723251, 0.0392867811024189, 0.04899471253156662, 0.012021147646009922, 0.050663262605667114, 0.05741330608725548, 0.03253673389554024, -0.008176845498383045, -0.025160983204841614, -0.0005217182915657759, 0.042472194880247116, 0.02136882394552231, -0.09662424772977829, 0.04797082766890526, -0.025312669575214386, 0.061357151716947556, -0.014723062515258789, -0.04812251403927803, -0.006759525742381811, -0.060977935791015625, 0.03905925154685974, -0.023776844143867493, 0.06875186413526535, -0.025464355945587158, -0.03155077248811722, -0.013831905089318752, 0.008484958671033382, 0.012789060361683369, 0.09738267958164215, -0.04338231310248375, 0.01821184903383255, 0.06257064640522003, 0.010257793590426445, 0.054265812039375305, -0.013661256991326809, 0.06689370423555374, 0.006778486538678408, -0.000015896335753495805, -0.015509936027228832, -0.020970646291971207, 0.015879672020673752, -0.022316863760352135, 0.004178486764431, 0.062229350209236145, -0.015272925607860088, 0.010570647194981575, 0.0313611663877964, -0.06340491771697998, -0.025085140019655228, 0.017263809219002724, -0.058626797050237656, -0.016439015045762062, 0.01293126679956913, -0.07296116650104523, -0.013149315491318703, -0.026203827932476997, 0.022904647514224052, -0.015557337552309036, 0.0006180035998113453, -0.024042295292019844, 0.005868367850780487, -0.020212214440107346, -0.006356608588248491, -0.004692798480391502, -0.04251011833548546, -0.002176936948671937, 0.031114675104618073, -0.009181767702102661, -0.04865341633558273, -0.03310555964708328, 0.0241371002048254, 0.02572980709373951, 0.016116680577397346, 0.007807109970599413, 0.059498995542526245, -0.04539215937256813, -0.009214949794113636, 0.012466726824641228, 0.027455240488052368, -0.04675733670592308, -0.018619507551193237, 0.005735642276704311, -0.04068987816572189, -0.0840342715382576, -0.06901732087135315, 0.03676499426364899, -0.03414840251207352, -0.0450129434466362, -0.006100637838244438, 0.00047016862663440406, -0.004699908662587404, -0.014021513052284718, -0.00167803093791008, 0.02671576850116253, -0.014135277830064297, 0.019832998514175415, 0.009305013343691826, 0.032024793326854706, -0.05138377100229263, -0.039855603128671646, 0.01658122055232525, 0.048918869346380234, -0.004891886841505766, -0.026829533278942108, 0.06427711993455887, 0.01094038225710392, 0.06966198235750198, -0.0024435732048004866, -0.03031832166016102, 0.029066909104585648, -0.029503006488084793, 0.017936918884515762, 0.03921093791723251, -0.0015121239703148603, -0.06018158420920372, -0.041600000113248825, 0.006375569384545088, 0.018932361155748367, 0.01791795715689659, 0.018154967576265335, 0.04759161174297333, 0.03481203317642212, 0.0818348154425621, 0.058513034135103226, 0.006001093424856663, -0.04759161174297333, -0.08153144270181656, -0.040955331176519394, -0.03155077248811722, -0.03467930480837822, -0.028080947697162628, -0.03883172199130058, 0.020363900810480118, 0.05369699001312256, 0.04558176547288895, -0.015016954392194748, 0.022715039551258087, 0.00016057428729254752, -0.04823628067970276, -0.04300309717655182, -0.04065195843577385, -0.006536736153066158, 0.003995988983660936, 0.05248349905014038, -0.0018865996971726418, -0.02028805762529373, -0.007456335239112377, -0.03443281725049019, 0.041334547102451324, -0.05623773857951164, -0.02584357187151909, -0.0026355513837188482, 0.018714310601353645, -0.031057793647050858, -0.031019872054457664, 0.020970646291971207, -0.012163354083895683, 0.014410208910703659, -0.07459179311990738, -0.016723426058888435, -0.007015496492385864, -0.030792340636253357, -0.046795256435871124, -0.0013983590761199594, -0.020686235278844833, 0.054265812039375305, -0.0033797628711909056, 0.025938376784324646, -0.003389243269339204, 0.0589301697909832, 0.033389970660209656, -0.07053418457508087, -0.0835033729672432, 0.04971522092819214, 0.03557046502828598, 0.030128713697195053, -0.06772798299789429, 0.013063992373645306, 0.025578120723366737, -0.014751503244042397, 0.008608204312622547, -0.008541841059923172, 0.013888787478208542, 0.04467164725065231, -0.004472379107028246, -0.034262169152498245, -0.033029716461896896, -0.03431905061006546, -0.026033179834485054, -0.010286234319210052, -0.0078734727576375, -0.0013521421933546662, -0.06617319583892822, -0.03539981693029404, -0.002886781934648752, 0.008470738306641579, -0.02497137524187565, -0.016571739688515663, -0.07098924368619919, 0.03850938752293587, -0.022165177389979362, -0.03234712779521942, -0.01570902392268181, 0.009494621306657791, 0.002550227800384164, 0.005100455600768328, 0.015178121626377106, 0.06109170243144035, -0.07569152116775513, -0.07197520136833191, -0.0015595259610563517, -0.01623992621898651, -0.06670410186052322, -0.022070372477173805, 0.004474749322980642, 0.04262388125061989, -0.035134363919496536, -0.04099325090646744, -0.023208020254969597, -0.05225596949458122, -0.09146690368652344, -0.02076207846403122, -0.008541841059923172, 0.02696225978434086, 0.04615059122443199, -0.023094255477190018, 0.027189789339900017, -0.031247401610016823, -0.0089731989428401, 0.004074202384799719, 0.008001457899808884, 0.028573928400874138, 0.04338231310248375, -0.02773965336382389, 0.010949863120913506, 0.03477410972118378, 0.0709133967757225, 0.04550592228770256, -0.024156061932444572, -0.018496261909604073, -0.013272561132907867, -0.033977754414081573, 0.0267347302287817, -0.031892068684101105, 0.003742388216778636, 0.019605468958616257, -0.029180673882365227, -0.009821695275604725, 0.02973053604364395, 0.018666908144950867, -0.021482588723301888, -0.042813491076231, 0.010627529583871365, 0.01024831272661686, 0.056503187865018845, 0.015386690385639668, -0.020231174305081367, 0.0003119644243270159, 0.04732615873217583, -0.06283609569072723, -0.04914639890193939, -0.024592159315943718, 0.003507748246192932, -0.07026872783899307, -0.016097720712423325, -0.027701731771230698, -0.0009231540025211871, 0.0167803093791008, -0.012220236472785473, 0.0023855059407651424, 0.04535423591732979, 0.019340017810463905, -0.050435733050107956, -0.014106836169958115, -0.0034935276489704847, -0.015462533570826054, -0.022828804329037666, -0.01623992621898651, 0.006167000625282526, 0.024724885821342468, 0.017064720392227173, -0.026677846908569336, -0.0739092007279396, -0.04584721848368645, 0.01888495869934559, -0.0011690518585965037, -0.04596098139882088, -0.03477410972118378, 0.019946763291954994, -0.01928313449025154, 0.0559343658387661, -0.021046489477157593, 0.019235733896493912, -0.0709133967757225, -0.025236826390028, 0.0214067455381155, 0.06753837317228317, 0.022430628538131714, -0.05817173793911934, -0.009252871386706829, 0.06522515416145325, 0.04323062673211098, -0.05263518542051315, 0.02671576850116253, -0.017747310921549797, -0.002219598740339279, -0.04213090240955353, -0.00917228776961565, 0.03138012811541557, -0.1315121203660965, -0.008096261881291866, -0.07880108803510666, 0.05089079216122627, -0.025805650278925896, 0.05392451956868172, 0.007314129266887903, -0.04050027206540108, 0.004365724511444569, 0.04391321539878845, -0.007532178424298763, -0.01070337276905775, 0.01859106495976448, 0.030659615993499756, 0.02832743711769581, -0.001808386412449181, 0.009594165720045567, 0.04288933426141739, -0.03517228737473488, -0.031266361474990845, 0.005479671526700258, 0.08486855030059814, -0.02091376483440399, -0.024193983525037766, 0.015263444744050503, 0.0076696439646184444, 0.009006381034851074, -0.054645027965307236, 0.00017123973520938307, 0.04463372752070427, -0.00818632636219263, -0.012428805232048035, 0.0073473104275763035, -0.016069279983639717, 0.008115222677588463, -0.07978705316781998, 0.008527620695531368, 0.07781513035297394, -0.10216079652309418, 0.00392014579847455, -0.005313764791935682, -0.048918869346380234, 0.009428258053958416, 0.042813491076231, -0.01181257888674736, 0.026696808636188507, -0.010219871997833252, -0.00665524136275053, -0.015216043218970299, 0.029446125030517578, 0.021179215982556343, 0.0023333635181188583, 0.026791611686348915, 0.037997446954250336, 0.07572944462299347, 0.016571739688515663, -0.0009113035048358142, 0.04300309717655182, 0.012476207688450813, -0.03138012811541557, 0.0013438467867672443, 0.002353509422391653, -0.03174038231372833, 0.002201823052018881, -0.003540929639711976, -0.0007305833860300481, 0.008717228658497334, -0.011547127738595009, -0.02997702732682228, -0.027246670797467232, 0.028687693178653717, -0.015263444744050503, 0.0058494070544838905, -0.002022880595177412, -0.013974110595881939, -0.04857757315039635, 0.04156207665801048, -0.04960145801305771, -0.024326708167791367, 0.006076937075704336, -0.04584721848368645, -0.029654692858457565, -0.004126344341784716, -0.0061859614215791225, 0.002063172170892358, 0.08168312907218933, -0.033977754414081573, 0.03196791186928749, 0.059119779616594315, -0.011300637386739254, 0.02335970662534237, 0.02559708245098591, 0.0031830444931983948, -0.04497501999139786, -0.027682770043611526, 0.04546800255775452, 0.016410574316978455, -0.02091376483440399, 0.015623700805008411, 0.07076171040534973, -0.01852470263838768, -0.03138012811541557, 0.011063627898693085, -0.006204922217875719, 0.03921093791723251, 0.04899471253156662, -0.0065462165512144566, 0.022051412612199783, -0.026279671117663383, -0.03120948001742363, -0.025672925636172295, -0.01449553295969963, 0.00955150369554758, 0.007807109970599413, 0.02935132011771202, -0.0392867811024189, -0.04797082766890526, 0.004164265934377909, -0.023321785032749176, 0.014030992984771729, 0.023473471403121948, 0.0338260680437088, -0.008963719010353088, 0.03818705305457115, -0.0020975386723876, -0.002898632548749447, 0.004569553304463625, 0.04087948799133301, -0.008788331411778927, 0.05001859366893768, -0.05456918478012085, -0.03333308920264244, -0.026298630982637405, -0.0629877820611, 0.007077119313180447, 0.03274530544877052, 0.09063263237476349, 0.008304830640554428, 0.038736917078495026, -0.03856626898050308, 0.02324594184756279 ]
10,895
burnman.classes.combinedmineral
CombinedMineral
This is the base class for endmembers constructed from a linear combination of other minerals. Instances of this class should be initialised with a list of Mineral instances, a second list containing the number of moles of each mineral, and (optionally) a third list containing three floats describing a free energy adjustment which is linear in pressure and temperature (i.e. a constant energy [J/mol], entropy [J/K/mol] and volume adjustment [J/Pa/mol or m^3/mol]). For example, a crude approximation to a bridgmanite model might be bdg = CombinedMineral([per, stv], [1.0, 1.0], [-15.e3, 0., 0.]) This class is available as :class:`burnman.CombinedMineral`.
class CombinedMineral(Mineral): """ This is the base class for endmembers constructed from a linear combination of other minerals. Instances of this class should be initialised with a list of Mineral instances, a second list containing the number of moles of each mineral, and (optionally) a third list containing three floats describing a free energy adjustment which is linear in pressure and temperature (i.e. a constant energy [J/mol], entropy [J/K/mol] and volume adjustment [J/Pa/mol or m^3/mol]). For example, a crude approximation to a bridgmanite model might be bdg = CombinedMineral([per, stv], [1.0, 1.0], [-15.e3, 0., 0.]) This class is available as :class:`burnman.CombinedMineral`. """ def __init__( self, mineral_list, molar_amounts, free_energy_adjustment=[], name="User-created endmember", ): model = MechanicalSolution(endmembers=[[m, ""] for m in mineral_list]) self.mixture = Solution(solution_model=model, molar_fractions=molar_amounts) # Remove elements from the chemical formula if they have # negligible concentrations for key, value in list(self.mixture.formula.items()): if np.abs(value) < 1.0e-10: self.mixture.formula.pop(key) self.params = { "name": name, "formula": self.mixture.formula, "equation_of_state": "combined", "molar_mass": self.mixture.molar_mass, "n": sum(self.mixture.formula.values()), } if free_energy_adjustment != []: assert len(free_energy_adjustment) == 3 dE, dS, dV = free_energy_adjustment self.property_modifiers = [ ["linear", {"delta_E": dE, "delta_S": dS, "delta_V": dV}] ] Mineral.__init__(self) def set_state(self, pressure, temperature): self.mixture.set_state(pressure, temperature) Mineral.set_state(self, pressure, temperature) @material_property def molar_gibbs(self): """ Returns Gibbs free energy of the mineral [J] Aliased with self.gibbs """ return self.mixture.molar_gibbs + self._property_modifiers["G"] @material_property def _molar_volume_unmodified(self): return self.mixture.molar_volume @material_property def molar_volume(self): """ Returns molar volume of the mineral [m^3/mol] Aliased with self.V """ return self.mixture.molar_volume + self._property_modifiers["dGdP"] @material_property def molar_entropy(self): """ Returns entropy of the mineral [J] Aliased with self.S """ return self.mixture.molar_entropy - self._property_modifiers["dGdT"] @material_property def isothermal_bulk_modulus(self): """ Returns isothermal bulk modulus of the mineral [Pa] Aliased with self.K_T """ K_T_orig = self.mixture.isothermal_bulk_modulus return self.molar_volume / ( (self._molar_volume_unmodified / K_T_orig) - self._property_modifiers["d2GdP2"] ) @material_property def shear_modulus(self): """ Returns shear modulus of the mineral [Pa] Aliased with self.G """ return self.mixture.shear_modulus @material_property def thermal_expansivity(self): """ Returns thermal expansion coefficient (alpha) of the mineral [1/K] Aliased with self.alpha """ return ( (self.mixture.thermal_expansivity * self._molar_volume_unmodified) + self._property_modifiers["d2GdPdT"] ) / self.molar_volume @material_property def molar_heat_capacity_p(self): """ Returns heat capacity at constant pressure of the mineral [J/K/mol] Aliased with self.C_p """ return ( self.mixture.molar_heat_capacity_p - self.temperature * self._property_modifiers["d2GdT2"] ) """ Properties from mineral parameters, Legendre transformations or Maxwell relations """ @material_property def molar_mass(self): """ Returns molar mass of the mineral [kg/mol] """ return self.mixture.molar_mass @material_property def formula(self): """ Returns molar chemical formula of the mineral """ return self.mixture.formula @material_property def density(self): """ Returns density of the mineral [kg/m^3] Aliased with self.rho """ return self.molar_mass / self.molar_volume @material_property def molar_internal_energy(self): """ Returns molar internal energy of the mineral [J/mol] Aliased with self.energy """ return ( self.molar_gibbs - self.pressure * self.molar_volume + self.temperature * self.molar_entropy ) @material_property def molar_helmholtz(self): """ Returns molar Helmholtz free energy of the mineral [J/mol] Aliased with self.helmholtz """ return self.molar_gibbs - self.pressure * self.molar_volume @material_property def molar_enthalpy(self): """ Returns molar enthalpy of the mineral [J/mol] Aliased with self.H """ return self.molar_gibbs + self.temperature * self.molar_entropy @material_property def adiabatic_bulk_modulus(self): """ Returns adiabatic bulk modulus of the mineral [Pa] Aliased with self.K_S """ if self.temperature < 1.0e-10: return self.isothermal_bulk_modulus else: return ( self.isothermal_bulk_modulus * self.molar_heat_capacity_p / self.molar_heat_capacity_v ) @material_property def isothermal_compressibility(self): """ Returns isothermal compressibility of the mineral (or inverse isothermal bulk modulus) [1/Pa] Aliased with self.K_T """ return 1.0 / self.isothermal_bulk_modulus @material_property def adiabatic_compressibility(self): """ Returns adiabatic compressibility of the mineral (or inverse adiabatic bulk modulus) [1/Pa] Aliased with self.K_S """ return 1.0 / self.adiabatic_bulk_modulus @material_property def p_wave_velocity(self): """ Returns P wave speed of the mineral [m/s] Aliased with self.v_p """ return np.sqrt( (self.adiabatic_bulk_modulus + 4.0 / 3.0 * self.shear_modulus) / self.density ) @material_property def bulk_sound_velocity(self): """ Returns bulk sound speed of the mineral [m/s] Aliased with self.v_phi """ return np.sqrt(self.adiabatic_bulk_modulus / self.density) @material_property def shear_wave_velocity(self): """ Returns shear wave speed of the mineral [m/s] Aliased with self.v_s """ return np.sqrt(self.shear_modulus / self.density) @material_property def grueneisen_parameter(self): """ Returns grueneisen parameter of the mineral [unitless] Aliased with self.gr """ if self.temperature < 1.0e-12: return 0.0 else: return ( self.thermal_expansivity * self.isothermal_bulk_modulus * self.molar_volume / self.molar_heat_capacity_v ) @material_property def molar_heat_capacity_v(self): """ Returns molar heat capacity at constant volume of the mineral [J/K/mol] Aliased with self.C_v """ return ( self.molar_heat_capacity_p - self.molar_volume * self.temperature * self.thermal_expansivity * self.thermal_expansivity
(mineral_list, molar_amounts, free_energy_adjustment=[], name='User-created endmember')
[ 0.09804213047027588, -0.01266119722276926, 0.01080551091581583, 0.03728770837187767, 0.010215943679213524, -0.07600584626197815, -0.06765525043010712, -0.02510976418852806, -0.060657769441604614, 0.005349597427994013, -0.02060585655272007, 0.033035095781087875, 0.025670336559414864, 0.061933550983667374, -0.05953662469983101, 0.018460219725966454, -0.017667686566710472, -0.033672984689474106, 0.04631485417485237, 0.01753237657248974, -0.03527738153934479, -0.007659541442990303, 0.0027545352932065725, 0.06866041570901871, -0.013444065116345882, 0.021340399980545044, -0.0018448138143867254, 0.02410460077226162, 0.01369535643607378, -0.054046884179115295, -0.025670336559414864, -0.005001656245440245, -0.004581226967275143, -0.007504900451749563, 0.04326070100069046, -0.057951558381319046, 0.060657769441604614, 0.03276447206735611, -0.09007813781499863, 0.05238449573516846, 0.03154667839407921, 0.023988619446754456, 0.10500095039606094, 0.0009169703116640449, 0.002245912794023752, -0.0059923226945102215, -0.02035456709563732, 0.07005218416452408, 0.00710380170494318, 0.0006795728695578873, 0.05524534732103348, -0.007500068284571171, 0.04635351523756981, 0.013424735516309738, -0.0436086431145668, 0.058570120483636856, 0.0449230894446373, 0.03349901735782623, 0.05683041363954544, -0.03893076628446579, 0.006204953417181969, -0.00596815999597311, 0.029497690498828888, -0.08188218623399734, -0.05350564047694206, -0.03715239837765694, -0.006620550062507391, 0.029207739979028702, 0.024761822074651718, 0.08373787254095078, 0.0002904041321016848, 0.003165299305692315, 0.03375030681490898, -0.010051637887954712, 0.006543229334056377, -0.016353242099285126, -0.03647584840655327, -0.050180867314338684, 0.033460356295108795, -0.06993620097637177, 0.014661859720945358, 0.005378592759370804, -0.012409906834363937, -0.04074779152870178, -0.002694128779694438, -0.0015391570050269365, 0.03978129103779793, 0.0061372979544103146, 0.025380386039614677, -0.05176593363285065, -0.031160077080130577, 0.0869080051779747, 0.026443539187312126, 0.035142071545124054, 0.04670145362615585, -0.010815175250172615, -0.024259241297841072, -0.06367325782775879, 0.010641205124557018, -0.008394083939492702, -0.017039459198713303, 0.027738654986023903, 0.0007417915621772408, 0.026288898661732674, 0.008983651176095009, 0.0057458640076220036, -0.050374168902635574, 0.000691654160618782, 0.05578659102320671, -0.021514371037483215, -0.059420641511678696, 0.010061303153634071, -0.05157263204455376, -0.023582687601447105, -0.04612155258655548, 0.00164668052457273, -0.030773475766181946, 0.006030982825905085, 0.035142071545124054, 0.005064479075372219, 0.0605417862534523, -0.010544554330408573, -0.040863774716854095, 0.014893820509314537, 0.03560599312186241, -0.0019740837160497904, 0.007384087890386581, 0.003087979042902589, 0.0363018773496151, -0.025051774457097054, -0.0345815010368824, 0.028743818402290344, -0.011066466569900513, 0.02077982760965824, -0.028086595237255096, -0.018044622614979744, -0.010312593542039394, -0.04596691206097603, 0.023350726813077927, 0.048093222081661224, 0.04225553944706917, 0.015483387745916843, 0.011056801304221153, -0.019223757088184357, -0.07202385365962982, -0.008553557097911835, 0.021920302882790565, -0.013038134202361107, -0.06811917573213577, -0.035741303116083145, -0.0286471676081419, -0.02967166155576706, 0.021900972351431847, -0.020045286044478416, 0.03280313313007355, 0.017561370506882668, -0.006784855388104916, -0.011085796169936657, 0.03858282417058945, 0.0055187358520925045, -0.04546432942152023, -0.023196086287498474, 0.007997817359864712, 0.08976885676383972, -0.028473196551203728, 0.0005267444648779929, 0.006427248939871788, -0.06073508784174919, -0.026482200250029564, 0.03475547209382057, -0.0012322921538725495, -0.04434318467974663, -0.05335099995136261, 0.004615054931491613, -0.009626376442611217, 0.08567088097333908, 0.02139838971197605, -0.022500203922390938, -0.02161102183163166, -0.014497554861009121, -0.020296575501561165, -0.03844751417636871, -0.011211441829800606, 0.00285843457095325, 0.014139948412775993, 0.007930162362754345, 0.027236072346568108, -0.03605058416724205, 0.052848417311906815, -0.037191059440374374, 0.030966775491833687, -0.041289035230875015, -0.007683703675866127, 0.05130201205611229, -0.017667686566710472, 0.010206278413534164, 0.07689502835273743, -0.036611158400774, 0.021727001294493675, -0.0251484252512455, -0.05311904102563858, -0.0154640581458807, 0.009611878544092178, -0.015270757488906384, -0.012322921305894852, -0.004267113283276558, 0.0007695785025134683, 0.02203628234565258, -0.020528536289930344, 0.020122606307268143, -0.03554800525307655, 0.016730178147554398, 0.007050644140690565, 0.03585728630423546, 0.06680472940206528, -0.10585147887468338, 0.03649517521262169, -0.0195716992020607, 0.006316101178526878, 0.016372570767998695, 0.0011930279433727264, -0.04001324996352196, -0.024471871554851532, 0.013531050644814968, -0.027912624180316925, 0.01994863525032997, -0.027081431820988655, 0.03421422839164734, 0.0005053001805208623, 0.005857011768966913, 0.01226493064314127, -0.030618835240602493, 0.008949823677539825, 0.008964321576058865, -0.05915002152323723, 0.033267054706811905, -0.025593016296625137, 0.028144584968686104, -0.05331233888864517, 0.00018363568233326077, -0.04206223785877228, -0.0745367631316185, 0.015000136569142342, -0.001984956907108426, 0.00020462693646550179, 0.009046473540365696, 0.08598016202449799, 0.036553166806697845, -0.04074779152870178, -0.008824178017675877, -0.0058811744675040245, 0.004622303415089846, 0.005175626836717129, 0.038988757878541946, -0.015696018934249878, -0.06235881522297859, 0.03007759340107441, -0.004762446507811546, 0.008896665647625923, -0.04878910258412361, -0.012419571168720722, -0.08281002938747406, 0.03744234889745712, 0.06154695153236389, -0.001122956397011876, 0.023833978921175003, 0.003508408088237047, 0.03978129103779793, -0.0363018773496151, -0.004143884405493736, 0.06657277047634125, 0.029169078916311264, -0.03663048893213272, 0.012525887228548527, -0.033093083649873734, 0.007388920057564974, -0.005987490061670542, -0.014023968018591404, -0.02242288365960121, 0.025283735245466232, -0.02967166155576706, 0.015058126300573349, 0.0263662189245224, 0.004457998089492321, -0.016217930242419243, -0.02141772024333477, -0.01215861551463604, -0.057990219444036484, 0.004629552364349365, -0.004264697432518005, -0.02412393130362034, -0.002248329110443592, 0.015589703805744648, -0.018788831308484077, 0.13523319363594055, -0.041289035230875015, -0.0015258676139637828, 0.021514371037483215, 0.00012390878691803664, -0.05377626046538353, 0.04140501469373703, 0.005446247756481171, 0.05308037996292114, -0.03235854208469391, -0.08729460835456848, -0.020876478403806686, 0.09618644416332245, -0.024181921035051346, 0.023988619446754456, -0.014555544592440128, 0.02576698735356331, 0.03212657943367958, 0.05083809047937393, 0.035509344190359116, 0.014197938144207, -0.023563358932733536, 0.0021855062805116177, 0.01875017024576664, 0.05215253680944443, 0.05122469365596771, -0.0013253181241452694, -0.020741168409585953, 0.040245212614536285, 0.03191395103931427, 0.015261092223227024, -0.046469494700431824, 0.0002819472283590585, 0.01568635366857052, -0.013250764459371567, -0.026520859450101852, -0.07480738312005997, -0.034697480499744415, 0.02679148130118847, -0.006311268545687199, 0.008331261575222015, -0.016643192619085312, 0.02841520681977272, -0.02698478102684021, 0.019426722079515457, -0.06440780311822891, 0.11110925674438477, 0.058376818895339966, -0.015551043674349785, 0.029188409447669983, 0.01813160814344883, -0.057951558381319046, 0.07689502835273743, -0.03442686051130295, -0.03786761313676834, 0.050760772079229355, -0.0055187358520925045, 0.04434318467974663, -0.015599368140101433, 0.02762267366051674, 0.019629688933491707, -0.036359865218400955, -0.04484576731920242, -0.05501338467001915, -0.019929304718971252, 0.04001324996352196, -0.03672713786363602, 0.022480875253677368, -0.05049014836549759, 0.046624135226011276, -0.01628558523952961, -0.06889238208532333, -0.018759835511446, 0.008113797754049301, 0.03411757946014404, -0.05512936785817146, 0.02431723102927208, -0.02655952051281929, -0.01793830655515194, -0.011172781698405743, 0.007161791902035475, 0.01788998208940029, -0.009621543809771538, 0.04565763100981712, -0.015000136569142342, -0.03709441050887108, 0.05002622678875923, 0.015106451697647572, -0.06970424205064774, 0.03906607627868652, 0.020876478403806686, -0.0077851866371929646, 0.037191059440374374, -0.028047936037182808, -0.021997623145580292, 0.013878991827368736, 0.06626348942518234, -0.013318420387804508, 0.03125672787427902, -0.01512578222900629, -0.01811227761209011, 0.026404879987239838, 0.031198736280202866, 0.007601551245898008, -0.07113466411828995, -0.005634716246277094, 0.020257916301488876, -0.07635378837585449, -0.004112472757697105, 0.0050161536782979965, -0.034330207854509354, -0.10600611567497253, 0.06626348942518234, 0.005431750323623419, -0.00685251085087657, 0.0869080051779747, -0.019107777625322342, 0.013424735516309738, -0.05806753784418106, -0.002042947104200721, -0.0581061989068985, -0.07820947468280792, 0.04237151890993118, -0.07836411148309708, 0.014913151040673256, 0.035934604704380035, 0.009582883678376675, 0.021147100254893303, 0.06931763887405396, 0.01482616551220417, -0.0021806738805025816, -0.04859580099582672, -0.05628916993737221, 0.024046611040830612, -0.051379334181547165, -0.006615717429667711, 0.003938502166420221, 0.028047936037182808, -0.017242424190044403, -0.045387011021375656, 0.008423078805208206, -0.0449230894446373, -0.009433075785636902, -0.022345563396811485, 0.007079639006406069, -0.023350726813077927, 0.055090706795454025, -0.009795513935387135, 0.016933143138885498, 0.009302597492933273, -0.055709268897771835, -0.013376410119235516, -0.015821663662791252, -0.005093473941087723, -0.006475574336946011, 0.015116116963326931, 0.009703696705400944, 0.047049395740032196, 0.010486564598977566, -0.009408912621438503, 0.03168198838829994, -0.0024440460838377476, 0.038002923130989075, -0.04588959366083145, -0.003774196607992053, -0.05134067311882973, 0.019629688933491707, 0.037577662616968155, -0.004781776573508978, 0.04140501469373703, -0.023157427087426186, 0.0088483402505517, 0.027506692335009575, -0.012622537091374397, -0.026849471032619476, 0.03463948890566826, 0.030309554189443588, -0.029903622344136238, -0.00095261016394943, -0.045387011021375656, 0.011472398415207863, -0.016565872356295586, -0.04565763100981712, 0.02265484444797039, 0.00018529687076807022, -0.05451080575585365, 0.03605058416724205, -0.016952473670244217, 0.02164968103170395, 0.010679865255951881, 0.015386737883090973, 0.014526549726724625, 0.04588959366083145, -0.05683041363954544, 0.02779664471745491, -0.01979399472475052, -0.0670366883277893, 0.012380911037325859, 0.04991024732589722, 0.042719461023807526, -0.06471708416938782, 0.03280313313007355, 0.0042622811160981655, -0.049137044697999954, 0.053853582590818405, -0.0043275197967886925, 0.013096123933792114, 0.014197938144207, -0.02041255682706833, 0.007011984009295702, -0.002952668583020568, -0.028337886556982994, -0.021669011563062668, -0.012206940911710262, 0.00978584960103035, 0.0016503049992024899, 0.004673045128583908, -0.057564955204725266, 0.046469494700431824, 0.014052962884306908, -0.0007671622443012893, 0.0038853446021676064, -0.014603869989514351, 0.07542594522237778, 0.03353767469525337, -0.021958962082862854, 0.0005358054768294096, 0.010786180384457111, -0.022152263671159744, -0.07701101154088974, 0.007567723281681538, 0.010070967487990856, -0.05474276468157768, -0.0748460441827774, 0.02143705077469349, 0.015502718277275562, 0.005006488878279924, -0.024413881823420525, -0.014632864855229855, 0.031585339456796646, -0.01953303813934326, -0.013540715910494328, 0.02721674181520939, -0.04001324996352196, -0.019291412085294724, -0.023176757618784904, -0.004656131379306316, 0.02348603866994381, 0.05126335099339485, -0.0527324378490448, 0.0057168691419065, 0.0035760633181780577, 0.04465246573090553, -0.01471018511801958, -0.0527324378490448, -0.009524893015623093, 0.012806173413991928, 0.009225277230143547, -0.05207521468400955, 0.008785517886281013, 0.09587716311216354, -0.00949106551706791, 0.018827490508556366, -0.015261092223227024, 0.00443383539095521, 0.05512936785817146, 0.013502055779099464, 0.00010337058483855799, -0.006538397166877985, -0.04237151890993118, 0.009133459068834782, 0.012496892362833023, -0.0021444298326969147, 0.009824509732425213, -0.043144721537828445, -0.010573550127446651, -0.02137906104326248, 0.054704103618860245, -0.011240437626838684, 0.02159169130027294, -0.004953331314027309, -0.020683176815509796, 0.018005963414907455, -0.005093473941087723, -0.022732164710760117, -0.04009057208895683, 0.044961750507354736, 0.042294200509786606, -0.014700519852340221, -0.06409852206707001, 0.04650815576314926, 0.03653383627533913, -0.04380194470286369, 0.0564824715256691, -0.002121475525200367, 0.010428573936223984, 0.011163116432726383, -0.007398585323244333, -0.031063426285982132, -0.07546460628509521, -0.020257916301488876, 0.05640515312552452, -0.003392427694052458, 0.00915762223303318, 0.05010354891419411, 0.036572497338056564, -0.027699993923306465, -0.016933143138885498, 0.017261754721403122, 0.0015319082885980606, 0.023350726813077927, -0.0024114265106618404, 0.05725567415356636, -0.03933669626712799, 0.017638690769672394, -0.022287573665380478, -0.01175268366932869, -0.030212903395295143, -0.053428322076797485, -0.05617319047451019, -0.027893295511603355, -0.03688177838921547, -0.06262943148612976, -0.00648040696978569, 0.06328665465116501, 0.016169605776667595, -0.051379334181547165, 0.031836628913879395, -0.034098248928785324, -0.010099963285028934, 0.006122800521552563, -0.00948140025138855, -0.0015101619064807892, -0.05574792996048927, 0.006465909071266651, -0.03313174471259117, -0.004020655062049627, -0.0017276252619922161, 0.05122469365596771, -0.03487145155668259, 0.021881641820073128, 0.0005083205178380013, 0.018798494711518288, 0.0017445390112698078, -0.018624525517225266, 0.0309281162917614, 0.014555544592440128, 0.006393421441316605, -0.02016126550734043, 0.021127769723534584, -0.08389251679182053, 0.029169078916311264, -0.0030444865114986897, -0.034059587866067886, 0.027120091021060944, -0.024761822074651718, -0.03626321628689766, 0.051186032593250275, -0.03869880363345146, -0.023795319721102715, -0.03937535732984543, -0.04608289152383804, 0.011172781698405743, -0.03721038997173309, -0.01994863525032997, 0.03249385207891464, 0.009297764860093594, 0.005465577822178602, 0.05091541260480881, -0.017600031569600105, 0.06282273679971695, -0.03869880363345146, 0.030986106023192406, 0.0172907505184412, 0.04639217257499695, 0.06514234095811844, -0.01556070800870657, -0.046469494700431824, 0.03349901735782623, -0.021978292614221573, -0.022403554990887642, 0.03299643471837044, 0.008495566435158253, 0.023408718407154083, 0.0008354215533472598, 0.023930629715323448, 0.07971721887588501, 0.043531324714422226, -0.019272081553936005, 0.027120091021060944, 0.04488442838191986, 0.027487363666296005, -0.049137044697999954, -0.006939495913684368, 0.01727141998708248, 0.01141440775245428, 0.02184298262000084, -0.045232370495796204, -0.006900835782289505, 0.013859662227332592, 0.027023442089557648, 0.010447904467582703, -0.045425672084093094, -0.010457568801939487, -0.004390342626720667, -0.02083781734108925, 0.014748845249414444, 0.002766616642475128, -0.029362380504608154, 0.048286519944667816, -0.01256454735994339, 0.01689448393881321, -0.019069116562604904, 0.0036509674973785877, 0.01277717761695385, -0.06355728209018707, 0.05377626046538353, 0.12742383778095245, 0.012380911037325859, -0.042526159435510635, 0.050142209976911545, -0.049098383635282516, 0.006001987494528294, 0.029575010761618614, -0.01317344419658184, 0.0012697441270574927, -0.013743681833148003, -0.000011779263331845868, 0.009868002496659756, -0.02739071287214756, -0.015570373274385929, 0.022906135767698288, -0.001824275590479374, -0.03848617523908615, -0.010718525387346745, -0.028511857613921165, 0.0028463532216846943, 0.03933669626712799, -0.02000662498176098, 0.011887994594871998, 0.05594123154878616, -0.030309554189443588, 0.009964652359485626, 0.05215253680944443, -0.02634688839316368, 0.05389224365353584, 0.0014364660019055009, -0.00406656414270401, -0.060889728367328644, -0.0379256010055542, -0.00545591302216053, 0.09456271678209305, 0.0007629338069818914, 0.04967828467488289, -0.016150275245308876, -0.017986632883548737, 0.043144721537828445, -0.01811227761209011, 0.006649544928222895, 0.036321207880973816, 0.06251345574855804, -0.009645706042647362, 0.010457568801939487, -0.03289978206157684, -0.0527324378490448, -0.08389251679182053, 0.012806173413991928, -0.048325181007385254, 0.017764337360858917, 0.047242697328329086, -0.015995634719729424, 0.06734596937894821, -0.033093083649873734, 0.037616319954395294 ]
10,896
burnman.classes.combinedmineral
__init__
null
def __init__( self, mineral_list, molar_amounts, free_energy_adjustment=[], name="User-created endmember", ): model = MechanicalSolution(endmembers=[[m, ""] for m in mineral_list]) self.mixture = Solution(solution_model=model, molar_fractions=molar_amounts) # Remove elements from the chemical formula if they have # negligible concentrations for key, value in list(self.mixture.formula.items()): if np.abs(value) < 1.0e-10: self.mixture.formula.pop(key) self.params = { "name": name, "formula": self.mixture.formula, "equation_of_state": "combined", "molar_mass": self.mixture.molar_mass, "n": sum(self.mixture.formula.values()), } if free_energy_adjustment != []: assert len(free_energy_adjustment) == 3 dE, dS, dV = free_energy_adjustment self.property_modifiers = [ ["linear", {"delta_E": dE, "delta_S": dS, "delta_V": dV}] ] Mineral.__init__(self)
(self, mineral_list, molar_amounts, free_energy_adjustment=[], name='User-created endmember')
[ 0.08557973057031631, 0.012814865447580814, -0.002991976449266076, 0.030306419357657433, -0.0377081073820591, -0.05413175746798515, -0.03684273734688759, -0.044888850301504135, -0.04879223182797432, 0.03682432323694229, -0.022923141717910767, 0.030729899182915688, -0.01901976391673088, 0.0035719594452530146, -0.0706290528178215, 0.018043918535113335, 0.01573319360613823, -0.042421624064445496, 0.003183002583682537, 0.0310981422662735, -0.0025132601149380207, 0.023033615201711655, -0.014195777475833893, 0.11562837660312653, 0.009114020504057407, 0.03220287337899208, 0.0007439664332196116, 0.050154730677604675, 0.02713952772319317, -0.06547364592552185, -0.008575464598834515, 0.014904645271599293, -0.03172415494918823, 0.03371267020702362, 0.06724121421575546, -0.04231115058064461, 0.048939526081085205, 0.029035979881882668, -0.09301824122667313, 0.08823107928037643, 0.04558851569890976, -0.009229096584022045, 0.07769932597875595, 0.03785540536046028, -0.006655996665358543, 0.02384375035762787, 0.001896452740766108, 0.08447500318288803, 0.02739729732275009, 0.00292983534745872, 0.05107533931732178, -0.016331588849425316, 0.045919932425022125, -0.026016386225819588, -0.06694662570953369, 0.10045675933361053, 0.05332162231206894, 0.05965540558099747, 0.07755202800035477, -0.03877601400017738, -0.04444696009159088, -0.004386697895824909, 0.041869256645441055, -0.11540743708610535, -0.04923412203788757, -0.011093327775597572, -0.04021216183900833, 0.02439611591398716, 0.03069307468831539, 0.0725807473063469, 0.03617990016937256, 0.018688345327973366, -0.007097888737916946, 0.015797635540366173, 0.031061317771673203, -0.005118581000715494, -0.034430742263793945, -0.024451350793242455, 0.01026478037238121, -0.008957517333328724, -0.033381249755620956, 0.014057685621082783, -0.01658015139400959, -0.026053210720419884, -0.0046720863319933414, -0.013265962712466717, 0.024175168946385384, -0.022205067798495293, 0.023991048336029053, -0.03402567654848099, -0.0405067577958107, 0.06094425916671753, -0.011341892182826996, 0.04105912148952484, 0.042532093822956085, 0.025648143142461777, -0.024359291419386864, -0.08248648792505264, -0.015180828049778938, 0.014398311264812946, -0.019277533516287804, 0.03242381662130356, 0.020179729908704758, 0.018135979771614075, 0.018375338986516, -0.022573310881853104, -0.04886588081717491, -0.05729864910244942, 0.029551520943641663, -0.007875802926719189, -0.05969223007559776, 0.05416858196258545, -0.03664020448923111, -0.005141596309840679, -0.0480189211666584, 0.027102703228592873, -0.02373327687382698, -0.00675726355984807, 0.04886588081717491, -0.010946030728518963, 0.049123648554086685, -0.03531452640891075, -0.038960136473178864, 0.04514662176370621, 0.020290203392505646, -0.013928800821304321, 0.006158868316560984, -0.0019516892498359084, 0.041501015424728394, -0.0498969592154026, 0.027655068784952164, -0.006425844505429268, -0.02316250093281269, -0.009546706452965736, -0.014665286988019943, -0.0002799224166665226, -0.01305422279983759, -0.052879732102155685, -0.002812457736581564, 0.06256452947854996, 0.0404699333012104, 0.03907060995697975, 0.008842441253364086, 0.01610143668949604, -0.08226554095745087, 0.05582567676901817, -0.015687162056565285, 0.03384155407547951, -0.07924594730138779, -0.03965979814529419, -0.07644730061292648, -0.016488092020154, 0.008722761645913124, 0.004046072717756033, 0.0169668085873127, -0.010126689448952675, -0.005799831356853247, 0.010807939805090427, 0.014195777475833893, 0.003666321747004986, -0.05516283959150314, 0.006154265254735947, -0.0013314294628798962, 0.07431148737668991, -0.0386287160217762, -0.04974966123700142, 0.00006188931729411706, -0.09640607982873917, -0.04787162318825722, 0.038481418043375015, -0.029441047459840775, -0.040654055774211884, -0.07711013406515121, 0.026605574414134026, -0.019940372556447983, 0.060981083661317825, 0.03693479672074318, -0.04028581082820892, 0.014913851395249367, -0.04787162318825722, -0.014674493111670017, -0.003693940117955208, 0.00489763543009758, -0.03627195954322815, 0.0197930745780468, 0.014573226682841778, -0.025556081905961037, -0.005914906971156597, 0.018393749371170998, -0.03209239989519119, 0.03174256905913353, -0.008299281820654869, -0.003944805823266506, 0.04823986440896988, -0.0004899361520074308, 0.024543412029743195, 0.06274864822626114, -0.012621537782251835, -0.030821960419416428, -0.04661959409713745, -0.02833631820976734, -0.008957517333328724, 0.0004902238142676651, -0.02817060798406601, 0.003102449467405677, 0.032736822962760925, -0.0014407517155632377, 0.027176352217793465, -0.011231418699026108, 0.020014019683003426, 0.01807153783738613, 0.02758141979575157, -0.012768834829330444, 0.005026520229876041, 0.029164865612983704, -0.05847702920436859, 0.033381249755620956, -0.02579543925821781, 0.03870236501097679, -0.0014396009501069784, -0.009960980154573917, -0.06138614937663078, 0.04960236698389053, 0.024064695462584496, -0.044594258069992065, 0.02656874991953373, -0.016276352107524872, 0.029993413016200066, -0.01667221263051033, 0.01591731421649456, -0.041869256645441055, -0.05096486583352089, -0.007295819465070963, -0.03117179125547409, -0.06665202975273132, 0.02844679169356823, -0.024414528161287308, 0.016460472717881203, -0.06278547644615173, 0.03332601487636566, -0.035001520067453384, -0.060134124010801315, 0.0001973553589778021, 0.027857601642608643, -0.028667736798524857, 0.014665286988019943, 0.09147161990404129, 0.002678969642147422, -0.03306824341416359, -0.00852022785693407, 0.01021874975413084, 0.003459185129031539, -0.01195869967341423, 0.05332162231206894, 0.0022854097187519073, -0.03332601487636566, 0.0010851668193936348, 0.00560190062969923, 0.03638243302702904, -0.04326857998967171, 0.005307305604219437, -0.0706290528178215, 0.02723158895969391, 0.059287164360284805, -0.034062501043081284, 0.0348542220890522, -0.0259059127420187, 0.032976184040308, -0.02721317671239376, -0.005763006862252951, 0.04286351427435875, 0.006812500301748514, 0.02402787283062935, 0.0058964951895177364, -0.012870101258158684, 0.036971621215343475, 0.01286089513450861, -0.0480557456612587, -0.09927838295698166, 0.020934628322720528, 0.013008193112909794, 0.005666343029588461, 0.05074391886591911, 0.015466216020286083, -0.018890878185629845, -0.00974924024194479, -0.023328209295868874, -0.013035810552537441, -0.0014396009501069784, -0.018623901531100273, -0.053542569279670715, 0.01535574346780777, 0.04216385260224342, -0.00621410459280014, 0.12255135178565979, -0.003841237397864461, 0.012419003993272781, -0.013293581083416939, 0.04179560765624046, -0.05192229896783829, 0.034154560416936874, -0.03553547337651253, 0.04588310793042183, -0.04684054106473923, -0.07711013406515121, -0.06492128223180771, 0.07578445971012115, -0.009058783762156963, 0.0249484796077013, -0.015521452762186527, 0.030729899182915688, 0.06186486408114433, 0.014066891744732857, 0.04540439322590828, 0.008082939311861992, 0.011093327775597572, -0.009371791034936905, -0.0310981422662735, 0.05442635342478752, 0.04746655374765396, 0.0042716218158602715, -0.01275962870568037, 0.007245185784995556, 0.00994256790727377, 0.04116959497332573, -0.02478277124464512, -0.016644595190882683, 0.03748716413974762, 0.021707938984036446, -0.0010535209439694881, -0.07044493407011032, -0.05011790618300438, 0.010237162001430988, -0.010909206233918667, -0.013247550465166569, -0.007015034090727568, 0.05409493297338486, -0.023770101368427277, 0.034817397594451904, -0.052879732102155685, 0.0631168931722641, 0.05453682690858841, -0.03654814139008522, 0.0226101353764534, -0.015226858668029308, -0.025114189833402634, 0.04105912148952484, -0.02787601388990879, -0.003061021910980344, -0.00904957763850689, -0.05917669087648392, 0.029827702790498734, -0.02064003422856331, 0.02316250093281269, 0.03617990016937256, -0.00795405451208353, -0.02864932455122471, -0.020400676876306534, -0.02588750049471855, -0.012501858174800873, -0.00402535917237401, -0.02741570957005024, -0.03711891919374466, 0.017684882506728172, -0.0008273965213447809, -0.08830472826957703, 0.0031139568891376257, 0.016488092020154, 0.07497432827949524, -0.029827702790498734, 0.01074349693953991, -0.04838716238737106, 0.020419087260961533, -0.00022482976783066988, 0.01440751738846302, 0.04411553964018822, -0.02553766965866089, 0.04378412291407585, -0.057409122586250305, -0.05442635342478752, -0.001205996610224247, 0.00680329417809844, -0.03448598086833954, 0.037818580865859985, 0.008115160278975964, -0.015318918973207474, 0.029625169932842255, 0.017445523291826248, 0.010982855223119259, 0.05394763499498367, 0.08219189196825027, -0.060981083661317825, 0.02675287239253521, 0.017270607873797417, -0.018715962767601013, 0.0045823268592357635, 0.012492652051150799, -0.013431672938168049, -0.10222432762384415, 0.01455481443554163, 0.03562753275036812, -0.06381655484437943, -0.016690624877810478, -0.0005966691533103585, -0.013818328268826008, -0.07843580842018127, 0.03568277135491371, 0.02268378436565399, 0.01630396954715252, 0.0790986493229866, -0.006573142018169165, 0.019737837836146355, -0.022370778024196625, -0.03940202668309212, -0.08882027119398117, -0.009394805878400803, -0.006734248250722885, -0.08042432367801666, 0.04076452925801277, -0.004906841088086367, 0.06271182745695114, 0.006094425916671753, 0.05659898743033409, 0.014674493111670017, 0.014610051177442074, -0.03623513504862785, -0.011746959760785103, -0.023806925863027573, -0.007737711071968079, -0.029220102354884148, -0.017454730346798897, 0.037616048008203506, -0.023420270532369614, -0.024709122255444527, 0.014600845053792, -0.030969256535172462, -0.02807854861021042, -0.02073209546506405, -0.009164653718471527, 0.001980458153411746, -0.012980574741959572, -0.01762964576482773, -0.019829899072647095, 0.02146858163177967, -0.06621013581752777, -0.023622805252671242, -0.015862077474594116, -0.0405067577958107, -0.01252027042210102, -0.005592694506049156, 0.03325236588716507, 0.018872465938329697, 0.014775760471820831, -0.02343868277966976, 0.04890270158648491, 0.002270449884235859, 0.03599577769637108, -0.0221314188092947, 0.006536317523568869, -0.01864231377840042, 0.011341892182826996, 0.012824071571230888, 0.05236418917775154, 0.05387398600578308, -0.024267230182886124, 0.031061317771673203, 0.03025118261575699, 0.013588176108896732, -0.04481520503759384, -0.002635240787640214, 0.010099071078002453, -0.017307432368397713, 0.009786064736545086, -0.049123648554086685, 0.011995524168014526, -0.023217737674713135, -0.024083107709884644, -0.0008032305631786585, -0.020603209733963013, -0.07998243719339371, 0.017730912193655968, -0.011737753637135029, 0.025371959432959557, 0.019737837836146355, -0.03365743160247803, 0.006697424221783876, 0.04209020361304283, -0.08042432367801666, -0.021339695900678635, -0.008980532176792622, -0.03844459354877472, -0.004934459459036589, 0.01637761853635311, 0.034154560416936874, -0.008092145435512066, 0.023475507274270058, 0.03463327884674072, -0.030840372666716576, 0.06076013669371605, -0.007369467988610268, 0.015291300602257252, 0.003084037220105529, -0.007935642264783382, -0.044410135596990585, 0.03304983302950859, -0.008036908693611622, -0.06657838076353073, -0.024267230182886124, -0.03700844570994377, 0.002169182989746332, 0.005588091444224119, -0.049970608204603195, 0.03078513592481613, 0.02448817528784275, 0.002563893562182784, 0.02485641837120056, -0.01986672356724739, 0.04116959497332573, 0.06050236523151398, 0.004069088026881218, 0.010973649099469185, 0.0035282305907458067, -0.023622805252671242, -0.01271359808743, 0.017657263204455376, 0.0011409786529839039, -0.036695439368486404, -0.059287164360284805, 0.011599662713706493, -0.0015961043536663055, 0.029238514602184296, -0.013873564079403877, -0.029993413016200066, 0.05442635342478752, -0.035185642540454865, 0.05814560875296593, 0.01960895210504532, -0.030398480594158173, 0.0050817569717764854, -0.003988534677773714, -0.004773353226482868, 0.04952871799468994, 0.04153783991932869, -0.04665641859173775, 0.02222348004579544, -0.02318091318011284, 0.02146858163177967, -0.0179058276116848, 0.0011381017975509167, 0.00670663034543395, -0.002607622416689992, 0.0014890836318954825, -0.06101790815591812, 0.049676015973091125, 0.050633445382118225, -0.03043530508875847, 0.003454582067206502, -0.020566385239362717, 0.014582432806491852, 0.03154003247618675, -0.025758614763617516, 0.00010543839744059369, 0.012161233462393284, 0.004402808379381895, 0.02739729732275009, 0.019075000658631325, 0.037063684314489365, 0.014232601970434189, -0.02610844559967518, 0.019516892731189728, -0.04960236698389053, 0.0442996621131897, -0.015871284529566765, 0.005118581000715494, -0.01705886796116829, -0.01751917228102684, 0.021210812032222748, -0.0028193623293191195, -0.030490541830658913, -0.06157027184963226, -0.001123717287555337, -0.003990836441516876, -0.0320003367960453, -0.06650473177433014, 0.01559510175138712, 0.04536756873130798, -0.04466790705919266, 0.031871452927589417, -0.0320555754005909, 0.04603040590882301, 0.007392483297735453, -0.01602778770029545, -0.0451834462583065, -0.019480068236589432, -0.026697635650634766, 0.04080135375261307, -0.022168243303894997, -0.01874358206987381, 0.04632500186562538, 0.04201655462384224, -0.056083448231220245, -0.006278547458350658, -0.02194729819893837, 0.04974966123700142, 0.019424831494688988, 0.00010745222971308976, 0.016920777037739754, -0.03892331197857857, -0.02741570957005024, -0.009924155659973621, -0.0030725295655429363, 0.008828631602227688, -0.029901351779699326, -0.014720523729920387, -0.03822365030646324, -0.047245610505342484, -0.03384155407547951, 0.001260082353837788, 0.05192229896783829, 0.04702466353774071, -0.06473716348409653, 0.009348775260150433, -0.04485202953219414, -0.010807939805090427, -0.048092570155858994, -0.02505895309150219, 0.008676731958985329, -0.0338967926800251, 0.01731663942337036, -0.02419358119368553, 0.00099483213853091, -0.0012290118029341102, -0.008165794424712658, -0.037247803062200546, 0.058918919414281845, -0.0009723923285491765, 0.0059057013131678104, 0.002278505126014352, 0.003933298401534557, 0.0031991133000701666, 0.008128969930112362, 0.0034960093908011913, -0.0016099134227260947, 0.016055405139923096, -0.06650473177433014, 0.026973817497491837, -0.005275084637105465, -0.03700844570994377, 0.02156064286828041, 0.006250929087400436, -0.04371047392487526, 0.060244593769311905, -0.037818580865859985, -0.001660546869970858, -0.034891046583652496, -0.06326419115066528, -0.007691680919378996, -0.029128041118383408, 0.0188264362514019, -0.001851573120802641, -0.02693699300289154, 0.020658446475863457, 0.060428716242313385, -0.044888850301504135, 0.07364864647388458, -0.035830069333314896, 0.03172415494918823, 0.006540920585393906, 0.0018239548662677407, 0.057040877640247345, 0.015889696776866913, -0.040727704763412476, 0.010329223237931728, 0.009868918918073177, -0.04510979726910591, 0.05133310705423355, -0.0007623786223120987, 0.02675287239253521, 0.0358116552233696, 0.022536486387252808, 0.06742534041404724, 0.009390203282237053, -0.020768919959664345, -0.02739729732275009, 0.041501015424728394, 0.03833412379026413, -0.03757922351360321, -0.004200274590402842, 0.03929155319929123, -0.008630701340734959, -0.014996706508100033, -0.04580945894122124, -0.020695270970463753, -0.006435050629079342, 0.05998682603240013, 0.015226858668029308, -0.059103041887283325, -0.03242381662130356, -0.015862077474594116, 0.017915034666657448, 0.07313311100006104, 0.03700844570994377, -0.012280912138521671, 0.06473716348409653, -0.01078952755779028, 0.00800468772649765, 0.018025506287813187, 0.01234535500407219, 0.0002986222680192441, -0.04216385260224342, 0.07217567414045334, 0.1196054071187973, 0.023622805252671242, -0.04194290563464165, 0.04934459552168846, 0.02927533909678459, 0.019756250083446503, 0.02579543925821781, -0.030582601204514503, -0.023383446037769318, -0.004989696200937033, 0.0011294711148366332, 0.03965979814529419, -0.05218006670475006, 0.006609966512769461, -0.01920388452708721, -0.01960895210504532, -0.026347804814577103, 0.007346452679485083, 0.003990836441516876, -0.04135371744632721, 0.03595895320177078, -0.027102703228592873, 0.013845945708453655, 0.03476216271519661, -0.023107264190912247, -0.0030633234418928623, 0.06897196173667908, -0.027839189395308495, 0.0641111508011818, -0.014030068181455135, 0.02796807512640953, 0.0020057749934494495, -0.012234881520271301, -0.028041724115610123, 0.07044493407011032, -0.04172195866703987, 0.03089560940861702, 0.007479941006749868, -0.00018944389012176543, 0.024561824277043343, -0.01609222963452339, 0.028667736798524857, 0.05387398600578308, 0.039328377693891525, -0.05899256840348244, 0.03463327884674072, -0.028575675562024117, -0.023420270532369614, -0.05195912346243858, -0.0036571158561855555, -0.013045016676187515, 0.07887770235538483, 0.04080135375261307, -0.010734290815889835, 0.03947567567229271, 0.0008791807340458035, -0.00009644808596931398 ]
10,903
burnman.classes.combinedmineral
set_state
null
def set_state(self, pressure, temperature): self.mixture.set_state(pressure, temperature) Mineral.set_state(self, pressure, temperature)
(self, pressure, temperature)
[ -0.0036832019686698914, 0.011575778014957905, 0.04181542992591858, 0.03108326718211174, -0.03903237357735634, -0.015428571961820126, -0.05072121322154999, -0.018072476610541344, 0.008818811737000942, 0.026195524260401726, -0.03878885507583618, 0.026508618146181107, -0.0029091641772538424, 0.046477049589157104, -0.062444839626550674, -0.036284103989601135, 0.00037614753819070756, 0.015915606170892715, -0.028700275346636772, -0.0007104405085556209, -0.0019231358310207725, -0.007048961706459522, 0.021812209859490395, 0.05670478567481041, 0.014593655243515968, 0.006409727968275547, -0.01103655993938446, -0.014124014414846897, 0.01682879775762558, -0.030370108783245087, -0.022560155019164085, -0.0016850540414452553, 0.009723305702209473, 0.044528912752866745, 0.045502983033657074, -0.0017459334339946508, 0.022229667752981186, 0.015054598450660706, -0.03437075391411781, 0.024247383698821068, -0.01810726523399353, -0.003607102669775486, 0.01705492101609707, 0.04992108419537544, 0.021829603239893913, -0.0063010151498019695, 0.06630633026361465, 0.03527524694800377, 0.08307424932718277, -0.01822902262210846, 0.009358028881251812, -0.0039658560417592525, 0.01725495234131813, -0.0015676438342779875, -0.00020288594532757998, 0.024786600843071938, 0.07065486162900925, 0.032440006732940674, -0.002626510104164481, -0.02723916992545128, 0.009558061137795448, 0.020925110206007957, 0.0012469399953261018, -0.09685038030147552, -0.004974714480340481, -0.04804252088069916, -0.006074891425669193, 0.0630362406373024, 0.0055139316245913506, 0.06004445254802704, -0.0029874376486986876, 0.01156708039343357, -0.005466097965836525, -0.019046546891331673, -0.006266226526349783, 0.01788114197552204, -0.07131583243608475, 0.03784957528114319, -0.04299823194742203, -0.014350137673318386, -0.02249057963490486, -0.0030070061329752207, 0.02176002599298954, 0.05486100912094116, -0.053747788071632385, -0.003135287668555975, 0.00857529416680336, 0.017020132392644882, 0.02336028404533863, -0.02367337793111801, -0.004605089779943228, 0.0555567741394043, -0.01995103992521763, 0.015585118904709816, 0.10130327194929123, 0.04000644385814667, -0.023325495421886444, 0.00781865045428276, -0.006448864936828613, -0.032735709100961685, -0.07340312749147415, 0.008692704141139984, -0.005796585697680712, -0.07208117842674255, -0.010158157907426357, -0.04974714294075966, 0.003315751440823078, 0.01682879775762558, 0.037779998034238815, -0.05211274325847626, -0.03525785356760025, 0.013732646591961384, -0.06731519103050232, 0.006770655978471041, -0.06063585355877876, -0.0013523917878046632, 0.04080657288432121, -0.030578838661313057, -0.042372044175863266, 0.008009986020624638, 0.0009072113316506147, 0.013097762130200863, 0.008149138651788235, 0.03257916122674942, -0.008340474218130112, 0.032979223877191544, 0.05475664511322975, 0.025238847360014915, 0.01543726958334446, -0.07208117842674255, -0.015941698104143143, 0.034875184297561646, -0.019255274906754494, 0.020072799175977707, -0.03743211552500725, -0.014489290304481983, -0.029187310487031937, -0.050547271966934204, 0.007388146594166756, -0.000695220660418272, 0.030091803520917892, 0.031465936452150345, -0.02410823106765747, 0.028595909476280212, 0.03611016273498535, 0.03440554067492485, -0.0019503141520544887, -0.03496215492486954, -0.017237558960914612, 0.008009986020624638, -0.016263488680124283, 0.021255597472190857, 0.03590143471956253, -0.0002284335350850597, -0.029187310487031937, 0.0016252617351710796, 0.007283782120794058, -0.005687872879207134, 0.03002222627401352, 0.014010952785611153, -0.01595909148454666, -0.01970752142369747, 0.013523917645215988, 0.0690893903374672, -0.054826222360134125, -0.033292319625616074, -0.06526268273591995, -0.03203994408249855, -0.014219681732356548, -0.025795459747314453, 0.007801256608217955, -0.05635690316557884, -0.03496215492486954, 0.04219810292124748, 0.048807863146066666, 0.0032961831893771887, 0.02113383822143078, -0.04932968318462372, 0.027360929176211357, 0.0193074569106102, -0.006561926566064358, -0.00911451131105423, -0.04995587095618248, 0.05566113814711571, 0.0016959253698587418, -0.05207795277237892, -0.026595588773489, -0.011340957134962082, 0.008466580882668495, -0.03868449106812477, 0.0790388211607933, 0.016541795805096626, -0.009340634569525719, -0.0012480270816013217, 0.05263456329703331, 0.031779032200574875, 0.07152456790208817, -0.09538927674293518, 0.07138541340827942, 0.035101305693387985, -0.002556933555752039, -0.04393751174211502, 0.028039298951625824, 0.03096150793135166, 0.043241746723651886, 0.018594298511743546, 0.0349273644387722, 0.021794814616441727, 0.009201481938362122, -0.026178129017353058, -0.003889756975695491, -0.024403931573033333, 0.007075052708387375, 0.034666452556848526, 0.01616782136261463, -0.07347270101308823, 0.033501047641038895, -0.016324369236826897, 0.07291609048843384, -0.01662876456975937, 0.005913996137678623, -0.004426800180226564, 0.0069358996115624905, 0.00662280572578311, -0.02078595757484436, 0.04219810292124748, -0.027465293183922768, -0.016767919063568115, -0.049573201686143875, 0.03172684833407402, -0.015254630707204342, 0.028543727472424507, 0.007235947996377945, -0.02262973226606846, -0.012567241676151752, 0.021238204091787338, 0.0034201161470264196, -0.046233534812927246, -0.07180286943912506, 0.018472541123628616, -0.016046062111854553, -0.05715703219175339, 0.044215817004442215, -0.01939442753791809, -0.06154034659266472, 0.009818973019719124, 0.020629409700632095, 0.03600579872727394, -0.033814143389463425, 0.020281527191400528, -0.03247479721903801, -0.01789853535592556, -0.031257208436727524, 0.039171528071165085, 0.028439363464713097, -0.019690128043293953, 0.06995909661054611, 0.023499436676502228, 0.001463279128074646, -0.011175713501870632, -0.045607347041368484, -0.06074021756649017, 0.017402803525328636, 0.06467128545045853, 0.022855855524539948, 0.00658801756799221, 0.010210339911282063, 0.015358995646238327, -0.05788758397102356, -0.005092124454677105, 0.11048736423254013, -0.000226395161007531, -0.020559832453727722, 0.033709779381752014, 0.0074533745646476746, -0.03127460181713104, 0.012393300421535969, 0.004187630955129862, -0.050129812210798264, -0.03611016273498535, 0.031570304185152054, -0.01485456619411707, 0.03299662098288536, 0.07093316316604614, -0.03590143471956253, -0.01854211650788784, 0.012428089044988155, 0.008592688478529453, 0.023969078436493874, -0.03642325848340988, -0.04049347713589668, 0.030474474653601646, -0.016950557008385658, 0.005870510824024677, 0.039067164063453674, -0.03889322280883789, -0.08411789685487747, 0.006601063068956137, 0.02217748574912548, -0.022977614775300026, 0.07535126805305481, -0.08147399127483368, -0.026821712031960487, 0.016046062111854553, 0.00015940067532937974, 0.024908360093832016, 0.05938347801566124, 0.018089869990944862, -0.000007240466402436141, -0.03278788924217224, 0.035657916218042374, 0.06526268273591995, -0.06870672106742859, 0.02723916992545128, 0.006609760224819183, -0.04672056809067726, 0.011262684129178524, 0.03181381896138191, -0.014193590730428696, 0.03986728936433792, 0.015254630707204342, -0.054269611835479736, -0.018089869990944862, 0.013915284536778927, -0.027674023061990738, 0.010253825224936008, -0.00718376599252224, -0.022873248904943466, -0.021377356722950935, 0.00551827996969223, -0.10408633202314377, 0.039484620094299316, 0.05736576020717621, 0.0038854083977639675, -0.020820744335651398, -0.03878885507583618, -0.01682010106742382, -0.026752134785056114, -0.001253462745808065, -0.029552586376667023, 0.03645804524421692, 0.035623129457235336, -0.034979548305273056, 0.005279111210256815, 0.03802351653575897, 0.07030697911977768, 0.010627798736095428, -0.055487196892499924, 0.054617494344711304, 0.027273958548903465, -0.09497182071208954, 0.02336028404533863, 0.008370913565158844, 0.010010307654738426, 0.01970752142369747, 0.02689128741621971, -0.020490257069468498, 0.027691416442394257, -0.021151233464479446, -0.018142051994800568, -0.003309228690341115, -0.03475342318415642, -0.03405765816569328, -0.0132977943867445, 0.04661620408296585, -0.022438397631049156, -0.03750169277191162, 0.02786535769701004, -0.014289258047938347, 0.006531486753374338, 0.048807863146066666, -0.08662264794111252, -0.06425382941961288, 0.03318795561790466, 0.010071187280118465, 0.025482365861535072, -0.048494767397642136, 0.01522853970527649, 0.059522632509469986, 0.012784668244421482, 0.04466806352138519, -0.050964731723070145, -0.0013273877557367086, 0.008966661989688873, 0.018142051994800568, -0.000005877305284229806, 0.010088581591844559, -0.035223063081502914, 0.04512031003832817, 0.02883942797780037, 0.049260109663009644, -0.006957642268389463, 0.046894509345293045, -0.06185344234108925, 0.056948304176330566, 0.00996682234108448, 0.028439363464713097, -0.02614334225654602, 0.016376551240682602, 0.01071476936340332, -0.04125881940126419, -0.051938802003860474, -0.06943727284669876, -0.015428571961820126, 0.03409244865179062, -0.02421259507536888, 0.02753487043082714, 0.05646126717329025, -0.014071831479668617, -0.07298567146062851, 0.04188500717282295, 0.0345446951687336, -0.04783379286527634, -0.02915252186357975, 0.00658801756799221, -0.010653889738023281, 0.062340475618839264, -0.10415590554475784, 0.03527524694800377, 0.03085714392364025, 0.03878885507583618, 0.050129812210798264, 0.014402319677174091, 0.015819938853383064, 0.022960219532251358, -0.0006838057888671756, -0.015628604218363762, 0.00804477371275425, 0.013758737593889236, 0.05736576020717621, -0.01340215839445591, -0.03137896582484245, -0.04390272498130798, 0.02113383822143078, 0.028543727472424507, -0.013123853132128716, 0.008401352912187576, 0.0011871476890519261, 0.002939603989943862, -0.025969401001930237, 0.07416846603155136, -0.007222902495414019, 0.011923659592866898, -0.02807408757507801, -0.005813980009406805, -0.02838718146085739, -0.009775487706065178, -0.009201481938362122, -0.03656240925192833, 0.02099468559026718, -0.03490997105836868, 0.01553293690085411, -0.04425060749053955, -0.026526011526584625, 0.06568014621734619, 0.051938802003860474, -0.06811531633138657, 0.001094197970815003, 0.013593493960797787, -0.014732807874679565, 0.020316315814852715, 0.011880174279212952, -0.0657845064997673, 0.05715703219175339, 0.014880658127367496, -0.02969173900783062, -0.04564213380217552, -0.019446611404418945, 0.0061140283942222595, 0.006227090023458004, 0.009497181512415409, -0.03437075391411781, 0.0014252295950427651, 0.016898373141884804, -0.04445933550596237, -0.00658801756799221, -0.027691416442394257, 0.018611693754792213, 0.007401192095130682, -0.01876823976635933, -0.00970591139048338, -0.014324046671390533, 0.053330328315496445, 0.030804961919784546, 0.004207199439406395, -0.0029743921477347612, 0.028787245973944664, 0.00143392663449049, 0.042163312435150146, -0.002604767447337508, -0.04981672018766403, -0.05270414054393768, 0.030613627284765244, 0.018281204625964165, -0.0555567741394043, 0.008296988904476166, -0.05799194797873497, -0.010949589312076569, 0.0033701080828905106, -0.007844741456210613, 0.004052826669067144, 0.032179094851017, -0.011132228188216686, -0.014393622986972332, 0.017950717359781265, -0.00482251588255167, 0.02313416078686714, 0.0032526978757232428, 0.01939442753791809, 0.025012724101543427, 0.03056144528090954, -0.028891609981656075, 0.026386858895421028, 0.0002103599690599367, 0.0172723475843668, -0.008436141535639763, -0.03823224455118179, 0.06213174760341644, 0.01831599324941635, -0.03812788054347038, -0.001992712263017893, 0.007779513951390982, 0.06251441687345505, 0.027517475187778473, 0.0223862137645483, -0.019116122275590897, 0.02732614055275917, -0.08342213183641434, -0.032735709100961685, 0.01778547279536724, 0.00901014730334282, -0.0029874376486986876, -0.0201597698032856, 0.06352327764034271, -0.013271703384816647, -0.05103430896997452, -0.002613464370369911, -0.06790658831596375, -0.033483654260635376, -0.0630362406373024, -0.038093093782663345, -0.03334449976682663, 0.03496215492486954, -0.03169206157326698, 0.0100798849016428, -0.03611016273498535, -0.07841262966394424, -0.01800289936363697, -0.05176486074924469, -0.0061096795834600925, -0.005126912612468004, -0.08425705134868622, -0.06679336726665497, -0.00857529416680336, 0.05799194797873497, -0.024508295580744743, 0.03002222627401352, 0.03816266730427742, -0.028352392837405205, 0.01768110878765583, -0.03376195952296257, 0.010419069789350033, 0.060496702790260315, 0.03718859702348709, 0.028700275346636772, -0.06362763792276382, -0.0426851361989975, -0.006766307167708874, -0.0063401516526937485, -0.04435497149825096, 0.06362763792276382, 0.04115445539355278, 0.013515220023691654, 0.06707167625427246, 0.017550652846693993, -0.005335642024874687, 0.0827263668179512, -0.019916251301765442, 0.014324046671390533, 0.05113867297768593, 0.05496537685394287, 0.03045707941055298, -0.059313900768756866, -0.018489934504032135, 0.0342663899064064, 0.046685781329870224, 0.016776615753769875, 0.0724986344575882, -0.035536158829927444, -0.026125947013497353, -0.02435174770653248, -0.025360606610774994, 0.023603802546858788, -0.06700209528207779, -0.04091093689203262, -0.0024699631612747908, 0.07736898213624954, -0.05941826477646828, 0.052773717790842056, 0.023829925805330276, -0.046129170805215836, -0.006392334122210741, -0.010462555103003979, -0.058165889233350754, -0.013758737593889236, -0.03374456614255905, 0.0315181203186512, 0.013097762130200863, 0.005305202212184668, 0.015098083764314651, 0.02786535769701004, -0.025812853127717972, -0.057818010449409485, 0.015002416446805, -0.006283620838075876, 0.011375745758414268, -0.031779032200574875, -0.027134805917739868, -0.009992914274334908, 0.020664198324084282, -0.0732639729976654, -0.02316894941031933, -0.06181865185499191, -0.004074569325894117, -0.0015165485674515367, -0.03330971300601959, 0.003359236754477024, -0.08599646389484406, -0.005492188967764378, -0.021168626844882965, 0.005840071011334658, -0.02111644484102726, 0.013793526217341423, -0.011975841596722603, -0.0032483492977917194, -0.021064262837171555, -0.004879046697169542, 0.04487679526209831, -0.01093219593167305, -0.010445160791277885, -0.029865680262446404, 0.02690868265926838, 0.04793815687298775, -0.03087453916668892, 0.017768079414963722, -0.006248832680284977, -0.023499436676502228, 0.006492350250482559, 0.0013099935604259372, -0.01018424890935421, -0.01553293690085411, 0.009236270561814308, -0.003952810540795326, 0.05941826477646828, -0.036388471722602844, 0.020003221929073334, 0.04825124889612198, -0.027134805917739868, 0.052147530019283295, 0.0008936221711337566, -0.04765985161066055, 0.045398615300655365, -0.00016891307313926518, 0.06707167625427246, 0.10784345865249634, -0.0031265905126929283, -0.011427927762269974, -0.02753487043082714, -0.05941826477646828, 0.04981672018766403, 0.01660267449915409, -0.04870349541306496, 0.021707843989133835, -0.0644625574350357, 0.010593011043965816, -0.011801901273429394, 0.029309067875146866, -0.004739894066005945, 0.05517410486936569, 0.039797715842723846, 0.00032124738208949566, 0.02358640730381012, 0.016541795805096626, 0.045607347041368484, 0.07242906093597412, 0.11981060355901718, -0.06818489730358124, 0.01616782136261463, -0.001107243588194251, 0.013062973506748676, -0.010419069789350033, -0.05023417994379997, -0.06011402979493141, -0.0017361491918563843, -0.035431794822216034, -0.019098728895187378, -0.057296186685562134, -0.05938347801566124, 0.002752617234364152, -0.05339990556240082, 0.031674668192863464, 0.02400386705994606, -0.047451119869947433, -0.01920309290289879, -0.0022851505782455206, -0.025256242603063583, 0.004670317284762859, -0.01779417134821415, -0.012080206535756588, -0.06630633026361465, 0.01918569952249527, 0.0011675793211907148, -0.006879368796944618, 0.022020937874913216, 0.04191979393362999, 0.0161852166056633, -0.02327331341803074, -0.04338090121746063, -0.021412145346403122, 0.01039297878742218, -0.05200837552547455, -0.042163312435150146, -0.01939442753791809, -0.043137382715940475, 0.017385408282279968, 0.0023851667065173388, 0.03784957528114319, 0.04080657288432121, 0.008497021161019802, -0.006474955938756466, -0.031257208436727524, -0.002287324983626604, -0.048947013914585114, -0.03812788054347038, 0.002216661348938942, -0.0362493172287941, 0.03158769756555557, 0.06588887423276901, 0.03223127871751785, 0.015254630707204342, 0.02722177654504776, -0.0362493172287941, -0.011045257560908794, -0.054826222360134125, 0.04814688488841057, 0.013271703384816647, -0.02497793547809124, 0.0009474352118559182, -0.04762506112456322, 0.0330314077436924, 0.01307167112827301, 0.06762828677892685, 0.012741182930767536, -0.012445483356714249, 0.0674891322851181, -0.024717025458812714, 0.028039298951625824, 0.021777421236038208, -0.04358962923288345, -0.008897085674107075, -0.016680948436260223, -0.025064906105399132, 0.0779951736330986, 0.0186464823782444, 0.024612659588456154, 0.0644625574350357, -0.00927105825394392, -0.007727331481873989 ]
10,907
burnman.classes.composite
Composite
Base class for a composite material. The static phases can be minerals or materials, meaning composite can be nested arbitrarily. The fractions of the phases can be input as either 'molar' or 'mass' during instantiation, and modified (or initialised) after this point by using set_fractions. This class is available as ``burnman.Composite``.
class Composite(Material): """ Base class for a composite material. The static phases can be minerals or materials, meaning composite can be nested arbitrarily. The fractions of the phases can be input as either 'molar' or 'mass' during instantiation, and modified (or initialised) after this point by using set_fractions. This class is available as ``burnman.Composite``. """ def __init__( self, phases, fractions=None, fraction_type="molar", name="Unnamed composite" ): """ Create a composite using a list of phases and their fractions (adding to 1.0). :param phases: List of phases. :type phases: list of :class:`burnman.Material` :param fractions: molar or mass fraction for each phase. :type fractions: list of floats :param fraction_type: 'molar' or 'mass' (optional, 'molar' as standard) specify whether molar or mass fractions are specified. :type fraction_type: str """ Material.__init__(self) assert len(phases) > 0 self.phases = phases if fractions is not None: self.set_fractions(fractions, fraction_type) else: self.molar_fractions = None self.set_averaging_scheme("VoigtReussHill") self.name = name self.equilibrium_tolerance = 1.0e-3 # J/reaction self.print_precision = 4 # number of significant figures used by self.__str__ def __str__(self): string = "Composite: {0}".format(self.name) try: string += "\n P, T: {0:.{sf}g} Pa, {1:.{sf}g} K".format( self.pressure, self.temperature, sf=self.print_precision ) except: pass string += "\nPhase and endmember fractions:" for phase, fraction in zip(*self.unroll()): string += "\n {0}: {1:0.{sf}f}".format( phase.name, fraction, sf=self.print_precision ) if isinstance(phase, Solution): for i in range(phase.n_endmembers): string += "\n {0}: {1:0.{sf}f}".format( phase.endmember_names[i], phase.molar_fractions[i], sf=self.print_precision, ) return string def set_fractions(self, fractions, fraction_type="molar"): """ Change the fractions of the phases of this Composite. Resets cached properties :param fractions: list or numpy array of floats molar or mass fraction for each phase. :param fraction_type: 'molar' or 'mass' specify whether molar or mass fractions are specified. """ assert len(self.phases) == len(fractions) if isinstance(fractions, list): fractions = np.array(fractions) try: total = sum(fractions) except TypeError: raise Exception( "Since v0.8, burnman.Composite takes an array of Materials, " "then an array of fractions" ) assert np.all(fractions >= -1e-12) self.reset() if abs(total - 1.0) > 1e-12: warnings.warn( "Warning: list of fractions does not add " f"up to one but {total:g}. Normalizing." ) fractions /= total if fraction_type == "molar": molar_fractions = fractions elif fraction_type == "mass": molar_fractions = self._mass_to_molar_fractions(self.phases, fractions) else: raise Exception( "Fraction type not recognised. " "Please use 'molar' or mass" ) # Set minimum value of a molar fraction at 0.0 (rather than -1.e-12) self.molar_fractions = molar_fractions.clip(0.0) def set_method(self, method): """ set the same equation of state method for all the phases in the composite """ for phase in self.phases: phase.set_method(method) # Clear the cache on resetting method self.reset() def set_averaging_scheme(self, averaging_scheme): """ Set the averaging scheme for the moduli in the composite. Default is set to VoigtReussHill, when Composite is initialized. """ if type(averaging_scheme) == str: self.averaging_scheme = getattr(averaging_schemes, averaging_scheme)() else: self.averaging_scheme = averaging_scheme # Clear the cache on resetting averaging scheme self.reset() def set_state(self, pressure, temperature): """ Update the material to the given pressure [Pa] and temperature [K]. """ Material.set_state(self, pressure, temperature) for phase in self.phases: phase.set_state(pressure, temperature) def debug_print(self, indent=""): print("{0}Composite: {1}".format(indent, self.name)) indent += " " if self.molar_fractions is None: for i, phase in enumerate(self.phases): phase.debug_print(indent + " ") else: for i, phase in enumerate(self.phases): print("%s%g of" % (indent, self.molar_fractions[i])) phase.debug_print(indent + " ") def unroll(self): if self.molar_fractions is None: raise Exception("Unroll only works if the composite has defined fractions.") phases = [] fractions = [] for i, phase in enumerate(self.phases): p_mineral, p_fraction = phase.unroll() check_pairs(p_mineral, p_fraction) fractions.extend([f * self.molar_fractions[i] for f in p_fraction]) phases.extend(p_mineral) return phases, fractions def to_string(self): """ return the name of the composite """ return "{0}: {1}".format(self.__class__.__name__, self.name) @material_property def formula(self): """ Returns molar chemical formula of the composite """ return sum_formulae([ph.formula for ph in self.phases], self.molar_fractions) @material_property def molar_internal_energy(self): """ Returns molar internal energy of the mineral [J/mol] Aliased with self.energy """ U = sum( phase.molar_internal_energy * molar_fraction for (phase, molar_fraction) in zip(self.phases, self.molar_fractions) ) return U @material_property def molar_gibbs(self): """ Returns molar Gibbs free energy of the composite [J/mol] Aliased with self.gibbs """ G = sum( phase.molar_gibbs * molar_fraction for (phase, molar_fraction) in zip(self.phases, self.molar_fractions) ) return G @material_property def molar_helmholtz(self): """ Returns molar Helmholtz free energy of the mineral [J/mol] Aliased with self.helmholtz """ F = sum( phase.molar_helmholtz * molar_fraction for (phase, molar_fraction) in zip(self.phases, self.molar_fractions) ) return F @material_property def molar_volume(self): """ Returns molar volume of the composite [m^3/mol] Aliased with self.V """ volumes = np.array( [ phase.molar_volume * molar_fraction for (phase, molar_fraction) in zip(self.phases, self.molar_fractions) ] ) return np.sum(volumes) @material_property def molar_mass(self): """ Returns molar mass of the composite [kg/mol] """ return sum( [ phase.molar_mass * molar_fraction for (phase, molar_fraction) in zip(self.phases, self.molar_fractions) ] ) @material_property def density(self): """ Compute the density of the composite based on the molar volumes and masses
(phases, fractions=None, fraction_type='molar', name='Unnamed composite')
[ 0.04791360720992088, -0.02780076488852501, -0.03265424817800522, 0.03700297325849533, 0.014366316609084606, -0.05152460187673569, -0.0346732996404171, -0.016268882900476456, -0.03871139883995056, -0.021394163370132446, -0.01575441285967827, 0.05719347298145294, 0.0005329733830876648, 0.06169750541448593, -0.04907844588160515, 0.03156707063317299, 0.022559000179171562, -0.007930595427751541, 0.029761573299765587, -0.009255596436560154, -0.019190682098269463, -0.040225688368082047, -0.015424376353621483, 0.08153855800628662, -0.013541224412620068, 0.014715767465531826, 0.037371836602687836, 0.0019001394975930452, -0.041972942650318146, -0.017812291160225868, -0.013075289316475391, -0.00012315719504840672, 0.006833707448095083, -0.021879512816667557, 0.0017860826337710023, -0.02517988160252571, 0.03935205936431885, 0.01914214715361595, -0.11842504143714905, 0.06216344237327576, 0.07571437209844589, -0.004351149778813124, 0.07800521701574326, -0.010347630828619003, 0.0023357397876679897, -0.012512285262346268, -0.010153491050004959, 0.08526603132486343, -0.025160469114780426, 0.005411636084318161, 0.017676394432783127, -0.05280592292547226, 0.018588848412036896, 0.01416247058659792, -0.04841836914420128, 0.04573924466967583, 0.050282109528779984, 0.025063399225473404, 0.05967845767736435, -0.0024376630317419767, -0.0009955711429938674, 0.016802767291665077, 0.015045804902911186, -0.06612388789653778, -0.039410300552845, -0.038109567016363144, 0.002380634658038616, 0.016307711601257324, 0.020986471325159073, 0.059484317898750305, 0.003965297713875771, 0.015463204123079777, 0.05544621869921684, -0.00719286547973752, 0.015997087582945824, -0.05696050450205803, 0.008993508294224739, -0.03296487405896187, 0.0359157919883728, -0.05696050450205803, 0.01088151428848505, 0.005586361512541771, -0.028305526822805405, -0.03156707063317299, -0.013599466532468796, 0.0075859976932406425, 0.03665352240204811, 0.013162652030587196, 0.007746162824332714, -0.001588303130120039, -0.03585755079984665, 0.008741127327084541, 0.05133046209812164, 0.05012679845094681, 0.012046351097524166, -0.029431534931063652, -0.06325062364339828, -0.037760116159915924, 0.012463750317692757, -0.026422373950481415, -0.046826425939798355, 0.019627494737505913, -0.028577322140336037, 0.007848085835576057, 0.012444336898624897, 0.004370563663542271, -0.0476418137550354, -0.008765394799411297, 0.04628283530473709, -0.03306194394826889, -0.04142935201525688, 0.003979858011007309, -0.041312869638204575, -0.021005885675549507, -0.026072923094034195, -0.01747254654765129, -0.032557178288698196, 0.0009494631085544825, 0.01020202599465847, -0.014900200068950653, 0.0493890680372715, -0.02294727973639965, -0.00003575653681764379, 0.027004793286323547, 0.03150882571935654, 0.04484620690345764, 0.007877206429839134, 0.01053206343203783, 0.012463750317692757, -0.04007037729024887, -0.009794333949685097, 0.03195534646511078, -0.006416307762265205, -0.0303051620721817, -0.011454225517809391, -0.029315052554011345, 0.01363829430192709, -0.047874778509140015, -0.035527512431144714, 0.04150700569152832, 0.04663228616118431, -0.011366862803697586, 0.007149184122681618, -0.0013929503038525581, -0.05206819251179695, 0.02141357772052288, 0.03739125281572342, -0.04663228616118431, -0.05257295444607735, 0.009410908445715904, -0.026558272540569305, -0.007416125852614641, 0.018841231241822243, -0.028480252251029015, 0.04139052331447601, -0.006736637558788061, 0.014143056236207485, -0.006726930849254131, -0.013317964039742947, 0.03065461292862892, -0.021219437941908836, -0.0013225747970864177, -0.009794333949685097, 0.06072681024670601, -0.009556512348353863, 0.019025662913918495, 0.0013929503038525581, -0.09163380414247513, -0.04872899502515793, -0.003319784067571163, 0.00028878237935714424, -0.05179639533162117, -0.05443669110536575, 0.014667232520878315, -0.022267790511250496, 0.03302311524748802, 0.0028611295856535435, 0.0021173330023884773, -0.04492386057972908, -0.04142935201525688, -0.016433902084827423, -0.04869016632437706, -0.02267548441886902, -0.00043681368697434664, 0.001830977387726307, -0.004130315966904163, 0.03882788494229317, -0.019103318452835083, 0.10933931916952133, -0.03812898322939873, -0.002080931793898344, -0.016618333756923676, -0.007930595427751541, 0.03647879511117935, -0.006717223674058914, -0.051990535110235214, 0.05482497066259384, -0.023937389254570007, 0.0482630580663681, 0.010473821312189102, -0.0810726210474968, -0.024713948369026184, 0.022753139957785606, -0.027509555220603943, 0.010667961090803146, -0.04150700569152832, -0.02114178240299225, 0.028713218867778778, 0.00006696292984997854, 0.006285263691097498, -0.011570708826184273, 0.011502760462462902, 0.05859127640724182, 0.023063762113451958, 0.037410665303468704, -0.07843232154846191, 0.048884306102991104, -0.060183219611644745, 0.020171085372567177, 0.029586847871541977, -0.005198082886636257, 0.02417035773396492, -0.0011405691038817167, 0.016754232347011566, -0.08689679950475693, 0.009808894246816635, 0.004317175131291151, 0.03987623751163483, 0.006756051909178495, 0.0007437966414727271, -0.021044712513685226, -0.020520536229014397, -0.05381544679403305, 0.010842686519026756, -0.04973851889371872, 0.04173997417092323, -0.03519747778773308, 0.03710004314780235, -0.06169750541448593, -0.012541405856609344, -0.011444518342614174, -0.06363890320062637, -0.011269792914390564, 0.009100285358726978, 0.012881150469183922, -0.05929017812013626, 0.060843292623758316, 0.028965601697564125, -0.04966086149215698, 0.005028211046010256, -0.03337256610393524, 0.015511739067733288, 0.009182794019579887, -0.005780501291155815, -0.007056967820972204, -0.08782867342233658, -0.04558393359184265, -0.02263665571808815, 0.037235941737890244, -0.03315901383757591, 0.006484256591647863, -0.09310926496982574, 0.06394952535629272, 0.059794940054416656, 0.007406418677419424, 0.018540313467383385, 0.007566583808511496, 0.016181521117687225, -0.03471212834119797, -0.0013880968326702714, 0.05148577317595482, 0.015298185870051384, -0.04453558102250099, 0.015783535316586494, -0.040031548589468, 0.006697809789329767, 0.027354244142770767, 0.01733664982020855, -0.0013820299645885825, 0.03451798856258392, 0.022228963673114777, 0.005596068687736988, 0.004453072790056467, -0.013696535490453243, 0.016191227361559868, -0.006663835607469082, -0.006028028670698404, -0.03913850709795952, 0.01346356887370348, 0.009158526547253132, -0.000946429674513638, -0.011774555779993534, 0.022131893783807755, 0.0033076503314077854, 0.1092616617679596, -0.016317417845129967, -0.03335314989089966, -0.014113935641944408, -0.0199575312435627, -0.057814717292785645, 0.02215130813419819, 0.004421525169163942, 0.0734623521566391, -0.026111751794815063, -0.09986531734466553, -0.030402231961488724, 0.047214705497026443, -0.023083176463842392, 0.032634835690259933, -0.009818601422011852, 0.047797124832868576, 0.03781835734844208, 0.07664623856544495, 0.05494145303964615, 0.03898319602012634, -0.004994236398488283, 0.02815021574497223, -0.034964509308338165, 0.044380269944667816, 0.04387550801038742, 0.014288661070168018, -0.038905538618564606, 0.028790876269340515, 0.0641048327088356, 0.020151671022176743, -0.05521325021982193, -0.020248740911483765, 0.0352945476770401, -0.010153491050004959, -0.032634835690259933, -0.10957228392362595, 0.013094703666865826, 0.02166595868766308, 0.026325304061174393, -0.0037323301658034325, -0.040613964200019836, 0.019811928272247314, -0.07691803574562073, 0.011619243770837784, -0.06006673723459244, 0.1395474076271057, 0.04737001657485962, -0.01423041895031929, 0.024112114682793617, -0.002203482436016202, -0.013890675269067287, 0.05897955596446991, -0.014473093673586845, -0.020074015483260155, 0.029276223853230476, -0.0091051384806633, 0.01668628305196762, -0.01803555153310299, 0.03626524284482002, 0.01508463267236948, 0.0055718012154102325, -0.046748772263526917, -0.08270338922739029, -0.04146818071603775, 0.0005014257039874792, 0.05618394538760185, 0.032945457845926285, -0.025199295952916145, 0.05532973259687424, -0.02215130813419819, -0.061581023037433624, -0.04733118787407875, 0.015832070261240005, 0.029276223853230476, -0.058746587485075, 0.02294727973639965, -0.016618333756923676, 0.01978280581533909, -0.010104957036674023, -0.016967784613370895, 0.02741248533129692, 0.0032202876172959805, 0.01834617555141449, -0.0007086088880896568, -0.04488503187894821, 0.034052055329084396, -0.00003784201908274554, -0.09683673828840256, 0.022034823894500732, -0.019413942471146584, -0.012405509129166603, 0.014502214267849922, -0.023180246353149414, -0.00031790329376235604, 0.016006795689463615, 0.023607352748513222, 0.0028538494370877743, 0.028713218867778778, -0.034692712128162384, -0.02859673649072647, 0.018763573840260506, 0.0652308464050293, 0.007319055963307619, -0.0487678200006485, -0.027645453810691833, 0.02919856831431389, -0.10677667707204819, 0.00131044106092304, 0.017919067293405533, -0.022791966795921326, -0.10203967988491058, 0.07536492496728897, 0.024927500635385513, -0.011570708826184273, 0.018773281946778297, 0.02123885229229927, -0.01262876857072115, -0.0273154154419899, 0.012725838460028172, -0.03952678665518761, -0.07559788972139359, 0.0238209068775177, -0.10211732983589172, -0.006663835607469082, 0.027257174253463745, 0.019113024696707726, 0.04123521223664284, 0.07773341983556747, 0.02057877741754055, 0.009080871008336544, 0.0019316872349008918, -0.03333373740315437, 0.042671844363212585, -0.04399199038743973, -0.01508463267236948, -0.02312200516462326, 0.0026936843059957027, -0.0396626815199852, -0.04791360720992088, -0.027334829792380333, -0.03950737044215202, -0.007071528118103743, -0.008391676470637321, 0.0030722562223672867, 0.011425104923546314, 0.04484620690345764, -0.006785172503441572, 0.01598738133907318, -0.020287569612264633, -0.050942182540893555, 0.014841957949101925, -0.01245404314249754, 0.010231147520244122, -0.03222714364528656, 0.01908390410244465, 0.0081684160977602, 0.04208942502737045, -0.0014657526044175029, -0.03595462068915367, 0.04659346118569374, -0.02877146191895008, 0.044768549501895905, -0.0195789597928524, -0.007076381705701351, -0.03240186721086502, 0.008129588328301907, 0.04449675604701042, 0.00046108110109344125, 0.040342170745134354, -0.019248923286795616, 0.020734090358018875, 0.05618394538760185, -0.010803858749568462, -0.030848752707242966, 0.045816902071237564, 0.022791966795921326, 0.016793059185147285, 0.02758721075952053, -0.01900624856352806, 0.005741673056036234, -0.019724564626812935, -0.03350846469402313, -0.006712370552122593, -0.048146575689315796, -0.0511363223195076, -0.003979858011007309, -0.015599101781845093, -0.02413152903318405, -0.003763878019526601, -0.023141417652368546, 0.055718012154102325, 0.022733725607395172, -0.008513013832271099, 0.060843292623758316, -0.05311654508113861, -0.0787041187286377, 0.01330825686454773, 0.04084693267941475, 0.05342716723680496, -0.0505150742828846, 0.06142571195960045, -0.004843778442591429, -0.025102226063609123, 0.01597767323255539, -0.02413152903318405, 0.015550566837191582, 0.026674754917621613, -0.00836255494505167, -0.0010987077839672565, -0.026597099378705025, -0.04803009331226349, -0.014395438134670258, -0.030945822596549988, 0.009517684578895569, -0.012648182921111584, -0.01400715857744217, -0.0669780969619751, 0.044030819088220596, 0.0059309592470526695, -0.023549111559987068, 0.0015118607552722096, -0.01918097399175167, 0.03638172522187233, 0.0013201480032876134, 0.006581326015293598, 0.011260085739195347, -0.008741127327084541, -0.01751137524843216, -0.030052781105041504, -0.014298368245363235, 0.011463932693004608, -0.056416913866996765, -0.05509676784276962, -0.005149547941982746, -0.016880422830581665, -0.013415033929049969, -0.013347084634006023, -0.017792876809835434, 0.05513559281826019, -0.005251471418887377, 0.009716677479445934, 0.01882181689143181, -0.030285749584436417, 0.023743251338601112, -0.011133895255625248, -0.000608202419243753, 0.024461565539240837, 0.0739671140909195, -0.02741248533129692, 0.01676393859088421, 0.030984651297330856, 0.06309530884027481, -0.03774070367217064, 0.018064672127366066, 0.008182976394891739, 0.0250051561743021, 0.00927986390888691, -0.0705890953540802, -0.0035017896443605423, 0.10367044806480408, 0.0255681611597538, 0.038944367319345474, -0.026208821684122086, 0.0024922648444771767, 0.018016137182712555, 0.03411029651761055, 0.04073045030236244, 0.008765394799411297, -0.047874778509140015, 0.03826487809419632, 0.001357762492261827, 0.02807256020605564, 0.001270399778150022, -0.003669234924018383, -0.025995267555117607, -0.0019013528944924474, 0.011570708826184273, 0.00033216041629202664, 0.010900928638875484, 0.014939027838408947, -0.011803676374256611, -0.007105502765625715, -0.005921252071857452, -0.028616150841116905, -0.03805132582783699, 0.07660741358995438, -0.016181521117687225, -0.0399150624871254, -0.04410847648978233, 0.0405363105237484, 0.046166352927684784, -0.022054238244891167, 0.03127586096525192, 0.03690590336918831, -0.02521871030330658, 0.004613237921148539, 0.01215312723070383, 0.01607474312186241, -0.04426378756761551, -0.0024376630317419767, 0.029567433521151543, -0.05630043148994446, -0.03490626811981201, -0.011881331913173199, 0.0144051443785429, -0.0020712248515337706, -0.013570345006883144, 0.006760905031114817, 0.05894072726368904, -0.005261178128421307, 0.011347448453307152, 0.041351694613695145, -0.003921616356819868, -0.004006552044302225, 0.001980222063139081, -0.003305223537608981, -0.012201662175357342, -0.051563430577516556, -0.05272826552391052, -0.02749014087021351, -0.072336345911026, -0.04806891828775406, -0.030499301850795746, 0.05210702121257782, 0.05800885707139969, -0.014997269958257675, 0.04504034295678139, -0.06624037027359009, 0.030246920883655548, -0.018278226256370544, -0.0035527513828128576, -0.010541770607233047, -0.05754292383790016, 0.0059018381871283054, -0.07326821237802505, 0.03593520447611809, 0.02539343573153019, 0.030635200440883636, -0.020306982100009918, -0.02486925944685936, -0.004562276415526867, 0.03863374516367912, 0.011221257969737053, -0.00409391475841403, 0.042050596326589584, 0.03211066126823425, -0.03003336861729622, -0.024150943383574486, 0.0010568464640527964, -0.04900078848004341, 0.019035369157791138, -0.02106412686407566, -0.0429048128426075, 0.02092822827398777, -0.019151853397488594, -0.024461565539240837, 0.07260814309120178, -0.02088940143585205, -0.013677122071385384, 0.007581144105643034, -0.019064491614699364, 0.0399150624871254, 0.01456045638769865, -0.015142874792218208, 0.048845477402210236, 0.02215130813419819, -0.007998543791472912, 0.042322393506765366, -0.006168779917061329, 0.026597099378705025, -0.030635200440883636, 0.043370746076107025, -0.004181277472525835, 0.02149123325943947, 0.05490262806415558, -0.04911727085709572, -0.04504034295678139, 0.02009342983365059, -0.019365407526493073, -0.052961234003305435, 0.050553902983665466, 0.016540678218007088, 0.04663228616118431, 0.04973851889371872, 0.0165892131626606, 0.03805132582783699, 0.03187769278883934, -0.017278408631682396, 0.01650184951722622, 0.06670629978179932, 0.05498028174042702, -0.02828611247241497, -0.00022568706481251866, -0.01532730646431446, -0.06037735939025879, 0.02211247943341732, 0.0004480373754631728, 0.026674754917621613, -0.007872353307902813, 0.0005954619846306741, 0.058863069862127304, -0.030965236946940422, -0.00796456914395094, -0.006605593487620354, -0.015104047022759914, 0.0435260571539402, -0.01388096809387207, -0.018025845289230347, 0.045428622514009476, -0.022694896906614304, 0.0223260335624218, -0.007954862900078297, 0.019113024696707726, 0.03034399077296257, -0.04861250892281532, 0.02591761201620102, 0.13488806784152985, 0.002148880623281002, -0.029101498425006866, 0.034828610718250275, -0.06006673723459244, 0.009046896360814571, 0.06519201397895813, -0.005081599112600088, -0.02399563230574131, -0.02469453401863575, 0.038381364196538925, 0.09272098541259766, -0.0032251409720629454, -0.011366862803697586, 0.017569616436958313, 0.054708488285541534, -0.019976945593953133, -0.009672996588051319, -0.03424619138240814, 0.022694896906614304, 0.05319419875741005, -0.02197658270597458, 0.018074380233883858, 0.058513619005680084, -0.029276223853230476, 0.056455742567777634, 0.0079500088468194, 0.003028574865311384, 0.01926833763718605, 0.010017594322562218, -0.010939756408333778, -0.03847843408584595, -0.017453134059906006, -0.03857550024986267, 0.0710938572883606, -0.0027203785721212626, 0.0346732996404171, 0.00398228457197547, -0.023704422637820244, 0.03368318825960159, -0.010570891201496124, -0.007508342154324055, 0.04985500127077103, 0.018200570717453957, -0.024946914985775948, 0.011085360310971737, -0.012968513183295727, -0.018948007375001907, -0.10196202248334885, -0.0163368321955204, -0.05307771638035774, 0.038459017872810364, 0.047175876796245575, 0.010794151574373245, 0.0734623521566391, -0.035100407898426056, -0.012541405856609344 ]
10,908
burnman.classes.composite
__init__
Create a composite using a list of phases and their fractions (adding to 1.0). :param phases: List of phases. :type phases: list of :class:`burnman.Material` :param fractions: molar or mass fraction for each phase. :type fractions: list of floats :param fraction_type: 'molar' or 'mass' (optional, 'molar' as standard) specify whether molar or mass fractions are specified. :type fraction_type: str
def __init__( self, phases, fractions=None, fraction_type="molar", name="Unnamed composite" ): """ Create a composite using a list of phases and their fractions (adding to 1.0). :param phases: List of phases. :type phases: list of :class:`burnman.Material` :param fractions: molar or mass fraction for each phase. :type fractions: list of floats :param fraction_type: 'molar' or 'mass' (optional, 'molar' as standard) specify whether molar or mass fractions are specified. :type fraction_type: str """ Material.__init__(self) assert len(phases) > 0 self.phases = phases if fractions is not None: self.set_fractions(fractions, fraction_type) else: self.molar_fractions = None self.set_averaging_scheme("VoigtReussHill") self.name = name self.equilibrium_tolerance = 1.0e-3 # J/reaction self.print_precision = 4 # number of significant figures used by self.__str__
(self, phases, fractions=None, fraction_type='molar', name='Unnamed composite')
[ 0.034255318343639374, -0.021511686965823174, -0.022764265537261963, 0.008799823001027107, -0.01880684122443199, -0.04610943794250488, -0.021729527041316032, -0.007524551823735237, -0.05126498267054558, 0.0026027325075119734, 0.004787938669323921, 0.0845944806933403, -0.008246146142482758, 0.06103146821260452, -0.03349287807941437, 0.02209259383380413, 0.023544859141111374, -0.008650057949125767, -0.010420006699860096, -0.00033470187918283045, 0.010846610181033611, -0.002384892664849758, -0.01156366616487503, 0.09301762282848358, -0.0014012095052748919, 0.023327019065618515, 0.029390228912234306, 0.010347393341362476, -0.06742143630981445, -0.02109416015446186, -0.00997525081038475, 0.01235333550721407, -0.0035716660786420107, 0.007506398484110832, -0.007597165182232857, -0.0031337172258645296, 0.006108592730015516, 0.025977404788136482, -0.1230069100856781, 0.07326681166887283, 0.11407547444105148, -0.003378787077963352, 0.06586024910211563, -0.012752708978950977, -0.015521090477705002, -0.008577444590628147, 0.014304817654192448, 0.06404492259025574, -0.03772260248661041, 0.01047446671873331, 0.010038787499070168, -0.023762699216604233, 0.009621260687708855, -0.019514821469783783, -0.07319419831037521, 0.04182525351643562, 0.047670625150203705, 0.03126002103090286, 0.032567061483860016, 0.041316960006952286, -0.016446908935904503, 0.030570194125175476, 0.04636358469724655, -0.05968812480568886, -0.024906357750296593, -0.0027933423407375813, -0.0131157748401165, 0.009466957300901413, 0.020077574998140335, 0.058598924428224564, 0.056420523673295975, 0.027919810265302658, 0.0010307682678103447, 0.013133928179740906, 0.050030555576086044, -0.0289908554404974, -0.03147786110639572, -0.031677547842264175, 0.017790256068110466, -0.017154889181256294, 0.00836868118494749, 0.010347393341362476, -0.054060593247413635, -0.02526942454278469, -0.02016834169626236, -0.015620933845639229, 0.0015509744407609105, -0.039138562977313995, 0.0074247089214622974, 0.00949418731033802, -0.06894631683826447, -0.019714508205652237, 0.023744545876979828, 0.01820778287947178, 0.03826720267534256, -0.02944468893110752, -0.029789602383971214, -0.03833981603384018, 0.007252252195030451, -0.015620933845639229, -0.03672416880726814, -0.006244742777198553, -0.025686951354146004, -0.017127659171819687, 0.006076824385672808, -0.007293097209185362, -0.03430977836251259, -0.027048449963331223, 0.018679767847061157, -0.017445342615246773, -0.029208695515990257, 0.021475380286574364, -0.056166376918554306, 0.015167100355029106, -0.033855944871902466, -0.02256457880139351, 0.010302009992301464, -0.0009320596582256258, 0.019678201526403427, -0.02748413011431694, 0.049703795462846756, -0.025886638090014458, -0.018552694469690323, 0.06324617564678192, 0.043386440724134445, 0.05326184630393982, 0.015802467241883278, -0.026540156453847885, 0.025142351165413857, -0.03009820729494095, 0.026993989944458008, 0.03420085832476616, -0.04621835798025131, -0.04512915760278702, 0.00282511068508029, -0.029136082157492638, 0.024942664429545403, -0.012525792233645916, -0.004483870696276426, 0.05957920476794243, 0.02799242176115513, -0.026467543095350266, 0.005464150104671717, 0.008309682831168175, -0.06433537602424622, 0.027901656925678253, 0.011082603596150875, -0.04698079824447632, -0.054096899926662445, 0.058126937597990036, -0.045927904546260834, 0.014159590937197208, 0.02788350358605385, -0.01913360133767128, 0.043567974120378494, -0.021566146984696388, 0.03449131175875664, -0.02020464837551117, -0.006562425754964352, 0.03106033429503441, 0.010710460133850574, 0.030570194125175476, -0.022818725556135178, 0.04498393088579178, -0.0016440101899206638, 0.025814024731516838, -0.00993894413113594, -0.09526863694190979, -0.03142340108752251, -0.010356470011174679, -0.007588088512420654, -0.060305334627628326, -0.051555436104536057, 0.019296981394290924, -0.02234673872590065, 0.00047255365643650293, 0.005241771694272757, 0.03345657140016556, -0.037286922335624695, -0.05863523110747337, 0.008668211288750172, -0.0240168459713459, -0.029462842270731926, -0.034818071871995926, 0.023726392537355423, -0.01713673584163189, 0.015466630458831787, 0.02477928437292576, 0.08742640167474747, -0.04102650657296181, 0.029172388836741447, 0.010066017508506775, -0.008595597930252552, 0.04944964870810509, -0.011164292693138123, -0.05888937786221504, 0.03826720267534256, -0.039065949618816376, 0.014713267795741558, 0.03855765610933304, -0.05729188397526741, -0.002380354329943657, 0.010873840190470219, -0.014431891031563282, 0.04610943794250488, -0.03779521584510803, -0.01392359845340252, 0.02851886861026287, -0.014359277673065662, -0.023835312575101852, 0.010265703313052654, 0.007043488789349794, 0.05740080401301384, 0.03852134943008423, 0.016900742426514626, -0.09839100390672684, 0.02552357129752636, -0.05377013981342316, 0.01998680830001831, 0.010882916860282421, 0.024289144203066826, 0.034854378551244736, 0.02105785347521305, 0.021366460248827934, -0.07025335729122162, 0.026939529925584793, -0.0018539080629125237, 0.015012796968221664, -0.035072218626737595, 0.015602780506014824, -0.037286922335624695, -0.031496014446020126, -0.056638363748788834, -0.014186820946633816, -0.0635366290807724, 0.04502023756504059, -0.03801305592060089, 0.039429016411304474, -0.0683291032910347, -0.012362412177026272, 0.04044560343027115, -0.012779938988387585, -0.003426439594477415, 0.007760545238852501, 0.030080053955316544, -0.0672399029135704, 0.04716233164072037, 0.02127569355070591, -0.06433537602424622, -0.001412555342540145, -0.04890504851937294, 0.010229396633803844, 0.009857254102826118, 0.012634712271392345, 0.009503263980150223, -0.0424787737429142, -0.06898262351751328, -0.05268093943595886, 0.021257540211081505, -0.04647250473499298, 0.007392940577119589, -0.06143084168434143, 0.07544520497322083, 0.0753725916147232, -0.000515100487973541, -0.0031178330536931753, -0.023435939103364944, 0.007288558874279261, -0.016927972435951233, -0.006644115783274174, 0.07061642408370972, 0.012643788941204548, -0.005468688439577818, -0.007129717152565718, -0.023944232612848282, -0.0031155638862401247, 0.03345657140016556, 0.007374787237495184, -0.015430323779582977, 0.04389473423361778, 0.008323297835886478, -0.031187407672405243, 0.024615904316306114, 0.009385267272591591, 0.022110747173428535, 0.010592463426291943, -0.007392940577119589, 0.007415632251650095, 0.0009326269500888884, -0.009621260687708855, -0.0038099284283816814, 0.004806092008948326, 0.022818725556135178, -0.017073199152946472, 0.08640981465578079, -0.008981356397271156, -0.022873185575008392, -0.011491052806377411, -0.0030520271975547075, -0.043277520686388016, 0.025922944769263268, -0.0012457717675715685, 0.06912785023450851, -0.02722998335957527, -0.12750893831253052, -0.05711035057902336, 0.022709805518388748, -0.01028385665267706, 0.01935144141316414, 0.007220483850687742, 0.0628104954957962, 0.06618700921535492, 0.05899829789996147, 0.043241214007139206, 0.04302337393164635, 0.011872272938489914, 0.04498393088579178, -0.043132293969392776, 0.037323229014873505, 0.03888441622257233, 0.018017172813415527, -0.049667488783597946, 0.0061131310649216175, 0.03565312549471855, 0.010429083369672298, -0.060414254665374756, -0.03826720267534256, 0.02477928437292576, -0.00009544676140649244, -0.002768381731584668, -0.12366043031215668, 0.011454746127128601, 0.017626876011490822, 0.01265286561101675, -0.022074440494179726, -0.0494859553873539, 0.026104476302862167, -0.05108344927430153, -0.01916990801692009, -0.04229724034667015, 0.11603603512048721, 0.003467284608632326, -0.011327672749757767, 0.013487918302416801, -0.02730259671807289, -0.018734227865934372, 0.019660048186779022, -0.052208952605724335, 0.022147053852677345, 0.01772671937942505, -0.027937963604927063, -0.00057494972134009, -0.012543945573270321, 0.0289908554404974, 0.0384124293923378, 0.0019560204818844795, -0.049776408821344376, -0.03997361660003662, -0.03347472473978996, -0.02091262675821781, 0.07987461984157562, 0.023998692631721497, -0.022546425461769104, 0.056602057069540024, -0.03505406528711319, -0.06680422276258469, -0.02338147908449173, 0.009017663076519966, 0.02309102565050125, -0.01776302605867386, 0.009766487404704094, -0.013106698170304298, -0.02877301536500454, 0.005849908106029034, -0.010038787499070168, 0.03198615461587906, -0.004869628697633743, 0.013179311528801918, -0.0013966711703687906, -0.06901893019676208, -0.001269597909413278, -0.018625307828187943, -0.05899829789996147, 0.010637846775352955, -0.04836044833064079, -0.026993989944458008, -0.0000944540006457828, 0.01438650768250227, 0.024252837523818016, 0.03454577177762985, 0.024888204410672188, -0.007919386960566044, 0.0465451180934906, -0.015185253694653511, -0.031042180955410004, 0.008804361335933208, 0.04044560343027115, -0.014132360927760601, -0.0480336919426918, -0.021693220362067223, 0.025087891146540642, -0.09374375641345978, -0.03227660804986954, 0.01743626594543457, -0.04305968061089516, -0.06473474949598312, 0.05478672683238983, 0.01788102276623249, 0.0005023364792577922, -0.006222051102668047, 0.047561705112457275, -0.023835312575101852, -0.022255972027778625, -0.007697008550167084, -0.02877301536500454, -0.04639989137649536, 0.010111400857567787, -0.10957345366477966, -0.01784471608698368, 0.013642221689224243, 0.011046296916902065, 0.037105388939380646, 0.07798667252063751, 0.039356403052806854, 0.033783331513404846, 0.029281308874487877, -0.008427679538726807, 0.030116360634565353, -0.02045879326760769, -0.0256687980145216, -0.05111975595355034, 0.027502283453941345, -0.041244346648454666, -0.04182525351643562, 0.009929867461323738, -0.023726392537355423, -0.024615904316306114, -0.009775564074516296, 0.006644115783274174, 0.015620933845639229, 0.034890685230493546, -0.019732661545276642, 0.000265350507106632, -0.028609635308384895, -0.06469844281673431, -0.025178657844662666, -0.00438629649579525, -0.01126413606107235, 0.006285587791353464, 0.01344253495335579, 0.031169254332780838, 0.0406271331012249, 0.022183360531926155, -0.05326184630393982, 0.07471907138824463, -0.041208039969205856, 0.04676295816898346, -0.022473812103271484, 0.03512667864561081, -0.03848504275083542, 0.02127569355070591, 0.02094893343746662, 0.0033424803987145424, 0.028464408591389656, -0.029825909063220024, 0.024906357750296593, 0.07297635823488235, -0.0037849675863981247, -0.010029710829257965, -0.0022237820085138083, 0.0026481158565729856, 0.04487501084804535, 0.04411257430911064, -0.005677451379597187, -0.004030037671327591, -0.006031441502273083, -0.03416455164551735, -0.022800572216510773, -0.04603682458400726, -0.06103146821260452, -0.020549559965729713, -0.01607476733624935, -0.013823755085468292, 0.023653779178857803, -0.037032775580883026, 0.05558547377586365, -0.007529090158641338, -0.015866003930568695, 0.05064776912331581, -0.03243998810648918, -0.06520673632621765, 0.028319181874394417, 0.025832178071141243, 0.07174193114042282, -0.02105785347521305, 0.06400861591100693, -0.00536430673673749, -0.0032948278822004795, -0.019151754677295685, 0.0034309779293835163, 0.033819638192653656, 0.008155380375683308, -0.0012956933351233602, -0.015230637043714523, -0.020604019984602928, -0.049921635538339615, -0.014595271088182926, -0.04934072867035866, 0.0035966269206255674, -0.007697008550167084, -0.030243434011936188, -0.05533132702112198, 0.011736122891306877, 0.016673825681209564, -0.03133263438940048, 0.013433458283543587, -0.03095141425728798, 0.03679678216576576, -0.024325450882315636, 0.0168099757283926, 0.02670353651046753, 0.013841908425092697, -0.011654432862997055, -0.013642221689224243, -0.02773827686905861, -0.010347393341362476, -0.047489091753959656, -0.04897766187787056, 0.029136082157492638, 0.007560858502984047, -0.0041661872528493404, -0.035961732268333435, -0.03641556575894356, 0.05035731568932533, -0.018589001148939133, 0.053951673209667206, -0.006321894470602274, 0.0019390017259866, 0.026903223246335983, -0.028464408591389656, 0.005486841779202223, 0.0343642383813858, 0.07381140440702438, -0.025505417957901955, 0.0004351124516688287, 0.025142351165413857, 0.05064776912331581, -0.012425948865711689, 0.037141695618629456, -0.0017744872020557523, 0.041716333478689194, -0.011418439447879791, -0.09033092856407166, 0.0021738603245466948, 0.06469844281673431, 0.03342026472091675, 0.04523807764053345, -0.0446934774518013, 0.018716074526309967, 0.011899502947926521, 0.03683308884501457, 0.03697831556200981, 0.03349287807941437, 0.008227992802858353, 0.0001713219826342538, 0.00884520635008812, 0.04200678691267967, -0.019696354866027832, -0.002167052822187543, -0.018788687884807587, 0.005568531341850758, -0.006684960797429085, 0.0277019701898098, 0.045564837753772736, -0.0036851244512945414, -0.014250357635319233, 0.018343931064009666, 0.001612241961993277, -0.036106958985328674, -0.026031864807009697, 0.05300769954919815, -0.012153648771345615, -0.08060075342655182, -0.05141020938754082, 0.01581154391169548, 0.022546425461769104, -0.013206541538238525, -0.00736117223277688, 0.0328756645321846, -0.029934827238321304, 0.02563249133527279, -0.008105458691716194, 0.019587434828281403, -0.00017756217857822776, -0.01710042916238308, -0.007120640482753515, -0.04059082642197609, -0.054133206605911255, -0.01217180211097002, 0.04000992327928543, 0.002525581046938896, -0.01438650768250227, -0.006199359428137541, 0.07529997825622559, 0.017073199152946472, 0.015829697251319885, 0.01115521602332592, 0.0035966269206255674, -0.014622501097619534, -0.0011391210136935115, 0.025051584467291832, -0.030570194125175476, -0.04487501084804535, -0.018770534545183182, -0.016909819096326828, -0.0631735622882843, -0.04244246706366539, -0.016791822388768196, 0.030043747276067734, 0.0428418405354023, -0.037504762411117554, 0.03309350460767746, -0.04716233164072037, 0.06117669492959976, -0.0289908554404974, -0.022038133814930916, 0.012217185460031033, -0.08764424175024033, 0.011872272938489914, -0.0882977619767189, 0.03881180286407471, 0.03209507465362549, 0.013315461575984955, -0.03786782920360565, -0.03630664572119713, 0.006784804165363312, 0.03548974543809891, 0.025051584467291832, 0.04011884331703186, 0.04389473423361778, -0.00801923032850027, -0.007374787237495184, -0.026866916567087173, 0.00005587819396168925, -0.02799242176115513, 0.0013161158422008157, -0.03848504275083542, -0.05678359046578407, -0.0013875945005565882, -0.009666644036769867, -0.027012143284082413, 0.0731215849518776, -0.010165859945118427, -0.002965799067169428, 0.011255059391260147, 0.0006461447919718921, 0.02681245654821396, -0.002911339048296213, -0.007238637190312147, 0.04509285092353821, 0.004007345996797085, -0.024688517674803734, 0.03797674924135208, 0.021039700135588646, 0.03668786212801933, -0.020368026569485664, 0.02452513761818409, -0.03498145192861557, -0.013424381613731384, 0.021293846890330315, -0.0528261661529541, -0.010274779982864857, 0.018770534545183182, -0.03356549143791199, -0.05032100901007652, 0.05950659140944481, 0.0058453697711229324, 0.019514821469783783, 0.08067336678504944, 0.022836878895759583, 0.025396497920155525, 0.016356144100427628, -0.006267434451729059, -0.008913281373679638, 0.056420523673295975, 0.03859396278858185, -0.051736969500780106, 0.025614337995648384, -0.039429016411304474, -0.09243671596050262, 0.0034695537760853767, 0.025396497920155525, 0.01475865114480257, 0.000631395261734724, -0.016564905643463135, 0.0642990693449974, -0.036034345626831055, -0.03258521482348442, -0.0036556252744048834, 0.008722671307623386, 0.04207940027117729, -0.008709056302905083, -0.016492292284965515, 0.04934072867035866, -0.03233106806874275, 0.013841908425092697, 0.01820778287947178, 0.023780852556228638, 0.049631182104349136, -0.034146398305892944, 0.024797437712550163, 0.1300504058599472, 0.03106033429503441, -0.028046881780028343, 0.029898522421717644, -0.043241214007139206, 0.03826720267534256, 0.0679660364985466, -0.0336017981171608, -0.029426535591483116, -0.019369594752788544, 0.01540309377014637, 0.09795532375574112, -0.0022476082667708397, 0.009112968109548092, -0.011881349608302116, 0.04280553385615349, -0.016492292284965515, -0.01047446671873331, -0.051664356142282486, 0.022510118782520294, 0.060595788061618805, -0.027248136699199677, -0.0029090698808431625, 0.06114038825035095, -0.04407626762986183, 0.05449627339839935, -0.005278078373521566, 0.043495360761880875, 0.0472712516784668, -0.007007182110100985, 0.010919223539531231, -0.013932675123214722, -0.01122782938182354, -0.04908658191561699, 0.045891597867012024, 0.018570847809314728, 0.031968001276254654, 0.021584300324320793, -0.002252146601676941, 0.012217185460031033, -0.021439073607325554, 0.004942242056131363, 0.08190778642892838, 0.029081622138619423, -0.05148282274603844, 0.016719209030270576, -0.009403420612215996, -0.022909492254257202, -0.10223951190710068, -0.04077235981822014, -0.04069974645972252, 0.05130128934979439, 0.04040929675102234, -0.019532974809408188, 0.05304400622844696, 0.004331836476922035, -0.023036565631628036 ]
10,909
burnman.classes.composite
__str__
null
def __str__(self): string = "Composite: {0}".format(self.name) try: string += "\n P, T: {0:.{sf}g} Pa, {1:.{sf}g} K".format( self.pressure, self.temperature, sf=self.print_precision ) except: pass string += "\nPhase and endmember fractions:" for phase, fraction in zip(*self.unroll()): string += "\n {0}: {1:0.{sf}f}".format( phase.name, fraction, sf=self.print_precision ) if isinstance(phase, Solution): for i in range(phase.n_endmembers): string += "\n {0}: {1:0.{sf}f}".format( phase.endmember_names[i], phase.molar_fractions[i], sf=self.print_precision, ) return string
(self)
[ 0.006563875358551741, -0.0385177880525589, 0.0031498402822762728, 0.012754234485328197, 0.002630560891702771, -0.08410506695508957, 0.011852327734231949, -0.06267794966697693, 0.0295898225158453, -0.036294907331466675, -0.013765462674200535, -0.001738903229124844, -0.04023049771785736, 0.014011437073349953, -0.03489194065332413, 0.029790246859192848, 0.011661014519631863, -0.0940898060798645, -0.014521606266498566, 0.013464827090501785, 0.03223177045583725, 0.044421177357435226, -0.008859638124704361, 0.018229445442557335, 0.00893707387149334, -0.0006718748481944203, 0.019623300060629845, -0.034509312361478806, -0.05655591934919357, -0.01601567491889, -0.03412668779492378, -0.0028947556857019663, -0.007825633510947227, -0.01787414774298668, -0.021937282755970955, 0.04176100715994835, 0.011888768523931503, -0.020261012017726898, -0.0819186270236969, 0.041323717683553696, 0.04321863502264023, 0.003650899510830641, -0.005707519594579935, -0.01220762450248003, -0.03950168564915657, -0.01833876594901085, 0.04121439531445503, 0.07659828662872314, 0.0010436835000291467, -0.03939236328005791, 0.019951267167925835, -0.010868429206311703, -0.04445761442184448, -0.018839826807379723, -0.06945591419935226, 0.0037420012522488832, 0.07153303176164627, -0.019404657185077667, 0.043911006301641464, 0.022975841537117958, -0.04963219165802002, 0.012280505150556564, 0.05181863158941269, -0.02149999514222145, -0.028150416910648346, -0.020807622000575066, -0.025034738704562187, 0.010631565004587173, 0.02488897740840912, 0.04168812558054924, 0.039210159331560135, -0.03223177045583725, 0.0014405451947823167, 0.007260803133249283, -0.0031202323734760284, -0.0316305011510849, -0.02647414617240429, -0.021736858412623405, 0.04693558067083359, -0.08228302747011185, -0.02997245080769062, -0.011961649172008038, -0.010367370210587978, -0.032450415194034576, 0.05367710441350937, -0.0385177880525589, 0.01425741147249937, -0.030391518026590347, -0.012480929493904114, 0.03481905907392502, -0.029462281614542007, -0.011369489133358002, -0.0046780710108578205, 0.045222871005535126, -0.024834316223859787, -0.0022866518702358007, -0.032322872430086136, -0.0668686255812645, -0.006541099864989519, -0.028933892026543617, -0.008340357802808285, 0.0004677501565311104, -0.052511002868413925, 0.0021875789389014244, -0.036695752292871475, -0.03268728032708168, -0.01978728361427784, 0.002878812840208411, 0.015277750790119171, 0.015487284399569035, 0.003903706558048725, 0.03011821210384369, -0.004805613309144974, -0.03910083696246147, 0.05163642764091492, -0.043437276035547256, -0.04587880149483681, -0.002789988648146391, 0.019422875717282295, -0.04689913988113403, 0.04114151373505592, -0.02567245066165924, -0.012599361129105091, 0.013956775888800621, -0.051855072379112244, 0.03950168564915657, -0.020352113991975784, -0.003937869798392057, 0.017245545983314514, -0.11704742908477783, 0.0534949004650116, 0.005138134118169546, -0.011897878721356392, -0.017491521313786507, 0.04631609097123146, -0.02011524885892868, 0.03460041433572769, -0.027476264163851738, 0.01582436077296734, 0.10108641535043716, 0.023194486275315285, -0.048866938799619675, -0.03540211170911789, 0.03024575486779213, 0.0008700210019014776, 0.023322029039263725, 0.01878516562283039, 0.02270253747701645, -0.006727858446538448, -0.010713556781411171, -0.015842581167817116, 0.003808049950748682, -0.0028264294378459454, -0.03181270509958267, 0.029863128438591957, -0.024506349116563797, 0.03248685598373413, -0.01522308960556984, 0.01740952953696251, -0.00032910480513237417, -0.021281350404024124, -0.032523296773433685, -0.008194595575332642, 0.037825413048267365, 0.023941518738865852, 0.010795548558235168, 0.00900084525346756, -0.07029405236244202, 0.002546291798353195, -0.0034686962608247995, -0.007834743708372116, -0.058268629014492035, -0.047883037477731705, 0.06016354635357857, 0.0046621281653642654, 0.024069061502814293, 0.009087392129004002, 0.06898218393325806, -0.02846016176044941, -0.02957160212099552, -0.01320063229650259, -0.032395754009485245, -0.05968981608748436, 0.011205505579710007, 0.03560253232717514, -0.040922872722148895, 0.0389186330139637, -0.004019861109554768, 0.05127201974391937, -0.05564490333199501, 0.0026578912511467934, 0.023704655468463898, -0.01118728518486023, 0.04387456551194191, 0.005825952161103487, -0.047482192516326904, 0.03585761785507202, -0.0381169393658638, 0.0385177880525589, -0.022538553923368454, -0.05440592020750046, 0.009224044159054756, -0.000721980759408325, -0.00886419229209423, 0.01366525050252676, 0.013692581094801426, -0.014439615420997143, 0.03314279019832611, -0.030336856842041016, 0.020406775176525116, 0.020169910043478012, -0.0010772772366181016, 0.019677961245179176, -0.022720757871866226, 0.02838728204369545, -0.03711482137441635, 0.009538345038890839, -0.0038536007050424814, -0.024761434644460678, 0.033379651606082916, -0.0022729868069291115, -0.0326690599322319, 0.018912706524133682, 0.0017411806620657444, -0.08527116477489471, 0.021190248429775238, 0.028150416910648346, 0.03361651673913002, -0.018448088318109512, -0.0015475896652787924, -0.005930718965828419, -0.02813219651579857, -0.09124743193387985, 0.026219060644507408, -0.05466100201010704, 0.07616099715232849, -0.08221014589071274, 0.014849572442471981, -0.03223177045583725, -0.021026266738772392, -0.02230168879032135, -0.0185391902923584, 0.0008022640831768513, -0.000030533294193446636, 0.034709736704826355, -0.09285082668066025, 0.02825973927974701, 0.02858770452439785, -0.02328558824956417, 0.024050841107964516, 0.002292345743626356, 0.01220762450248003, -0.015113767236471176, -0.0072699133306741714, 0.011451479978859425, -0.07499489933252335, -0.06096524000167847, -0.028205078095197678, 0.04518643021583557, -0.0004167901643086225, -0.0021340567618608475, -0.00592160876840353, 0.007283578626811504, 0.05076185241341591, 0.035839397460222244, 0.00544332480058074, -0.049522869288921356, -0.00929237063974142, -0.013683470897376537, 0.006053706165403128, 0.03064660355448723, 0.005447879899293184, -0.06194913759827614, 0.03208600729703903, -0.028095755726099014, -0.004363770131021738, 0.0036304015666246414, 0.013282624073326588, -0.05302117392420769, -0.0021853013895452023, 0.044967785477638245, -0.019368216395378113, -0.007420231122523546, -0.020698299631476402, 0.03716948255896568, -0.01190698891878128, 0.012462709099054337, -0.03582117706537247, 0.02846016176044941, 0.01853008009493351, 0.004126905929297209, 0.018675843253731728, 0.003375316970050335, 0.021190248429775238, 0.07820167392492294, 0.012526479549705982, 0.03633134812116623, -0.022119486704468727, -0.017719276249408722, -0.029753806069493294, -0.00013757776468992233, 0.0012127910740673542, 0.07893048971891403, -0.01608855463564396, -0.05979913845658302, -0.022811857983469963, 0.000715717498678714, 0.0007436174200847745, 0.059398289769887924, -0.03485549986362457, 0.0003957228909712285, 0.012663132511079311, 0.08169998228549957, 0.05353134125471115, 0.03130253404378891, 0.04930422455072403, -0.0442025326192379, -0.02713007852435112, 0.037297025322914124, 0.05524405464529991, 0.0005520192207768559, -0.005484320688992739, 0.00926048494875431, 0.04839320853352547, 0.05513473227620125, -0.07601523399353027, -0.054296597838401794, 0.030409738421440125, 0.018092792481184006, -0.018675843253731728, -0.06956523656845093, -0.031065670773386955, 0.016243427991867065, 0.037351686507463455, 0.00999385304749012, -0.012936437502503395, 0.021718638017773628, -0.03698727861046791, -0.011269276961684227, -0.0316305011510849, 0.12375251203775406, 0.018912706524133682, -0.035839397460222244, 0.024597451090812683, 0.0028446498326957226, 0.029790246859192848, -0.019677961245179176, 0.005224680993705988, 0.014931564219295979, 0.048611853271722794, -0.036495331674814224, -0.015469064004719257, 0.015241310000419617, 0.002824151888489723, 0.027822451665997505, 0.03620380535721779, -0.026547027751803398, -0.0219008419662714, -0.03647711127996445, 0.03534745052456856, 0.07076778262853622, 0.014548936858773232, -0.006677752826362848, 0.05378642678260803, -0.015696818009018898, -0.026510586962103844, -0.0011467422591522336, 0.000222345013753511, 0.049850836396217346, -0.003209056332707405, -0.0591796450316906, -0.00148837361484766, 0.018821606412529945, -0.06107456237077713, -0.05116270110011101, 0.10028471797704697, 0.02456101030111313, 0.007661650888621807, -0.01029448863118887, -0.13650675117969513, 0.02058897726237774, -0.009041841141879559, -0.041651684790849686, 0.03190380707383156, -0.03684151545166969, 0.013519488275051117, 0.0028856454882770777, 0.0020042366813868284, 0.043765243142843246, 0.0494864284992218, -0.007329129613935947, 0.0036030712071806192, 0.02984490804374218, -0.023194486275315285, -0.014202751219272614, -0.030537281185388565, 0.023212706670165062, -0.005671079270541668, -0.04128727689385414, -0.00826747715473175, 0.02614618092775345, -0.10742709040641785, -0.02813219651579857, 0.015769699588418007, -0.012234955094754696, -0.046607617288827896, 0.06522879749536514, 0.012316945940256119, -0.0056346384808421135, 0.008016946725547314, 0.0190584696829319, -0.030355077236890793, -0.03829914331436157, 0.007333684712648392, 0.01608855463564396, -0.0038399354089051485, -0.03605804219841957, -0.0502881221473217, -0.02004236727952957, -0.008809532038867474, -0.012845335528254509, 0.04190677031874657, 0.05116270110011101, 0.04649829491972923, -0.015141097828745842, 0.022319909185171127, -0.05385930836200714, 0.03753389045596123, 0.040594905614852905, 0.016525844112038612, -0.036222025752067566, 0.022793637588620186, -0.007734532002359629, -0.008226481266319752, 0.02164575830101967, -0.059398289769887924, 0.021518215537071228, 0.00010227585880784318, -0.000452092062914744, 0.04023049771785736, 0.03862711042165756, -0.009046396240592003, -0.010267158038914204, 0.0073746806010603905, -0.011041522957384586, 0.05090761557221413, -0.03465507552027702, -0.04544151574373245, -0.02104448713362217, 0.05116270110011101, 0.03487372025847435, 0.048939820379018784, -0.033397872000932693, -0.034454651176929474, 0.07102286070585251, -0.04533219337463379, 0.027494484558701515, -0.024050841107964516, -0.016061224043369293, -0.023577112704515457, -0.02381397783756256, 0.07193388044834137, 0.022119486704468727, 0.09073726832866669, -0.001075569074600935, -0.05134490132331848, 0.059653375297784805, 0.008436014875769615, -0.06351608783006668, -0.005625528283417225, 0.035966940224170685, 0.018557410687208176, -0.018220335245132446, 0.011487920768558979, 0.0007885988452471793, 0.03582117706537247, -0.00411779573187232, 0.0074384515173733234, -0.015341521240770817, -0.031338974833488464, -0.06227710470557213, -0.04842964932322502, -0.05761269852519035, 0.015332411043345928, -0.0184571985155344, 0.07630676031112671, 0.019349996000528336, 0.03137541562318802, -0.0023390355054289103, -0.043510157614946365, -0.004965041298419237, 0.02487075701355934, -0.0676703229546547, -0.013182411901652813, -0.03288770467042923, 0.03348897397518158, -0.030482620000839233, -0.023595333099365234, -0.06621269881725311, 0.01078643836081028, 0.01254469994455576, 0.016626054421067238, 0.027038976550102234, -0.024141943082213402, 0.033069908618927, -0.020479656755924225, 0.04095931351184845, -0.00018134927086066455, 0.0006684585241600871, -0.012198514305055141, 0.004019861109554768, -0.0924864187836647, 0.03399914503097534, 0.017054233700037003, -0.0358758382499218, 0.008431459777057171, -0.008080718107521534, 0.011888768523931503, -0.0036053487565368414, 0.028077535331249237, 0.0017696500290185213, -0.021390672773122787, -0.03487372025847435, 0.025927536189556122, -0.011241946369409561, 0.05272964760661125, -0.02355889230966568, 0.012963768094778061, -0.05845083296298981, 0.021080927923321724, -0.0027626582887023687, -0.00441843131557107, 0.0019632410258054733, 0.03250507637858391, -0.022137707099318504, 0.060783036053180695, -0.03746100887656212, -0.01707245409488678, 0.028332620859146118, 0.0003365068114362657, 0.018429867923259735, 0.015013555996119976, 0.01290910691022873, -0.09124743193387985, 0.025326265022158623, 0.005639193579554558, 0.0835220143198967, -0.006185803562402725, 0.059653375297784805, 0.002610062947496772, 0.031466517597436905, -0.01333728525787592, -0.0490855798125267, -0.018694063648581505, 0.02403262071311474, 0.07900337129831314, 0.005812286864966154, 0.0026601688005030155, 0.008718430064618587, -0.007420231122523546, 0.01925889402627945, 0.037424568086862564, 0.044712699949741364, -0.026984315365552902, 0.012198514305055141, 0.010212497785687447, 0.024579230695962906, 0.018101902678608894, -0.015532835386693478, 0.0020486488938331604, 0.014466946013271809, -0.02514406107366085, 0.007821078412234783, -0.0032705499324947596, -0.04008473455905914, -0.01018516719341278, 0.03097456879913807, 0.042526260018348694, 0.031922027468681335, 0.01898558810353279, -0.003835380310192704, -0.01608855463564396, 0.014767580665647984, -0.023340249434113503, 0.0032158889807760715, 0.048138123005628586, -0.01608855463564396, -0.021955503150820732, 0.05848727375268936, -0.042198292911052704, -0.014658259227871895, -0.01528686098754406, 0.031594060361385345, -0.012581140734255314, 0.03141185641288757, -0.01313686091452837, -0.02957160212099552, 0.007005718536674976, 0.0019962654914706945, 0.01177944615483284, -0.015059106051921844, 0.017573513090610504, -0.012107412330806255, 0.08490675687789917, 0.020424995571374893, 0.004919490311294794, 0.040667787194252014, 0.02303050272166729, -0.0358758382499218, 0.04081355035305023, 0.0035802957136183977, 0.03469151630997658, -0.04230761528015137, -0.08206439018249512, -0.03303346782922745, -0.05538981780409813, 0.0055754221975803375, -0.031338974833488464, -0.03481905907392502, 0.020607197657227516, -0.006509214639663696, 0.08585421741008759, -0.10123217850923538, 0.051527105271816254, -0.022720757871866226, 0.05498896911740303, -0.01647118292748928, -0.06092879921197891, 0.05057964846491814, -0.08847794681787491, 0.03115677274763584, 0.0672694742679596, -0.04176100715994835, -0.021190248429775238, -0.08213726431131363, -0.004983261693269014, 0.0056984093971550465, 0.031211433932185173, -0.039938975125551224, 0.02011524885892868, 0.01575147919356823, -0.016434742137789726, -0.05546269938349724, 0.015141097828745842, -0.013091309927403927, 0.007729976903647184, -0.03327032923698425, -0.06329744309186935, 0.016188766807317734, -0.03704193979501724, -0.041396599262952805, 0.0462067686021328, 0.028004653751850128, 0.003650899510830641, -0.0018812494818121195, 0.01978728361427784, 0.02541736699640751, 0.025235163047909737, 0.007187922019511461, 0.032067786902189255, -0.011679233983159065, -0.0502881221473217, 0.00975698884576559, -0.03826270252466202, 0.07557794451713562, -0.007848409004509449, 0.02051609754562378, 0.005201905500143766, 0.0008945045410655439, -0.008686544373631477, -0.029936010017991066, -0.0059124985709786415, -0.013419276103377342, -0.01154258195310831, -0.07149659097194672, 0.034782618284225464, 0.019149571657180786, 0.03942880406975746, 0.03658642992377281, -0.04438473656773567, 0.060455068945884705, -0.014849572442471981, -0.009023620747029781, -0.0709499791264534, 0.03336143121123314, 0.048611853271722794, -0.02798643335700035, 0.001054501859471202, -0.005903388373553753, -0.06435421854257584, -0.051053378731012344, -0.03115677274763584, 0.01601567491889, -0.007420231122523546, 0.07572370767593384, 0.035839397460222244, 0.03328854963183403, -0.04671693593263626, 0.012763344682753086, -0.030519060790538788, 0.03789829462766647, 0.02197372354567051, 0.007843853905797005, 0.03419956937432289, 0.0037146706599742174, 0.018876265734434128, 0.06562964618206024, -0.013464827090501785, -0.0010385590139776468, -0.03031863644719124, 0.04074066877365112, 0.13118641078472137, -0.004714511334896088, -0.022356349974870682, -0.0052337911911308765, -0.022939400747418404, 0.030191093683242798, 0.05498896911740303, 0.006327011156827211, -0.015168428421020508, -0.02303050272166729, 0.048466090112924576, 0.05896100401878357, -0.02077118121087551, 0.010048514232039452, 0.07499489933252335, 0.013811013661324978, -0.002903865883126855, -0.021408893167972565, -0.02997245080769062, -0.009201268665492535, 0.05619151145219803, -0.04467625916004181, -0.013218852691352367, 0.03449109196662903, 0.01025804877281189, 0.009023620747029781, 0.010913980193436146, 0.022611435502767563, 0.009720548056066036, 0.011533471755683422, 0.023795757442712784, 0.04325507581233978, 0.016653385013341904, -0.014047877863049507, 0.044639818370342255, 0.03797117620706558, 0.0591796450316906, -0.0295898225158453, 0.014075208455324173, 0.043765243142843246, 0.022975841537117958, -0.024196604266762733, 0.0022752643562853336, 0.025927536189556122, -0.05983557924628258, 0.018475418910384178, 0.012344276532530785, -0.01508643664419651, -0.08060675859451294, -0.03549320995807648, -0.06675930321216583, 0.07958642393350601, 0.07528642565011978, -0.013619700446724892, 0.06402625888586044, -0.035365670919418335, -0.02647414617240429 ]
10,910
burnman.classes.composite
_mass_to_molar_fractions
Converts a set of mass fractions for phases into a set of molar fractions. :param phases: The list of phases for which fractions should be converted. :type phases: list of :class:`burnman.Material` :param mass_fractions: An array of mass fractions of the input phases. :type mass_fractions: numpy.array of floats :returns: An array of molar fractions corresponding to the input molar fractions. :rtype: numpy.array of floats
def _mass_to_molar_fractions(self, phases, mass_fractions): """ Converts a set of mass fractions for phases into a set of molar fractions. :param phases: The list of phases for which fractions should be converted. :type phases: list of :class:`burnman.Material` :param mass_fractions: An array of mass fractions of the input phases. :type mass_fractions: numpy.array of floats :returns: An array of molar fractions corresponding to the input molar fractions. :rtype: numpy.array of floats """ molar_masses = np.array([phase.molar_mass for phase in phases]) moles = mass_fractions / molar_masses return moles / sum(moles)
(self, phases, mass_fractions)
[ 0.041796449571847916, 0.041868824511766434, -0.01930597983300686, 0.00134458823595196, -0.016076253727078438, 0.010512440465390682, -0.006536349654197693, 0.00877996813505888, -0.036802589893341064, 0.0569227859377861, 0.010575768537819386, 0.014131180942058563, 0.009906301274895668, 0.029926981776952744, -0.008029079996049404, -0.0090378038585186, -0.031844913959503174, -0.0005829564179293811, 0.014447820372879505, -0.0038471731822937727, -0.0036458808463066816, -0.0012394185177981853, -0.0029990309849381447, 0.035336997359991074, -0.04997480288147926, -0.019360261037945747, 0.03618740290403366, 0.011326656676828861, -0.06546301394701004, -0.0035124397836625576, 0.016664298251271248, 0.0525079220533371, 0.00415250426158309, 0.020518258213996887, -0.025892086327075958, 0.02355799823999405, 0.050988052040338516, 0.07498029619455338, -0.1254255324602127, 0.011272375471889973, 0.02462552674114704, 0.015379645861685276, 0.06061390042304993, 0.02699580229818821, 0.011634250171482563, -0.0033021005801856518, -0.03043360635638237, 0.04812924563884735, -0.003256866242736578, 0.06379839032888412, 0.018690792843699455, -0.04812924563884735, 0.011896608397364616, 0.011028110980987549, 0.013335057534277439, 0.05938352644443512, 0.03276769444346428, 0.02162197232246399, 0.019541196525096893, -0.004050727467983961, 0.028696609660983086, 0.004417124669998884, 0.013986431062221527, -0.07081874459981918, 0.014900162816047668, -0.015225850045681, 0.02502358891069889, 0.009915348142385483, 0.026127304881811142, -0.012339903973042965, -0.021350568160414696, 0.020572537556290627, -0.01174281258136034, -0.01524394378066063, 0.04042132943868637, 0.05938352644443512, 0.02158578485250473, -0.021006787195801735, 0.004030372016131878, 0.06126527115702629, -0.005391922779381275, -0.026054929941892624, -0.03882908448576927, 0.0053964462131261826, -0.005265267100185156, -0.06256801635026932, -0.002980937249958515, -0.042194511741399765, 0.01234895084053278, -0.06879225373268127, -0.018980292603373528, -0.013633604161441326, 0.03665784001350403, 0.032496288418769836, -0.021459130570292473, 0.003516963217407465, -0.07744104415178299, -0.014203555881977081, -0.05004717782139778, -0.0401318296790123, 0.004593538586050272, 0.05384685471653938, 0.01080193929374218, 0.0023612279910594225, 0.030578354373574257, 0.0028904688078910112, 0.011426172219216824, -0.0507347397506237, 0.030723104253411293, 0.0011783522786572576, -0.0894552618265152, 0.026127304881811142, -0.05438966676592827, -0.008789015002548695, -0.019088855013251305, -0.034142814576625824, 0.023974154144525528, -0.014728273265063763, 0.033762846142053604, -0.006500162184238434, 0.017460422590374947, 0.01289176195859909, 0.011263329535722733, 0.018464623019099236, 0.07678966969251633, 0.017795154824852943, 0.07852666079998016, -0.03264103829860687, 0.011028110980987549, 0.009291115216910839, -0.016338612884283066, 0.04349725693464279, -0.04418481886386871, -0.042556386440992355, -0.0034016158897429705, 0.0026710827369242907, -0.058370281010866165, -0.026398710906505585, 0.08518514782190323, -0.036404527723789215, -0.045342814177274704, -0.01833796687424183, -0.045632313936948776, 0.0027977386489510536, -0.07592117041349411, 0.04197738692164421, 0.030524075031280518, -0.012303716503083706, -0.06897319108247757, -0.002913085976615548, -0.011968983337283134, 0.028009049594402313, 0.06195283308625221, -0.07599354535341263, 0.0022040389012545347, 0.011227142065763474, 0.017641358077526093, -0.023395156487822533, 0.004460097290575504, 0.05008336529135704, -0.004010016564279795, 0.03267722576856613, -0.012204201892018318, 0.05384685471653938, 0.00895185861736536, -0.0023815834429115057, 0.005690468940883875, -0.05362972989678383, -0.07118061929941177, 0.0062061394564807415, 0.022562844678759575, 0.04859968274831772, -0.057284656912088394, -0.027448145672678947, 0.08460614830255508, -0.035608403384685516, -0.010774798691272736, 0.01062100287526846, -0.06282132863998413, -0.002535379957407713, -0.011371891014277935, -0.01650145649909973, 0.016881423071026802, -0.03940808027982712, 0.042194511741399765, 0.06919031590223312, 0.011498547159135342, 0.02008400857448578, 0.005984491668641567, -0.047658808529376984, 0.06282132863998413, -0.0030442653223872185, -0.023992247879505157, 0.0525079220533371, 0.004455573856830597, -0.044112443923950195, 0.014366398565471172, -0.032966725528240204, 0.0017709210515022278, 0.025313088670372963, -0.05395541712641716, -0.011471406556665897, 0.0011421649251133204, 0.0044442652724683285, 0.010892407968640327, -0.024770276620984077, -0.0463198758661747, 0.03973376750946045, 0.022906625643372536, -0.04787593334913254, 0.014357351697981358, 0.0035554124042391777, 0.04769499599933624, 0.010593862272799015, 0.02310565672814846, -0.025747336447238922, 0.11116769909858704, -0.057574156671762466, 0.027176739647984505, -0.0026371569838374853, -0.030632635578513145, 0.02272568829357624, -0.030162200331687927, 0.04161551222205162, -0.046428438276052475, 0.03475800156593323, -0.04812924563884735, 0.04592181369662285, -0.009363490156829357, 0.01350694801658392, -0.01445686724036932, 0.00826882105320692, -0.036748308688402176, -0.04812924563884735, -0.026471085846424103, 0.01564200408756733, 0.014728273265063763, -0.02357609197497368, 0.01292794942855835, 0.020735381171107292, -0.013407432474195957, -0.056126661598682404, -0.03700162097811699, 0.05891309306025505, 0.05583716183900833, -0.045306626707315445, -0.01000581681728363, -0.0039602587930858135, -0.027484333142638206, 0.03685687109827995, -0.0331476591527462, 0.027140552178025246, 0.03381712734699249, -0.006264944095164537, 0.0353550910949707, -0.0230694692581892, -0.0762830451130867, 0.05504104122519493, 0.011842327192425728, -0.02545783855021, 0.02274378202855587, -0.08822488784790039, 0.06423263996839523, 0.01767754554748535, -0.014619710855185986, 0.00019153879838995636, 0.009797738865017891, 0.024589339271187782, -0.015488208271563053, -0.013072699308395386, 0.08902101218700409, -0.01041292492300272, -0.021097255870699883, -0.05134992301464081, 0.0004031502758152783, 0.04128982499241829, 0.061446208506822586, -0.0315554141998291, -0.019052667543292046, 0.059600651264190674, -0.027900487184524536, -0.06162714585661888, 0.035608403384685516, -0.015343458391726017, 0.009083038195967674, 0.06879225373268127, 0.007300808560103178, -0.021839097142219543, 0.01750565692782402, 0.015063006430864334, 0.004625202622264624, -0.05793603137135506, -0.03897383436560631, -0.015623911283910275, 0.026670115068554878, -0.013823587447404861, -0.02234572172164917, -0.00917803030461073, -0.011878514662384987, -0.008205493912100792, -0.027592893689870834, 0.03922714293003082, 0.036730214953422546, 0.016465269029140472, -0.0814940333366394, -0.032948631793260574, 0.02885945327579975, -0.03658546507358551, 0.02931179665029049, -0.008422617800533772, 0.025982555001974106, -0.022128596901893616, 0.025294994935393333, 0.015976738184690475, 0.05865978077054024, 0.008241681382060051, 0.01961357146501541, 0.019577383995056152, 0.02424556016921997, -0.0028316641692072153, 0.019577383995056152, -0.02853376790881157, 0.028606140986084938, 0.052544109523296356, 0.014520195312798023, -0.02355799823999405, -0.040638454258441925, 0.04241163656115532, 0.026272054761648178, -0.01700807921588421, -0.05395541712641716, -0.03468562662601471, -0.015750566497445107, -0.0173699539154768, 0.03088594786822796, -0.08446139842271805, 0.045632313936948776, -0.08938288688659668, -0.021097255870699883, -0.02741195820271969, 0.045704688876867294, -0.012728919275105, 0.03077738545835018, 0.024824557825922966, -0.021296286955475807, 0.019143136218190193, -0.007911470718681812, -0.014384492300450802, -0.02733958326280117, 0.020463977009058, -0.038358647376298904, 0.042520198971033096, -0.023377062752842903, 0.004365105647593737, -0.012186108157038689, 0.02665202133357525, -0.0060478197410702705, -0.05598191171884537, -0.04320775717496872, -0.005129564553499222, 0.029510827735066414, 0.04262876138091087, 0.045668501406908035, -0.022653313353657722, 0.010874314233660698, -0.04364200681447983, -0.030686916783452034, -0.025928273797035217, 0.040602266788482666, -0.034486595541238785, -0.011353797279298306, 0.06365364044904709, -0.02970985695719719, 0.005473344586789608, -0.0415431372821331, 0.04751405864953995, -0.0029176094103604555, 0.01634765975177288, -0.01021389476954937, 0.012584169395267963, -0.01930597983300686, -0.08402714878320694, -0.030632635578513145, 0.009390630759298801, -0.0007418417371809483, -0.018781261518597603, 0.04197738692164421, -0.037164460867643356, -0.018582230433821678, 0.016302425414323807, -0.009435865096747875, -0.023992247879505157, 0.010792892426252365, 0.03472181409597397, -0.027864299714565277, 0.02542165108025074, 0.014981584623456001, -0.03349144011735916, -0.07331568002700806, 0.03667593374848366, 0.02896801568567753, -0.06759806722402573, -0.02858804725110531, 0.02818998694419861, -0.08952763676643372, -0.028045237064361572, -0.012511794455349445, 0.013434573076665401, 0.022436190396547318, 0.009752505458891392, 0.005821648519486189, 0.003985137678682804, 0.03428756445646286, -0.00985202006995678, -0.03890145942568779, 0.00961680244654417, -0.04595800116658211, -0.1357751339673996, 0.002942488295957446, 0.024498872458934784, 0.010494346730411053, -0.043352507054805756, 0.026851052418351173, 0.0010437803575769067, 0.05362972989678383, -0.03269531950354576, 0.007893376983702183, -0.012656544335186481, -0.07657254487276077, 0.008431664668023586, 0.027122458443045616, 0.06803231686353683, -0.03493893891572952, -0.0994429811835289, 0.0632917657494545, 0.017668498679995537, 0.009453958831727505, 0.02165815979242325, -0.0052969311363995075, 0.019125042483210564, 0.028642328456044197, 0.04244782403111458, -0.030252669006586075, -0.03316575288772583, -0.0015266560949385166, -0.03508368507027626, 0.008698547258973122, -0.051060426980257034, 0.0018025849713012576, 0.02665202133357525, -0.06141002103686333, -0.011968983337283134, 0.0023080778773874044, -0.051892735064029694, 0.08757351338863373, 0.01269273180514574, 0.10081810504198074, -0.009453958831727505, -0.018274638801813126, -0.033400971442461014, 0.06846656650304794, 0.010765752755105495, 0.004116317257285118, 0.049106303602457047, -0.007029403001070023, 0.050264302641153336, 0.04237544909119606, 0.018229404464364052, 0.0018907918129116297, 0.011869467794895172, 0.0439315065741539, 0.013407432474195957, 0.02500549517571926, 0.011607109569013119, -0.04469144344329834, -0.008422617800533772, -0.057682719081640244, -0.008784491568803787, -0.007563167251646519, -0.002217609202489257, -0.007463651709258556, 0.006812278646975756, -0.0005532714421860874, 0.0004509289574343711, -0.03157350793480873, 0.0014180938014760613, -0.001649919431656599, -0.0393357053399086, 0.034866563975811005, -0.10964783281087875, -0.024064622819423676, 0.024028435349464417, 0.019776415079832077, 0.04364200681447983, 0.018419388681650162, 0.04364200681447983, -0.029981262981891632, 0.014294023625552654, 0.025186432525515556, 0.03010791912674904, 0.026778677478432655, 0.062206145375967026, -0.022544750943779945, -0.008680453523993492, -0.05283360928297043, 0.01231276337057352, 0.02811761200428009, -0.02621777355670929, -0.03591599687933922, 0.02739386446774006, -0.04946817830204964, -0.01921551115810871, -0.05782746896147728, 0.049902427941560745, -0.03593409061431885, 0.024571245536208153, -0.03651309013366699, 0.021857190877199173, -0.024752182886004448, 0.024480778723955154, -0.0038856223691254854, -0.02154959738254547, -0.07874378561973572, -0.02082584984600544, -0.04668175056576729, -0.01683618873357773, -0.10313409566879272, -0.011272375471889973, 0.00206494377925992, -0.04964911565184593, -0.010675284080207348, -0.04628368839621544, 0.004758643452078104, 0.015922456979751587, 0.023684654384851456, 0.017306625843048096, 0.057212281972169876, -0.04508950188755989, 0.030650729313492775, 0.061446208506822586, -0.0401318296790123, 0.0057673673145473, 0.03195347636938095, -0.003109854878857732, -0.015180615708231926, 0.029040390625596046, 0.02659774012863636, -0.024100810289382935, 0.022852344438433647, 0.04823780804872513, 0.015280130319297314, 0.0014701132895424962, -0.10349597036838531, 0.02625396102666855, 0.06767044216394424, -0.02238190919160843, 0.013687885366380215, -0.008485945872962475, 0.008490469306707382, 0.0014746366068720818, 0.06122908368706703, -0.04443813115358353, 0.04432956874370575, 0.02739386446774006, -0.06698288023471832, 0.03625977784395218, 0.02274378202855587, 0.0022074314765632153, -0.024498872458934784, 0.004179644864052534, 0.028208080679178238, -0.008341195993125439, 0.01928788609802723, -0.004333441611379385, 0.010132472962141037, -0.050988052040338516, 0.017623264342546463, -0.0707101821899414, -0.021350568160414696, -0.017442328855395317, 0.04052989184856415, 0.0013547658454626799, -0.04888918250799179, 0.01786752976477146, 0.027086270973086357, 0.010720518417656422, -0.03777964785695076, 0.0031777063850313425, 0.06763425469398499, -0.009390630759298801, -0.019378354772925377, -0.02509596385061741, 0.04740549623966217, -0.011598062701523304, -0.03698352724313736, -0.025747336447238922, -0.05214604735374451, -0.01964975893497467, -0.021278193220496178, 0.008436188101768494, 0.043714381754398346, 0.029185140505433083, 0.021260099485516548, 0.022580938413739204, 0.034468501806259155, 0.011353797279298306, 0.005477868020534515, -0.016999032348394394, 0.03202585130929947, 0.007382230367511511, -0.04284588620066643, -0.008092408068478107, -0.000654765812214464, 0.010051051154732704, -0.003080452559515834, -0.0018274638568982482, -0.021784815937280655, -0.008766398765146732, -0.008897577412426472, 0.053774479776620865, -0.029890794306993484, -0.013796446844935417, -0.009725364856421947, 0.01236704457551241, 0.015379645861685276, -0.010539581067860126, -0.027936674654483795, -0.04925105348229408, -0.04697125032544136, -0.10747658461332321, -0.017858482897281647, 0.019432635977864265, 0.0469350628554821, -0.009250405244529247, -0.07110824435949326, -0.0033495964016765356, -0.033400971442461014, -0.05999871343374252, -0.020463977009058, 0.0046681747771799564, -0.01236704457551241, -0.009743458591401577, -0.020138289779424667, -0.013642651028931141, -0.04237544909119606, -0.006020679138600826, -0.014891115948557854, -0.016085300594568253, 0.00009626414248486981, 0.0336361899971962, -0.005812601651996374, 0.08004653453826904, -0.02230953425168991, 0.02969176322221756, 0.00924588181078434, -0.007427464239299297, -0.002876898506656289, -0.005301454570144415, -0.033364783972501755, -0.017243297770619392, 0.024516966193914413, -0.012964136898517609, -0.006952504627406597, -0.01812988892197609, 0.09958773106336594, 0.003073667408898473, -0.011209048330783844, -0.001620517112314701, 0.030904041603207588, 0.011634250171482563, -0.0019235865911468863, 0.042990636080503464, 0.05594572424888611, -0.018256545066833496, -0.01968594640493393, 0.0806979089975357, 0.042918261140584946, 0.026887239888310432, 0.008522133342921734, 0.03727302327752113, -0.02270759455859661, 0.004410339519381523, 0.005857835989445448, 0.06799612939357758, -0.0105848154053092, 0.050662364810705185, -0.03083166666328907, 0.03189919516444206, -0.025349276140332222, 0.022852344438433647, 0.016103394329547882, 0.05435347929596901, 0.0005363086238503456, 0.04161551222205162, 0.008517609909176826, 0.10479871928691864, -0.01754184253513813, 0.004482714459300041, 0.0048174480907619, 0.04125363752245903, 0.031374476850032806, -0.03635024651885033, -0.01428497675806284, 0.02614539861679077, -0.014900162816047668, -0.06575251370668411, 0.02234572172164917, 0.0433163195848465, -0.05283360928297043, 0.008300485089421272, -0.014764460735023022, 0.04201357439160347, 0.013796446844935417, 0.003740872722119093, 0.02969176322221756, -0.021495318040251732, 0.04776737093925476, 0.03578934073448181, 0.011489500291645527, -0.030632635578513145, -0.011996123939752579, -0.027918580919504166, 0.11507593840360641, 0.03209822624921799, 0.002876898506656289, -0.04783974587917328, 0.06687431782484055, 0.001316316775046289, -0.020554443821310997, -0.026471085846424103, -0.0032365107908844948, 0.05116898566484451, -0.007956705056130886, -0.01615767553448677, -0.013705979101359844, -0.029908888041973114, 0.00025444268248975277, -0.009698224253952503, -0.0585150308907032, 0.07577642053365707, 0.027285302057862282, -0.006748950574547052, -0.011236188933253288, -0.028696609660983086, -0.0585150308907032, -0.019559290260076523, 0.022110503166913986, 0.06926269084215164, -0.010476252995431423, -0.020463977009058, 0.01037673745304346, -0.020536351948976517, 0.007563167251646519, 0.030216481536626816, -0.011905655264854431, 0.021694347262382507, 0.03752633556723595, -0.03459515795111656, -0.004894345998764038, -0.07512504607439041, -0.06539063900709152, 0.01575961336493492, -0.003116640029475093, 0.029836513102054596, -0.029601294547319412, 0.018365107476711273, -0.02587399259209633, -0.021459130570292473 ]
10,911
burnman.classes.composite
_set_endmember_properties
Sets endmember_formulae, endmember_names, endmembers_per_phase and elements as properties of the Composite. This helper function is used to set all properties at the same time while still allowing the properties to be stored and documented as individual cached_properties.
def _set_endmember_properties(self): """ Sets endmember_formulae, endmember_names, endmembers_per_phase and elements as properties of the Composite. This helper function is used to set all properties at the same time while still allowing the properties to be stored and documented as individual cached_properties. """ endmember_formulae = [] endmember_names = [] endmembers_per_phase = [] for ph_idx, ph in enumerate(self.phases): if isinstance(ph, Solution): endmember_formulae.extend(ph.endmember_formulae) endmember_names.extend( [name + " in " + ph.name for name in ph.endmember_names] ) endmembers_per_phase.append(ph.n_endmembers) elif isinstance(ph, Mineral): endmember_formulae.append(ph.formula) endmember_names.append(ph.name) endmembers_per_phase.append(1) else: raise Exception( "Unsupported Material type, can only read" "burnman.Mineral or burnman.Solution" ) # Populate the stoichiometric matrix keys = [] for f in endmember_formulae: keys.extend(f.keys()) # Save to dict so that we only need to do this once self.__dict__["endmember_formulae"] = endmember_formulae self.__dict__["endmember_names"] = endmember_names self.__dict__["endmembers_per_phase"] = endmembers_per_phase self.__dict__["elements"] = sort_element_list_to_IUPAC_order(set(keys))
(self)
[ 0.015557873994112015, 0.002242514630779624, -0.01979093626141548, 0.020267384126782417, -0.06699597835540771, -0.04584899917244911, -0.022209826856851578, 0.029393203556537628, -0.009052520617842674, -0.008255385793745518, -0.02840365655720234, 0.038409072905778885, 0.005818168632686138, 0.039545219391584396, -0.035348810255527496, 0.02877015620470047, 0.026387913152575493, -0.011746286414563656, -0.001367498654872179, -0.023510897532105446, -0.039178721606731415, -0.04716839641332626, 0.026314614340662956, 0.07223691046237946, -0.007888887077569962, -0.00812711101025343, 0.017747703939676285, 0.015191375277936459, 0.05072343349456787, -0.0025906884111464024, -0.0564408153295517, -0.012497609481215477, -0.025050193071365356, -0.014623302035033703, 0.10921664535999298, -0.03756612911820412, 0.03763942793011665, 0.023199373856186867, -0.09081840515136719, 0.1088501438498497, 0.020450633019208908, -0.0054562510922551155, 0.04874433949589729, 0.02374912239611149, 0.040718015283346176, 0.007581944111734629, 0.017124656587839127, 0.07260341197252274, 0.03688810393214226, -0.054754920303821564, 0.008085879497230053, -0.026772737503051758, 0.06901172548532486, 0.026992637664079666, -0.0749490037560463, 0.04702179506421089, 0.0037726471200585365, 0.04222066327929497, 0.029063355177640915, 0.024958567693829536, -0.04603224992752075, -0.060142453759908676, -0.007614012807607651, -0.09462998807430267, -0.029649753123521805, -0.01905793696641922, -0.056110966950654984, 0.0116088492795825, 0.03250844404101372, 0.06373414397239685, -0.014760739170014858, 0.02281455136835575, 0.026974311098456383, -0.00420786440372467, -0.03040107525885105, -0.021696729585528374, -0.04438300430774689, 0.01262588333338499, 0.0060747177340090275, -0.04834119230508804, -0.0033901138231158257, 0.05944610759615898, -0.04368665814399719, -0.035971857607364655, 0.029374878853559494, 0.05211612954735756, 0.04874433949589729, 0.03296656906604767, -0.008493609726428986, -0.04555580019950867, -0.019259512424468994, 0.014696601778268814, 0.03188539668917656, 0.03320479020476341, 0.037511151283979416, 0.0015736542409285903, -0.059739306569099426, -0.027084261178970337, -0.05710051208734512, -0.0472416952252388, -0.05013703554868698, -0.01840740256011486, 0.02754238434135914, 0.03785932809114456, 0.03052935004234314, -0.006317523308098316, -0.01936946250498295, -0.06509018689393997, -0.0253433920443058, -0.02836700715124607, -0.011187375523149967, 0.002460123272612691, -0.04196411371231079, -0.010069554671645164, 0.045225951820611954, -0.00043120875488966703, -0.04119446501135826, -0.04222066327929497, 0.06270794570446014, 0.008722671307623386, 0.0388488732278347, -0.021971603855490685, -0.020707182586193085, 0.02963142842054367, -0.026131365448236465, -0.014550002291798592, 0.007036777213215828, 0.06083879992365837, 0.02257632650434971, -0.06725253164768219, -0.0320136696100235, -0.0370713546872139, -0.029374878853559494, 0.01600683480501175, -0.013752867467701435, -0.025141818448901176, 0.04702179506421089, -0.060362353920936584, -0.03404773771762848, 0.036649879068136215, 0.03357129171490669, 0.004659115802496672, 0.03650328144431114, -0.006042649038136005, -0.0581633597612381, 0.02497689425945282, 0.010298616252839565, 0.01646495796740055, -0.06523678451776505, -0.03763942793011665, -0.0396551713347435, -0.03826247528195381, -0.03811587393283844, -0.04335680976510048, 0.0019813841208815575, -0.01933281123638153, 0.00019914055883418769, 0.036833129823207855, 0.025764865800738335, 0.030089551582932472, -0.04643539711833, -0.003983383998274803, -0.06124195083975792, 0.042697109282016754, 0.006170923355966806, 0.035696983337402344, 0.06523678451776505, -0.11786601692438126, -0.01404606644064188, 0.006161761004477739, -0.02877015620470047, -0.0472416952252388, -0.03274666890501976, 0.03599018231034279, 0.003763484535738826, 0.018856363371014595, 0.03133564814925194, 0.0004953460302203894, -0.009075426496565342, 0.027652334421873093, -0.02411562204360962, -0.03280164301395416, -0.01650160923600197, -0.04665529727935791, 0.006661115679889917, 0.04332015663385391, 0.0012174631701782346, 0.0014499608660116792, 0.046545349061489105, -0.03822582587599754, 0.04291700944304466, -0.0010931972647085786, -0.03184874728322029, 0.03340636566281319, -0.022521350532770157, -0.004329266957938671, 0.034340936690568924, 0.006047230213880539, -0.008805133402347565, 0.007013870868831873, -0.08539421856403351, -0.004736997187137604, 0.007760612294077873, -0.002895340556278825, 0.03564200922846794, -0.0035092260222882032, -0.03129899874329567, 0.03778602555394173, -0.004049811977893114, 0.036741506308317184, -0.021696729585528374, -0.027377460151910782, 0.015246350318193436, -0.0337911881506443, 0.04024156928062439, -0.07593855261802673, -0.010866689495742321, -0.010225316509604454, 0.006432054098695517, 0.02809213288128376, 0.009666405618190765, -0.008718090131878853, 0.02917330525815487, -0.016822295263409615, -0.06611638516187668, -0.00030579743906855583, -0.03271001949906349, 0.0025059354957193136, -0.02994295209646225, -0.005428763572126627, -0.037511151283979416, 0.00874099601060152, -0.05398527532815933, 0.01558536197990179, -0.007210863754153252, 0.027469085529446602, -0.0456291027367115, 0.04768149554729462, -0.03789597749710083, 0.04951398819684982, -0.025819839909672737, -0.05614761635661125, 0.011443925090134144, 0.006798552814871073, -0.0506867840886116, 0.00875932164490223, 0.09316399693489075, -0.0013067972613498569, -0.00500270863994956, 0.025984765961766243, -0.013267256319522858, 0.0160618107765913, -0.006509935017675161, 0.018150852993130684, 0.002162342891097069, -0.05479156970977783, -0.04852444306015968, -0.001484320149756968, 0.05849320814013481, -0.05050353333353996, 0.05347217619419098, -0.08671361953020096, 0.07102746516466141, 0.022319776937365532, 0.045189302414655685, 0.03807922452688217, 0.018728088587522507, 0.06461373716592789, -0.05772356316447258, -0.011645499616861343, -0.025636591017246246, -0.04159761592745781, -0.006711509544402361, 0.03685145452618599, -0.02312607504427433, 0.03305819258093834, -0.03232519328594208, -0.03034610114991665, -0.04999043792486191, 0.018059227615594864, 0.08414812386035919, 0.013148144818842411, 0.0008171778172254562, 0.009822167456150055, 0.015209699980914593, -0.03364459052681923, -0.011260675266385078, 0.018169177696108818, 0.01655658334493637, -0.02519679255783558, -0.01936946250498295, -0.0016297743422910571, 0.0033168140798807144, 0.00006893327372381464, 0.05306902527809143, -0.008626465685665607, -0.03833577409386635, -0.03848237544298172, 0.02754238434135914, -0.015548711642622948, 0.013835329562425613, 0.0027281255461275578, 0.03796927630901337, 0.00852567795664072, -0.026387913152575493, -0.015319650061428547, 0.04999043792486191, 0.0076369186863303185, 0.07835744321346283, -0.013826167210936546, 0.0463254489004612, 0.020615557208657265, 0.005699056200683117, 0.041890814900398254, 0.046398747712373734, -0.024885268881917, -0.03763942793011665, -0.03192204609513283, 0.03098747320473194, 0.07003792375326157, -0.029411528259515762, -0.05863980948925018, 0.05446172133088112, 0.034799061715602875, 0.037053029984235764, -0.016941407695412636, -0.013212282210588455, 0.033901140093803406, 0.0206338819116354, -0.05134648084640503, -0.0920644998550415, -0.05830996111035347, 0.035293836146593094, 0.06124195083975792, -0.013716218061745167, -0.028513606637716293, 0.02845863252878189, -0.029594779014587402, 0.055304668843746185, -0.006413728930056095, 0.08458792418241501, 0.06648287922143936, -0.03848237544298172, -0.020615557208657265, 0.04691184684634209, -0.02204490266740322, 0.04145101457834244, -0.014110203832387924, -0.022832876071333885, 0.05332557484507561, -0.04097456485033035, -0.0035664914175868034, 0.018893012776970863, 0.027890559285879135, 0.023199373856186867, -0.0011659243609756231, -0.060179103165864944, -0.09719548374414444, -0.023639172315597534, -0.009473994374275208, 0.036338355392217636, 0.024133946746587753, -0.038409072905778885, 0.007444506976753473, -0.009176214225590229, -0.022411402314901352, -0.03349798917770386, 0.02790888398885727, 0.0616084486246109, -0.05787016078829765, 0.03767607733607292, -0.02953980304300785, 0.04845114052295685, 0.009446506388485432, 0.007701056078076363, 0.05112658441066742, -0.026351263746619225, 0.06468703597784042, -0.006111367605626583, -0.07535215467214584, 0.0016847491497173905, -0.0038573998026549816, -0.07681814581155777, 0.0447128526866436, -0.006381660234183073, 0.014586652629077435, 0.04837784171104431, -0.02248470112681389, 0.04244055971503258, 0.04757154360413551, 0.02975970320403576, 0.041121166199445724, 0.020175758749246597, -0.060912102460861206, -0.00977635569870472, 0.025508316233754158, 0.046948496252298355, -0.004583525471389294, 0.024243894964456558, -0.05050353333353996, 0.03432261198759079, -0.0785040408372879, 0.019406111910939217, 0.07300656288862228, -0.007078008260577917, -0.05581776797771454, 0.06047230213880539, 0.010536840185523033, 0.039361972361803055, -0.009950442239642143, -0.020249059423804283, -0.04526260122656822, -0.04068136587738991, -0.027212535962462425, -0.04214736074209213, -0.019589360803365707, 0.06197494640946388, -0.1054050549864769, 0.04533590003848076, 0.01878306455910206, 0.007155889179557562, 0.04881764203310013, 0.05013703554868698, -0.0029892558231949806, -0.025270093232393265, -0.06021575257182121, -0.05054018646478653, -0.03347966447472572, -0.05640416592359543, 0.007256676442921162, -0.043833255767822266, 0.0240239966660738, -0.030602650716900826, -0.006244223564863205, 0.0051172394305467606, -0.05087003484368324, 0.00019527514814399183, -0.025050193071365356, -0.01487985160201788, 0.005506644491106272, -0.010280291549861431, 0.00836991611868143, -0.020084135234355927, -0.00558910658583045, -0.04878098890185356, 0.013725380413234234, -0.019571036100387573, 0.00989546813070774, -0.001288472325541079, 0.036521606147289276, 0.0024990637321025133, 0.039911720901727676, 0.012369334697723389, -0.06695932894945145, 0.07696475088596344, -0.02266795001924038, 0.01828829012811184, 0.0003753749479074031, 0.033168140798807144, -0.03553205728530884, 0.020523933693766594, 0.00775603111833334, -0.00020615557150449604, 0.045042701065540314, -0.0522993803024292, 0.015961023047566414, 0.039545219391584396, 0.0008658534497953951, -0.017940117046236992, 0.06684938073158264, 0.007943861186504364, -0.01960768550634384, 0.005822749808430672, -0.07293326407670975, 0.04038816690444946, -0.03525718301534653, -0.010985801927745342, 0.011508062481880188, -0.038409072905778885, -0.058823056519031525, -0.024830294772982597, 0.033443015068769455, 0.01262588333338499, -0.003303070552647114, -0.025599941611289978, -0.0060518113896250725, 0.031867071986198425, -0.030016252771019936, -0.018425727263092995, -0.03613678365945816, -0.004354463890194893, 0.006784809287637472, 0.013386368751525879, 0.04434635490179062, 0.008937989361584187, 0.03289326652884483, 0.06549333781003952, 0.0025128074921667576, 0.034487538039684296, -0.03826247528195381, -0.012635046616196632, 0.006345010362565517, 0.036466632038354874, 0.011214863508939743, -0.0057265437208116055, -0.01334971934556961, -0.03785932809114456, -0.05174963176250458, 0.007284163497388363, -0.018453214317560196, 0.03756612911820412, -0.053142327815294266, 0.008145435713231564, -0.0032732924446463585, -0.008553165942430496, 0.02695598639547825, -0.01674899458885193, 0.0463254489004612, 0.015676986426115036, 0.014824876561760902, 0.03580693155527115, 0.00447128526866436, 0.045042701065540314, 0.003937571309506893, 0.0037726471200585365, 0.041121166199445724, -0.03604515641927719, -0.01597018539905548, 0.0041964114643633366, -0.02145850472152233, -0.020175758749246597, -0.028916755691170692, -0.012680858373641968, 0.05798010900616646, -0.02204490266740322, 0.009075426496565342, 0.05112658441066742, -0.0107475770637393, 0.07370290905237198, -0.006509935017675161, 0.019314486533403397, 0.03243514522910118, -0.0011561892461031675, -0.045995600521564484, 0.041524313390254974, 0.034487538039684296, 0.02525176666676998, -0.029100004583597183, 0.007824749685823917, 0.009194538928568363, 0.018581489101052284, 0.012451796792447567, -0.03855567425489426, 0.02145850472152233, 0.017784355208277702, -0.00851193442940712, 0.008516515605151653, -0.013477993197739124, 0.02365749701857567, 0.031995344907045364, 0.0018611267441883683, -0.00006864694296382368, 0.00860355980694294, -0.021348554641008377, 0.006354173179715872, 0.0011098041431978345, 0.002744159894064069, 0.007980511523783207, -0.0312623493373394, 0.029521478340029716, -0.02127525582909584, 0.05922620743513107, 0.004535422660410404, -0.040901266038417816, 0.01936946250498295, -0.02953980304300785, 0.00009964186028810218, 0.020340682938694954, 0.03234351798892021, -0.061535149812698364, 0.020670533180236816, 0.014348427765071392, 0.02398734726011753, -0.040534768253564835, 0.007371207233518362, 0.02636958844959736, -0.03870227187871933, 0.05603766813874245, 0.03040107525885105, -0.033168140798807144, -0.04020491987466812, 0.018022578209638596, 0.00579068111255765, -0.06168174743652344, -0.0022826003842055798, 0.03580693155527115, -0.021348554641008377, -0.01208529807627201, 0.02800050936639309, -0.012754158116877079, -0.0013961313525214791, 0.012754158116877079, 0.030639300122857094, 0.05768691003322601, 0.004205573815852404, -0.03142727166414261, 0.0116088492795825, -0.0010256239911541343, -0.01106826402246952, 0.04544585198163986, 0.010921664535999298, 0.0035642008297145367, 0.005973930470645428, -0.02037733420729637, -0.023969022557139397, -0.08378162980079651, -0.03512891009449959, -0.014696601778268814, -0.021916627883911133, -0.0002561196743045002, -0.06622633337974548, 0.03719962760806084, -0.03450586274266243, -0.008067554794251919, -0.03564200922846794, -0.011324812658131123, 0.012259384617209435, -0.03811587393283844, 0.04918413981795311, -0.02096373215317726, -0.0023100876715034246, -0.006468703970313072, -0.011288163252174854, -0.05911625549197197, 0.02303444966673851, 0.0018966313218697906, 0.03567865863442421, 0.007430763449519873, -0.008892177604138851, 0.018269965425133705, 0.028916755691170692, -0.039911720901727676, 0.034762412309646606, 0.008259966969490051, -0.08407482504844666, 0.06028905138373375, 0.020615557208657265, -0.03866562247276306, 0.006409147754311562, -0.017802679911255836, -0.0073666260577738285, 0.038005925714969635, 0.005437925923615694, 0.006826040334999561, -0.01973596028983593, -0.03397443890571594, 0.008530260063707829, 0.009194538928568363, 0.013331393711268902, -0.009748867712914944, -0.012754158116877079, -0.01597018539905548, 0.008003417402505875, -0.07806424796581268, 0.06805882602930069, 0.00989546813070774, 0.02790888398885727, 0.06992796808481216, -0.0236208476126194, 0.07454585283994675, 0.0008040067623369396, -0.04782809317111969, -0.0070734270848333836, -0.019955860450863838, -0.05288577824831009, 0.019406111910939217, -0.028935080394148827, -0.036686528474092484, -0.007403275929391384, 0.02525176666676998, 0.03490900993347168, 0.012864108197391033, -0.06446713954210281, 0.008681440725922585, 0.012607558630406857, 0.05929950624704361, 0.02371247299015522, -0.020890431478619576, 0.021733378991484642, -0.06028905138373375, 0.02272292599081993, -0.0564408153295517, 0.01162717491388321, 0.03681480512022972, 0.00929990690201521, 0.006839783862233162, -0.03146392107009888, -0.021385205909609795, 0.017601104453206062, 0.0005800988874398172, 0.021256931126117706, 0.03533048555254936, -0.021605104207992554, 0.0074628316797316074, 0.0035848163533955812, 0.008608140982687473, 0.005332557484507561, 0.03320479020476341, 0.052226077765226364, -0.028605232015252113, 0.03947192057967186, 0.09998087584972382, 0.0073666260577738285, -0.05442507192492485, 0.038592323660850525, -0.0337911881506443, 0.015594524331390858, 0.055707819759845734, -0.04119446501135826, -0.023016124963760376, 0.03040107525885105, 0.027304161339998245, 0.036283381283283234, -0.07843074202537537, 0.008292035199701786, 0.0025425853673368692, -0.00351151661016047, 0.014760739170014858, -0.01717963069677353, -0.03613678365945816, -0.020487282425165176, 0.04075466841459274, -0.007577362935990095, 0.04145101457834244, -0.014256803318858147, -0.03789597749710083, 0.02889843098819256, -0.0018863235600292683, -0.018178340047597885, 0.046948496252298355, -0.017628591507673264, 0.031720470637083054, 0.014412565156817436, 0.021843329071998596, -0.032361842691898346, 0.0926508978009224, -0.020304033532738686, -0.003710800316184759, 0.039911720901727676, -0.03536713495850563, 0.024133946746587753, 0.012277710251510143, -0.0007335702539421618, 0.011315650306642056, 0.060362353920936584, -0.07513225823640823, 0.04145101457834244, 0.012525096535682678, -0.030565999448299408, -0.10100706666707993, -0.04430970549583435, -0.04643539711833, 0.0033076517283916473, 0.036521606147289276, 0.009167050942778587, 0.08766651153564453, 0.028385331854224205, -0.018031740561127663 ]
10,912
burnman.classes.composite
chemical_potential
Returns the chemical potentials of the currently defined components in the composite. Raises an exception if the assemblage is not equilibrated. :param components: List of formulae of the desired components. If not specified, the method uses the components specified by a previous call to set_components. :type components: list of dictionaries :returns: The chemical potentials of the desired components in the equilibrium composite. :rtype: numpy.array of floats
def chemical_potential(self, components=None): """ Returns the chemical potentials of the currently defined components in the composite. Raises an exception if the assemblage is not equilibrated. :param components: List of formulae of the desired components. If not specified, the method uses the components specified by a previous call to set_components. :type components: list of dictionaries :returns: The chemical potentials of the desired components in the equilibrium composite. :rtype: numpy.array of floats """ if not self.equilibrated: raise Exception( "This composite is not equilibrated, so " "it cannot have a defined chemical potential." ) if components is not None: self.set_components(components) # Return the chemical potential of each component return np.dot(self.component_array.T, self.endmember_partial_gibbs)
(self, components=None)
[ 0.07061661034822464, 0.0012800594558939338, -0.037939541041851044, -0.02332552894949913, 0.013147277757525444, -0.03850845620036125, -0.02951248176395893, -0.06517636030912399, 0.03701505437493324, -0.00370239419862628, 0.0043402016162872314, -0.0004211306804791093, -0.04942451789975166, -0.014187325723469257, -0.05607371777296066, -0.00226121605373919, 0.012578362599015236, -0.06446521729230881, -0.007831474766135216, -0.024445580318570137, -0.005106904078274965, -0.006849206984043121, -0.013165055774152279, 0.036517251282930374, 0.029832497239112854, 0.024196678772568703, 0.059771664440631866, -0.02136988192796707, -0.01610741578042507, -0.028801338747143745, 0.02526339516043663, 0.02103208750486374, -0.01755637116730213, -0.040321871638298035, 0.037797313183546066, 0.024161122739315033, 0.06947878003120422, 0.0409974604845047, -0.015591835603117943, 0.08995973318815231, 0.026365669444203377, -0.011156073771417141, 0.055504802614450455, -0.04060633108019829, 0.0013067274121567607, -0.02535228803753853, 0.003053475171327591, 0.09650225937366486, 0.002464558929204941, 0.016880784183740616, 0.021832125261425972, -0.01332506351172924, -0.02899690344929695, -0.050775691866874695, -0.04750442877411842, 0.0866173580288887, 0.02993916906416416, 0.07637688517570496, 0.045442111790180206, 0.0016567435814067721, 0.016916342079639435, 0.029245803132653236, 0.05785157531499863, -0.06421631574630737, 0.0001438955805497244, -0.025138946250081062, 0.05098903551697731, 0.046437714248895645, 0.0034601606894284487, 0.050242334604263306, -0.07143443077802658, 0.0027756844647228718, -0.012987270019948483, -0.036446139216423035, 0.00548469927161932, -0.018258625641465187, 0.022276589646935463, -0.025903426110744476, 0.033690452575683594, -0.000373628456145525, -0.006489190272986889, 0.013165055774152279, 0.003471272299066186, -0.055078115314245224, -0.013236170634627342, 0.021601002663373947, -0.015076256357133389, 0.04092634469270706, 0.00001761366547725629, 0.036481693387031555, 0.003997963387519121, 0.013760639354586601, 0.02291662059724331, 0.03617945685982704, 0.06243845820426941, 0.025156725198030472, -0.03609056398272514, -0.03769063949584961, 0.0314859077334404, -0.03047252632677555, 0.006573638878762722, 0.055504802614450455, 0.012587251141667366, -0.024890044704079628, 0.012240569107234478, -0.002813464030623436, -0.013520628213882446, -0.03815288469195366, 0.07787028700113297, 0.024054450914263725, -0.055895932018756866, 0.025458959862589836, 0.006120284553617239, -0.010276032611727715, -0.031272564083337784, 0.006991435773670673, -0.029174689203500748, 0.0420997329056263, 0.03879291191697121, -0.012418354861438274, -0.016436319798231125, -0.02947692573070526, -0.010249365121126175, 0.0035023849923163652, 0.04341534897685051, 0.06254512816667557, -0.028908010572195053, -0.01021380815654993, -0.0409974604845047, -0.03854401409626007, 0.03345933184027672, -0.01044492982327938, 0.050349004566669464, -0.026063432916998863, 0.005413584876805544, 0.017485257238149643, 0.03479272872209549, -0.08455503731966019, 0.04924673214554787, 0.01992981508374214, 0.031183671206235886, 0.024925602599978447, -0.033566005527973175, 0.04963786154985428, -0.020143158733844757, 0.04537099599838257, 0.06058948114514351, -0.0006061392487026751, -0.06083838269114494, -0.002326774876564741, -0.05639373138546944, 0.023485535755753517, 0.0060313912108540535, -0.015582946129143238, -0.005573592148721218, 0.0015689617721363902, 0.044055379927158356, -0.03893514350056648, -0.01663188450038433, -0.002662345999851823, -0.05088236555457115, 0.018934212625026703, -0.024463359266519547, 0.08768407255411148, 0.014756240881979465, -0.013253948651254177, -0.03002806194126606, -0.05493588373064995, -0.022969955578446388, -0.026294555515050888, -0.02899690344929695, -0.0028179087676107883, -0.09365768730640411, -0.0007789250812493265, 0.041175246238708496, 0.023254413157701492, -0.00974267441779375, -0.0324103944003582, -0.014525119215250015, -0.043166451156139374, -0.015858514234423637, -0.0371217243373394, 0.0018211957067251205, -0.015120702795684338, 0.03322821110486984, 0.011378305964171886, 0.028321316465735435, -0.034597162157297134, 0.04103301838040352, -0.02144099585711956, -0.01579628884792328, -0.020676515996456146, -0.013982871547341347, 0.07122108340263367, 0.04942451789975166, -0.005191352218389511, 0.06137173995375633, 0.024552252143621445, -0.07708802819252014, -0.0004847447562497109, -0.0467221699655056, -0.029654711484909058, 0.006778092589229345, 0.007253670133650303, 0.02104986645281315, -0.011840550228953362, 0.002946803579106927, -0.034117139875888824, 0.02049873024225235, -0.020214272662997246, -0.006231400649994612, 0.021743232384324074, -0.001477846410125494, -0.011893886141479015, 0.02186768315732479, 0.029334696009755135, 0.06506969034671783, -0.0956488847732544, -0.021761011332273483, -0.01426732912659645, -0.030383633449673653, -0.023930000141263008, 0.08732850104570389, 0.016960788518190384, -0.06098061054944992, 0.006604751106351614, -0.04145970568060875, 0.06400297582149506, 0.0004936340264976025, -0.01409843284636736, -0.026365669444203377, 0.02149433270096779, -0.019752029329538345, -0.050740133970975876, -0.032161492854356766, 0.014427336864173412, -0.039788514375686646, 0.05802936106920242, -0.02995694801211357, 0.05141572281718254, -0.03632168844342232, -0.0026223440654575825, -0.005689152982085943, 0.011538313701748848, 0.022614384070038795, -0.06642086058855057, 0.07523904740810394, 0.05255355313420296, -0.022721055895090103, -0.04057077318429947, -0.0014022873947396874, 0.011644985526800156, 0.0007044771919026971, -0.03964628651738167, -0.015965186059474945, -0.05209130793809891, -0.026934584602713585, 0.030721427872776985, 0.05621594563126564, -0.006969212554395199, -0.006178064737468958, -0.04665105789899826, 0.06435854732990265, 0.03571721538901329, -0.00788481067866087, 0.012987270019948483, -0.028712445870041847, 0.06446521729230881, -0.017289692535996437, 0.05202019587159157, -0.06105172634124756, -0.015600725077092648, 0.03276596590876579, -0.01857864111661911, -0.008867078460752964, 0.04522876814007759, 0.06531859189271927, 0.01382286474108696, -0.010382704436779022, 0.03098810650408268, -0.046437714248895645, 0.02526339516043663, 0.03658836707472801, -0.003529052948579192, 0.020694294944405556, -0.04177971929311752, -0.005582481622695923, -0.0310236643999815, 0.02341442182660103, 0.05095347762107849, -0.016987456008791924, -0.006435854360461235, -0.004513543099164963, -0.010569379664957523, 0.10532044619321823, -0.02007204294204712, 0.009422659873962402, -0.07214557379484177, 0.0400729738175869, 0.00463132606819272, 0.05415362864732742, 0.02949470281600952, -0.027965743094682693, -0.003864624071866274, -0.04846447333693504, -0.03253484517335892, 0.06354072690010071, -0.043095335364341736, -0.0038223997689783573, -0.021618781611323357, 0.011831660754978657, 0.026899026706814766, 0.032677073031663895, 0.04988676309585571, -0.00463132606819272, 0.017538592219352722, 0.0361972376704216, -0.016009632498025894, 0.028427988290786743, 0.0010311590740457177, 0.05209130793809891, -0.012240569107234478, 0.05667818710207939, 0.0400729738175869, -0.00901819672435522, 0.00031779255368746817, -0.03280152380466461, 0.004960230551660061, 0.0014300664188340306, -0.0015100701712071896, -0.05578925833106041, -0.0076270210556685925, -0.022294368594884872, 0.0034468267112970352, 0.022116582840681076, -0.055006999522447586, 0.040713001042604446, -0.055540356785058975, 0.018738647922873497, -0.07243002951145172, 0.054082512855529785, 0.03008139692246914, 0.007907033897936344, -0.008867078460752964, -0.024907823652029037, -0.011644985526800156, 0.0866173580288887, -0.013156167231500149, 0.0068936534225940704, -0.04110413044691086, -0.006151396781206131, 0.018276404589414597, 0.005671374499797821, 0.01805417239665985, -0.004320200532674789, 0.01912977732717991, -0.03811732679605484, 0.02241881936788559, -0.013022826984524727, 0.03235705941915512, 0.08178157359361649, -0.028801338747143745, -0.016036299988627434, -0.006462522316724062, -0.05628705769777298, -0.02908579632639885, -0.055149227380752563, 0.04057077318429947, 0.005226909648627043, -0.04195750504732132, -0.03719284012913704, -0.005511367227882147, -0.008160378783941269, -0.0066936444491147995, 0.04181527718901634, 0.030152512714266777, -0.009200427681207657, -0.008044818416237831, -0.03865068405866623, -0.08149711787700653, -0.017351917922496796, -0.027059035375714302, -0.06826984137296677, -0.03673059493303299, -0.021352102980017662, 0.021547667682170868, -0.0010200473479926586, 0.026045653969049454, -0.00785814318805933, 0.018863098695874214, 0.006973657291382551, -0.07801251113414764, -0.005653596017509699, -0.004986898507922888, -0.008467059582471848, 0.0076270210556685925, 0.08910635858774185, -0.03529052808880806, -0.07082995772361755, -0.022169919684529305, 0.021601002663373947, -0.019769808277487755, -0.0037268397863954306, 0.025334510952234268, -0.04177971929311752, -0.04533543810248375, 0.014071764424443245, -0.0351838581264019, -0.001692300895228982, -0.00194009009283036, -0.056002601981163025, 0.046402156352996826, -0.008769296109676361, -0.008960416540503502, -0.03587722405791283, 0.007649244274944067, -0.04103301838040352, -0.09557777643203735, 0.02238326147198677, 0.05187796428799629, 0.001272281282581389, -0.06937211006879807, 0.003944627474993467, 0.026010097935795784, -0.012080561369657516, 0.0487489327788353, 0.007160332519561052, -0.025565631687641144, -0.026294555515050888, 0.011342748999595642, -0.052660223096609116, 0.025850089266896248, -0.06620752066373825, -0.05002899095416069, -0.03196593001484871, -0.0657452791929245, -0.01819640025496483, 0.0024356686044484377, -0.02195657603442669, -0.0040735225193202496, 0.016916342079639435, 0.041281916201114655, -0.001166720874607563, -0.013698413968086243, -0.025138946250081062, 0.0009233762393705547, 0.0005069680046290159, -0.007231446914374828, -0.010311590507626534, -0.045015424489974976, 0.0437709242105484, 0.013787306845188141, 0.025903426110744476, -0.02903245948255062, 0.030241405591368675, 0.011938332580029964, -0.012969491071999073, -0.029832497239112854, -0.019396455958485603, -0.009360434487462044, 0.003160146763548255, -0.0006794760120101273, 0.04327312111854553, 0.04497986659407616, -0.03242817148566246, 0.009662671014666557, -0.020640958100557327, -0.03445493429899216, -0.028410209342837334, 0.047397758811712265, 0.037406183779239655, -0.025067830458283424, 0.03559276461601257, -0.0437709242105484, -0.02819686569273472, -0.004164637997746468, -0.03630390763282776, 0.022969955578446388, 0.041246362030506134, -0.09145313501358032, -0.04234863445162773, -0.017049681395292282, -0.024196678772568703, 0.005280245095491409, -0.008995973505079746, 0.012533915229141712, 0.01664966158568859, -0.0626162439584732, 0.02579675428569317, -0.0646430030465126, -0.015342934988439083, 0.05237576737999916, 0.03573499247431755, 0.006991435773670673, 0.007720358669757843, 0.056038159877061844, 0.02136988192796707, -0.04732664301991463, 0.006644753273576498, 0.04145970568060875, -0.014960695058107376, -0.0022667720913887024, 0.028908010572195053, -0.029796939343214035, -0.022685497999191284, -0.07929257303476334, 0.008898191154003143, -0.016800779849290848, 0.008022595196962357, -0.01430288702249527, -0.009893792681396008, -0.09458217024803162, 0.07346118986606598, 0.009609335102140903, 0.010533822700381279, -0.028481323271989822, 0.03344155475497246, -0.006040280684828758, -0.005582481622695923, 0.04490875452756882, 0.01673855632543564, -0.03626835346221924, -0.03150368481874466, 0.031290341168642044, 0.011227188631892204, -0.01621408574283123, -0.03489939868450165, -0.0869729295372963, -0.05194908007979393, -0.01526293158531189, 0.012969491071999073, -0.029832497239112854, -0.03182370215654373, 0.06442966312170029, -0.044588737189769745, 0.04992232099175453, 0.02000092901289463, -0.03098810650408268, 0.015929628163576126, 0.024196678772568703, -0.008209270425140858, 0.002875689184293151, 0.13234393298625946, 0.029316917061805725, 0.06855429708957672, -0.02199213206768036, 0.02718348428606987, -0.04583324119448662, 0.051273494958877563, -0.012756148353219032, 0.02814352884888649, 0.004066855646669865, -0.04828668758273125, -0.017298581078648567, 0.0773724839091301, -0.04899783059954643, 0.0398951880633831, -0.03349488973617554, -0.04942451789975166, 0.02624121867120266, 0.022774390876293182, 0.00548469927161932, 0.003984629642218351, -0.029174689203500748, 0.0496734194457531, 0.025405624881386757, 0.027574613690376282, 0.026401227340102196, -0.003926848992705345, -0.01994759403169155, -0.036517251282930374, 0.06919432431459427, 0.002055651042610407, -0.0053380257450044155, 0.06058948114514351, -0.0036179458256810904, 0.01309394184499979, -0.025601189583539963, -0.07708802819252014, -0.03953961655497551, 0.010000464506447315, -0.10916062444448471, -0.05180685222148895, -0.028801338747143745, 0.045086540281772614, 0.019165335223078728, 0.010400483384728432, 0.04149525985121727, 0.00133672880474478, -0.027414606884121895, 0.026063432916998863, -0.0009322655387222767, 0.023645542562007904, -0.010480486787855625, 0.02051650919020176, 0.04519321024417877, -0.08277717977762222, 0.027450164780020714, -0.0027534612454473972, 0.008155934512615204, -0.015867404639720917, 0.010453819297254086, 0.017307471483945847, 0.06986991316080093, 0.005155795253813267, -0.006400297395884991, 0.03751285374164581, -0.0190231055021286, 0.03520163521170616, -0.02147655375301838, 0.018454190343618393, -0.010276032611727715, -0.0685187354683876, 0.016338536515831947, -0.01710301637649536, 0.0066269743256270885, -0.03246372938156128, -0.007093662861734629, 0.008671513758599758, 0.05849160626530647, -0.02439224347472191, 0.023129964247345924, -0.03772619739174843, 0.004898005165159702, -0.0324103944003582, -0.044055379927158356, -0.01144942082464695, -0.011662764474749565, -0.0030134732369333506, 0.010018243454396725, 0.06460744887590408, 0.006218066439032555, 0.011209409683942795, 0.03002806194126606, -0.030241405591368675, 0.020196493715047836, -0.0047424426302313805, -0.029885832220315933, -0.0478244423866272, 0.08640401065349579, -0.007795917801558971, 0.058882735669612885, -0.03289041668176651, 0.015831846743822098, -0.02005426585674286, 0.033566005527973175, -0.015325156040489674, -0.06752313673496246, 0.009938239119946957, 0.001051715575158596, -0.031201450154185295, 0.03274818882346153, 0.03529052808880806, -0.01192944310605526, -0.025476738810539246, -0.0353616438806057, 0.025583410635590553, -0.0371217243373394, -0.01850752718746662, 0.019787585362792015, 0.018703091889619827, 0.014978474006056786, 0.04899783059954643, -0.03349488973617554, -0.003169036004692316, -0.06339850276708603, 0.0398951880633831, -0.006378074176609516, -0.025938982143998146, 0.04679328575730324, 0.022187696769833565, -0.04384203627705574, 0.02144099585711956, -0.03145034983754158, -0.021245431154966354, 0.04373536631464958, -0.03705060854554176, 0.06517636030912399, 0.047362200915813446, 0.0016234087524935603, 0.0915953665971756, 0.015414049848914146, -0.019218670204281807, -0.019200891256332397, 0.03345933184027672, -0.04295310750603676, 0.013102831318974495, -0.01549405325204134, 0.00034779394627548754, -0.06919432431459427, -0.01710301637649536, -0.010907173156738281, -0.01672077737748623, -0.001442289212718606, 0.024054450914263725, 0.03811732679605484, -0.02192101813852787, 0.023094406351447105, 0.03057919815182686, 0.044126495718955994, 0.055078115314245224, 0.038437340408563614, -0.008644846267998219, 0.0515223927795887, -0.034970514476299286, 0.022436598315835, 0.05955832079052925, 0.010658272542059422, -0.02583231031894684, -0.024570031091570854, 0.018916433677077293, 0.07851031422615051, -0.0016756333643570542, -0.03440159931778908, 0.047860000282526016, 0.008987084031105042, 0.02720126323401928, 0.03299709036946297, 0.03701505437493324, -0.03662392497062683, 0.018898656591773033, 0.02526339516043663, 0.07865254580974579, -0.035930559039115906, -0.00024292795569635928, 0.0022045469377189875, 0.01661410555243492, -0.010711608454585075, 0.02103208750486374, 0.010933841578662395, -0.0400729738175869, -0.009235984645783901, -0.019147556275129318, 0.03537942096590996, 0.06350517272949219, -0.008049262687563896, 0.0219743549823761, -0.005813603289425373, -0.05806491896510124, -0.014978474006056786, -0.021654339507222176, 0.0132983960211277, 0.023218857124447823, -0.06272291392087936, 0.02762795053422451, 0.0162051972001791, -0.00884930044412613, 0.02003648690879345, 0.026952363550662994, -0.042170848697423935, 0.009173759259283543, 0.024694480001926422, 0.05180685222148895, -0.0020167604088783264, 0.02814352884888649, -0.011396084912121296, 0.00024209458206314594, 0.01092495210468769, -0.03705060854554176, -0.010933841578662395, -0.04899783059954643, 0.0040090749971568584, 0.01814306527376175, 0.0733189582824707, -0.06467855721712112, 0.022614384070038795, -0.024658923968672752, 0.002535673324018717 ]
10,914
burnman.classes.composite
debug_print
null
def debug_print(self, indent=""): print("{0}Composite: {1}".format(indent, self.name)) indent += " " if self.molar_fractions is None: for i, phase in enumerate(self.phases): phase.debug_print(indent + " ") else: for i, phase in enumerate(self.phases): print("%s%g of" % (indent, self.molar_fractions[i])) phase.debug_print(indent + " ")
(self, indent='')
[ 0.021462857723236084, 0.012692233547568321, -0.015553947538137436, 0.02683298848569393, 0.03126687929034233, -0.03921608626842499, 0.009786357171833515, -0.06401760876178741, -0.010651936754584312, -0.01051061786711216, -0.03801487386226654, 0.0021286208648234606, -0.013849284499883652, 0.012948374263942242, -0.0325210876762867, 0.0022986456751823425, 0.025172488763928413, -0.017214449122548103, 0.011340868659317493, 0.03981669247150421, 0.05486719310283661, 0.06119122728705406, -0.027786893770098686, 0.011835485696792603, -0.01396410632878542, 0.016737496480345726, 0.018689468502998352, -0.028369836509227753, -0.06970570981502533, -0.0013800705783069134, -0.020773926749825478, -0.022752396762371063, 0.0037979544140398502, -0.013902279548346996, -0.037060968577861786, 0.02241676300764084, 0.024819189682602882, -0.020067330449819565, -0.1142565980553627, 0.01749708689749241, 0.04080592840909958, 0.018583478406071663, -0.013416494242846966, -0.02586141973733902, -0.03691964969038963, -0.005719012580811977, 0.07454589754343033, 0.06320502609014511, -0.03373996540904045, -0.005361298564821482, 0.04871980473399162, -0.061226557940244675, -0.008916360326111317, -0.0020071747712790966, -0.012409594841301441, -0.002400218741968274, 0.07532314956188202, -0.035930413752794266, 0.05260608345270157, -0.00498591922223568, -0.03147885948419571, 0.0055688610300421715, 0.0052597252652049065, -0.005847083404660225, -0.030118661001324654, -0.04483352601528168, 0.012577411718666553, 0.01749708689749241, -0.003153185360133648, 0.0291647557169199, 0.01712612435221672, -0.022381434217095375, 0.012003302574157715, 0.006615506485104561, -0.017346935346722603, -0.031054900959134102, -0.011967972852289677, -0.04204247146844864, 0.05871814116835594, -0.08429691940546036, -0.03960471600294113, -0.02379462495446205, -0.011632339097559452, -0.0057101803831756115, -0.008465905673801899, -0.008956106379628181, 0.04281972721219063, -0.0037515838630497456, 0.029959676787257195, 0.03331600874662399, -0.03435823693871498, 0.0018945609917864203, 0.03075459785759449, 0.05059228464961052, -0.06331101804971695, 0.025790760293602943, -0.01946672424674034, -0.0521467961370945, -0.010113157331943512, 0.0049505895003676414, -0.0024620459880679846, -0.02174549736082554, -0.01927240937948227, 0.016631506383419037, -0.03971070423722267, -0.015341969206929207, -0.019855352118611336, 0.013778625056147575, 0.018406830728054047, 0.03594807907938957, 0.0015898413257673383, 0.01731160655617714, 0.008664635010063648, -0.025843754410743713, 0.05603307485580444, -0.04342033341526985, 0.007701897993683815, -0.000869996496476233, 0.014123090542852879, -0.03886278718709946, 0.02766324020922184, -0.04992101714015007, 0.02637370117008686, -0.011393862776458263, -0.013460656628012657, 0.027539584785699844, -0.005423125345259905, 0.04292571544647217, -0.027133291587233543, -0.04024065285921097, 0.09206947684288025, -0.002634278731420636, -0.042431097477674484, -0.012824720703065395, 0.051440201699733734, -0.008271591737866402, 0.012082794681191444, -0.04024065285921097, -0.005343633238226175, 0.057622916996479034, -0.014282074756920338, -0.08542747795581818, -0.05151085928082466, 0.00884570088237524, -0.03018932044506073, 0.03854481875896454, -0.007423676084727049, 0.0031200635712593794, -0.0038045786786824465, 0.0025923247449100018, -0.016322370618581772, 0.011146554723381996, 0.01006899494677782, -0.04939107224345207, 0.007485502865165472, -0.012974872253835201, 0.016684502363204956, -0.014485221356153488, 0.009662702679634094, 0.01071376446634531, -0.008315753191709518, -0.03497650846838951, -0.006081143394112587, 0.01712612435221672, -0.0005409877048805356, 0.005365714430809021, -0.014564713463187218, -0.029694704338908195, -0.01828317530453205, 0.0021915521938353777, -0.003550645662471652, -0.0537719689309597, -0.0299773421138525, 0.027839887887239456, 0.02344132773578167, 0.04373830184340477, -0.019343070685863495, 0.03250342234969139, -0.059778034687042236, -0.04585808888077736, -0.0207032673060894, -0.035877421498298645, 0.00020742461492773145, 0.0344112329185009, 0.01125254388898611, -0.05260608345270157, 0.044374238699674606, -0.03169083595275879, 0.07126022130250931, -0.03766157478094101, 0.017320439219474792, 0.04539880156517029, -0.01941373012959957, -0.0051360707730054855, 0.02674466371536255, -0.03631904348731041, 0.05310070142149925, -0.052888721227645874, 0.09143353998661041, -0.023988939821720123, -0.049461729824543, -0.016631506383419037, -0.04780123010277748, -0.027009638026356697, 0.027521919459104538, 0.014962173998355865, -0.02065027318894863, 0.022946709766983986, 0.02674466371536255, -0.020491288974881172, 0.014511718414723873, 0.009927676059305668, 0.07829085737466812, -0.054725874215364456, 0.0006872751982882619, -0.012259443290531635, -0.02344132773578167, -0.01978469267487526, -0.00545845553278923, 0.04419758915901184, -0.002815344138070941, 0.00003156911407131702, -0.003952522296458483, -0.004332317505031824, -0.0811878964304924, 0.023988939821720123, 0.06610207259654999, 0.0147855244576931, -0.03815619274973869, -0.013169186189770699, -0.01318685058504343, -0.024430561810731888, -0.11743628233671188, 0.029535720124840736, -0.03195581212639809, 0.05105157196521759, -0.05320668965578079, 0.01153518259525299, -0.02519015222787857, -0.049073103815317154, -0.016057398170232773, 0.00020839065837208182, 0.0021716791670769453, 0.0038929032161831856, -0.005016832612454891, -0.0838729664683342, 0.003780289553105831, 0.0016097143525257707, 0.0013447408564388752, 0.048048537224531174, -0.044586218893527985, -0.02435990236699581, -0.002353848423808813, 0.018300840631127357, 0.0016097143525257707, -0.0647948682308197, -0.04352632164955139, -0.0037648326251655817, 0.03197347745299339, 0.006116473115980625, -0.04013466089963913, -0.017302773892879486, -0.002991993213072419, 0.045504793524742126, 0.05105157196521759, 0.03854481875896454, -0.005833834409713745, -0.05575043708086014, 0.0020038625225424767, -0.009662702679634094, 0.054831862449645996, 0.011526349931955338, -0.05119289085268974, 0.044480226933956146, -0.008889863267540932, 0.020332304760813713, 0.020261645317077637, 0.0247308649122715, -0.0706949457526207, 0.00004816446380573325, 0.05949539691209793, -0.03723761811852455, -0.01416725292801857, -0.014308571815490723, -0.007723979186266661, -0.009618540294468403, -0.00002487577330612112, -0.008121439255774021, -0.010183816775679588, 0.0012972663389518857, -0.003873030189424753, 0.04985035955905914, 0.0618271641433239, 0.028193186968564987, 0.07087159156799316, 0.016499020159244537, -0.0020712099503725767, 0.016366533935070038, -0.04960304871201515, 0.0016163387335836887, -0.011932642199099064, -0.04115922749042511, 0.0669499859213829, -0.012559746392071247, -0.03075459785759449, 0.02674466371536255, -0.0018735838821157813, 0.012091626413166523, 0.021303873509168625, -0.03234443813562393, -0.008337834849953651, 0.047836560755968094, 0.06857515871524811, 0.06108523905277252, 0.013866949826478958, 0.017355768010020256, -0.03328067809343338, -0.04228977859020233, 0.015615775249898434, 0.07574710994958878, 0.0037162541411817074, 0.03040129877626896, -0.011685334146022797, 0.0572696179151535, 0.01932540535926819, -0.07991602271795273, -0.02564944140613079, 0.05048629641532898, -0.002077834215015173, -0.026621010154485703, -0.07426325976848602, -0.00953021552413702, -0.01560694258660078, 0.025720100849866867, 0.03879212960600853, 0.002499583875760436, -0.02188681624829769, -0.05801154300570488, -0.015668770298361778, -0.011173051781952381, 0.09574378281831741, 0.011120056733489037, -0.014873849228024483, 0.006898145191371441, 0.004243993200361729, 0.02838749997317791, -0.00018630953854881227, 0.0013337002601474524, -0.008351082913577557, 0.0002005242567975074, 0.000058307985455030575, 0.007211696822196245, -0.0049020107835531235, 0.0200320016592741, 0.004347774665802717, 0.008298088796436787, -0.006951139774173498, -0.04522215574979782, -0.05476120114326477, 0.0564570315182209, 0.0440916009247303, 0.03607173264026642, 0.01017498504370451, 0.04797787964344025, 0.02755725011229515, -0.06228645145893097, -0.00607672706246376, -0.029500389471650124, 0.04130054637789726, -0.010369298979640007, -0.045575451105833054, 0.0018239013152197003, 0.025932079181075096, -0.050203658640384674, -0.08380230516195297, 0.07694832235574722, 0.024024268612265587, -0.009503718465566635, 0.012374265119433403, -0.07744293659925461, 0.028422830626368523, 0.007697482127696276, 0.0023383917286992073, 0.01146452222019434, -0.05981336534023285, -0.024995839223265648, -0.006306370720267296, 0.029712367802858353, 0.009918843396008015, 0.002395802643150091, -0.03752025589346886, 0.004791605286300182, 0.023052699863910675, 0.018071196973323822, -0.02034997008740902, -0.03075459785759449, 0.008474737405776978, -0.0181418564170599, -0.09503718465566635, -0.01707313023507595, 0.015368466265499592, -0.11114757508039474, -0.04048795998096466, -0.0012696649646386504, 0.014997503720223904, -0.08599275350570679, 0.04080592840909958, 0.04130054637789726, -0.012789390049874783, 0.052358776330947876, 0.014070096425712109, -0.03121388517320156, 0.010157319717109203, 0.04207780212163925, 0.006412360351532698, -0.07461655139923096, -0.0029699120204895735, -0.012012134306132793, -0.031602513045072556, 0.011844318360090256, 0.02282305620610714, -0.0012718731304630637, 0.022063465788960457, 0.03605406731367111, 0.031867485493421555, -0.02368863672018051, -0.03266240656375885, 0.05769357457756996, 0.03744959458708763, -0.01298370398581028, -0.056174393743276596, 0.018565814942121506, 0.009494885802268982, -0.0032657990232110023, 0.05045096576213837, -0.020667938515543938, 0.017223281785845757, 0.01707313023507595, 0.03135520592331886, 0.06253375858068466, 0.06196848303079605, -0.02669166959822178, -0.036954980343580246, -0.03744959458708763, 0.004606123548001051, 0.0685398280620575, 0.010519450530409813, 0.0016019860049709678, -0.021197885274887085, 0.062145132571458817, 0.00462378840893507, 0.02056194841861725, -0.04493951424956322, -0.06359365582466125, 0.04197181016206741, -0.05013299733400345, 0.041088566184043884, 0.030277645215392113, -0.030825257301330566, -0.03999334201216698, -0.029482724145054817, 0.053595319390296936, 0.0033254181034862995, 0.046741336584091187, -0.0010113157331943512, 0.0010422293562442064, 0.03209713101387024, 0.06401760876178741, -0.06271041184663773, -0.029023436829447746, 0.03893344849348068, 0.0604846328496933, -0.005621855612844229, -0.007909460924565792, 0.014909178949892521, 0.004321277141571045, -0.03663701191544533, 0.005193481687456369, -0.05281806364655495, 0.00017457893409300596, -0.08832451701164246, -0.04451555758714676, -0.0427490659058094, -0.013955273665487766, -0.0012155661825090647, 0.05794088542461395, 0.002720395103096962, 0.011650004424154758, 0.031920481473207474, -0.05709296837449074, -0.007361848838627338, 0.020385298877954483, -0.06634937971830368, -0.03766157478094101, -0.01084625069051981, 0.0013911111745983362, -0.027592580765485764, -0.002203696873039007, -0.024819189682602882, 0.007282356731593609, 0.010263308882713318, 0.020473623648285866, 0.046282049268484116, -0.025896748527884483, -0.009980671107769012, -0.03596574440598488, 0.04338500276207924, -0.0004049127164762467, 0.011658836156129837, 0.011429192498326302, 0.011800155974924564, -0.05928341671824455, 0.007768141571432352, 0.0052111465483903885, -0.02699197269976139, 0.008112607523798943, -0.01637536659836769, 0.01666683703660965, 0.04776589944958687, 0.01318685058504343, -0.011111225001513958, -0.05857682228088379, -0.029482724145054817, -0.014979838393628597, -0.011817820370197296, 0.029094096273183823, -0.03564777597784996, 0.03741426765918732, -0.05825885385274887, -0.0006094391574151814, 0.02102123573422432, 0.009062095545232296, 0.00019790213264059275, 0.014343902468681335, -0.029535720124840736, 0.1045762300491333, -0.015015168115496635, -0.021904481574892998, 0.02806953154504299, 0.0029102929402142763, 0.039640042930841446, 0.026956643909215927, 0.03865081071853638, -0.04260774701833725, -0.008028699085116386, 0.03589508309960365, 0.04501017555594444, -0.005030081607401371, 0.060873258858919144, 0.028405165299773216, 0.0376262441277504, -0.016763994470238686, -0.04688265547156334, -0.009547880850732327, 0.03147885948419571, 0.05416059494018555, 0.026621010154485703, -0.0142467450350523, 0.04126521572470665, -0.005811753217130899, 0.06581943482160568, 0.060555290430784225, 0.02467787079513073, -0.019802358001470566, 0.0405939482152462, -0.019908346235752106, 0.029535720124840736, -0.01860114373266697, 0.006672917399555445, 0.054372575134038925, 0.02199280634522438, -0.03269773721694946, -0.03769690543413162, 0.02962404303252697, -0.039428066462278366, -0.0010091076837852597, 0.01999667100608349, 0.06313436478376389, -0.001643940107896924, -0.01819485053420067, 0.006116473115980625, -0.029200086370110512, 0.026144057512283325, -0.014193749986588955, -0.004553128965198994, 0.0196257084608078, 0.0073132701218128204, -0.046600017696619034, 0.07433391362428665, -0.08026932179927826, -0.031708501279354095, -0.05681033059954643, -0.006165051367133856, -0.021215548738837242, 0.006377030164003372, 0.008775041438639164, -0.02462487667798996, 0.007635654881596565, 0.004506758414208889, 0.012586244381964207, -0.029094096273183823, 0.00016740256978664547, -0.009627372957766056, 0.07027098536491394, -0.007052713073790073, 0.008669051341712475, 0.05882412940263748, 0.016437193378806114, -0.01937839947640896, 0.011579344980418682, -0.03269773721694946, 0.023105693981051445, -0.030895916745066643, -0.08196515589952469, -0.04868447408080101, -0.05893012136220932, 0.03688431903719902, -0.00022978175547905266, 0.010837418958544731, 0.03506483510136604, -0.007180783431977034, 0.06295771896839142, -0.1018911674618721, 0.03699030727148056, -0.01548328809440136, 0.04610539972782135, -0.022999705746769905, -0.03797954320907593, 0.06574877351522446, -0.05935407802462578, 0.03419925272464752, 0.057304948568344116, -0.03730827569961548, -0.03642503172159195, -0.07518183439970016, -0.05949539691209793, 0.0009428642224520445, 0.0008269383106380701, -0.07631238549947739, 0.024130258709192276, 0.017276275902986526, -0.021339204162359238, -0.03882746025919914, 0.03142586350440979, -0.015686435624957085, 0.004977086558938026, -0.04370297119021416, -0.03893344849348068, 0.04147719591856003, -0.001228814828209579, -0.03200880438089371, 0.04776589944958687, -0.0013889031251892447, 0.0244658924639225, -0.00006714043411193416, -0.014229079708456993, 0.034852854907512665, 0.03018932044506073, 0.019502053037285805, 0.03368697315454483, 0.015394964255392551, -0.0392514169216156, -0.007255859207361937, -0.027221616357564926, 0.05197014659643173, -0.023971274495124817, 0.023300008848309517, -0.040982577949762344, 0.013575478456914425, -0.04317302629351616, -0.03992268443107605, 0.013125023804605007, 0.003780289553105831, -0.004230744671076536, -0.08189449459314346, 0.017090793699026108, 0.03250342234969139, 0.04147719591856003, 0.07334467768669128, -0.049638379365205765, 0.009706865064799786, -0.01699363812804222, 0.012921877205371857, -0.071507528424263, 0.04765991121530533, 0.06938774138689041, -0.036954980343580246, 0.002307478105649352, -0.008646970614790916, -0.02693897858262062, -0.06232178211212158, -0.02868780493736267, 0.04508083313703537, -0.021056566387414932, 0.002658568089827895, 0.07786689698696136, 0.06921109557151794, -0.043561652302742004, 0.022010469809174538, -0.042007140815258026, 0.03381062671542168, 0.015721764415502548, 0.018936777487397194, 0.03419925272464752, 0.006438857410103083, 0.01629587449133396, 0.054019276052713394, -0.005498201586306095, -0.030931247398257256, -0.012330102734267712, 0.04016999155282974, 0.10125523060560226, -0.026232382282614708, -0.03229144588112831, -0.015854250639677048, -0.0028241765685379505, -0.01865413784980774, 0.044232919812202454, 0.030100995674729347, -0.004104882013052702, -0.061897821724414825, 0.03646036237478256, 0.022063465788960457, -0.002674024784937501, 0.02616172283887863, 0.08429691940546036, 0.007825552485883236, 0.00359259988181293, 0.007666568271815777, -0.01498867105692625, -0.013840451836585999, 0.0346762053668499, -0.03481752425432205, 0.006876063998788595, -0.002261107787489891, 0.01833616942167282, 0.02107422985136509, -0.005242060404270887, 0.05677499994635582, -0.014255577698349953, 0.009512551128864288, 0.029323739930987358, 0.05341866984963417, 0.03229144588112831, -0.02349432185292244, 0.046741336584091187, 0.010475288145244122, 0.06002534180879593, -0.033404331654310226, 0.027804559096693993, 0.05225278437137604, 0.0012884339084848762, -0.01560694258660078, 0.024236248806118965, -0.0004620476393029094, -0.005988402292132378, 0.009918843396008015, -0.010289806872606277, 0.02080925740301609, -0.09079760313034058, -0.05991935357451439, -0.0801280066370964, 0.05366597697138786, 0.07228478789329529, -0.0028109278064221144, 0.0645122304558754, -0.0376262441277504, -0.04497484490275383 ]
10,918
burnman.classes.composite
set_averaging_scheme
Set the averaging scheme for the moduli in the composite. Default is set to VoigtReussHill, when Composite is initialized.
def set_averaging_scheme(self, averaging_scheme): """ Set the averaging scheme for the moduli in the composite. Default is set to VoigtReussHill, when Composite is initialized. """ if type(averaging_scheme) == str: self.averaging_scheme = getattr(averaging_schemes, averaging_scheme)() else: self.averaging_scheme = averaging_scheme # Clear the cache on resetting averaging scheme self.reset()
(self, averaging_scheme)
[ 0.004438390489667654, -0.04976976662874222, -0.0317436158657074, 0.05392017960548401, 0.024902470409870148, -0.03949925675988197, -0.022299669682979584, 0.0121698509901762, 0.0027962520252913237, 0.001694898004643619, -0.0037217410281300545, 0.03390675410628319, -0.01508920919150114, 0.02170172892510891, -0.02787458710372448, -0.0170237235724926, 0.00976929534226656, 0.043297939002513885, 0.010718965902924538, -0.05342775955796242, -0.0008084289729595184, -0.06542174518108368, -0.07562191039323807, -0.006432258989661932, 0.01871202513575554, 0.06591416895389557, 0.026256630197167397, -0.0012541365576907992, -0.015968533232808113, -0.009874814189970493, 0.011782948859035969, -0.05810576304793358, -0.013172280974686146, 0.03893648833036423, 0.03837372362613678, -0.03241190314292908, -0.02184242196381092, 0.052653953433036804, -0.08708830177783966, 0.04340345785021782, 0.04572487622499466, -0.04843319579958916, 0.028085624799132347, 0.023161407560110092, -0.01136087253689766, 0.02817355841398239, -0.003695361316204071, 0.028912190347909927, 0.046287644654512405, -0.02217656373977661, -0.06274859607219696, -0.018078912049531937, -0.016628026962280273, 0.043825533241033554, -0.054975368082523346, 0.04906630888581276, 0.020312396809458733, 0.04386070743203163, 0.00296112522482872, 0.050156671553850174, -0.006555364467203617, -0.04695592820644379, 0.02551799826323986, -0.048644233494997025, -0.02449798211455345, -0.05694505572319031, -0.053146373480558395, 0.0766770988702774, -0.010938797146081924, 0.05374431610107422, -0.0450214147567749, 0.007971077226102352, 0.02119172178208828, -0.0206817127764225, -0.030231177806854248, -0.03002014011144638, -0.03992133215069771, -0.0018180034821853042, -0.038830969482660294, 0.017797527834773064, 0.045971084386110306, 0.031145675107836723, -0.002089494839310646, 0.02469143271446228, -0.0077072796411812305, -0.060673393309116364, -0.0017883263062685728, -0.002664353232830763, 0.029439784586429596, -0.005161635112017393, -0.00208729668520391, 0.007518224883824587, 0.068728007376194, 0.03575333580374718, 0.03353743627667427, -0.016329055652022362, -0.0918014794588089, -0.030811531469225883, 0.05944233760237694, -0.053814660757780075, -0.043122075498104095, -0.02803286537528038, 0.023812107741832733, -0.02755803056061268, 0.04270000010728836, -0.02416383847594261, 0.033607784658670425, -0.01685665175318718, 0.011923640966415405, 0.02555317059159279, -0.02416383847594261, -0.0480462908744812, -0.042805518954992294, 0.0030226779635995626, -0.03605230525135994, -0.007443482056260109, 0.044951070100069046, -0.004840681329369545, 0.04695592820644379, -0.016970964148640633, -0.08195304870605469, 0.03453986719250679, 0.0064982082694768906, 0.05859818682074547, 0.043473806232213974, 0.05828163027763367, 0.032957084476947784, 0.02555317059159279, -0.008204097859561443, 0.006432258989661932, 0.012328130193054676, -0.0022752522490918636, -0.035313673317432404, -0.07252668589353561, 0.010868451558053493, -0.053146373480558395, 0.01938031241297722, 0.0160300862044096, -0.016619233414530754, 0.06123616173863411, -0.009918780997395515, 0.026907330378890038, -0.013286593370139599, 0.03455745428800583, -0.021279653534293175, 0.034961942583322525, 0.045302800834178925, 0.002096089767292142, -0.024585913866758347, 0.025447651743888855, -0.0074258954264223576, 0.05240774154663086, -0.006357516162097454, 0.00827004760503769, 0.02555317059159279, 0.010191371664404869, -0.04372001439332962, 0.01308434922248125, -0.032482247799634933, -0.004678006283938885, -0.00022285380691755563, 0.030653253197669983, 0.019608937203884125, -0.03805716708302498, -0.011879674158990383, 0.006080529186874628, -0.018149258568882942, -0.0018059127032756805, -0.014552820473909378, -0.028613220900297165, 0.008406342007219791, -0.09081663936376572, -0.05543261766433716, -0.003572255838662386, 0.026819398626685143, 0.07224529981613159, -0.0008172222296707332, 0.001610263017937541, 0.016575267538428307, 0.06753212213516235, 0.009962746873497963, -0.009127388708293438, -0.08532965183258057, 0.03457504138350487, -0.00391958886757493, -0.057156093418598175, 0.044951070100069046, -0.04125790670514107, 0.038303375244140625, -0.001437695580534637, 0.0290352962911129, 0.01953859068453312, -0.030653253197669983, -0.005711212754249573, 0.029932206496596336, -0.08729933947324753, 0.04248896241188049, -0.06988871097564697, 0.021965526044368744, 0.09320840239524841, -0.0634872317314148, -0.009057042188942432, -0.0022510706912726164, 0.02488488331437111, 0.08378203958272934, -0.039147526025772095, 0.01501007005572319, -0.007091752253472805, -0.05986441299319267, 0.023565897718071938, -0.030741184949874878, -0.004664816427975893, 0.06943146139383316, 0.05142289772629738, 0.04157446324825287, -0.055643655359745026, 0.054166391491889954, 0.0024159441236406565, 0.01767442375421524, 0.02834942191839218, -0.08216408640146255, 0.01018257811665535, 0.004453778732568026, -0.01987273432314396, -0.004038298036903143, -0.028472527861595154, 0.028120798990130424, -0.041468944400548935, -0.01701493002474308, 0.043157245963811874, -0.030776359140872955, -0.02470901980996132, -0.07709917426109314, -0.008309616707265377, 0.01617077738046646, 0.029123228043317795, 0.02754044346511364, 0.030248763039708138, -0.05402569845318794, -0.013137108646333218, 0.035946786403656006, -0.0014772651484236121, 0.014042812399566174, 0.009698949754238129, -0.058809224516153336, -0.04857388511300087, 0.027786655351519585, 0.019415484741330147, -0.06981837004423141, 0.0012552357511594892, 0.011492771096527576, 0.002435728907585144, 0.03135671094059944, 0.026977676898241043, -0.008810832165181637, -0.032957084476947784, -0.07393360882997513, 0.04621729627251625, 0.007179684937000275, -0.045478664338588715, -0.03791647404432297, -0.02087516337633133, 0.02622145786881447, 0.021279653534293175, 0.022141391411423683, 0.010288096964359283, 0.04576004669070244, 0.033941928297281265, 0.011545531451702118, -0.00592225044965744, -0.0033282432705163956, 0.032939497381448746, -0.0437551885843277, 0.012618307024240494, -0.00042317493353039026, 0.018923064693808556, 0.009909987449645996, 0.021578622981905937, 0.0023455980699509382, 0.03285156562924385, 0.1094583198428154, -0.013242627494037151, -0.0044647702015936375, 0.03851441293954849, 0.007588570471853018, -0.006937870290130377, 0.007654520217329264, -0.03068842552602291, 0.017903046682476997, 0.002613792195916176, 0.028437355533242226, 0.027786655351519585, 0.00047675875248387456, 0.017296314239501953, 0.017410624772310257, 0.017595283687114716, -0.011580703780055046, -0.01670716516673565, -0.0017729380633682013, 0.01701493002474308, 0.06288929283618927, -0.037459224462509155, 0.039639949798583984, 0.037599917501211166, -0.022440362721681595, -0.03348467871546745, 0.02834942191839218, -0.002517066430300474, 0.007672106381505728, 0.04488072544336319, 0.02984427474439144, 0.0416799820959568, -0.024445222690701485, 0.03534884750843048, -0.025500411167740822, -0.01092121098190546, 0.05339258536696434, -0.04611177742481232, 0.016733545809984207, 0.07512948662042618, -0.0008512960630469024, -0.03686128556728363, -0.028085624799132347, 0.02150827832520008, 0.008819624781608582, -0.03072359971702099, -0.008687726221978664, 0.0380219928920269, -0.04568970203399658, -0.015722323209047318, -0.12310543656349182, 0.00529793044552207, 0.020066184923052788, 0.06334654241800308, -0.02235242910683155, -0.029633237048983574, 0.002488488331437111, -0.06732108443975449, -0.006762005388736725, -0.017445798963308334, 0.057296786457300186, -0.004383432678878307, -0.05719126760959625, 0.013392112217843533, 0.05205601081252098, 0.03381882235407829, 0.03985098749399185, -0.03399468585848808, 0.01210829894989729, -0.03851441293954849, -0.04920700192451477, -0.03960477560758591, -0.028665980324149132, 0.07808401435613632, 0.08096820116043091, 0.05036770924925804, -0.03325605392456055, -0.057754036039114, -0.03388916701078415, -0.034293655306100845, 0.08828417956829071, 0.02201828546822071, 0.012908483855426311, 0.023970386013388634, 0.0027193110436201096, 0.03151499107480049, -0.037318531423807144, 0.028402181342244148, 0.023460378870368004, -0.08195304870605469, 0.01533542014658451, -0.052302222698926926, 0.03686128556728363, -0.003972348757088184, -0.0016355436528101563, 0.01867685280740261, -0.021103788167238235, -0.0050956858322024345, 0.04860905930399895, -0.002780863782390952, 0.06524588167667389, 0.049488384276628494, -0.018588921055197716, 0.022299669682979584, 0.01235450990498066, 0.0012002779403701425, -0.03536643087863922, -0.036790937185287476, 0.023759348317980766, -0.017472177743911743, 0.02718871459364891, 0.002569825854152441, 0.028929777443408966, -0.056311942636966705, 0.014385749585926533, 0.011141041293740273, -0.009822054766118526, -0.0071401153691112995, -0.042981382459402084, -0.01853616163134575, -0.0018630687845870852, -0.09665535390377045, -0.008199701085686684, 0.04291103780269623, -0.037283360958099365, -0.0480462908744812, 0.011141041293740273, 0.05057874694466591, -0.016408195719122887, -0.0350850485265255, -0.004058082588016987, -0.011413631960749626, -0.057824380695819855, -0.0010997052304446697, 0.07189357280731201, 0.00826565083116293, 0.032288797199726105, -0.0924345925450325, 0.002208203775808215, 0.0730191096663475, 0.014746272005140781, 0.06971284747123718, 0.01952100358903408, 0.05944233760237694, 0.0544126033782959, 0.019116515293717384, -0.02667870558798313, 0.006322343368083239, -0.06647693365812302, -0.022809678688645363, -0.005302326753735542, 0.02416383847594261, -0.037986818701028824, -0.031479816883802414, 0.0002923753927461803, -0.001909233396872878, -0.02249312214553356, 0.01752493716776371, -0.022985542193055153, -0.09271597862243652, 0.07660675048828125, -0.04090617597103119, 0.008454705588519573, -0.009347219951450825, -0.013796601444482803, -0.028613220900297165, -0.029897034168243408, 0.07280807197093964, -0.060989949852228165, -0.01950341835618019, -0.04952355846762657, -0.01902858354151249, -0.024990402162075043, 0.016100432723760605, 0.06373344361782074, -0.008617380633950233, 0.018799958750605583, -0.012486408464610577, 0.02687215805053711, 0.013427285477519035, -0.0055397446267306805, 0.02671387977898121, -0.037951648235321045, -0.011105868965387344, 0.017225967720150948, 0.05705057457089424, 0.0784357488155365, -0.0024203406646847725, -0.009487912058830261, 0.0260104201734066, -0.011897261254489422, -0.015977326780557632, 0.030125658959150314, -0.015221107751131058, -0.028261490166187286, 0.0021037838887423277, -0.017155621200799942, 0.019327552989125252, -0.02133241295814514, -0.012125885114073753, -0.011009142734110355, 0.00800185278058052, 0.013356939889490604, 0.03183154761791229, -0.014051605947315693, 0.052337396889925, -0.017630456015467644, -0.004374639596790075, 0.0337308906018734, -0.02300312928855419, -0.041996538639068604, 0.02637973614037037, 0.00696864677593112, 0.05944233760237694, -0.0008507464663125575, 0.025904901325702667, 0.03904200717806816, 0.04505658894777298, 0.027294233441352844, 0.03526091203093529, -0.01855374686419964, -0.028929777443408966, -0.03068842552602291, -0.028243903070688248, 0.009725329466164112, -0.007192874792963266, -0.0404137559235096, -0.02200070023536682, -0.00817771814763546, 0.005504571367055178, 0.000826015486381948, -0.039639949798583984, 0.022123804315924644, 0.00859100092202425, -0.017058895900845528, -0.07280807197093964, 0.0016806089552119374, 0.0009309848537668586, 0.005966216791421175, 0.03002014011144638, 0.020417915657162666, -0.032271210104227066, -0.0023390031419694424, -0.010850864462554455, 0.0008007349097169936, -0.04125790670514107, -0.041468944400548935, -0.027804240584373474, 0.0016894022701308131, -0.012002780102193356, 0.002433530520647764, 0.02416383847594261, 0.005966216791421175, 0.09398220479488373, 0.012539167888462543, -0.009426359087228775, -0.01683027110993862, -0.048644233494997025, 0.04002685099840164, -0.040484100580215454, -0.02588731423020363, -0.01767442375421524, 0.044106919318437576, 0.00801064632833004, 0.06359274685382843, -0.0037151461001485586, -0.044106919318437576, -0.01784149371087551, 0.0354016050696373, -0.027769068256020546, 0.016452161595225334, 0.005583710502833128, -0.028068039566278458, -0.032095346599817276, 0.01853616163134575, -0.006568554323166609, 0.011809328570961952, -0.0440717451274395, 0.0035414795856922865, -0.020083772018551826, -0.018395468592643738, -0.016988549381494522, 0.029281506314873695, 0.029633237048983574, 0.041609637439250946, -0.05392017960548401, -0.026080764830112457, 0.00023851677542552352, -0.04910148307681084, -0.04386070743203163, 0.021244481205940247, -0.018448228016495705, 0.037459224462509155, 0.028402181342244148, -0.0052495673298835754, 0.07280807197093964, 0.021772075444459915, 0.011826914735138416, 0.0035348846577107906, -0.021086202934384346, 0.013189868070185184, -0.03520815446972847, -0.017612870782613754, -0.030987396836280823, -0.000151820873725228, 0.012574341148138046, 0.0014739676844328642, 0.056487806141376495, -0.045478664338588715, -0.0034953150898218155, -0.03735370561480522, 0.019309965893626213, -0.017982186749577522, -0.074144646525383, -0.02251070737838745, -0.012002780102193356, -0.04034340754151344, -0.0728784129023552, -0.004102048929780722, 0.02152586355805397, -0.022405188530683517, 0.017437005415558815, -0.013559184037148952, 0.03650955483317375, 0.023565897718071938, -0.022282082587480545, 0.015968533232808113, 0.042453788220882416, 0.008217287249863148, -0.0031435852870345116, -0.03985098749399185, 0.05307602882385254, -0.031796373426914215, 0.018465815111994743, 0.03925304859876633, -0.00984843447804451, 0.0070345960557460785, -0.05071943998336792, 0.018571333959698677, 0.035946786403656006, -0.04301655665040016, 0.05926647409796715, -0.045971084386110306, 0.03626334294676781, -0.0370723232626915, -0.04122273251414299, 0.0104199955239892, -0.045337971299886703, 0.0008210692903958261, -0.10875485837459564, 0.007430292200297117, -0.018114084377884865, 0.043122075498104095, -0.06580864638090134, 0.025412479415535927, -0.03506746143102646, 0.04737800359725952, 0.04516210779547691, -0.008481085300445557, -0.02351313829421997, 0.032271210104227066, 0.00034980630152858794, 0.023442791774868965, -0.028103211894631386, -0.013717462308704853, 0.014209884218871593, -0.03622816875576973, 0.018131671473383904, 0.015572837553918362, 0.000957914162427187, -0.019925493746995926, -0.01291727740317583, -0.007663313299417496, 0.031303953379392624, -0.01952100358903408, 0.04034340754151344, 0.06869283318519592, 0.004262525588274002, 0.01617957092821598, -0.042629651725292206, -0.05659332498908043, 0.018430642783641815, 0.016135605052113533, 0.06869283318519592, 0.0857517272233963, -0.008727296255528927, -0.02085757814347744, -0.014447301626205444, 0.009250493720173836, 0.02437487617135048, -0.0766770988702774, -0.027804240584373474, 0.00041905310354195535, -0.015792667865753174, -0.03420572355389595, -0.029756341129541397, 0.0102617172524333, 0.01084207184612751, 0.051493242383003235, -0.0015992714324966073, 0.003297467017546296, 0.010806898586452007, -0.013128315098583698, -0.005421035923063755, 0.015256280079483986, 0.06257273256778717, -0.06169340759515762, 0.003781095379963517, -0.00976929534226656, -0.07224529981613159, -0.05240774154663086, -0.03967512398958206, 0.019397899508476257, -0.023161407560110092, -0.04424760863184929, -0.0028490114491432905, -0.06767281889915466, -0.012855724431574345, -0.008309616707265377, -0.012002780102193356, 0.045478664338588715, 0.02303830347955227, -0.07330049574375153, 0.0011486177099868655, -0.0061992378905415535, 0.014623166993260384, -0.015432145446538925, -0.030125658959150314, -0.0008787749684415758, -0.05071943998336792, -0.0260104201734066, 0.0778026357293129, -0.01377022173255682, 0.025781795382499695, 0.064753457903862, -0.008533844724297523, -0.04354415088891983, 0.0006050851661711931, -0.03021359071135521, 0.001654229243285954, 0.011818121187388897, 0.02187759429216385, 0.07534052431583405, 0.019081342965364456, -0.00513525540009141, -0.032939497381448746, 0.07794332504272461, 0.027487684041261673, 0.04403657093644142, -0.025764208287000656, 0.04090617597103119, 0.010437581688165665, 0.0033326400443911552, 0.04720214009284973, 0.05508088693022728, 0.0019422080367803574, 0.05360362306237221, -0.014209884218871593, 0.07794332504272461, -0.009443945251405239, -0.00792271364480257, -0.032464660704135895, -0.08462619036436081, 0.005429829005151987, -0.013638323172926903, 0.019749628379940987, 0.013585563749074936, -0.038795799016952515, 0.03570057451725006, 0.037142667919397354, -0.004836285021156073, -0.010543101467192173, 0.035471949726343155, 0.05469398573040962, 0.03774060681462288, -0.034135378897190094, 0.014579200185835361, 0.012081919237971306, 0.024744192138314247, -0.03557746857404709, -0.01684785820543766, -0.040484100580215454, 0.038655105978250504, -0.02734699286520481, 0.06137685105204582, 0.02783941477537155, 0.00866574328392744, -0.060321662575006485 ]
10,919
burnman.classes.composite
set_components
Sets the components and components_array attributes of the composite material. The components attribute is a list of dictionaries containing the chemical formulae of the components. The components_array attribute is a 2D numpy array describing the linear transformation between endmember amounts and component amounts. The components do not need to be linearly independent, not do they need to form a complete basis set for the composite. However, it must be possible to obtain the composition of each component from a linear sum of the endmember compositions of the composite. For example, if the composite was composed of MgSiO3 and Mg2SiO4, SiO2 would be a valid component, but Si would not. The method raises an exception if any of the chemical potentials are not defined by the assemblage. :param components: List of formulae of the components. :type components: list of dictionaries
def set_components(self, components): """ Sets the components and components_array attributes of the composite material. The components attribute is a list of dictionaries containing the chemical formulae of the components. The components_array attribute is a 2D numpy array describing the linear transformation between endmember amounts and component amounts. The components do not need to be linearly independent, not do they need to form a complete basis set for the composite. However, it must be possible to obtain the composition of each component from a linear sum of the endmember compositions of the composite. For example, if the composite was composed of MgSiO3 and Mg2SiO4, SiO2 would be a valid component, but Si would not. The method raises an exception if any of the chemical potentials are not defined by the assemblage. :param components: List of formulae of the components. :type components: list of dictionaries """ # Convert components into array form b = np.array( [ [component[el] if el in component else 0.0 for component in components] for el in self.elements ] ) # Solve to find a set of endmember proportions that # satisfy each of the component formulae p = np.linalg.lstsq(self.stoichiometric_array.T, b, rcond=None) res = np.abs((self.stoichiometric_array.T.dot(p[0]) - b).T) res = np.sum(res, axis=1) # Check that all components can be described by linear sums of # the endmembers if not np.all(res < 1.0e-12): bad_indices = np.argwhere(res > 1.0e-12) raise Exception( f"Components {bad_indices} not defined by " "prescribed assemblage" ) self.components = components self.component_array = p[0]
(self, components)
[ 0.06032479926943779, 0.0013897392200306058, -0.04277713596820831, 0.03349494934082031, -0.042814791202545166, -0.05494000390172005, -0.05358438938856125, -0.03842787817120552, -0.012652392499148846, -0.0027959528379142284, -0.019825847819447517, 0.023779720067977905, -0.0057001663371920586, 0.00713109178468585, -0.05260533466935158, 0.007055779919028282, 0.017302900552749634, -0.018837379291653633, -0.0030783722177147865, -0.0035255365073680878, -0.028618507087230682, -0.0377688966691494, 0.020578965544700623, 0.06913628429174423, 0.026566259562969208, 0.0010902568465098739, 0.04548836499452591, -0.02255590260028839, 0.0460532009601593, -0.026735709980130196, -0.025700172409415245, 0.0013403157936409116, -0.007032244931906462, -0.028467882424592972, 0.07406921684741974, -0.0391245111823082, 0.06917394697666168, 0.031160281971096992, -0.04507414996623993, 0.09798073023557663, 0.05512828007340431, -0.029917636886239052, 0.07647919654846191, -0.00290421349927783, 0.045300085097551346, 0.018780894577503204, -0.01584373228251934, 0.11364559829235077, -0.030407164245843887, -0.002075783209875226, 0.02281949296593666, -0.060927294194698334, 0.03528360649943352, -0.013066607527434826, -0.041308555752038956, 0.1277289092540741, 0.02822311967611313, 0.08299367129802704, 0.08487646281719208, -0.02453283779323101, 0.006881621200591326, 0.0004659921396523714, 0.02556837722659111, -0.058479659259319305, -0.03795717656612396, -0.021708643063902855, -0.01817839965224266, 0.01719934679567814, 0.025606032460927963, 0.05919512361288071, -0.027884216979146004, 0.026490947231650352, 0.020240062847733498, -0.05320782959461212, 0.01652153953909874, 0.04025419056415558, -0.02080490067601204, 0.01161685399711132, 0.014431634917855263, -0.016483884304761887, -0.009183339774608612, 0.03968935087323189, 0.018818551674485207, -0.035302434116601944, -0.005097671411931515, 0.03637562692165375, 0.010769596323370934, 0.04575195536017418, -0.010251826606690884, 0.001655684201978147, -0.00969640165567398, 0.02624618262052536, 0.01602259837090969, 0.06495647877454758, 0.054488129913806915, 0.015420103445649147, -0.029013894498348236, -0.06646271795034409, -0.008232527412474155, -0.032911282032728195, 0.024457527324557304, -0.0039962357841432095, 0.00535655627027154, 0.01823488436639309, 0.016305018216371536, -0.004591669887304306, -0.00792186614125967, -0.037580616772174835, 0.03590492904186249, -0.0013356087729334831, -0.039764661341905594, 0.06427866965532303, -0.023873860016465187, 0.0076064979657530785, -0.048839740455150604, -0.02116263285279274, 0.0033702056389302015, -0.016766302287578583, 0.046693354845047, -0.011193225160241127, 0.009216289035975933, 0.0021405043080449104, -0.02240527793765068, 0.04029184579849243, 0.044735245406627655, -0.004231585189700127, -0.011739236302673817, 0.04450931027531624, -0.00153683265671134, -0.09941165894269943, -0.016013184562325478, -0.03609320893883705, -0.013819726184010506, -0.004956461954861879, -0.00046981655759736896, -0.038258425891399384, -0.005337728187441826, -0.07734528183937073, -0.02743234485387802, 0.0322711318731308, 0.03485056385397911, 0.02163333259522915, 0.0030054140370339155, 0.023873860016465187, -0.011805133894085884, 0.032591208815574646, 0.0701153427362442, 0.00009281598613597453, -0.07678043842315674, 0.009117442183196545, -0.07617794722318649, 0.016559194773435593, -0.0226688701659441, -0.04319135099649429, 0.008373737335205078, -0.017029894515872, 0.03038833476603031, -0.035302434116601944, 0.028449054807424545, 0.01646505482494831, -0.07056721299886703, -0.010430692695081234, -0.03582961857318878, 0.061228543519973755, -0.012435871176421642, 0.04194870591163635, -0.017566490918397903, -0.048425525426864624, -0.06827019900083542, -0.041572146117687225, -0.03417275473475456, -0.03204519674181938, -0.10799720883369446, 0.009470466524362564, 0.03309956192970276, 0.027526484802365303, 0.03822077065706253, -0.022480590268969536, -0.01826312579214573, -0.013066607527434826, -0.025662517175078392, -0.004090375266969204, 0.008147802203893661, -0.027244064956903458, 0.008816194720566273, 0.019618740305304527, 0.029013894498348236, -0.012661806307733059, 0.05648389458656311, -0.036432113498449326, 0.015504829585552216, -0.023158397525548935, -0.009875267744064331, 0.04951754957437515, 0.027564140036702156, 0.009371619671583176, 0.030068259686231613, -0.0030524837784469128, -0.02536126971244812, 0.02063545025885105, -0.057801853865385056, -0.04609085991978645, 0.05143800005316734, 0.034210413694381714, 0.027865387499332428, -0.019468115642666817, 0.011475645005702972, -0.007084021810442209, 0.006495648063719273, -0.00634031742811203, -0.0024829378817230463, -0.03850318863987923, -0.0027700643986463547, -0.0319133996963501, 0.0529065802693367, -0.01915745437145233, 0.08133681118488312, -0.051212064921855927, 0.0030972003005445004, -0.02873147465288639, -0.009611676447093487, 0.004330432042479515, 0.03822077065706253, -0.012539424933493137, -0.07640387862920761, -0.0020934343338012695, -0.013217231258749962, 0.03904920071363449, -0.011993413791060448, 0.01517533976584673, -0.019901158288121223, -0.017952464520931244, -0.017397040501236916, -0.030425991863012314, -0.009912923909723759, 0.014657570980489254, -0.026735709980130196, 0.04025419056415558, -0.03645094111561775, 0.013132506050169468, -0.04353025555610657, -0.03230878710746765, 0.004932926967740059, -0.00998823530972004, -0.015081199817359447, -0.021614503115415573, 0.08773832023143768, 0.03029419668018818, -0.0412709005177021, -0.027865387499332428, -0.013866796158254147, 0.016239119693636894, -0.0015321256360039115, -0.013895038515329361, -0.0016533306334167719, -0.07180985808372498, -0.001956931548193097, 0.03426689654588699, 0.0687597319483757, -0.032647691667079926, 0.026980474591255188, -0.11334434896707535, 0.06544600427150726, 0.020710760727524757, 0.008161922916769981, 0.01950577087700367, 0.01387620996683836, 0.07380562275648117, -0.055994369089603424, 0.035867273807525635, -0.01877148076891899, 0.006679220590740442, 0.0015674281166866422, 0.010430692695081234, -0.030124744400382042, 0.08344554156064987, 0.04616617038846016, -0.048689115792512894, 0.017152275890111923, 0.053810324519872665, 0.03038833476603031, -0.01794305071234703, -0.017867738381028175, 0.03443634882569313, 0.04778537526726723, -0.04609085991978645, 0.02713109739124775, -0.01566486619412899, 0.037053436040878296, 0.01380089856684208, -0.02908920682966709, -0.013556134887039661, 0.0005289481487125158, -0.020993180572986603, 0.038352563977241516, -0.01844199188053608, -0.03319370374083519, -0.03916216641664505, 0.02219817042350769, -0.03805131837725639, 0.027055785059928894, 0.008670277893543243, 0.02873147465288639, -0.008048955351114273, -0.03528360649943352, -0.051325034350156784, 0.041986361145973206, -0.033269014209508896, 0.030105916783213615, -0.03319370374083519, 0.05343376472592354, 0.06646271795034409, -0.005526007618755102, 0.003847965272143483, 0.037411168217659, 0.037373509258031845, 0.0060767256654798985, -0.030670754611492157, 0.030727239325642586, 0.06849613785743713, 0.03795717656612396, -0.04081902652978897, 0.01263356488198042, 0.026001419872045517, 0.026905162259936333, 0.00027212293935008347, 0.042249955236911774, -0.007418218068778515, 0.04296541586518288, -0.03490704670548439, -0.05166393518447876, -0.025869624689221382, 0.004554014187306166, 0.02837374247610569, 0.02479643002152443, -0.031725119799375534, 0.019411632791161537, -0.10008946061134338, 0.020993180572986603, -0.034417521208524704, 0.06763005256652832, 0.04450931027531624, -0.04537539556622505, -0.014459877274930477, 0.027827732264995575, -0.040630750358104706, 0.03129207715392113, 0.0031277956441044807, -0.02376089245080948, 0.02568134479224682, -0.02447635494172573, -0.00029771719709970057, 0.018865620717406273, 0.023158397525548935, -0.0073523204773664474, 0.0501953549683094, -0.03807014599442482, -0.021915750578045845, -0.0060296556912362576, 0.0008637328865006566, 0.05896918475627899, -0.027564140036702156, -0.028128979727625847, -0.01891269162297249, -0.029484592378139496, -0.04661804065108299, -0.04112027585506439, -0.00250176596455276, 0.05934574455022812, -0.05260533466935158, 0.009272772818803787, -0.03422924131155014, -0.002906567184254527, 0.0029583440627902746, 0.042927760630846024, 0.04289010539650917, -0.0542621947824955, 0.032346442341804504, -0.026528602465987206, -0.07742059230804443, 0.02671688236296177, -0.020258890464901924, -0.03999059647321701, -0.007813605479896069, -0.011004945263266563, -0.00923511665314436, 0.04684397578239441, 0.009192753583192825, 0.020823730155825615, 0.008430221118032932, 0.015081199817359447, -0.014252769760787487, 0.036695703864097595, -0.048161935061216354, 0.0006101437611505389, -0.0025582497473806143, 0.059571679681539536, -0.017519421875476837, -0.03594258427619934, -0.029164517298340797, -0.02344081737101078, -0.07034127414226532, 0.009263359010219574, 0.056822799146175385, -0.031932227313518524, -0.04635445028543472, 0.009569313377141953, 0.009432810358703136, -0.022066375240683556, 0.015777835622429848, -0.03274182975292206, 0.027244064956903458, 0.007389976177364588, -0.046806320548057556, -0.04311604052782059, 0.00043157226173207164, -0.024570494890213013, -0.08291836082935333, 0.04688163474202156, 0.036695703864097595, 0.010336552746593952, 0.0029301021713763475, 0.02967287227511406, 0.014657570980489254, -0.00537067698314786, -0.03645094111561775, -0.032760657370090485, -0.06891035288572311, -0.022800665348768234, 0.009950579144060612, -0.03756178915500641, 0.00942810345441103, -0.08201461285352707, -0.05595671385526657, -0.04341728612780571, -0.06646271795034409, -0.02338433265686035, 0.008764417842030525, 0.02172747254371643, -0.008703227154910564, 0.021595675498247147, 0.02760179713368416, 0.023007772862911224, -0.01096729002892971, -0.053132519125938416, -0.02089904062449932, -0.028674989938735962, -0.012595908716320992, -0.04036715626716614, -0.011645096354186535, 0.03816428408026695, 0.037128746509552, 0.0021028483752161264, -0.03170629218220711, 0.03134856000542641, -0.006909863092005253, 0.035453058779239655, -0.07180985808372498, 0.015052958391606808, 0.008180750533938408, -0.002631208160892129, -0.000030062228688620962, 0.019882330670952797, 0.04409509524703026, -0.041873395442962646, -0.01312309131026268, 0.026490947231650352, -0.015391861088573933, -0.00990350916981697, 0.05403625965118408, 0.018451405689120293, -0.05644623935222626, 0.03590492904186249, -0.037674758583307266, 0.014779952354729176, -0.002141681034117937, -0.03709109127521515, -0.0044363392516970634, -0.012426457367837429, -0.06311134248971939, -0.03980231657624245, 0.012473526410758495, 0.014742296189069748, 0.009046836756169796, -0.017801841720938683, 0.008034833706915379, 0.009950579144060612, -0.05343376472592354, 0.003007767489179969, -0.03183808922767639, -0.04465993493795395, -0.0025582497473806143, 0.044321030378341675, 0.05893152952194214, 0.0010502474615350366, 0.05332079529762268, 0.03458697348833084, -0.01797129213809967, 0.005591905675828457, -0.040630750358104706, -0.014516361057758331, 0.009668160229921341, 0.01307602133601904, -0.04353025555610657, -0.011598026379942894, -0.041459180414676666, -0.02204754762351513, -0.021652160212397575, 0.00948929414153099, -0.008034833706915379, -0.01291598379611969, -0.10076726973056793, 0.04409509524703026, -0.002480584429576993, 0.004269240889698267, -0.00522476015612483, -0.01838550716638565, -0.00024182167544495314, 0.009333963505923748, 0.014610501006245613, 0.03707226365804672, -0.008764417842030525, 0.0035726064816117287, 0.02329019270837307, 0.0189221054315567, 0.0008231350802816451, -0.03549071401357651, -0.09188047051429749, 0.009446931071579456, -0.017284071072936058, 0.011654510162770748, -0.029221002012491226, 0.0060767256654798985, 0.0680442675948143, 0.01366910245269537, 0.05885621905326843, 0.07448343187570572, -0.05249236524105072, 0.020051782950758934, 0.01099553145468235, -0.007761828601360321, 0.01782066933810711, 0.06608615815639496, -0.021878095343708992, 0.03727937117218971, 0.037524133920669556, 0.007413511164486408, -0.0326288640499115, 0.029597561806440353, -0.029013894498348236, 0.031405046582221985, 0.03360791876912117, -0.019694050773978233, 0.02432573027908802, 0.07071783393621445, -0.053094860166311264, -0.003358438378199935, -0.04891505464911461, -0.030934346839785576, 0.027300549671053886, -0.005982585716992617, 0.024721117690205574, 0.007888917811214924, -0.01918569579720497, 0.023685580119490623, 0.026434462517499924, 0.05143800005316734, -0.010675456374883652, -0.01900683157145977, 0.003188986564055085, -0.016041425988078117, 0.04827490076422691, -0.03424806892871857, -0.013998592272400856, 0.010298896580934525, -0.013000709936022758, 0.009037422947585583, -0.039915286004543304, -0.027733592316508293, -0.05844200402498245, 0.015674280002713203, -0.04548836499452591, -0.04330432042479515, -0.015937872231006622, 0.07101908326148987, 0.043643221259117126, -0.01971288025379181, 0.056822799146175385, -0.021953407675027847, -0.03953872621059418, -0.027978356927633286, 0.004130384884774685, -0.011936930008232594, -0.02313956990838051, -0.0044363392516970634, 0.05162627995014191, -0.0660485029220581, -0.017208760604262352, 0.020371858030557632, 0.0033607918303459883, -0.02172747254371643, 0.03055778704583645, 0.010769596323370934, 0.07629091292619705, 0.029484592378139496, -0.035038843750953674, 0.025116505101323128, -0.023478472605347633, 0.008387858048081398, 0.03575430437922478, 0.04300307109951973, 0.013923279941082, -0.011343848891556263, -0.037881866097450256, -0.0195622555911541, -0.053509075194597244, -0.05335845425724983, 0.026547430083155632, 0.04093199595808983, 0.05030832439661026, -0.007234645541757345, 0.05942105874419212, -0.01312309131026268, 0.016596851870417595, -0.045300085097551346, -0.04631679505109787, 0.024852914735674858, -0.023252537474036217, 0.00978112779557705, -0.05475172400474548, 0.040480125695466995, -0.017726529389619827, 0.03893623128533363, -0.026547430083155632, 0.021501535549759865, -0.026227355003356934, 0.03953872621059418, -0.011767477728426456, -0.005695459432899952, 0.0783243328332901, 0.0013285483000800014, -0.006142623722553253, -0.012473526410758495, 0.00710755679756403, -0.026001419872045517, 0.015128269791603088, -0.0037867745850235224, -0.06401508301496506, 0.029597561806440353, 0.005427160765975714, 0.0015544838970527053, 0.02069193311035633, -0.019251594319939613, -0.01782066933810711, 0.016380328685045242, -0.010120031423866749, 0.031725119799375534, -0.011183811351656914, -0.0049799969419837, 0.016069667413830757, -0.01496823225170374, 0.012906569987535477, 0.061492133885622025, -0.0480489656329155, 0.053659699857234955, -0.04963051527738571, 0.10076726973056793, 0.03513298183679581, -0.03547188639640808, 0.0721111074090004, -0.013132506050169468, -0.052153464406728745, -0.025813139975070953, -0.013320785015821457, -0.02873147465288639, 0.013000709936022758, -0.044848211109638214, -0.008387858048081398, 0.03283597156405449, 0.016916926950216293, 0.08992236107587814, 0.02878795936703682, -0.03801366314291954, -0.02048482559621334, 0.038672640919685364, 0.0072770086117088795, 0.022480590268969536, -0.005460110027343035, -0.005036480724811554, -0.09090141206979752, -0.028486711904406548, -0.036432113498449326, 0.009818783961236477, -0.0048340801149606705, 0.0010108263231813908, 0.019373975694179535, -0.019082142040133476, 0.009291600435972214, 0.04420806095004082, 0.03257238119840622, 0.0398399755358696, 0.02080490067601204, -0.03987763077020645, 0.06446695327758789, -0.02479643002152443, 0.01384796854108572, -0.011428575031459332, 0.0011685105273500085, 0.028467882424592972, -0.026340322569012642, 0.025493064895272255, 0.0549776591360569, 0.01446929108351469, -0.0536220446228981, 0.05140034481883049, 0.006335610058158636, -0.0038244305178523064, 0.024777602404356003, 0.0028736181557178497, -0.02344081737101078, 0.023478472605347633, 0.02069193311035633, 0.07719465345144272, -0.04616617038846016, -0.027055785059928894, 0.0006172042340040207, 0.03837139159440994, 0.000033004100259859115, 0.016041425988078117, -0.026283839717507362, -0.04688163474202156, 0.021275600418448448, -0.011146155185997486, 0.038258425891399384, 0.0048623220063745975, -0.024514010176062584, 0.006928691174834967, -0.02950342185795307, -0.0611155740916729, 0.027451172471046448, 0.015514243394136429, -0.003911509644240141, -0.0029465765692293644, -0.025756657123565674, -0.027055785059928894, 0.0673288032412529, -0.026208527386188507, 0.023327847942709923, 0.031028486788272858, -0.07749590277671814, 0.029691701754927635, 0.030218884348869324, 0.0024311610031872988, 0.0474088154733181, 0.05994823947548866, -0.06356321275234222, 0.07719465345144272, -0.0007289952482096851, -0.017717115581035614, -0.07501061260700226, -0.05938340350985527, 0.031725119799375534, 0.03294893726706505, 0.06457991898059845, -0.013838554732501507, 0.07516123354434967, -0.012774773873388767, -0.012595908716320992 ]
10,920
burnman.classes.composite
set_fractions
Change the fractions of the phases of this Composite. Resets cached properties :param fractions: list or numpy array of floats molar or mass fraction for each phase. :param fraction_type: 'molar' or 'mass' specify whether molar or mass fractions are specified.
def set_fractions(self, fractions, fraction_type="molar"): """ Change the fractions of the phases of this Composite. Resets cached properties :param fractions: list or numpy array of floats molar or mass fraction for each phase. :param fraction_type: 'molar' or 'mass' specify whether molar or mass fractions are specified. """ assert len(self.phases) == len(fractions) if isinstance(fractions, list): fractions = np.array(fractions) try: total = sum(fractions) except TypeError: raise Exception( "Since v0.8, burnman.Composite takes an array of Materials, " "then an array of fractions" ) assert np.all(fractions >= -1e-12) self.reset() if abs(total - 1.0) > 1e-12: warnings.warn( "Warning: list of fractions does not add " f"up to one but {total:g}. Normalizing." ) fractions /= total if fraction_type == "molar": molar_fractions = fractions elif fraction_type == "mass": molar_fractions = self._mass_to_molar_fractions(self.phases, fractions) else: raise Exception( "Fraction type not recognised. " "Please use 'molar' or mass" ) # Set minimum value of a molar fraction at 0.0 (rather than -1.e-12) self.molar_fractions = molar_fractions.clip(0.0)
(self, fractions, fraction_type='molar')
[ -0.00776092940941453, -0.02175961434841156, -0.02736271545290947, 0.022793196141719818, -0.026673661544919014, -0.005163375288248062, -0.02636539936065674, -0.02462463080883026, -0.05109882727265358, 0.02076229825615883, 0.005970294121652842, 0.04500613734126091, 0.021469486877322197, 0.05175161734223366, -0.03894970938563347, 0.00513617554679513, 0.02527741901576519, -0.004265791270881891, 0.03677374869585037, -0.03479725122451782, 0.004263524431735277, -0.03891344368457794, -0.004941246006637812, 0.054217707365751266, -0.02928481437265873, -0.017008764669299126, 0.040472883731126785, 0.011160869151353836, -0.03537750616669655, -0.005730031989514828, 0.022702531889081, 0.04631171375513077, -0.044534679502248764, 0.006446286104619503, -0.008273187093436718, -0.025458749383687973, 0.018876465037465096, 0.0385870486497879, -0.12250663340091705, 0.08921442180871964, 0.06716467440128326, 0.020454037934541702, 0.04290270805358887, 0.004247657954692841, 0.00045332530862651765, 0.0012387114111334085, -0.015866385772824287, 0.0685790553689003, -0.004342856351286173, 0.02038150653243065, 0.01140566449612379, -0.042286183685064316, -0.0075252000242471695, -0.002733551664277911, -0.011985921300947666, 0.06781746447086334, 0.048161279410123825, 0.06089065596461296, 0.032893285155296326, 0.021288156509399414, 0.006038293242454529, 0.0026882190722972155, -0.0171084962785244, -0.07978525757789612, 0.0027018189430236816, -0.046239182353019714, 0.013110168278217316, 0.04127073660492897, 0.03677374869585037, 0.028486961498856544, -0.008803577162325382, 0.03537750616669655, 0.007729196455329657, -0.003635668894276023, 0.018894599750638008, 0.004605785012245178, 0.009637695737183094, 0.04428081586956978, -0.009773693978786469, 0.017607154324650764, -0.001240978017449379, 0.034416455775499344, -0.006369220558553934, 0.0014223081525415182, 0.005190574564039707, -0.01767062023282051, 0.0044561875984072685, -0.01686370186507702, 0.05900482088327408, -0.011632326990365982, -0.04500613734126091, -0.038659583777189255, 0.05378251522779465, 0.016219979152083397, -0.005312972702085972, 0.025150487199425697, -0.05885975807905197, -0.058388300240039825, -0.04195978865027428, -0.037118274718523026, -0.028178701177239418, -0.030626658350229263, 0.040255285799503326, -0.022847594693303108, 0.028613893315196037, -0.045368798077106476, -0.0038645982276648283, -0.04681943729519844, -0.01552185881882906, -0.007303070742636919, -0.012946970760822296, 0.012892572209239006, -0.04685570299625397, -0.007674797438085079, -0.014161882922053337, 0.0036288690753281116, -0.04950312525033951, -0.04243125021457672, 0.06215996667742729, -0.0034543387591838837, -0.001438174513168633, 0.020871097221970558, 0.025621946901082993, 0.07158913463354111, 0.04747222736477852, 0.06905051320791245, 0.027997370809316635, 0.02373611368238926, -0.014134682714939117, -0.006142558064311743, -0.0007162539986893535, 0.007801728323101997, -0.05378251522779465, -0.039747562259435654, 0.006559617351740599, 0.007334803696721792, -0.05661126598715782, -0.04460721090435982, -0.0040731281042099, 0.008023858070373535, 0.004583118949085474, 0.014814671128988266, 0.006863344926387072, 0.010326750576496124, -0.027326449751853943, 0.06589536368846893, 0.03467031940817833, -0.04808874800801277, -0.10299550741910934, 0.05247693881392479, -0.045368798077106476, 0.039312370121479034, 0.030590392649173737, -0.07046488672494888, 0.009547030553221703, -0.02600274048745632, -0.006827079225331545, 0.021578283980488777, -0.02792483940720558, 0.06651189178228378, -0.006736414041370153, 0.027652842923998833, -0.009737427346408367, 0.03452525660395622, -0.008871575817465782, -0.0010579479858279228, -0.007012942340224981, -0.09784573316574097, -0.04663810878992081, -0.0007938859635032713, 0.040037691593170166, -0.06944943964481354, -0.03456152230501175, -0.007869726978242397, 0.0418509915471077, -0.016174646094441414, 0.008921441622078419, -0.016446642577648163, -0.05356491729617119, -0.029828805476427078, 0.01239391416311264, -0.03724520653486252, -0.011541662737727165, 0.008912375196814537, 0.02165081724524498, 0.005702832248061895, 0.014053084887564182, -0.017570888623595238, 0.06277649104595184, -0.05069990083575249, 0.04290270805358887, 0.017607154324650764, -0.029429879039525986, 0.014406678266823292, 0.012584310956299305, -0.05312972515821457, 0.04776235297322273, -0.09697534888982773, 0.038333188742399216, 0.052331872284412384, -0.0905199944972992, -0.03390873223543167, 0.03467031940817833, -0.026129670441150665, 0.030644791200757027, -0.02121562510728836, 0.005131642334163189, 0.00909370556473732, 0.03345540910959244, -0.02582141011953354, -0.01610211469233036, 0.017607154324650764, 0.07082754373550415, -0.013617891818284988, -0.0034362059086561203, -0.05650246515870094, 0.04544132947921753, -0.05983893945813179, 0.02357291616499424, 0.04370056092739105, -0.008223321288824081, 0.05610353872179985, -0.017715953290462494, -0.024316368624567986, -0.0759410560131073, 0.026619261130690575, -0.03534124046564102, 0.017951682209968567, -0.03561323508620262, 0.018332475796341896, -0.05026470869779587, 0.02395370975136757, -0.05661126598715782, -0.017706885933876038, -0.028323765844106674, 0.027290184050798416, -0.014569875784218311, 0.04188725724816322, -0.03612096235156059, 0.014914402738213539, -0.0011588127817958593, -0.028595760464668274, -0.01923912577331066, 0.04620291665196419, -0.005748164840042591, -0.03363673761487007, 0.016355976462364197, 0.027834173291921616, -0.027670977637171745, 0.031623974442481995, -0.01727169379591942, -0.01902152970433235, -0.01691810041666031, -0.0029828804545104504, 0.021832147613167763, -0.03768039867281914, -0.0633930116891861, 0.012076586484909058, 0.016763970255851746, -0.04725462943315506, -0.010752876289188862, -0.08732859045267105, 0.057662978768348694, 0.017987947911024094, 0.005788964219391346, 0.014125616289675236, 0.01856820471584797, 0.016927167773246765, -0.07637624442577362, 0.02021830901503563, 0.034144461154937744, 0.03434392437338829, 0.00028573660529218614, -0.0019277659012004733, 0.012040319852530956, 0.05911362171173096, 0.06814385950565338, -0.010834475047886372, 0.01913032867014408, 0.034869782626628876, 0.07478054612874985, -0.02554941363632679, 0.04841514304280281, 0.004809781443327665, 0.04631171375513077, 0.006949476897716522, -0.01891273260116577, -0.02054470218718052, 0.0005726065137423575, 0.024769695475697517, 0.0028355498798191547, 0.004626184701919556, 0.013681357726454735, -0.004292990546673536, 0.04406322166323662, -0.011142736300826073, -0.02814243547618389, -0.012810973450541496, -0.011142736300826073, -0.018531939014792442, -0.02819683402776718, 0.0043587228283286095, 0.0370820090174675, 0.0391310416162014, -0.06099945306777954, -0.049430590122938156, 0.04050914943218231, -0.019746851176023483, 0.03236742690205574, -0.00020059644884895533, 0.0628490224480629, 0.06317541748285294, -0.01780661754310131, 0.053927578032016754, 0.04297523945569992, 0.020472170785069466, 0.04221365228295326, -0.02533181756734848, -0.009411033242940903, 0.03786173090338707, -0.0087265120819211, -0.0669470801949501, 0.0008550848579034209, 0.05341985449194908, 0.014515476301312447, 0.00650068512186408, -0.010127287358045578, 0.05817070230841637, -0.024715295061469078, -0.020145775750279427, -0.10437361896038055, -0.004900446627289057, -0.009737427346408367, 0.008159855380654335, 0.01447921060025692, -0.05120762810111046, 0.01902152970433235, -0.09654016047716141, 0.029701873660087585, -0.023808645084500313, 0.08304919302463531, 0.0021374288480728865, -0.02627473510801792, -0.004823381081223488, -0.014714939519762993, 0.015322395600378513, 0.04127073660492897, -0.037390273064374924, 0.006124424748122692, 0.01074380986392498, -0.040364086627960205, 0.002923948224633932, 0.005353772081434727, 0.03713640943169594, -0.001369042438454926, 0.022666266188025475, -0.0320410318672657, -0.08935948461294174, -0.03049972653388977, -0.05095376446843147, 0.07195179164409637, 0.06034666672348976, 0.024697162210941315, 0.022267339751124382, -0.0007797195576131344, -0.03352794051170349, -0.04007395729422569, -0.010417415760457516, 0.00888970959931612, -0.04413575306534767, 0.03372740373015404, 0.008236920461058617, 0.005798030644655228, 0.013681357726454735, -0.01214005146175623, 0.03336474299430847, -0.03521430864930153, 0.013626959174871445, 0.02473342791199684, -0.018559137359261513, 0.013663224875926971, -0.05026470869779587, -0.0696670338511467, 0.04043661803007126, -0.029828805476427078, -0.0014925735304132104, 0.04341043159365654, -0.028051769360899925, 0.02990133687853813, 0.013255232013761997, 0.022847594693303108, 0.020617235451936722, 0.04029155150055885, -0.021306289359927177, -0.030807988718152046, 0.015122932381927967, 0.046021584421396255, 0.006740947254002094, -0.013200832530856133, -0.005548701621592045, 0.04551386088132858, -0.11735685914754868, 0.014633340761065483, 0.032711952924728394, -0.027235783636569977, -0.0380430594086647, 0.046456776559352875, 0.044861070811748505, -0.0076294648461043835, -0.027834173291921616, 0.003091678488999605, -0.02852322906255722, 0.02070789970457554, 0.009216103702783585, -0.013209899887442589, -0.03267568722367287, -0.02027270756661892, -0.13135553896427155, 0.005081776529550552, 0.04460721090435982, 0.04108940437436104, 0.017951682209968567, 0.059367481619119644, 0.05682886019349098, 0.06444472819566727, -0.012294182553887367, 0.036955080926418304, -0.0015571723924949765, -0.06977583467960358, 0.009683028794825077, -0.006949476897716522, 0.046783171594142914, -0.0328570194542408, -0.0407630130648613, 0.029810672625899315, -0.01035394985228777, 0.007257738150656223, 0.018114879727363586, -0.036846280097961426, 0.0030667458195239305, 0.03550443798303604, -0.016111182048916817, -0.018658868968486786, -0.035631369799375534, -0.03229489549994469, -0.03401752933859825, -0.017851950600743294, -0.02422570437192917, -0.04312030225992203, 0.013862688094377518, -0.05584967881441116, 0.04105313867330551, 0.004553652834147215, -0.03811559081077576, 0.07710156589746475, -0.014651473611593246, 0.04166966304183006, 0.0013021769700571895, 0.006541484035551548, -0.0418509915471077, 0.03851451724767685, -0.004873246885836124, -0.01461520791053772, 0.03214982897043228, 0.005385504569858313, 0.04555012658238411, 0.03612096235156059, 0.019692450761795044, -0.014642407186329365, 0.02627473510801792, -0.0385870486497879, 0.030971184372901917, 0.016120247542858124, 0.012493645772337914, -0.03894970938563347, -0.045296262949705124, -0.04395442083477974, 0.005965760909020901, -0.09799079596996307, -0.051243893802165985, -0.015848252922296524, 0.00010525646939640865, -0.014470144174993038, 0.0024162239860743284, -0.029484277591109276, 0.005816163495182991, -0.003003280144184828, -0.011024871841073036, 0.046347979456186295, -0.06263142079114914, -0.05969387665390968, -0.023445984348654747, 0.023282788693904877, 0.057118989527225494, -0.032711952924728394, 0.05791684240102768, -0.03836945444345474, -0.02214040793478489, 0.003676468273624778, 0.015730388462543488, 0.027453379705548286, 0.05570461228489876, 0.009873425588011742, -0.005770831368863583, -0.019638052210211754, -0.019910046830773354, -0.004050461575388908, -0.039421167224645615, -0.018169278278946877, -0.010707544162869453, -0.021451354026794434, -0.041343268007040024, -0.005915895104408264, -0.013010436668992043, -0.004877780098468065, -0.009909691289067268, -0.022720664739608765, 0.007452668156474829, -0.007099074311554432, 0.009252369403839111, -0.03049972653388977, -0.018767667934298515, -0.0229745265096426, 0.048487674444913864, 0.0015039066784083843, -0.02038150653243065, -0.04663810878992081, -0.07028355449438095, 0.010027555748820305, -0.04729089513421059, -0.0026496865320950747, -0.028758957982063293, -0.02538621798157692, 0.08979468047618866, 0.01843220740556717, 0.02457023225724697, -0.003764866618439555, -0.02687312476336956, 0.05875096097588539, 0.025404350832104683, -0.05186041444540024, 0.044534679502248764, 0.08268653601408005, -0.029538676142692566, 0.007511600386351347, 0.011577928438782692, 0.028994686901569366, -0.058388300240039825, 0.05748165026307106, 0.029647475108504295, 0.022720664739608765, -0.019039662554860115, -0.07082754373550415, -0.002923948224633932, 0.06836145371198654, -0.00239129108376801, 0.04108940437436104, -0.03610282763838768, 0.02582141011953354, 0.0037286006845533848, 0.028396297246217728, 0.012602443806827068, 0.03383620083332062, -0.005095376633107662, 0.013146433979272842, 0.015975184738636017, 0.04087181016802788, 0.01764342188835144, 0.0017192362574860454, -0.004932179115712643, 0.019492987543344498, 0.0016965699614956975, -0.011106469668447971, 0.02257560007274151, 0.0174530241638422, -0.042721375823020935, 0.02538621798157692, -0.02302892506122589, -0.0402190200984478, -0.025730744004249573, 0.03971129655838013, -0.0328570194542408, -0.06005653738975525, -0.02065350115299225, 0.04754475876688957, 0.06433592736721039, 0.024697162210941315, 0.04159713163971901, 0.04312030225992203, -0.007593198679387569, -0.02417130582034588, 0.008921441622078419, 0.04700076952576637, -0.014959734864532948, -0.03786173090338707, -0.007656664587557316, -0.06825266033411026, -0.07681144028902054, -0.012865372002124786, 0.04127073660492897, 0.015349594876170158, -0.005063643679022789, -0.017162896692752838, 0.07017476111650467, -0.0027063521556556225, -0.014334145933389664, 0.016111182048916817, 0.03523244336247444, 0.011115536093711853, -0.0006074559059925377, -0.004923112690448761, 0.024189438670873642, -0.026836859062314034, -0.03182343766093254, -0.017960749566555023, -0.06099945306777954, -0.02435263618826866, -0.010381149128079414, 0.022611865773797035, 0.03704574331641197, -0.06567776948213577, 0.041343268007040024, -0.04152459651231766, 0.05831576883792877, -0.043664295226335526, 0.0034702052362263203, -0.004084460902959108, -0.07528826594352722, -0.013527227565646172, -0.1064770445227623, 0.03996516019105911, 0.012276049703359604, 0.0003448105708230287, -0.002086429623886943, -0.03379993513226509, -0.03677374869585037, -0.02121562510728836, -0.01008195523172617, 0.037789199501276016, 0.01691810041666031, 0.052948396652936935, -0.03699134662747383, 0.03894970938563347, 0.005045510828495026, -0.04141579940915108, 0.01214005146175623, -0.03303834795951843, -0.045405063778162, -0.02527741901576519, -0.008803577162325382, -0.023808645084500313, 0.08471743017435074, -0.0059793610125780106, 0.007783595472574234, -0.016256244853138924, 0.021143091842532158, 0.018658868968486786, -0.005018311087042093, -0.003354607382789254, 0.008903308771550655, -0.0016285711899399757, 0.021959077566862106, 0.030626658350229263, 0.021288156509399414, 0.046674374490976334, -0.006305755116045475, 0.02097989432513714, -0.012937904335558414, 0.025186754763126373, 0.05642993375658989, -0.040799278765916824, -0.013898953795433044, -0.021886546164751053, 0.0005955561064183712, -0.013998685404658318, 0.04993831738829613, 0.015558124519884586, 0.0054625701159238815, 0.04148833081126213, 0.04018275439739227, -0.05341985449194908, 0.02446143329143524, -0.029030952602624893, 0.03847825154662132, 0.04337416589260101, 0.08174362033605576, -0.03952996805310249, 0.022666266188025475, -0.008368385024368763, -0.03418072685599327, 0.020961761474609375, 0.04808874800801277, -0.013373096473515034, -0.02961120940744877, -0.008681179955601692, 0.05352865159511566, -0.010698476806282997, -0.047834888100624084, -0.006559617351740599, 0.027652842923998833, 0.034597788006067276, -0.02961120940744877, -0.04892286658287048, 0.035848964005708694, -0.017407691106200218, -0.012946970760822296, 0.01929352432489395, 0.02446143329143524, 0.01891273260116577, -0.031895969063043594, -0.00225642672739923, 0.10183499753475189, 0.00425672484561801, -0.03575830161571503, 0.005992960650473833, -0.020091377198696136, 0.035576969385147095, 0.04402695223689079, -0.0038328655064105988, -0.02121562510728836, -0.018586337566375732, 0.02473342791199684, 0.09110025316476822, -0.0004374589188955724, 0.03077172115445137, -0.033437274396419525, 0.09479939192533493, 0.014959734864532948, -0.007520666811615229, -0.05033724382519722, 0.006450819317251444, 0.028595760464668274, 0.02021830901503563, -0.0198375154286623, 0.031007451936602592, -0.058061905205249786, 0.025458749383687973, -0.006976676639169455, -0.001970831770449877, 0.015322395600378513, -0.01610211469233036, -0.0418509915471077, -0.04496987164020538, -0.024642763659358025, -0.08362945169210434, 0.028559494763612747, -0.006169757340103388, 0.011777391657233238, 0.016038648784160614, -0.018468473106622696, -0.005879629403352737, -0.02736271545290947, -0.007076408248394728, 0.07840714603662491, 0.0021068293135613203, -0.03401752933859825, 0.016337843611836433, 0.009075572714209557, 0.0020388306584209204, -0.05302092805504799, -0.047073300927877426, -0.028668291866779327, 0.05436277016997337, 0.0323130264878273, -0.0009616162860766053, 0.04257631301879883, 0.002772084204480052, -0.07169792801141739 ]
10,921
burnman.classes.composite
set_method
set the same equation of state method for all the phases in the composite
def set_method(self, method): """ set the same equation of state method for all the phases in the composite """ for phase in self.phases: phase.set_method(method) # Clear the cache on resetting method self.reset()
(self, method)
[ 0.007695685140788555, -0.049079932272434235, 0.02631622552871704, 0.03766359016299248, -0.07553412020206451, -0.02428128756582737, -0.04921789467334747, -0.041285086423158646, 0.03388688340783119, 0.022608499974012375, -0.0048372880555689335, 0.020297639071941376, 0.021349597722291946, 0.06477309763431549, -0.061013635247945786, -0.019556093961000443, 0.06184140592813492, 0.027247468009591103, -0.036697857081890106, -0.07091239839792252, 0.02747165597975254, 0.022401558235287666, 0.03631846234202385, 0.027868296951055527, 0.0127269821241498, 0.049010951071977615, 0.03997445106506348, -0.02416057139635086, 0.010200555436313152, -0.024746909737586975, -0.017986778169870377, 0.020332129672169685, -0.03399035334587097, -0.007855203934013844, 0.06422124803066254, -0.013459904119372368, 0.01776259019970894, 0.04728642851114273, -0.07070545852184296, 0.07484430819749832, 0.011588796973228455, -0.042009387165308, 0.059978920966386795, 0.0007129826117306948, -0.017296968027949333, -0.015606936067342758, -0.001325727324001491, 0.06028933450579643, 0.07353367656469345, -0.050080157816410065, -0.0008865127456374466, -0.06242774426937103, 0.07836233824491501, 0.0008676507859490812, -0.0005372968153096735, 0.05280490219593048, 0.02743716537952423, 0.029040971770882607, 0.052425507456064224, 0.028299426659941673, 0.016805479303002357, -0.03331778943538666, -0.03331778943538666, -0.026799092069268227, 0.011321495287120342, -0.03180021047592163, -0.0254539642482996, 0.054667387157678604, 0.04062977060675621, 0.02754063718020916, 0.0043953787535429, 0.003942691255360842, 0.027023280039429665, -0.01857311651110649, -0.005565898958593607, -0.001401175162754953, -0.04528598114848137, 0.010148819535970688, 0.014779164455831051, -0.048804011195898056, -0.04073324054479599, 0.007803468033671379, -0.018159231171011925, -0.004608788527548313, -0.07615494728088379, -0.00882524810731411, 0.07698272168636322, -0.019642319530248642, -0.003130009863525629, -0.045561905950307846, -0.018400663509964943, -0.009441765025258064, -0.00999361276626587, 0.03824992850422859, 0.019124964252114296, 0.006320377811789513, -0.014175581745803356, -0.018176475539803505, -0.0395260751247406, -0.0462862066924572, -0.03555966913700104, 0.01630536839365959, 0.01101108081638813, -0.016115671023726463, 0.0505630224943161, -0.006445406004786491, -0.028299426659941673, -0.027333693578839302, 0.0008283100905828178, -0.00047127986908890307, -0.016926195472478867, 0.041319578886032104, -0.0592891126871109, -0.0484246127307415, 0.01326158456504345, -0.004738127812743187, -0.022384312003850937, -0.015193050727248192, -0.022556765004992485, 0.022505028173327446, 0.006152236834168434, 0.035663142800331116, -0.021539296954870224, 0.020608052611351013, -0.006837734952569008, 0.04059527814388275, 0.023505251854658127, 0.05735764652490616, 0.0138392997905612, -0.08539839088916779, -0.0329383946955204, 0.005423625931143761, 0.015986330807209015, 0.052322037518024445, -0.00877782329916954, -0.02973078191280365, -0.001289081177674234, -0.04659662023186684, -0.03545619919896126, 0.07684475928544998, 0.03092070296406746, 0.014632579870522022, 0.018141984939575195, 0.014632579870522022, 0.03976750746369362, 0.06563535332679749, 0.005009740125387907, 0.0041949027217924595, -0.03645642101764679, 0.01981477253139019, -0.000026154148144996725, 0.011950946412980556, 0.029989460483193398, -0.040388334542512894, 0.0030373167246580124, -0.0058073322288692, -0.005738351494073868, 0.04966627061367035, -0.035835593938827515, -0.015951840206980705, -0.007928496226668358, 0.00988151878118515, -0.07053299993276596, -0.014287675730884075, -0.00014995268429629505, 0.014097978360950947, -0.05642640218138695, -0.03535272926092148, -0.027885541319847107, -0.009260689839720726, -0.03386963903903961, -0.0708434134721756, -0.03938811272382736, 0.045803338289260864, 0.022884424775838852, 0.013571998104453087, 0.011718136258423328, 0.009484877809882164, -0.012476925738155842, -0.026092037558555603, -0.023901892825961113, -0.010717912577092648, -0.06732539087533951, 0.025626415386795998, 0.008967521600425243, 0.02969629131257534, 0.03212786838412285, -0.031162135303020477, -0.0030373167246580124, -0.013434036634862423, 0.0008250765968114138, 0.025816114619374275, -0.01781432516872883, -0.007066234014928341, -0.011890588328242302, -0.038939736783504486, 0.000939326302614063, -0.02735093981027603, 0.01888353005051613, 0.05101139843463898, -0.043630439788103104, 0.007376648485660553, 0.035663142800331116, 0.046872545033693314, 0.012563152238726616, 0.02510906010866165, 0.007562034763395786, 0.028247691690921783, 0.014106600545346737, 0.007225752808153629, 0.03714623302221298, -0.013891034759581089, 0.04925238713622093, -0.003615031950175762, 0.009027879685163498, -0.027006035670638084, 0.07525819540023804, 0.014606712386012077, 0.007393893785774708, 0.03980199620127678, 0.024884872138500214, 0.04766582325100899, -0.00494507048279047, -0.025557436048984528, -0.057806022465229034, 0.008040590211749077, 0.0000055112327572715, -0.015770765021443367, -0.06608372926712036, -0.03436974808573723, -0.014874013140797615, 0.04194040596485138, -0.027075015008449554, -0.021504806354641914, 0.008260466158390045, 0.006949828937649727, -0.002126552863046527, 0.013675469905138016, -0.0615999735891819, 0.023970874026417732, 0.0022397246211767197, 0.008458786644041538, 0.008575191721320152, 0.027230223640799522, -0.05083894729614258, 0.014365279115736485, 0.0438028909265995, 0.03621498867869377, -0.06335898488759995, 0.007842269726097584, 0.029058218002319336, -0.043492477387189865, -0.03735317289829254, -0.008006099611520767, 0.03164500370621681, -0.05528821796178818, 0.010648931376636028, 0.04100916534662247, 0.04932136461138725, 0.0006569356191903353, -0.005212371703237295, -0.06039280444383621, 0.0035870084539055824, -0.03167949244379997, 0.02871331386268139, 0.041388560086488724, 0.03271420672535896, 0.0525289811193943, -0.053322259336709976, 0.006747197359800339, 0.07222303748130798, -0.032438281923532486, -0.061117105185985565, 0.05508127436041832, 0.035766612738370895, 0.037974003702402115, -0.008204419165849686, 0.01212339848279953, -0.0708434134721756, -0.022436048835515976, 0.1309947967529297, 0.013382300734519958, 0.014684315770864487, 0.016382971778512, -0.06156548112630844, 0.025954075157642365, -0.005639191251248121, 0.044492702931165695, 0.03549068793654442, 0.0007329224026761949, 0.03728419542312622, 0.066566601395607, 0.03273145109415054, 0.03283492475748062, 0.07815539836883545, -0.03078274056315422, -0.07587902247905731, 0.009596971794962883, 0.013468527235090733, -0.026988789439201355, -0.004287595860660076, -0.02967904508113861, -0.056667834520339966, -0.0038370643742382526, -0.027833806350827217, -0.03273145109415054, 0.020090697333216667, 0.037836041301488876, 0.03216236084699631, -0.057840511202812195, 0.0484246127307415, 0.07753457129001617, -0.08739884197711945, -0.019090473651885986, 0.05525372549891472, -0.013744451105594635, -0.03418005257844925, -0.022349821403622627, 0.027782069519162178, 0.05973748862743378, -0.026799092069268227, -0.0032809055410325527, -0.03562865033745766, 0.047907255589962006, -0.010942100547254086, 0.01646057516336441, 0.024470984935760498, -0.017374571412801743, -0.05397757887840271, -0.02762686274945736, -0.06242774426937103, 0.04525149241089821, 0.04856257513165474, 0.03211062401533127, -0.06380736082792282, -0.025626415386795998, 0.011787116527557373, -0.020642543211579323, 0.0045053171925246716, 0.00602289754897356, 0.08146648108959198, 0.030593043193221092, -0.042423274368047714, -0.026747357100248337, -0.006902404595166445, 0.03418005257844925, -0.015408615581691265, 0.025143548846244812, 0.04604477062821388, -0.00519512640312314, -0.011864719912409782, -0.05494331195950508, 0.045561905950307846, 0.053632672876119614, 0.047803785651922226, 0.003341263858601451, -0.04069874808192253, -0.04194040596485138, -0.018987001851201057, -0.08608820289373398, 0.039112187922000885, -0.004871778190135956, -0.06066872924566269, 0.026212753728032112, 0.03200715407729149, -0.029144443571567535, -0.03442148491740227, -0.008907162584364414, 0.03326605632901192, -0.06287612020969391, 0.022298086434602737, -0.06498003751039505, 0.01384792197495699, 0.02547120861709118, -0.002802350325509906, 0.02869606763124466, -0.0034706031437963247, 0.019142208620905876, 0.04062977060675621, 0.023470761254429817, 0.07594800740480423, -0.06294509768486023, -0.030506817623972893, 0.029903234913945198, 0.03323156386613846, 0.012459680438041687, 0.04480311647057533, 0.0036408999003469944, 0.09181362390518188, -0.0014464439591392875, 0.017150383442640305, -0.015236163511872292, -0.05473636835813522, -0.025005588307976723, 0.006402292754501104, -0.0021114631090313196, -0.003761616535484791, 0.007600836455821991, 0.0006068166112527251, -0.03976750746369362, 0.00604445394128561, -0.04066425934433937, 0.04973525181412697, 0.04625171422958374, 0.00984702818095684, -0.04887298867106438, 0.04507903754711151, 0.08229425549507141, 0.010838628746569157, -0.07912112772464752, -0.002539360662922263, 0.01652955636382103, -0.01107143983244896, -0.04407881572842598, -0.021177146583795547, -0.051149360835552216, 0.03980199620127678, -0.062186311930418015, 0.04328553378582001, 0.05063200369477272, 0.04411330446600914, 0.07567208260297775, -0.02521253004670143, 0.03421454131603241, 0.027075015008449554, 0.01876281388103962, 0.007626704405993223, 0.015477596782147884, -0.038939736783504486, 0.07291284203529358, -0.008208731189370155, 0.02850637026131153, -0.05735764652490616, 0.013511640019714832, -0.020677033811807632, -0.0532187893986702, -0.014494618400931358, -0.03423178568482399, -0.008342381566762924, 0.03330054506659508, -0.003343419637531042, 0.0007086712867021561, -0.030403345823287964, -0.03831890597939491, -0.003957781009376049, -0.03395586460828781, -0.0016490754205733538, 0.023522498086094856, -0.0030308496206998825, -0.021246127784252167, 0.0031795897521078587, 0.059840958565473557, -0.029920479282736778, -0.003936224617063999, 0.08394979685544968, 0.03299013152718544, 0.026747357100248337, -0.011330118402838707, -0.0002314633602509275, 0.0018333838088437915, -0.005803021136671305, 0.03185194358229637, -0.05594353750348091, 0.015149937011301517, -0.0065618110820651054, -0.003158033359795809, -0.04480311647057533, 0.02443649433553219, 0.014658448286354542, 0.0052856639958918095, -0.024608947336673737, -0.05470187962055206, -0.034473221749067307, -0.021159900352358818, -0.017866062000393867, -0.022349821403622627, -0.030006704851984978, -0.02209114283323288, -0.11174911260604858, -0.05401207134127617, -0.05052853375673294, -0.01893526501953602, -0.03323156386613846, -0.012502794153988361, 0.005242550745606422, -0.026143772527575493, 0.022470539435744286, -0.008532078936696053, -0.011994059197604656, -0.04659662023186684, -0.056736815720796585, 0.0020306261721998453, 0.036939289420843124, 0.04614824429154396, -0.03209337964653969, 0.04959728941321373, -0.040146902203559875, 0.014175581745803356, 0.01330469734966755, -0.032558999955654144, -0.005708171986043453, 0.019435377791523933, 0.005337399430572987, 0.05166671797633171, 0.007717241998761892, 0.006898093037307262, -0.021349597722291946, -0.010631686076521873, -0.010122952051460743, 0.019504358991980553, 0.05080445483326912, -0.058840736746788025, -0.003781017381697893, -0.0352492555975914, 0.014615334570407867, -0.022556765004992485, -0.038939736783504486, -0.0017309902468696237, -0.01871107704937458, 0.05166671797633171, 0.01530514471232891, -0.03183469921350479, 0.01755564659833908, 0.025729887187480927, -0.009984989650547504, -0.004427713342010975, -0.041354067623615265, -0.059013187885284424, 0.01765911839902401, -0.03666336461901665, 0.020470092073082924, -0.0010902220383286476, -0.007876760326325893, 0.10374732315540314, 0.015046466141939163, 0.0393536202609539, 0.008605371229350567, -0.0754651427268982, 0.02854086086153984, -0.00602289754897356, -0.01158017385751009, 0.019090473651885986, 0.005604700651019812, 0.019073227420449257, 0.004858844447880983, -0.008088014088571072, -0.00552278570830822, -0.07325775176286697, 0.03562865033745766, -0.010743780061602592, -0.05835786834359169, -0.0071222810074687, -0.033593714237213135, -0.031093155965209007, 0.08470858633518219, -0.06035831570625305, 0.05494331195950508, 0.013183980248868465, 0.0014680004678666592, 0.01981477253139019, -0.030144667252898216, 0.00046481291064992547, 0.02188420109450817, -0.01664165034890175, 0.022711971774697304, 0.021228881552815437, 0.0503905713558197, -0.010122952051460743, 0.05611598864197731, -0.053356751799583435, 0.06377287209033966, 0.012269983068108559, -0.005544342566281557, -0.020021716132760048, 0.03388688340783119, 0.014977484941482544, 0.026747357100248337, -0.05528821796178818, -0.05301184579730034, -0.03776706010103226, 0.0025328935589641333, -0.036801327019929886, -0.03086896799504757, -0.023781176656484604, -0.04711397737264633, 0.04839012399315834, -0.017245233058929443, 0.06073771044611931, 0.0127269821241498, -0.008950276300311089, -0.053322259336709976, -0.031248362734913826, 0.01145945768803358, -0.012295851483941078, -0.02654041349887848, 0.02419506199657917, 0.008717465214431286, -0.028351163491606712, -0.0640832856297493, 0.02659214846789837, -0.004992494825273752, -0.008195796981453896, 0.04849359393119812, 0.028075238689780235, -0.00024965169723145664, -0.03921566158533096, -0.05477086082100868, 0.0502181202173233, -0.015667295083403587, 0.028178710490465164, 0.032334811985492706, -0.006216906476765871, 0.03597355633974075, -0.005949605256319046, -0.00043840616126544774, -0.03831890597939491, -0.0057340399362146854, 0.00231948378495872, 0.003401622176170349, 0.005820265971124172, -0.08277712017297745, 0.020194167271256447, -0.06967074424028397, 0.008536390028893948, -0.059978920966386795, 0.009579726494848728, 0.029403122141957283, -0.036697857081890106, -0.009131350554525852, -0.04187142476439476, 0.005600389558821917, -0.01979752816259861, 0.012166512198746204, -0.03628396987915039, 0.00832513626664877, -0.054460447281599045, 0.027833806350827217, 0.054563917219638824, -0.02655765973031521, -0.011278382502496243, 0.04045731574296951, -0.011468079872429371, 0.04604477062821388, -0.04749337211251259, -0.029472103342413902, 0.021315107122063637, -0.05918563902378082, -0.0209184680134058, 0.009295180439949036, -0.002981269732117653, -0.03983648866415024, -0.0035870084539055824, -0.053391240537166595, 0.06549739837646484, 0.03312809392809868, -0.06201385706663132, 0.039698526263237, 0.002163199009373784, 0.052322037518024445, -0.010062593035399914, -0.0461137518286705, 0.06366939842700958, -0.005203749053180218, 0.00495800469070673, 0.00632900046184659, -0.03949158266186714, 0.022849934175610542, 0.014960239641368389, -0.005087343510240316, 0.043492477387189865, 0.003440423868596554, -0.060082390904426575, -0.026833582669496536, -0.01742630824446678, 0.024815890938043594, 0.009053747169673443, 0.03185194358229637, -0.0699811577796936, 0.044527191668748856, 0.028385654091835022, -0.0619448758661747, 0.019366396591067314, -0.011330118402838707, 0.01781432516872883, 0.014287675730884075, 0.06787724047899246, 0.0438028909265995, 0.01311499997973442, -0.008523456752300262, -0.08560533821582794, -0.05701274052262306, -0.012830452993512154, 0.021194390952587128, 0.0009678886854089797, 0.006704084109514952, 0.011399098671972752, -0.034455977380275726, -0.10402324795722961, 0.0017525467555969954, 0.005708171986043453, 0.04100916534662247, -0.01652955636382103, -0.013546130619943142, -0.010476479306817055, 0.01484814565628767, 0.015486218966543674, 0.02074601501226425, -0.025867849588394165, -0.004022450651973486, -0.01101108081638813, 0.04297512024641037, 0.0016501531936228275, -0.012795963324606419, 0.01781432516872883, 0.054460447281599045, 0.0066092354245483875, -0.011347363702952862, -0.0027549259830266237, -0.048010729253292084, 0.04863155633211136, -0.011597419157624245, -0.022280840203166008, 0.03731868416070938, -0.05584006384015083, 0.036973778158426285, 0.024608947336673737, 0.022453293204307556, 0.041216105222702026, 0.007161083165556192, -0.005186503753066063, -0.06460064649581909, -0.000026996200176654384, -0.01218375749886036, -0.014511863701045513, -0.010105706751346588, -0.06025484576821327, 0.02102193981409073, 0.020694280043244362, -0.04759684205055237, 0.02847187966108322, -0.016193274408578873, -0.02405709959566593, 0.013873790390789509, 0.0019314660457894206, -0.003992271609604359, 0.04390636458992958, -0.014641202986240387, -0.010942100547254086, 0.014632579870522022, -0.03200715407729149, -0.0043932232074439526, 0.06615271419286728, 0.03659438341856003, 0.047010503709316254, 0.0480797104537487, -0.048804011195898056, 0.01742630824446678, 0.03421454131603241, -0.00020559551194310188, -0.029161689803004265, -0.058978695422410965, -0.06684252619743347, 0.032765943557024, 0.010088461451232433, 0.06949828565120697, 0.034645672887563705, 0.03628396987915039, -0.028989236801862717 ]
10,922
burnman.classes.composite
set_state
Update the material to the given pressure [Pa] and temperature [K].
def set_state(self, pressure, temperature): """ Update the material to the given pressure [Pa] and temperature [K]. """ Material.set_state(self, pressure, temperature) for phase in self.phases: phase.set_state(pressure, temperature)
(self, pressure, temperature)
[ 0.025469616055488586, -0.009214324876666069, -0.037036918103694916, 0.020512200891971588, -0.05672288313508034, -0.00995075237005949, -0.05244801193475723, -0.003650704864412546, 0.03049887716770172, 0.023745298385620117, -0.044077884405851364, 0.011208068579435349, -0.0017849387368187308, 0.07450491189956665, -0.05869866535067558, -0.02778666839003563, 0.006421288941055536, 0.04030593857169151, -0.04418565332889557, -0.02092531882226467, 0.013426331803202629, 0.020009275525808334, 0.04418565332889557, 0.03053480014204979, 0.0003578297037165612, 0.019470425322651863, 0.03509705886244774, -0.013282638043165207, 0.0015009201597422361, -0.02512834593653679, -0.014414221979677677, 0.02216467261314392, 0.03947970271110535, 0.04249725863337517, 0.048424601554870605, 0.0031567595433443785, 0.021266590803861618, 0.02823570929467678, -0.015896057710051537, 0.05726173147559166, 0.03207950294017792, -0.012932386249303818, 0.05075961723923683, 0.029816335067152977, 0.015482940711081028, 0.001520004472695291, 0.04300018399953842, 0.03664176166057587, 0.08262357860803604, -0.03710876405239105, 0.014890206046402454, -0.0299600288271904, 0.05521410331130028, -0.009825021028518677, 0.011073355562984943, 0.029888181015849113, 0.0373961515724659, -0.008859583176672459, 0.02960079535841942, -0.02566719427704811, 0.026780815795063972, -0.004786779172718525, 0.0003839302225969732, -0.06997857987880707, -0.031361036002635956, -0.0740019902586937, 0.012770731933414936, 0.036677684634923935, 0.016857005655765533, 0.06681732833385468, 0.005837535485625267, 0.02044035494327545, 0.021428246051073074, -0.048209063708782196, -0.008944900706410408, 0.036498069763183594, -0.08140219002962112, 0.02965467981994152, -0.02361956611275673, -0.035743679851293564, -0.032115425914525986, 0.006493135821074247, -0.03301350772380829, 0.04037778452038765, -0.07586999982595444, 0.013713718391954899, 0.03177415579557419, 0.002894070465117693, -0.011890610679984093, -0.048244986683130264, 0.012860539369285107, 0.03349847346544266, -0.006448231637477875, 0.014719570055603981, 0.0817614197731018, 0.008271338418126106, -0.027858516201376915, -0.04131178930401802, -0.052016932517290115, -0.018320880830287933, -0.05040038377046585, -0.015204534865915775, 0.0019937430042773485, -0.04203025624155998, 0.023727336898446083, -0.04932268336415291, -0.022667599841952324, -0.0027077184058725834, 0.06900864839553833, -0.019165078178048134, -0.04508373513817787, 0.009012256748974323, -0.08355758339166641, -0.010974566452205181, -0.05122661963105202, -0.002272148383781314, 0.04379049688577652, -0.0208355113863945, -0.015896057710051537, -0.013767602853477001, 0.013776583597064018, 0.013067098334431648, 0.013785564340651035, 0.034198977053165436, 0.03545629233121872, 0.03664176166057587, 0.010723103769123554, 0.03608494997024536, 0.015339246951043606, -0.09375979751348495, -0.0475265197455883, 0.0291158314794302, -0.017036622390151024, -0.0030153116676956415, -0.0019914975855499506, -0.03506113588809967, -0.016210386529564857, -0.06182399019598961, -0.00831175222992897, 0.016731275245547295, 0.03396547585725784, 0.010741065256297588, -0.02645750716328621, 0.010938643477857113, -0.00008237099245889112, 0.03430674597620964, 0.01313894521445036, -0.022416137158870697, -0.04795759916305542, 0.028936214745044708, -0.01698273792862892, 0.03506113588809967, 0.041958410292863846, 0.0016266517341136932, -0.01963208056986332, -0.001815248979255557, 0.006048584822565317, -0.027104126289486885, 0.003843792714178562, 0.030157607048749924, -0.014234606176614761, -0.018374765291810036, -0.04249725863337517, 0.05172954499721527, -0.04317980259656906, 0.03396547585725784, -0.07299613952636719, -0.041239943355321884, -0.016452869400382042, -0.03621068224310875, 0.010309985838830471, -0.05740542709827423, -0.034198977053165436, 0.028918253257870674, 0.04648474603891373, 0.001423460547812283, 0.0072295633144676685, -0.02694247104227543, 0.01161220483481884, -0.014081931672990322, -0.03355235606431961, -0.003132062265649438, -0.06254246085882187, 0.03922823816537857, 0.0012966064969077706, -0.016372041776776314, -0.013201811350882053, 0.006852368358522654, 0.03886900469660759, -0.024769112467765808, 0.035833485424518585, 0.0031096101738512516, -0.01945246383547783, 0.0006252898601815104, 0.00804681796580553, 0.0031769664492458105, 0.05920159071683884, -0.08901792764663696, 0.05891420319676399, 0.07414568215608597, -0.026780815795063972, -0.05313055217266083, -0.005900401156395674, 0.05172954499721527, 0.045371122658252716, 0.013471235521137714, 0.04260502755641937, 0.0011899591190740466, -0.007341823540627956, -0.00511906947940588, -0.01839272677898407, -0.026852663606405258, 0.04486819729208946, 0.03101976588368416, 0.03143288195133209, -0.07209805399179459, 0.021212706342339516, -0.01927284710109234, 0.037036918103694916, 0.002370937494561076, 0.0029479553923010826, 0.030876072123646736, -0.0032039089128375053, -0.022003019228577614, -0.04687989875674248, 0.030121684074401855, -0.03049887716770172, 0.004099746234714985, -0.09361610561609268, 0.03454024717211723, 0.0026021937374025583, 0.02467930316925049, -0.02211078815162182, -0.00033958739368245006, 0.007763922214508057, 0.009358018636703491, -0.02451764978468418, -0.04964599385857582, -0.07371459901332855, -0.0024158416781574488, -0.0020296662114560604, -0.046736206859350204, 0.02370937541127205, -0.006533549167215824, -0.0700504258275032, 0.015806250274181366, 0.04835275560617447, 0.02225448191165924, -0.049574147909879684, 0.006331480573862791, -0.028271634131669998, -0.002617910038679838, -0.020404431968927383, 0.02433803305029869, 0.013659832999110222, -0.03746799752116203, 0.05643549561500549, 0.02548757754266262, 0.010004637762904167, -0.01338142715394497, -0.035833485424518585, -0.047490596771240234, 0.030247414484620094, 0.044077884405851364, 0.04397011175751686, 0.010336928069591522, 0.029133792966604233, 0.02552350051701069, -0.06067444756627083, 0.007903125137090683, 0.11969642341136932, 0.007130774203687906, -0.058087967336177826, 0.03152269124984741, 0.008289300836622715, 0.006740108132362366, 0.025110382586717606, 0.01760241389274597, -0.0709485113620758, -0.001307832426391542, 0.06861349195241928, 0.000702188175637275, 0.008100703358650208, 0.039156392216682434, -0.038150541484355927, -0.04019816592335701, 0.01764731854200363, 0.0616084523499012, 0.03736022859811783, -0.008904486894607544, 0.004149140790104866, 0.04339534044265747, -0.005527697037905455, 0.0010704019805416465, 0.060925908386707306, -0.04152733087539673, -0.10978159308433533, 0.011073355562984943, -0.002159888157621026, -0.03346255049109459, 0.0757981538772583, -0.04792167618870735, -0.030085759237408638, 0.006214729975908995, -0.025415731593966484, 0.019434502348303795, 0.052232470363378525, 0.007081379648298025, 0.020817549899220467, -0.05686657503247261, 0.05456748604774475, 0.05841127783060074, -0.06379977613687515, 0.04030593857169151, 0.023565681651234627, -0.058303508907556534, -0.02485891990363598, -0.004449998028576374, 0.009295152500271797, 0.06193176284432411, -0.0028895800933241844, -0.059417132288217545, -0.001786061329767108, 0.023152563720941544, -0.012977290898561478, -0.009196363389492035, 0.0053076669573783875, -0.0015368434833362699, 0.0053166477009654045, -0.02273944579064846, -0.09857352077960968, 0.03674953058362007, 0.06326092034578323, 0.007139754947274923, -0.04030593857169151, -0.07407383620738983, -0.012061246670782566, -0.040665172040462494, -0.011926533654332161, -0.011037432588636875, 0.08133034408092499, 0.047454673796892166, -0.031271230429410934, 0.012815635651350021, 0.03421694040298462, 0.04418565332889557, 0.028864366933703423, -0.036066990345716476, 0.05945305526256561, 0.03542036935687065, -0.059991903603076935, 0.0441497303545475, 0.027158010751008987, 0.030085759237408638, 0.022398173809051514, 0.015141668729484081, -0.02503853663802147, -0.0168390441685915, -0.06254246085882187, -0.026583239436149597, 0.022577790543437004, -0.014046008698642254, -0.03527667745947838, 0.01723420061171055, 0.023332180455327034, -0.028469212353229523, -0.0337858609855175, 0.004934962838888168, 0.022613713517785072, 0.0023372594732791185, 0.03380382061004639, -0.049214914441108704, -0.03125326707959175, 0.04095255583524704, -0.00678052194416523, 0.04001855105161667, -0.02699635736644268, 0.029331371188163757, 0.0698348879814148, -0.03567183390259743, 0.0582316629588604, -0.08197695761919022, -0.02047627791762352, 0.023655489087104797, 0.012393536977469921, -0.026960432529449463, 0.008082741871476173, -0.030391108244657516, 0.07608553767204285, 0.023206448182463646, 0.028109978884458542, 0.004252420272678137, 0.024122493341565132, -0.04889160394668579, 0.05083146318793297, 0.016147520393133163, 0.014037027955055237, -0.033354781568050385, -0.012995252385735512, -0.02597254328429699, -0.0500052273273468, -0.058303508907556534, -0.03484559804201126, 0.02056608721613884, -0.002550553996115923, -0.05036446079611778, 0.024355994537472725, 0.06850572675466537, -0.03150473162531853, -0.04587404802441597, 0.02872067503631115, 0.03116345778107643, -0.023565681651234627, -0.05137031152844429, 0.0036731569562107325, -0.04932268336415291, 0.05313055217266083, -0.09814244508743286, 0.03944377973675728, 0.05040038377046585, 0.022020980715751648, 0.0717388242483139, 0.027050241827964783, 0.03639029711484909, 0.027894439175724983, -0.02766093797981739, -0.016740255057811737, 0.03962339460849762, -0.0020768155809491873, 0.06699694693088531, -0.025254076346755028, -0.007031985092908144, -0.04382641986012459, -0.0039291102439165115, 0.008769774809479713, 0.006120431236922741, 0.028756598010659218, -0.018805844709277153, 0.013480216264724731, -0.0020105820149183273, 0.08521005511283875, 0.00809172261506319, -0.010247119702398777, -0.022272443398833275, -0.004804740659892559, -0.0266371238976717, 0.006053075194358826, -0.007130774203687906, -0.0191471166908741, 0.035079099237918854, -0.03861754387617111, 0.03901270031929016, -0.034109167754650116, -0.06013559550046921, 0.10295616090297699, 0.012698885053396225, -0.00006356739322654903, -0.015905039384961128, -0.003116345964372158, -0.040270015597343445, 0.045371122658252716, 0.03965931758284569, -0.055034488439559937, 0.03337274119257927, 0.00999565701931715, -0.0366058386862278, -0.053561631590127945, 0.0051235598511993885, 0.021913209930062294, 0.012707865796983242, 0.03067849390208721, -0.022685561329126358, -0.002788545796647668, 0.002026298316195607, -0.03736022859811783, -0.027229858562350273, -0.03757576644420624, 0.010884758085012436, -0.05568110942840576, -0.034019362181425095, -0.04357495903968811, -0.02536184713244438, 0.030732378363609314, 0.028954176232218742, 0.009483749978244305, -0.0075528728775680065, 0.035653870552778244, -0.023924915120005608, 0.0250026136636734, -0.031935811042785645, -0.04346718639135361, -0.0698348879814148, 0.06829018145799637, 0.025074459612369537, -0.03736022859811783, 0.00886407308280468, -0.038006845861673355, 0.006852368358522654, 0.005442379042506218, 0.0008559847483411431, 0.02566719427704811, 0.023242373019456863, -0.004894549027085304, -0.004683499690145254, 0.0014941846020519733, -0.006376384757459164, 0.011423608288168907, -0.00720262061804533, 0.015051860362291336, 0.047490596771240234, 0.044437117874622345, -0.058842357248067856, 0.03134307637810707, -0.03409120813012123, -0.002112738788127899, -0.019847620278596878, -0.06724841147661209, 0.06811057031154633, -0.0029861240182071924, 0.005289705470204353, 0.013022194616496563, -0.0049214912578463554, 0.03301350772380829, -0.013174868188798428, 0.00009114132990362123, -0.004414075054228306, -0.020314622670412064, -0.0900956243276596, 0.0022283669095486403, -0.010013618506491184, -0.00303551834076643, -0.01522249635308981, -0.017297066748142242, 0.07270874828100204, 0.0053166477009654045, -0.0249487292021513, 0.03624660521745682, -0.0841323584318161, -0.030175568535923958, -0.03330089524388313, -0.002541573252528906, 0.0021048805210739374, 0.03994670510292053, -0.05819573998451233, 0.020099082961678505, 0.012824616394937038, -0.055070411413908005, -0.05643549561500549, -0.02002723701298237, -0.012043285183608532, -0.03775538504123688, -0.06322500109672546, -0.06405123323202133, 0.010732084512710571, 0.07299613952636719, -0.012546210549771786, 0.0399826280772686, -0.008203982375562191, -0.015806250274181366, 0.02065589465200901, 0.028559019789099693, 0.004611652810126543, 0.03234892711043358, 0.016830064356327057, 0.025074459612369537, -0.04565851017832756, -0.014997975900769234, -0.00804681796580553, 0.022595752030611038, -0.01950635015964508, 0.07723508775234222, 0.01260907668620348, 0.004584710579365492, 0.017494644969701767, 0.017880819737911224, -0.03200765699148178, 0.06595516949892044, -0.04393418878316879, 0.0030781773384660482, -0.012267805635929108, 0.05352570861577988, 0.026008466258645058, -0.05909382179379463, -0.028307557106018066, 0.0450478121638298, 0.05632772669196129, -0.0038752255495637655, 0.0582316629588604, 0.02011704631149769, -0.018015531823039055, -0.043682727962732315, -0.04134771227836609, -0.005361551884561777, -0.04835275560617447, -0.037072841078042984, 0.006286576855927706, 0.05877051129937172, -0.052412088960409164, -0.0065200780518352985, 0.02309867925941944, -0.03258242830634117, -0.013489197008311749, 0.030947918072342873, -0.003105119802057743, -0.011666090227663517, -0.03861754387617111, 0.029762450605630875, 0.027373550459742546, 0.002494423883035779, 0.0415632538497448, 0.029133792966604233, -0.05765688791871071, -0.02158990129828453, -0.007234053686261177, -0.017440760508179665, -0.015842173248529434, -0.01795266754925251, -0.006614376790821552, 0.014108873903751373, 0.012124111875891685, -0.06142883375287056, 0.002530347090214491, -0.05611218884587288, -0.0012247598497197032, -0.011208068579435349, -0.027247820049524307, 0.01260907668620348, -0.08679068088531494, -0.005797121673822403, -0.060710370540618896, 0.021428246051073074, -0.00886407308280468, 0.009223305620253086, -0.03391158953309059, -0.023835105821490288, -0.010678199119865894, 0.00012117096048314124, 0.030391108244657516, -0.016425926238298416, 0.003426184179261327, 0.0001215217707795091, 0.053956788033246994, 0.016416946426033974, -0.04116809740662575, 0.002168868901208043, -0.014701608568429947, -0.034019362181425095, -0.0074900072067976, -0.008931429125368595, -0.007557363249361515, -0.026655085384845734, 0.004032389726489782, -0.03721653297543526, 0.07177474349737167, 0.018536420539021492, 0.01285155862569809, 0.05208877846598625, -0.031271230429410934, 0.04030593857169151, 0.0027638485189527273, -0.03621068224310875, 0.042748723179101944, -0.012402517721056938, 0.029439140111207962, 0.0700504258275032, -0.04630512744188309, 0.002858147257938981, 0.00242706760764122, -0.03646214306354523, 0.056938424706459045, -0.014854283072054386, -0.04838867858052254, 0.030876072123646736, -0.048209063708782196, 0.015240457840263844, 0.004339983221143484, 0.0449400432407856, -0.03252854570746422, 0.06710471212863922, 0.049753762781620026, -0.009968714788556099, 0.011010490357875824, 0.009402922354638577, 0.04555073752999306, 0.04853237047791481, 0.13442496955394745, -0.027068203315138817, 0.03493540361523628, -0.005868968553841114, -0.030247414484620094, -0.020763665437698364, -0.04867606610059738, -0.012528249062597752, 0.0019275093218311667, -0.029726527631282806, -0.014396260492503643, -0.03391158953309059, -0.04296426102519035, 0.038186464458703995, -0.003774191252887249, 0.029187677428126335, 0.009340057149529457, -0.005128050222992897, -0.021338436752557755, -0.00651558768004179, -0.038006845861673355, -0.004741874989122152, -0.021643785759806633, -0.005150502547621727, -0.027912400662899017, 0.031091611832380295, 0.019937429577112198, -0.015024918131530285, 0.01236659474670887, 0.060387060046195984, -0.022613713517785072, -0.018859729170799255, -0.018536420539021492, -0.013219772838056087, 0.013659832999110222, -0.019254885613918304, -0.01972188986837864, -0.01023813895881176, -0.04964599385857582, -0.020619971677660942, 0.004461224190890789, -0.00022971263388171792, 0.049969304352998734, 0.01719827763736248, 0.004279362503439188, -0.03200765699148178, 0.0005161167355254292, -0.05273539572954178, -0.072313591837883, -0.004593691322952509, -0.03098384290933609, 0.051478080451488495, 0.029151754453778267, 0.01586013473570347, 0.04810129106044769, 0.029277484863996506, 0.027158010751008987, -0.016767198219895363, -0.03721653297543526, 0.02712208777666092, 0.019398579373955727, -0.0058016120456159115, 0.010857815854251385, -0.03249261900782585, -0.005217858590185642, 0.03346255049109459, 0.07924678921699524, 0.010247119702398777, -0.0022788839414715767, 0.08441974222660065, -0.024697264656424522, 0.013363465666770935, 0.001202307757921517, -0.030121684074401855, -0.04023409262299538, -0.0457303561270237, -0.04799352213740349, 0.052052855491638184, 0.03400139883160591, 0.02388899214565754, 0.0641949251294136, -0.009375980123877525, -0.025074459612369537 ]
10,924
burnman.classes.composite
to_string
return the name of the composite
def to_string(self): """ return the name of the composite """ return "{0}: {1}".format(self.__class__.__name__, self.name)
(self)
[ -0.021112646907567978, -0.030995888635516167, -0.000011889776033058297, 0.01346165593713522, 0.00820053368806839, -0.07456734776496887, 0.02276553399860859, -0.0024622902274131775, 0.03629535064101219, -0.053642142564058304, -0.005031080916523933, 0.00044357433216646314, 0.006943828891962767, -0.0035784149076789618, -0.002521930495277047, 0.01857367716729641, 0.03551150858402252, -0.04723507538437843, 0.012745972722768784, 0.017466071993112564, 0.023055216297507286, 0.008894916623830795, 0.021777210757136345, -0.06059449166059494, 0.00559766311198473, 0.07470367103815079, -0.0011906749568879604, 0.02988828346133232, -0.034029021859169006, -0.016724828630685806, -0.061957694590091705, -0.07422655075788498, 0.03189901262521744, -0.01624770648777485, -0.03029724583029747, 0.060355931520462036, -0.028729557991027832, 0.0498933270573616, -0.06645627319812775, -0.01196212973445654, 0.05769767984747887, 0.02097632735967636, -0.051699575036764145, -0.027587873861193657, 0.020874086767435074, -0.005785103887319565, 0.025560105219483376, 0.053642142564058304, -0.011638368479907513, -0.032342053949832916, 0.009039757773280144, -0.010062161833047867, -0.01577058434486389, 0.005768063943833113, -0.07504446804523468, -0.00983212050050497, 0.05350582301616669, 0.017423471435904503, -0.03385861963033676, 0.07429470866918564, -0.05112021043896675, -0.0014036757638677955, 0.05868600308895111, -0.010096241720020771, -0.032410215586423874, -0.02351529709994793, -0.02298705466091633, 0.0009467889321967959, -0.02448658086359501, 0.03660207241773605, 0.05418742448091507, -0.04290689900517464, 0.013078253716230392, 0.02273145318031311, -0.022901855409145355, -0.05650487542152405, -0.019187118858098984, 0.003369673853740096, 0.03339853882789612, -0.06270746141672134, -0.0029415420722216368, -0.012814133428037167, -0.08090625703334808, -0.038101598620414734, 0.027093712240457535, -0.03837423771619797, -0.026616590097546577, -0.041100651025772095, -0.06263929605484009, 0.03063804656267166, -0.039669282734394073, 0.01145944744348526, 0.0023280996829271317, 0.08111073821783066, -0.03953296318650246, -0.054425984621047974, -0.03592046722769737, -0.01823287457227707, 0.04743955656886101, -0.008396495133638382, 0.0046306392177939415, -0.005056641064584255, -0.0515291728079319, 0.01685263030230999, -0.029087400063872337, -0.04048720747232437, -0.04137329012155533, 0.0021161637268960476, 0.0062835258431732655, -0.009653200395405293, -0.014927101321518421, 0.025082983076572418, -0.0019990133587270975, -0.04723507538437843, 0.05558471009135246, -0.07429470866918564, 0.013197534717619419, 0.014449980109930038, 0.002413300098851323, -0.04389522224664688, 0.033568937331438065, 0.029308920726180077, -0.011433887295424938, 0.005431522615253925, -0.05555063113570213, 0.057459115982055664, -0.011536127887666225, -0.003840405959635973, 0.0238901786506176, -0.07218173891305923, 0.009525399655103683, -0.007122749462723732, -0.052108537405729294, -0.0011608548229560256, 0.06891004741191864, 0.006603027228266001, 0.023549377918243408, 0.03561374917626381, -0.022595133632421494, 0.12323378771543503, 0.015455343760550022, -0.0027242812793701887, -0.019800562411546707, 0.019970962777733803, 0.015906905755400658, -0.007659511640667915, 0.01715083047747612, 0.010104761458933353, -0.03108108788728714, -0.016043227165937424, -0.005056641064584255, 0.01925528049468994, 0.020771846175193787, -0.024435460567474365, 0.003331333864480257, 0.0238901786506176, -0.02411169931292534, -0.02808203548192978, -0.013410535641014576, -0.06925084441900253, -0.009729879908263683, -0.012115489691495895, -0.025031862780451775, -0.0018083774484694004, 0.03871503844857216, -0.01624770648777485, 0.032256852835416794, -0.0332622192800045, 0.006313346326351166, -0.018488476052880287, -0.04249793663620949, -0.04968884587287903, -0.04127104952931404, 0.058515600860118866, -0.04624675214290619, 0.036533910781145096, 0.005733983591198921, 0.07906592637300491, 0.008102553896605968, -0.02838875725865364, 0.019374560564756393, -0.01748311147093773, -0.03977152332663536, 0.043792981654405594, 0.04171409085392952, -0.04079392924904823, 0.04082800820469856, 0.00782565213739872, 0.06216217577457428, -0.05241525545716286, 0.007932152599096298, 0.036976952105760574, -0.039567042142152786, 0.029274841770529747, 0.010846004821360111, -0.06308233737945557, -0.0044730184599757195, -0.009090878069400787, -0.006943828891962767, 0.036159031093120575, -0.03718143329024315, 0.06059449166059494, -0.033568937331438065, 0.0169207900762558, 0.05302869901061058, -0.013274215161800385, 0.03908992186188698, -0.01823287457227707, -0.00418546749278903, -0.020328804850578308, 0.016111386939883232, 0.01370873674750328, 0.010104761458933353, 0.01629030704498291, 0.04232753440737724, -0.06151465326547623, -0.024145780131220818, -0.04730323702096939, 0.02917260117828846, 0.0617191344499588, 0.0006927853683009744, -0.007770271971821785, 0.06434330344200134, -0.009550959803164005, -0.06062857061624527, -0.03837423771619797, 0.019647201523184776, -0.010990845039486885, 0.01419437862932682, -0.03837423771619797, -0.0044431984424591064, -0.03476174548268318, -0.02838875725865364, 0.024350261315703392, -0.03741999343037605, 0.07490815222263336, -0.05043860897421837, -0.004609338939189911, -0.03612494841217995, -0.030092764645814896, -0.0009159037726931274, 0.013027134351432323, 0.006262226030230522, 0.02770715393126011, 0.04764403775334358, -0.08090625703334808, 0.02620762772858143, 0.025185223668813705, -0.04287281632423401, 0.0006629652343690395, 0.016452187672257423, -0.01531902328133583, -0.02895108051598072, -0.03280213475227356, -0.020959286019206047, -0.11628144234418869, -0.11921233683824539, -0.046348992735147476, 0.018965598195791245, -0.016494788229465485, -0.0571523979306221, -0.012217730283737183, 0.005474122706800699, 0.028116116300225258, 0.001643301802687347, -0.02041400410234928, -0.028865879401564598, 0.01306973397731781, -0.03643167018890381, -0.0032759534660726786, 0.10046825557947159, -0.0038340159226208925, -0.054391905665397644, 0.038135677576065063, -0.031166289001703262, -0.06880780309438705, -0.022526973858475685, 0.025372665375471115, -0.06369578093290329, -0.02363457717001438, 0.03561374917626381, -0.0069992090575397015, -0.01782391406595707, -0.01576206460595131, 0.0174490325152874, -0.012780052609741688, 0.005998104810714722, -0.048734601587057114, -0.009746920317411423, 0.024060579016804695, 0.02576458640396595, 0.016307348385453224, -0.019936881959438324, 0.01080340426415205, 0.008102553896605968, 0.017977274954319, 0.0005500747938640416, -0.007932152599096298, 0.014910061843693256, -0.022066891193389893, 0.004306877963244915, 0.049825165420770645, 0.013171974569559097, 0.006824548356235027, -0.09358406811952591, -0.0027817916125059128, -0.007007728796452284, 0.011902489699423313, -0.016171026974916458, 0.03089364804327488, -0.015455343760550022, 0.04178225249052048, 0.030978847295045853, 0.07633951306343079, 0.04348625987768173, 0.06597915291786194, 0.0023536598309874535, -0.01647774875164032, 0.026395069435238838, 0.08036097139120102, -0.035443346947431564, -0.0016070916317403316, -0.04597410932183266, 0.005789363756775856, 0.05139285326004028, -0.031217409297823906, -0.06645627319812775, 0.04556514695286751, 0.004438938573002815, 0.010888605378568172, -0.07920224964618683, -0.014015457592904568, 0.04420194402337074, 0.03171157091856003, -0.034540221095085144, 0.013879137113690376, 0.02895108051598072, -0.003616754896938801, -0.00033521014847792685, -0.04232753440737724, 0.0722498968243599, 0.009320918470621109, -0.050949811935424805, 0.006632847245782614, -0.0569138340651989, 0.03987376391887665, -0.02838875725865364, 0.020720725879073143, 0.03363709896802902, -0.004524138756096363, -0.03358598053455353, -0.04154369235038757, 0.00033387888106517494, 0.031217409297823906, 0.008511515334248543, 0.05486902594566345, -0.01577058434486389, -0.016946349292993546, -0.013521295972168446, 0.03362005949020386, 0.09610600024461746, -0.022526973858475685, 0.03602270781993866, -0.0013983508106321096, -0.0015229562995955348, 0.021589769050478935, -0.006701007951050997, 0.006892708595842123, 0.03416534140706062, -0.06724011898040771, -0.03891951963305473, 0.027996836230158806, 0.027008511126041412, -0.04314545914530754, -0.06914860755205154, 0.05077940970659256, 0.023975379765033722, 0.00817923340946436, -0.04161185398697853, -0.06877372413873672, 0.02961564250290394, 0.012106969952583313, -0.007148309610784054, 0.04396338015794754, -0.024929624050855637, 0.007966233417391777, 0.02366865798830986, -0.015310503542423248, 0.021879451349377632, 0.0378289557993412, 0.00398737657815218, -0.02003912255167961, -0.013299775309860706, -0.003403753973543644, 0.001614546636119485, -0.06400250643491745, -0.007224990054965019, -0.023941298946738243, -0.033943820744752884, -0.01408361829817295, -0.006206845864653587, -0.07613503187894821, 0.02999052405357361, -0.007318710442632437, -0.017926154658198357, -0.0017103970749303699, 0.07422655075788498, 0.03430166095495224, 0.007101449184119701, -0.027161872014403343, -0.014765220694243908, -0.021300088614225388, -0.07511263340711594, -0.05636855214834213, 0.054766785353422165, -0.009116437286138535, -0.004179077222943306, -0.027025552466511726, 0.019050799310207367, 0.005746763665229082, -0.022748494520783424, 0.05391478165984154, 0.03646574914455414, 0.044508665800094604, -0.02895108051598072, 0.02516818419098854, -0.050949811935424805, 0.06843291968107224, 0.03707919269800186, 0.004379298072308302, -0.05255157873034477, -0.006432626396417618, -0.00003577749157557264, -0.025526026263833046, 0.011732088401913643, -0.03663615137338638, 0.021896490827202797, -0.016656668856739998, -0.009354998357594013, 0.05872008204460144, 0.026838110759854317, -0.00823887437582016, -0.018301036208868027, -0.0046604592353105545, 0.0026284309569746256, -0.0004670044290833175, -0.05483494699001312, 0.021146727725863457, 0.008801196701824665, -0.006066265050321817, 0.05418742448091507, 0.03936256468296051, 0.00723777012899518, -0.05013188719749451, 0.035477425903081894, -0.04120289161801338, -0.01456926017999649, -0.04461090639233589, 0.02520226500928402, -0.011595767922699451, -0.060867130756378174, 0.056981995701789856, 0.03520478680729866, 0.03404606133699417, -0.02741747349500656, -0.014330699108541012, 0.055141668766736984, -0.012354050762951374, -0.011561688035726547, 0.012763013131916523, 0.056981995701789856, 0.01145944744348526, -0.008136633783578873, -0.020840005949139595, -0.008677655830979347, 0.04723507538437843, -0.015855785459280014, 0.007203689776360989, -0.04917764291167259, -0.012396651320159435, -0.0507112480700016, -0.05377846211194992, -0.02126600779592991, 0.041884493082761765, 0.005444302689284086, 0.07034140825271606, -0.0064411466009914875, 0.03932848200201988, 0.006875668652355671, -0.020686645060777664, -0.02729819342494011, 0.07654399424791336, -0.02741747349500656, 0.014995262026786804, 0.013393495231866837, 0.048325639218091965, -0.0017583222361281514, -0.0028052215930074453, -0.09092581272125244, 0.01699746958911419, -0.0022535494063049555, -0.023157455027103424, 0.03048468567430973, -0.02561122551560402, 0.033159978687763214, -0.05636855214834213, 0.022867774590849876, -0.014654460363090038, -0.01119532622396946, -0.03344965726137161, 0.004592298995703459, -0.03404606133699417, 0.03457430377602577, 0.005674343556165695, -0.02804795652627945, -0.03861280158162117, -0.03048468567430973, -0.008362414315342903, -0.005290941800922155, 0.045326586812734604, 0.024282099679112434, -0.015114542096853256, -0.022526973858475685, 0.0375903956592083, -0.015923945233225822, 0.02198169007897377, -0.003031002590432763, 0.0201413631439209, -0.054425984621047974, 0.06608138978481293, -0.012251811102032661, 0.020720725879073143, 0.009167557582259178, 0.03510254621505737, -0.029036279767751694, 0.055175747722387314, -0.09631048142910004, 0.011800249107182026, 0.01458630058914423, 0.0058958642184734344, 0.03152412921190262, -0.024691062048077583, 0.03936256468296051, -0.03457430377602577, -0.006364466156810522, -0.008703215979039669, 0.013384975492954254, -0.008541335351765156, 0.03149005025625229, -0.01842031627893448, 0.041918572038412094, -0.006257965695112944, -0.054017022252082825, -0.04856419935822487, 0.007178129628300667, 0.03902176022529602, 0.0004912333097308874, -0.01086304523050785, -0.010922685265541077, 0.027025552466511726, -0.0038893960881978273, 0.06468410789966583, 0.06509307026863098, -0.0016411717515438795, 0.036193110048770905, 0.029274841770529747, 0.011408327147364616, 0.026275789365172386, 0.0035720248706638813, -0.035954549908638, 0.0009979091119021177, -0.020567364990711212, 0.045326586812734604, 0.01531902328133583, -0.0075743114575743675, 0.0523470975458622, 0.034437984228134155, 0.047916676849126816, -0.008511515334248543, -0.0026539908722043037, -0.002590090734884143, 0.013325335457921028, -0.025934986770153046, -0.023344896733760834, -0.03912400081753731, 0.013120854273438454, -0.03973744437098503, -0.022816654294729233, 0.003595454851165414, -0.04808707907795906, -0.03152412921190262, 0.007046069018542767, 0.017926154658198357, -0.015455343760550022, 0.0644114688038826, -0.035443346947431564, -0.00020687709911726415, -0.02538970485329628, -0.01172356866300106, -0.0024069100618362427, 0.02808203548192978, -0.009602080099284649, 0.03247837349772453, 0.08356450498104095, 0.040691688656806946, -0.0052355616353452206, -0.013683176599442959, 0.008498734794557095, -0.021930571645498276, 0.04396338015794754, -0.016545908525586128, 0.02961564250290394, -0.0348980650305748, -0.02723003178834915, -0.002807351527735591, -0.04164593294262886, -0.020959286019206047, -0.026633629575371742, -0.003778635524213314, 0.019936881959438324, 0.00047366070793941617, 0.07102301716804504, -0.028661398217082024, 0.04846195876598358, -0.05998104810714722, 0.0022450292017310858, -0.00021539714362006634, -0.04839380085468292, 0.03336445987224579, -0.06205993518233299, 0.009184597991406918, 0.031217409297823906, 0.0261735487729311, -0.06993244588375092, -0.034131262451410294, -0.013265694491565228, 0.03007572516798973, 0.013785417191684246, -0.05255157873034477, 0.029257800430059433, 0.01644366793334484, -0.017057111486792564, -0.038067515939474106, -0.023958338424563408, -0.04440642520785332, 0.004592298995703459, 0.012532971799373627, -0.08710884302854538, 0.001096954569220543, -0.06962572783231735, -0.036159031093120575, 0.052892379462718964, -0.011297566816210747, 0.0038127158768475056, 0.0477803573012352, 0.017892073839902878, 0.006079045124351978, 0.03837423771619797, -0.02760491333901882, 0.0020533285569399595, 0.03280213475227356, -0.05497126653790474, 0.038851361721754074, -0.023941298946738243, 0.039635203778743744, 0.014202898368239403, 0.0012982403859496117, -0.030723247677087784, -0.016724828630685806, -0.00881823617964983, -0.02164088934659958, 0.03157525137066841, 0.013197534717619419, -0.08247394114732742, -0.08383714407682419, 0.010650044307112694, 0.03857871890068054, 0.055141668766736984, 0.07395390421152115, -0.052824217826128006, 0.021845370531082153, -0.007915113121271133, -0.02291889488697052, -0.006871408317238092, 0.07409022748470306, 0.01344461552798748, 0.019970962777733803, -0.017704633995890617, 0.016767429187893867, -0.09303878247737885, -0.02198169007897377, 0.0014505359577015042, -0.005976804532110691, 0.04062352702021599, 0.0276389941573143, 0.04692835360765457, 0.03588638827204704, -0.04208897426724434, -0.03322813659906387, 0.004758439492434263, 0.043384019285440445, 0.015421263873577118, 0.015020822174847126, -0.0011533998185768723, 0.019238239154219627, 0.0265825092792511, 0.07497631013393402, -0.01518270280212164, 0.05112021043896675, -0.031847890466451645, 0.01000252179801464, 0.07620319724082947, 0.014151779003441334, -0.00039485038723796606, 0.029002200812101364, -0.05827704071998596, 0.016239186748862267, 0.07783903926610947, -0.011076046153903008, 0.048734601587057114, -0.015634264796972275, 0.012907853350043297, 0.10128618031740189, -0.02307225577533245, 0.02329377643764019, 0.06454778462648392, 0.027366353198885918, -0.015216782689094543, -0.01872703805565834, -0.011450927704572678, 0.011203845962882042, 0.009014197625219822, -0.06591099500656128, 0.06471818685531616, 0.08928997069597244, 0.0026092608459293842, 0.06168505549430847, 0.0011246446520090103, -0.002313189674168825, 0.019970962777733803, -0.018471436575055122, 0.03646574914455414, 0.012780052609741688, 0.0351366251707077, -0.005849004257470369, 0.034250542521476746, 0.024810342118144035, 0.047916676849126816, -0.014816340990364552, -0.011416846886277199, 0.041509613394737244, 0.028525078669190407, -0.03195013105869293, -0.01782391406595707, 0.017244551330804825, -0.07238622009754181, 0.01572798565030098, 0.030621007084846497, -0.009559479542076588, -0.031217409297823906, 0.005299462005496025, -0.022595133632421494, 0.04178225249052048, 0.0030629527755081654, 0.03673839196562767, 0.050506770610809326, -0.007893812842667103, -0.036976952105760574 ]
10,925
burnman.classes.composite
unroll
null
def unroll(self): if self.molar_fractions is None: raise Exception("Unroll only works if the composite has defined fractions.") phases = [] fractions = [] for i, phase in enumerate(self.phases): p_mineral, p_fraction = phase.unroll() check_pairs(p_mineral, p_fraction) fractions.extend([f * self.molar_fractions[i] for f in p_fraction]) phases.extend(p_mineral) return phases, fractions
(self)
[ -0.008308817632496357, 0.017615634948015213, -0.022709200158715248, 0.006279865745455027, -0.014037900604307652, -0.02092033252120018, 0.010074147954583168, -0.08518774807453156, -0.02133459597826004, 0.01642933487892151, 0.015261862426996231, 0.001340473652817309, -0.016448164358735085, 0.013237617909908295, -0.04530541971325874, 0.007094271015375853, -0.018943162634968758, 0.038262929767370224, -0.01023420412093401, -0.0056255171075463295, 0.03976934403181076, -0.0011215726844966412, -0.036398742347955704, 0.08029189705848694, -0.03984466567635536, -0.03773568570613861, 0.029092632234096527, -0.01963987946510315, -0.04959870129823685, -0.007941629737615585, 0.008426507003605366, 0.08767332881689072, -0.009452751837670803, -0.019253861159086227, -0.04816760495305061, 0.01963987946510315, 0.017907503992319107, 0.008294695056974888, -0.0829281210899353, 0.0477910041809082, 0.05012594535946846, -0.024516897276043892, 0.0393550805747509, 0.015233617275953293, 0.011326354928314686, -0.007701544556766748, 0.02792515978217125, -0.012107807211577892, 0.007094271015375853, 0.008016950450837612, 0.033122289925813675, -0.03472285717725754, 0.0414264015853405, 0.03511828929185867, 0.012126637622714043, 0.07961401343345642, 0.025157123804092407, 0.015713786706328392, 0.027492066845297813, -0.009085563011467457, -0.007588563486933708, -0.024554558098316193, -0.030504895374178886, -0.01912204921245575, 0.05649054795503616, -0.04511711746454239, 0.005936215166002512, 0.000026056999558932148, -0.006411677226424217, 0.003299989504739642, -0.02824527397751808, 0.019564559683203697, 0.0024832303170114756, -0.014998240396380424, 0.04221726953983307, -0.037848666310310364, 0.06993529945611954, 0.019413918256759644, 0.039129119366407394, -0.06300579011440277, -0.04007062688469887, 0.02675768919289112, -0.02896082028746605, 0.07810759544372559, -0.020939162001013756, -0.006345771253108978, 0.032048970460891724, -0.030316593125462532, -0.0037024845369160175, 0.003104626201093197, -0.027887500822544098, -0.01555373053997755, 0.00877015758305788, 0.031013309955596924, 0.01242792047560215, 0.0331411212682724, -0.08315408229827881, -0.010356600396335125, -0.027247274294495583, -0.05298813432455063, 0.003234083764255047, 0.02796282060444355, -0.06567967683076859, 0.02668236754834652, 0.058637186884880066, 0.022935161367058754, 0.0217865202575922, -0.02751089632511139, 0.04387432336807251, -0.0021148647647351027, 0.036718856543302536, 0.033819008618593216, -0.06289280951023102, 0.014499240554869175, -0.04214194789528847, -0.06375899910926819, -0.04715077579021454, -0.010639052838087082, 0.016730617731809616, 0.013887259177863598, 0.013049316592514515, -0.01654231548309326, -0.015760863199830055, 0.009678713977336884, 0.015421919524669647, 0.015836182981729507, 0.02858421579003334, 0.01850065402686596, -0.06134873256087303, -0.010714373551309109, 0.005827941466122866, 0.05419326573610306, -0.036888327449560165, -0.05306345224380493, -0.086844801902771, -0.03310346230864525, 0.01992233283817768, -0.06756269186735153, 0.02547723613679409, -0.02063787914812565, -0.021353427320718765, 0.018519483506679535, -0.016165710985660553, 0.07923740893602371, 0.016278693452477455, 0.06639522314071655, 0.02344357781112194, 0.03803696855902672, 0.002518536988645792, 0.031333424150943756, -0.049109116196632385, 0.02191833220422268, 0.051519379019737244, -0.0497116819024086, 0.05136873573064804, -0.03024127334356308, -0.03334825113415718, 0.025910330936312675, -0.02464870922267437, -0.024742860347032547, -0.009226789698004723, -0.04025892913341522, -0.010394260287284851, 0.035607874393463135, -0.03058021515607834, -0.053666017949581146, 0.024667538702487946, -0.06172533705830574, -0.03363070636987686, 0.02551489695906639, 0.005634931847453117, -0.06172533705830574, -0.034402742981910706, -0.005771450698375702, -0.01870778575539589, -0.023876670747995377, 0.0037424988113343716, 0.012748033739626408, -0.03811229020357132, -0.013981410302221775, -0.018406502902507782, -0.05513477325439453, 0.012192542664706707, -0.016062146052718163, 0.024253275245428085, 0.020694369450211525, 0.03020361252129078, -0.04225492849946022, 0.035268932580947876, -0.060633186250925064, -0.006515243090689182, -0.015158296562731266, -0.0033070507925003767, 0.0537790022790432, 0.02692716009914875, -0.03406380116939545, 0.02191833220422268, 0.031258102506399155, 0.012465580366551876, -0.04071085527539253, -0.10929037630558014, -0.04628458619117737, 0.006002120673656464, 0.01725786179304123, -0.02647523581981659, -0.0021125110797584057, -0.04590798541903496, 0.019244445487856865, 0.03240674361586571, -0.011646468192338943, 0.04929741844534874, -0.007602686062455177, 0.030297763645648956, -0.013030486181378365, -0.033122289925813675, 0.011750034056603909, 0.06492646783590317, -0.03692598640918732, 0.05551137775182724, 0.021391086280345917, -0.057808659970760345, 0.000680240336805582, -0.01739908754825592, -0.04146406054496765, -0.06255386769771576, 0.03690715879201889, -0.034986477345228195, 0.04297047480940819, -0.012898675166070461, 0.034534554928541183, -0.022558558732271194, -0.02820761315524578, -0.05246088653802872, -0.01773803122341633, -0.021899502724409103, 0.0830034464597702, -0.0827021598815918, -0.032463233917951584, 0.01671178638935089, 0.021617049351334572, -0.022596219554543495, -0.04877017065882683, -0.011288694106042385, 0.062365565448999405, 0.0475650392472744, -0.021146295592188835, 0.005168884992599487, 0.02527010440826416, -0.010469581000506878, 0.03193598985671997, -0.02572202868759632, 0.02813229151070118, 0.016485825181007385, 0.006308110896497965, 0.03442157432436943, -0.06119809299707413, -0.014009655453264713, -0.007423799484968185, 0.03651172295212746, -0.007037780713289976, 0.05664118751883507, -0.06044488400220871, 0.06138639524579048, -0.012691542506217957, -0.05020126700401306, 0.029186783358454704, 0.0009603392682038248, 0.013407089747488499, -0.023311765864491463, 0.03534425050020218, -0.02274686098098755, -0.06929507106542587, -0.05095447227358818, 0.025420745834708214, 0.04048489034175873, 0.09565732628107071, 0.07818291336297989, 0.04319643974304199, 0.014075561426579952, 0.021278105676174164, 0.033159952610731125, -0.0005834414041601121, 0.031502895057201385, -0.025590218603610992, -0.03302814066410065, 0.03387549892067909, -0.025590218603610992, -0.08804993331432343, 0.03670002520084381, -0.005686715245246887, 0.036304593086242676, 0.006924799643456936, 0.006590563803911209, -0.0000613452066318132, 0.11501475423574448, 0.003937861882150173, -0.05912677198648453, -0.03703896701335907, 0.015563145279884338, -0.051067452877759933, 0.009791694581508636, -0.019084390252828598, 0.024818180128932, -0.008694836869835854, -0.042028967291116714, -0.057771001011133194, 0.010045901872217655, -0.0021654709707945585, -0.019376257434487343, -0.04933507740497589, 0.0071648843586444855, 0.06658352166414261, 0.03199248015880585, 0.0023761335760354996, 0.00559256412088871, -0.015629051253199577, 0.020524898543953896, 0.020411917939782143, 0.010140052996575832, 0.01963987946510315, 0.01988467201590538, 0.003636579029262066, 0.014442750252783298, 0.07166767120361328, 0.01294575072824955, 0.019828181713819504, -0.01895257830619812, 0.006538780871778727, 0.0011939512332901359, -0.05626458302140236, -0.1286478042602539, 0.019696369767189026, -0.024290936067700386, 0.013322354294359684, 0.002356126671656966, -0.01888667233288288, 0.07223258167505264, -0.04632224887609482, 0.02216312475502491, -0.06255386769771576, 0.06048254668712616, -0.022502068430185318, -0.015563145279884338, 0.006242205388844013, -0.009989411570131779, 0.03283983841538429, -0.007546195760369301, 0.01930093765258789, 0.011957165785133839, 0.022558558732271194, -0.026531726121902466, 0.025157123804092407, -0.008299402892589569, 0.058222923427820206, 0.023707199841737747, -0.002152525121346116, -0.07983997464179993, -0.0258915014564991, -0.02592916041612625, 0.02265270985662937, 0.04888315498828888, 0.004137932788580656, 0.0004948807181790471, 0.06048254668712616, 0.019809352234005928, -0.07968933135271072, -0.06138639524579048, -0.022709200158715248, -0.062252581119537354, -0.004787574056535959, -0.03455338627099991, -0.02050606906414032, 0.03692598640918732, -0.026286933571100235, -0.057319074869155884, 0.031163951382040977, 0.05167001858353615, 0.011863014660775661, 0.028452405706048012, 0.01588325947523117, 0.01594916358590126, -0.023010483011603355, -0.030730856582522392, 0.017860427498817444, -0.0258915014564991, 0.002622102852910757, 0.011486411094665527, -0.049448058009147644, 0.030919158831238747, 0.04059787467122078, 0.018726617097854614, -0.012682127766311169, 0.020167125388979912, -0.028810178861021996, -0.005319526419043541, 0.022426746785640717, -0.0055360738188028336, 0.0035589043982326984, -0.019526898860931396, 0.010290694423019886, 0.038168780505657196, -0.07155469059944153, 0.0247805193066597, 0.020619049668312073, -0.038714855909347534, -0.08797460794448853, 0.051218096166849136, 0.051142774522304535, 0.04485349357128143, -0.05426858365535736, 0.012917504645884037, 0.006534073036164045, 0.018095804378390312, 0.0008673652773723006, 0.029751688241958618, -0.006967167370021343, -0.001391079742461443, -0.05502179265022278, -0.008016950450837612, 0.03534425050020218, 0.06940805166959763, -0.001593504217453301, -0.016956578940153122, 0.04214194789528847, -0.011354600079357624, -0.013538900762796402, -0.056904811412096024, 0.03351772576570511, -0.08993294835090637, 0.024667538702487946, -0.0034529846161603928, -0.012879844754934311, 0.003577734576538205, -0.09015890955924988, 0.005173592362552881, -0.01070495881140232, 0.023481236770749092, 0.0996493250131607, -0.012267863377928734, 0.017352012917399406, 0.045418400317430496, 0.03159704431891441, -0.0024573388509452343, -0.03532542288303375, 0.0477910041809082, 0.0014887612778693438, -0.03690715879201889, 0.019978823140263557, -0.09000827372074127, 0.04707545414566994, 0.004100271966308355, 0.004660469945520163, -0.01194775104522705, -0.03799930959939957, 0.036266930401325226, 0.016306938603520393, 0.0497116819024086, -0.012766863219439983, -0.048694852739572525, -0.021033313125371933, 0.06624457985162735, 0.017992239445447922, 0.06466284394264221, 0.054080285131931305, 0.0082852803170681, -0.01462163683027029, 0.00704248808324337, -0.005583148915320635, -0.014593391679227352, 0.03637991100549698, -0.010158883407711983, 0.025326594710350037, 0.026173952966928482, 0.019169125705957413, -0.02406497299671173, -0.01884901337325573, 0.013793108984827995, 0.010017656721174717, -0.019338596612215042, -0.027868669480085373, -0.06059552729129791, -0.01739908754825592, -0.019621049985289574, 0.004886432085186243, -0.015459579415619373, 0.021014483645558357, -0.020204786211252213, -0.008704251609742641, 0.032030139118433, -0.05795929953455925, -0.07046253979206085, -0.0019524545641615987, -0.023104634135961533, 0.043648362159729004, -0.016457580029964447, 0.023933161050081253, -0.03470402583479881, -0.039166778326034546, 0.04312111809849739, -0.013124637305736542, 0.029337424784898758, 0.020374257117509842, 0.04877017065882683, -0.02655055746436119, 0.009706959128379822, 0.005658469628542662, 0.046209268271923065, -0.03511828929185867, -0.02551489695906639, 0.014423919841647148, -0.03756621479988098, -0.017803937196731567, -0.03302814066410065, 0.05438156798481941, -0.010196543298661709, 0.036304593086242676, -0.035212442278862, -0.015374843962490559, 0.032048970460891724, 0.024799350649118423, -0.009165591560304165, -0.03338591381907463, -0.013501240871846676, 0.02800048142671585, -0.0383947417140007, 0.005413677543401718, -0.06914442777633667, -0.01992233283817768, -0.03879017382860184, -0.056942470371723175, -0.029337424784898758, -0.03282100707292557, -0.014640466310083866, 0.010874430648982525, -0.05505945160984993, 0.012738618068397045, -0.05087915435433388, -0.04255621135234833, 0.05110511556267738, -0.031672365963459015, -0.00899141188710928, 0.05961635708808899, 0.02779334969818592, 0.020280105993151665, 0.005564318969845772, 0.003026951802894473, -0.013435334898531437, 0.020581388846039772, -0.006148054730147123, 0.06217726320028305, -0.037641532719135284, -0.024121463298797607, -0.05848654732108116, -0.025703199207782745, 0.05302579328417778, -0.005215960554778576, 0.05419326573610306, 0.016419919207692146, -0.02841474488377571, 0.0037895741406828165, 0.06097213178873062, -0.006896554492413998, 0.01899023912847042, -0.07479348033666611, 0.008967874571681023, 0.00831823330372572, 0.05916443094611168, 0.036022137850522995, -0.0021619403269141912, 0.02672002837061882, 0.00011967463797191158, -0.017342597246170044, -0.014631051570177078, 0.001998353051021695, 0.03483583778142929, -0.061574697494506836, 0.03637991100549698, -0.04858187213540077, -0.018171126022934914, -0.03466636687517166, 0.07517008483409882, -0.02357538789510727, -0.04199130833148956, -0.053967300802469254, 0.007828648202121258, 0.03396964818239212, -0.004128517583012581, 0.048732511699199677, 0.08789929002523422, -0.033950816839933395, -0.029883500188589096, -0.01437684427946806, 0.01211722195148468, -0.023707199841737747, -0.0057149603962898254, -0.0034106166567653418, -0.039091456681489944, -0.03182300925254822, -0.06266684830188751, -0.014386259019374847, 0.05261152982711792, 0.0019065559608861804, 0.0029233857057988644, 0.06447454541921616, -0.022859841585159302, -0.018076974898576736, 0.00667059188708663, -0.02875368855893612, -0.012173713184893131, -0.01191009022295475, -0.003947277087718248, 0.003551843110471964, -0.005018243566155434, -0.08164767175912857, 0.001840650336816907, -0.010347184725105762, -0.023066973313689232, -0.03636108338832855, 0.027529725804924965, 0.06247854605317116, -0.0393550805747509, 0.006943629588931799, -0.05498413369059563, 0.04240557178854942, -0.005065319128334522, 0.06669650226831436, 0.02896082028746605, -0.003172885626554489, 0.02050606906414032, -0.038677193224430084, 0.028282932937145233, -0.013058731332421303, 0.04007062688469887, 0.014405089430510998, -0.05223492532968521, 0.032463233917951584, 0.01715429686009884, -0.015054730698466301, 0.02647523581981659, -0.0003574792353902012, 0.015751447528600693, -0.049899984151124954, 0.0019583390094339848, 0.004107333719730377, -0.02208780311048031, -0.02572202868759632, -0.037716854363679886, -0.013181127607822418, -0.01774744689464569, -0.005827941466122866, 0.018717201426625252, 0.09174064546823502, -0.002742145210504532, -0.01161822210997343, -0.04259387403726578, 0.003024598117917776, 0.046548210084438324, 0.01864187978208065, 0.0018712494056671858, 0.03470402583479881, 0.029770517721772194, 0.016212787479162216, 0.0049193850718438625, 0.03355538472533226, 0.07121574878692627, 0.007433214224874973, -0.003991998732089996, -0.00462751742452383, 0.026042142882943153, -0.0001694716338533908, -0.03579617664217949, -0.01715429686009884, -0.0166082214564085, 0.041238099336624146, -0.022219615057110786, 0.016382258385419846, 0.0071601769886910915, 0.024874670431017876, 0.062365565448999405, 0.012145468033850193, -0.06940805166959763, -0.028490066528320312, -0.009396260604262352, -0.025872670114040375, 0.006548196077346802, 0.034647535532712936, -0.014555730856955051, 0.021485237404704094, -0.018048729747533798, -0.02543957717716694, 0.027943991124629974, 0.02208780311048031, 0.01356714591383934, -0.012936335057020187, -0.00857714843004942, 0.047489721328020096, 0.026286933571100235, -0.024008482694625854, 0.024949992075562477, 0.004022597800940275, 0.04835590720176697, -0.05095447227358818, -0.013218787498772144, 0.025665538385510445, -0.0019442163174971938, 0.040786173194646835, 0.07370133697986603, 0.009537487290799618, -0.03282100707292557, -0.035231269896030426, -0.0060915639623999596, 0.05340239778161049, -0.03351772576570511, 0.013746033422648907, 0.05841122567653656, -0.018067559227347374, 0.02208780311048031, 0.05502179265022278, 0.0009915267582982779, 0.004144994076341391, -0.04846888780593872, 0.06036956608295441, 0.054004963487386703, -0.005432507488876581, 0.005324234254658222, 0.06018126383423805, 0.08338004350662231, 0.003982583526521921, -0.04797930270433426, 0.008280572481453419, -0.004354479722678661, 0.034026138484478, -0.016862427815794945, 0.018378257751464844, 0.04526775702834129, -0.013727203011512756, 0.01615629717707634, 0.06647054105997086, 0.0022631525062024593, -0.009372723288834095, 0.02899848110973835, -0.05551137775182724, 0.014904089272022247, 0.013030486181378365, -0.05253620818257332, 0.026042142882943153, 0.016692956909537315, 0.001688831951469183, -0.025364255532622337, -0.057017792016267776, 0.023500068113207817, 0.019489238038659096, 0.007310818415135145, 0.0023525957949459553, -0.02758621796965599, -0.0495610386133194, 0.04274451360106468, -0.04443923011422157, -0.02295399270951748, -0.086844801902771, -0.05215960368514061, 0.01512063667178154, 0.03285866975784302, 0.09279514104127884, -0.0000199335136130685, 0.041238099336624146, -0.0003321761905681342, -0.03579617664217949 ]
10,926
burnman.classes.composition
Composition
Class for a composition object, which can be used to store, modify and renormalize compositions, and also convert between mass, molar and atomic amounts. Weight is provided as an alias for mass, as we assume that only Earthlings will use this software. This class is available as ``burnman.Composition``.
class Composition(object): """ Class for a composition object, which can be used to store, modify and renormalize compositions, and also convert between mass, molar and atomic amounts. Weight is provided as an alias for mass, as we assume that only Earthlings will use this software. This class is available as ``burnman.Composition``. """ def __init__(self, composition_dictionary, unit_type="mass", normalize=False): """ Create a composition using a dictionary and unit type. :param composition_dictionary: Dictionary of components (given as a string) and their amounts. :type composition_dictionary: dictionary :param unit_type: 'mass', 'weight' or 'molar' (optional, 'mass' as default) Specify whether the input composition is given as mass or molar amounts. :type unit_type: str :param normalize: If False, absolute numbers of kilograms/moles of component are stored, otherwise the component amounts of returned compositions will sum to one (until Composition.renormalize() is used). :type normalize: bool """ self._cached = {} n_total = float(sum(composition_dictionary.values())) # Create the input dictionary, normalize if requested input_dictionary = OrderedCounter(deepcopy(composition_dictionary)) if normalize: for k in composition_dictionary.keys(): input_dictionary[k] = composition_dictionary[k] / n_total # Break component formulae into atomic dictionaries self.component_formulae = { c: dictionarize_formula(c) for c in composition_dictionary.keys() } # Create lists of elemental compositions of components self.element_list = OrderedCounter() for component in self.component_formulae.values(): self.element_list += OrderedCounter( {element: n_atoms for (element, n_atoms) in component.items()} ) self.element_list = list(self.element_list.keys()) if unit_type == "mass" or unit_type == "weight": self.mass_composition = input_dictionary elif unit_type == "molar": self.mass_composition = self._mole_to_mass_composition(input_dictionary) else: raise Exception( "Unit type not yet implemented. " "Should be either mass, weight or molar." ) def renormalize(self, unit_type, normalization_component, normalization_amount): """ Change the total amount of material in the composition to satisfy a given normalization condition (mass, weight, molar, or atomic) :param unit_type: 'mass', 'weight', 'molar' or 'atomic' Unit type with which to normalize the composition :type unit_type: str :param normalization_component: Component/element on which to renormalize. String must either be one of the components/elements already in the composition, or have the value 'total'. :type normalization_component: str :param normalization_amount: Amount of component in the renormalised composition. :type normalization_amount: float """ if unit_type not in ["mass", "weight", "molar", "atomic"]: raise Exception( "unit_type not yet implemented." "Should be either mass, weight, molar or atomic." ) c = self.composition(unit_type) if normalization_component == "total": f = normalization_amount / float(sum(c.values())) else: f = normalization_amount / c[normalization_component] new_mass_composition = OrderedCounter() for k in self.mass_composition.keys(): new_mass_composition[k] = self.mass_composition[k] * f self.mass_composition = new_mass_composition def add_components(self, composition_dictionary, unit_type): """ Add (or remove) components from the composition. The components are added to the current state of the (mass, weight or molar) composition; if the composition has been renormalised, then this should be taken into account. :param composition_dictionary: Components to add, and their amounts. :type composition_dictionary: dictionary :param unit_type: 'mass', 'weight' or 'molar'. Unit type of the components to be added. :type unit_type: str """ if unit_type == "mass" or unit_type == "weight": composition = self.mass_composition elif unit_type == "molar": composition = self.molar_composition else: raise Exception( "Unit type not recognised. " "Should be either mass, weight or molar." ) composition += OrderedCounter(composition_dictionary) # Reinitialize composition object self.__init__(composition, unit_type) def change_component_set(self, new_component_list): """ Change the set of basis components without changing the bulk composition. Will raise an exception if the new component set is invalid for the given composition. :param new_component_list: New set of basis components. :type new_component_list: list of strings """ composition = np.array( [self.atomic_composition[element] for element in self.element_list] ) component_matrix = np.zeros((len(new_component_list), len(self.element_list))) for i, component in enumerate(new_component_list): formula = dictionarize_formula(component) for element, n_atoms in formula.items(): component_matrix[i][self.element_list.index(element)] = n_atoms sol = nnls(component_matrix.T, composition) if sol[1] < 1.0e-12: component_amounts = sol[0] else: raise Exception( "Failed to change component set. " "Could not find a non-negative " "least squares solution. " "Can the bulk composition be described " "with this set of components?" ) composition = OrderedCounter(dict(zip(new_component_list, component_amounts))) # Reinitialize the object self.__init__(composition, "molar") def _mole_to_mass_composition(self, molar_comp): """ Hidden function to returns the mass composition as a counter [kg] """ cf = self.component_formulae mass_composition = OrderedCounter( {c: molar_comp[c] * formula_mass(cf[c]) for c in molar_comp.keys()} ) return mass_composition @property def weight_composition(self): """ An alias for mass composition [kg]. """ return self.mass_composition @property def molar_composition(self): """ Returns the molar composition as a counter [moles] """ mass_comp = self.mass_composition cf = self.component_formulae return OrderedCounter( {c: mass_comp[c] / formula_mass(cf[c]) for c in mass_comp.keys()} ) @property def atomic_composition(self): """ Returns the atomic composition as a counter [moles] """ return self._moles_to_atoms(self.molar_composition) def composition(self, unit_type): """ Helper function to return the composition in the desired type. :param unit_type: One of 'mass', 'weight', 'molar' and 'atomic'. :type unit_type: str :returns: Mass (weight), molar or atomic composition. :rtype: OrderedCounter """ return getattr(self, f"{unit_type}_composition") def _moles_to_atoms(self, molar_comp_dictionary): """ Hidden function that converts a molar component dictionary into an atomic (elemental) dictionary """ component_matrix =
(composition_dictionary, unit_type='mass', normalize=False)
[ 0.06760840862989426, -0.0030329555738717318, -0.025107767432928085, -0.00013963926176074892, 0.057400401681661606, -0.033431217074394226, -0.0743613988161087, -0.049116212874650955, -0.008161497302353382, 0.006659742444753647, -0.03288155794143677, 0.017255455255508423, -0.0039752330631017685, 0.03325454145669937, -0.05261049047112465, 0.03172333911061287, 0.020317858085036278, -0.018246810883283615, -0.019130194559693336, -0.0004220617702230811, 0.010227636434137821, -0.01857071742415428, 0.014271576888859272, 0.0732228085398674, -0.005300310906022787, -0.015213854610919952, 0.007381173316389322, 0.010247266851365566, -0.0206123199313879, -0.026462292298674583, 0.003879532916471362, 0.025186290964484215, -0.010934344492852688, -0.05084371939301491, 0.027306415140628815, -0.036631036549806595, 0.05378833785653114, 0.04138168320059776, -0.03248894214630127, 0.035826172679662704, 0.06992483884096146, 0.005550602916628122, 0.05480913817882538, 0.012789453379809856, 0.0036071559879928827, 0.01926761120557785, -0.04660347104072571, 0.08299893885850906, 0.003526178887113929, 0.005403372459113598, 0.007057265378534794, -0.07165234535932541, 0.016470225527882576, 0.011807913891971111, -0.044718917459249496, 0.07919056713581085, 0.023753244429826736, 0.08111438155174255, 0.053395722061395645, -0.03721996024250984, 0.003491824958473444, 0.022712813690304756, 0.013702284544706345, -0.06804028153419495, -0.04252026975154877, -0.051354121416807175, 0.00449790246784687, 0.028582416474819183, 0.033431217074394226, 0.022477243095636368, 0.0006027263007126749, 0.016872655600309372, 0.04389442503452301, -0.019954688847064972, 0.013672838918864727, -0.005393556784838438, 0.03773035854101181, -0.051079291850328445, 0.04982291907072067, 0.007636373396962881, -0.004073387011885643, -0.008887835778295994, -0.011984591372311115, -0.03590469807386398, 0.015518131665885448, 0.0302510317414999, 0.05217861384153366, 0.012072930112481117, 0.011012868024408817, -0.01700025610625744, -0.04876285791397095, 0.010855821892619133, 0.049351781606674194, 0.03472685068845749, -0.0026354321744292974, 0.010168744251132011, -0.04793836548924446, -0.09846799075603485, 0.013074100017547607, -0.02084788866341114, -0.013093730434775352, 0.04055719077587128, -0.0036341482773423195, 0.02473478391766548, 0.0005791080184280872, 0.0252451840788126, -0.037946298718452454, -0.039909377694129944, 0.03193927928805351, -0.013437269255518913, -0.06568459421396255, 0.028935769572854042, -0.021397549659013748, 0.002286985982209444, -0.01861979439854622, -0.01564573124051094, -0.025441491976380348, -0.010070590302348137, 0.049391042441129684, 0.0319981724023819, 0.023458782583475113, -0.010227636434137821, 0.015243301168084145, -0.0004272762162145227, 0.027993492782115936, 0.023556936532258987, 0.028464632108807564, 0.005967757198959589, 0.053513508290052414, -0.020317858085036278, -0.018874995410442352, -0.016470225527882576, 0.015861669555306435, 0.02685490809381008, 0.012887607328593731, 0.006360372994095087, -0.04986218363046646, -0.05304236710071564, -0.04412999376654625, 0.06544902175664902, 0.016676347702741623, 0.011160098947584629, 0.00701309647411108, 0.05406316742300987, -0.05178599804639816, 0.01726527139544487, 0.017589179798960686, -0.021515335887670517, -0.08276336640119553, -0.040792763233184814, -0.04554340988397598, -0.024302905425429344, 0.023871028795838356, -0.011091390624642372, 0.006424172781407833, 0.018482379615306854, 0.002048962749540806, -0.026678230613470078, -0.003869717475026846, 0.031782232224941254, -0.04369811713695526, 0.011444744653999805, 0.006095357239246368, 0.044836703687906265, -0.018521640449762344, -0.0024575283750891685, 0.034393128007650375, -0.07546071708202362, -0.04884137958288193, 0.002610893687233329, 0.0010054640006273985, -0.028425369411706924, -0.03460906445980072, 0.00847558956593275, 0.026226721704006195, 0.028346845880150795, 0.019944872707128525, -0.04617159441113472, -0.023183951154351234, -0.014301023446023464, -0.015792962163686752, -0.04440482333302498, -0.038437068462371826, -0.033509742468595505, -0.037946298718452454, 0.014477700926363468, 0.05237492173910141, -0.014399177394807339, 0.0928928554058075, -0.02277170494198799, 0.011641052551567554, -0.03561023622751236, -0.00013028396642766893, 0.059481263160705566, 0.027699030935764313, -0.01142511423677206, 0.03152703493833542, -0.032233741134405136, -0.01472308486700058, 0.0034353865776211023, -0.061994004994630814, -0.021299395710229874, 0.07966170459985733, 0.006576311308890581, 0.01354523841291666, -0.025186290964484215, -0.025441491976380348, -0.0006177561008371413, 0.009172482416033745, -0.033470481634140015, -0.0025716321542859077, -0.028955401852726936, 0.042834363877773285, 0.029151707887649536, 0.03001546300947666, -0.048880644142627716, 0.08048620074987411, -0.04479743912816048, 0.03282266482710838, -0.04197060689330101, -0.01354523841291666, 0.040792763233184814, -0.023478413000702858, 0.003045224817469716, -0.0716916099190712, 0.0042647868394851685, -0.02212388999760151, 0.04424777999520302, 0.01514514721930027, 0.03248894214630127, 0.0002996761177200824, -0.03529614210128784, -0.059795357286930084, -0.007395896594971418, -0.016215024515986443, -0.055201753973960876, -0.025735953822731972, 0.044954486191272736, -0.016617456451058388, -0.00021900588762946427, -0.015361085534095764, -0.05398464575409889, 0.013839700259268284, 0.02208462730050087, -0.03156629577279091, -0.03384346514940262, 0.06968926638364792, 0.004328587092459202, -0.059834618121385574, 0.0024734782055020332, -0.0306436475366354, 0.001180914114229381, 0.007376265712082386, -0.0011207949137315154, 0.005948126316070557, -0.08036841452121735, -0.08613986521959305, 0.03301897272467613, 0.006232772953808308, -0.02520592138171196, 0.005933403503149748, -0.10200153291225433, 0.038515590131282806, 0.026423029601573944, 0.022693181410431862, -0.023066166788339615, -0.003386309603229165, 0.06124803423881531, -0.02897503226995468, 0.018747394904494286, 0.0481739342212677, 0.009928267449140549, 0.009162666276097298, 0.011287698522210121, -0.05300310626626015, 0.026187460869550705, 0.05178599804639816, 0.0000263596903096186, -0.025696691125631332, 0.05264975130558014, -0.0210049357265234, -0.019758380949497223, -0.01366302277892828, -0.04840950295329094, 0.015469054691493511, 0.0065076034516096115, -0.013515791855752468, -0.018747394904494286, 0.045150794088840485, 0.014251946471631527, 0.008107512257993221, -0.017471393570303917, 0.02648192271590233, -0.011915883980691433, 0.05406316742300987, -0.03598321974277496, -0.059834618121385574, -0.043030671775341034, 0.01676468551158905, -0.033588264137506485, 0.020200073719024658, 0.006968927104026079, 0.040400147438049316, -0.021377919241786003, -0.05005849152803421, -0.012318314984440804, 0.07695265859365463, -0.028425369411706924, 0.02076936513185501, 0.0242832750082016, 0.040871284902095795, 0.03060438670217991, 0.015410162508487701, 0.06415338814258575, 0.044915225356817245, 0.0034746481105685234, 0.02732604555785656, -0.04381590336561203, 0.04758501052856445, 0.06733357906341553, 0.044718917459249496, -0.008490312844514847, 0.015567208640277386, 0.03529614210128784, -0.012396837584674358, -0.034550175070762634, 0.031055893748998642, 0.023655090481042862, 0.06325037777423859, -0.04758501052856445, -0.10247267037630081, -0.015282562002539635, -0.011228806339204311, 0.001672297134064138, -0.012102375738322735, -0.04844876751303673, 0.040910545736551285, -0.0890452191233635, 0.046839043498039246, -0.06725504994392395, 0.092500239610672, 0.04412999376654625, -0.04444408789277077, -0.002167974365875125, 0.0068413270637393, -0.031232571229338646, 0.06890404224395752, 0.015331638976931572, -0.001904185744933784, 0.009957713074982166, -0.031350355595350266, 0.02196684293448925, -0.003918794449418783, 0.049233995378017426, -0.01588130183517933, 0.017775671556591988, -0.024832937866449356, -0.07856238633394241, -0.039870113134384155, -0.01154289860278368, -0.006645019166171551, -0.003602248150855303, -0.020396381616592407, 0.008151681162416935, -0.023340998217463493, -0.06894329935312271, -0.039673805236816406, -0.010109852068126202, 0.03209632635116577, -0.05021553486585617, 0.04018420726060867, -0.024185121059417725, -0.03368641808629036, 0.0016649356111884117, 0.004159271717071533, 0.0179229024797678, -0.006061003543436527, 0.029151707887649536, -0.0342949740588665, -0.049233995378017426, 0.08182109147310257, -0.008662082254886627, -0.060109447687864304, 0.02281096577644348, 0.015675177797675133, -0.0071259732358157635, 0.05300310626626015, 0.004907695110887289, -0.012033668346703053, 0.010286528617143631, -0.002610893687233329, -0.014968469738960266, 0.04212765395641327, -0.018894625827670097, -0.026953062042593956, 0.033549003303050995, 0.03437349572777748, -0.021220874041318893, -0.07506810128688812, -0.003648871323093772, 0.044326301664114, -0.08166404813528061, 0.008024081587791443, 0.060109447687864304, -0.04554340988397598, -0.053631290793418884, 0.025343338027596474, 0.01119935978204012, -0.02381213568150997, 0.051157813519239426, -0.043109193444252014, 0.030977372080087662, 0.0019962049555033445, -0.022752074524760246, -0.04601454734802246, -0.037789251655340195, -0.02732604555785656, -0.11990480870008469, 0.015361085534095764, 0.047310180962085724, 0.01742231659591198, 0.013398007489740849, 0.07549998164176941, 0.04628938063979149, 0.0020035665947943926, -0.015616285614669323, -0.014242131263017654, -0.027188630774617195, -0.05928495526313782, 0.030506232753396034, -0.03407903388142586, 0.0136826541274786, -0.05425947532057762, -0.08739623427391052, -0.0007429023389704525, -0.06093394383788109, -0.009098866954445839, -0.029721001163125038, -0.031271833926439285, 0.002316432073712349, 0.03384346514940262, 0.030977372080087662, 0.03384346514940262, -0.018668871372938156, -0.03217484802007675, 0.028837615624070168, -0.031585924327373505, -0.00003968331657233648, -0.03600285202264786, 0.024675890803337097, 0.029956569895148277, 0.02392992191016674, 0.030231401324272156, -0.000607940717600286, 0.03590469807386398, -0.005373925901949406, -0.003940879367291927, -0.049076952040195465, -0.011248436756432056, -0.005614403169602156, 0.01645059324800968, -0.0029470708686858416, 0.011101205833256245, 0.057675231248140335, -0.03488389775156975, 0.05174673721194267, 0.03625805303454399, -0.001791308750398457, -0.017736410722136497, 0.05602624639868736, 0.01904185675084591, -0.01749102585017681, 0.05418095365166664, -0.04840950295329094, -0.019238164648413658, -0.005854880437254906, -0.033823832869529724, -0.018276255577802658, -0.003874625312164426, -0.06709800660610199, 0.03407903388142586, -0.007238850463181734, 0.015478869900107384, -0.02620709128677845, -0.006674465257674456, 0.02069084160029888, 0.06101246550679207, -0.02785607799887657, 0.046917565166950226, -0.040753498673439026, -0.09933175146579742, 0.03109515644609928, 0.07875869423151016, 0.04774205759167671, -0.0019827086944133043, 0.049116212874650955, -0.02689416892826557, -0.003386309603229165, 0.009614174254238605, -0.02864130772650242, 0.016018716618418694, 0.032704878598451614, -0.0006521099712699652, -0.007867035456001759, 0.004515079315751791, -0.011641052551567554, -0.03943823650479317, -0.026560446247458458, 0.010315975174307823, -0.03013324737548828, -0.03021177090704441, -0.07652077823877335, 0.04789910465478897, 0.009496389888226986, -0.015076438896358013, 0.0017569548217579722, -0.03973269835114479, 0.015400347299873829, 0.010934344492852688, -0.04004679247736931, 0.02589299902319908, -0.022752074524760246, -0.026638969779014587, -0.029465802013874054, -0.0027139554731547832, 0.02512739785015583, -0.02685490809381008, -0.08142847567796707, 0.0319981724023819, -0.022595027461647987, 0.0017091048648580909, -0.022163150832057, -0.01220052968710661, 0.044640395790338516, 0.03248894214630127, -0.008760235272347927, 0.032351527363061905, -0.062072526663541794, -0.0021471166983246803, 0.03614026680588722, -0.03203743323683739, 0.03488389775156975, 0.06556680798530579, -0.03290118649601936, 0.05033332109451294, 0.06101246550679207, 0.03441275656223297, -0.04255953058600426, -0.028680570423603058, -0.022536136209964752, -0.01088526751846075, 0.014408992603421211, -0.059363480657339096, -0.0024489399511367083, 0.07192718237638474, -0.007292835041880608, 0.010659513995051384, -0.044993747025728226, 0.022791335359215736, 0.017176933586597443, 0.014301023446023464, 0.006237680558115244, -0.02161348983645439, -0.044993747025728226, 0.053081631660461426, 0.016853025183081627, 0.033666789531707764, -0.02308579720556736, -0.028503892943263054, 0.008377435617148876, 0.02424401417374611, 0.040753498673439026, 0.011856990866363049, -0.009324620477855206, -0.0013496160972863436, -0.0035188174806535244, -0.002809655386954546, -0.03900635987520218, -0.006865865550935268, -0.07989727705717087, 0.02404770627617836, -0.02689416892826557, -0.025539645925164223, -0.0400860533118248, 0.08213518559932709, 0.019257795065641403, -0.039909377694129944, 0.04334476217627525, 0.02652118355035782, -0.02440105937421322, -0.036513250321149826, 0.0024612091947346926, 0.01976819522678852, -0.04656421020627022, 0.008166404440999031, 0.033666789531707764, -0.057832278311252594, -0.014242131263017654, 0.02497035264968872, 0.028935769572854042, -0.014988101087510586, -0.012701114639639854, -0.024420689791440964, 0.07161308825016022, -0.012789453379809856, -0.008313635364174843, 0.03384346514940262, -0.01302502304315567, 0.06804028153419495, -0.004257425665855408, -0.019787825644016266, -0.012848345562815666, -0.03529614210128784, -0.03449128195643425, -0.006566496100276709, -0.08182109147310257, -0.02748309262096882, -0.018197733908891678, 0.05469135567545891, 0.039948638528585434, -0.02436179853975773, 0.010355236940085888, -0.06348594278097153, -0.002924986183643341, -0.0319981724023819, -0.01008040551096201, 0.006949296221137047, -0.029760263860225677, 0.021024566143751144, -0.07377247512340546, 0.03696475923061371, 0.01119935978204012, 0.0481739342212677, -0.019238164648413658, -0.008828943595290184, 0.003960509784519672, -0.0044684563763439655, 0.006615573074668646, -0.01854127272963524, 0.05390612408518791, 0.019277425482869148, -0.004861072171479464, 0.005589864682406187, 0.015184408985078335, -0.06219031289219856, -0.009089050814509392, 0.039830852299928665, -0.06603794544935226, 0.028621677309274673, 0.030152877792716026, -0.04338402301073074, 0.0358458049595356, -0.0014563584700226784, -0.019198903813958168, -0.008985989727079868, -0.006669557653367519, 0.01454640831798315, -0.030074356123805046, -0.005025479942560196, 0.0069443886168301105, -0.013692469336092472, -0.004787456709891558, 0.03977195918560028, -0.012799268588423729, 0.05398464575409889, -0.027875708416104317, 0.06313259154558182, -0.009496389888226986, 0.0034795557148754597, 0.03372567892074585, -0.00878968182951212, -0.01692173257470131, 0.040792763233184814, -0.04134242236614227, -0.04982291907072067, 0.07722748816013336, -0.021986473351716995, 0.051628950983285904, 0.04837024211883545, 0.03060438670217991, 0.05056888982653618, 0.04452260956168175, -0.013378377072513103, 0.002574085956439376, 0.01641133241355419, 0.022752074524760246, -0.01953262649476528, -0.015734070912003517, -0.021534966304898262, -0.05901012569665909, 0.01260296069085598, 0.022104257717728615, -0.002515193773433566, -0.02127976529300213, -0.006870773155242205, 0.029956569895148277, -0.019218534231185913, 0.011326960287988186, 0.033627524971961975, -0.01592056266963482, 0.06340742111206055, -0.00541318766772747, 0.003378947963938117, 0.02809164673089981, -0.02285022847354412, -0.0002812722814269364, -0.0404786691069603, -0.010384682565927505, 0.02585373818874359, 0.014919392764568329, 0.035747651010751724, 0.12084708362817764, 0.040989067405462265, -0.03337232768535614, 0.04785984382033348, 0.012867976911365986, 0.03048660233616829, 0.08260632306337357, -0.013417637906968594, -0.029348015785217285, 0.020494533702731133, 0.028935769572854042, 0.07491105794906616, 0.023262474685907364, -0.00205264356918633, -0.03221410885453224, 0.051314860582351685, -0.017353609204292297, -0.008799497038125992, -0.015567208640277386, 0.017756041139364243, 0.04252026975154877, -0.04208839312195778, 0.03576728329062462, 0.026501553133130074, -0.03529614210128784, 0.020710473880171776, 0.006860957480967045, -0.04208839312195778, 0.06077689677476883, 0.004016948398202658, -0.01520403940230608, -0.053081631660461426, -0.002089451067149639, -0.04581823945045471, 0.03221410885453224, 0.018315518274903297, 0.037318114191293716, 0.02092641219496727, -0.01626410149037838, 0.04208839312195778, -0.038064081221818924, -0.0285235233604908, 0.03706291317939758, 0.02797386236488819, -0.01572425477206707, 0.041146114468574524, -0.025618167594075203, -0.019778011366724968, -0.10726258158683777, -0.013093730434775352, -0.062111787497997284, 0.022163150832057, 0.04542562738060951, -0.0121416375041008, 0.04420851543545723, 0.002856278559193015, 0.00038249348290264606 ]
10,927
burnman.classes.composition
__init__
Create a composition using a dictionary and unit type. :param composition_dictionary: Dictionary of components (given as a string) and their amounts. :type composition_dictionary: dictionary :param unit_type: 'mass', 'weight' or 'molar' (optional, 'mass' as default) Specify whether the input composition is given as mass or molar amounts. :type unit_type: str :param normalize: If False, absolute numbers of kilograms/moles of component are stored, otherwise the component amounts of returned compositions will sum to one (until Composition.renormalize() is used). :type normalize: bool
def __init__(self, composition_dictionary, unit_type="mass", normalize=False): """ Create a composition using a dictionary and unit type. :param composition_dictionary: Dictionary of components (given as a string) and their amounts. :type composition_dictionary: dictionary :param unit_type: 'mass', 'weight' or 'molar' (optional, 'mass' as default) Specify whether the input composition is given as mass or molar amounts. :type unit_type: str :param normalize: If False, absolute numbers of kilograms/moles of component are stored, otherwise the component amounts of returned compositions will sum to one (until Composition.renormalize() is used). :type normalize: bool """ self._cached = {} n_total = float(sum(composition_dictionary.values())) # Create the input dictionary, normalize if requested input_dictionary = OrderedCounter(deepcopy(composition_dictionary)) if normalize: for k in composition_dictionary.keys(): input_dictionary[k] = composition_dictionary[k] / n_total # Break component formulae into atomic dictionaries self.component_formulae = { c: dictionarize_formula(c) for c in composition_dictionary.keys() } # Create lists of elemental compositions of components self.element_list = OrderedCounter() for component in self.component_formulae.values(): self.element_list += OrderedCounter( {element: n_atoms for (element, n_atoms) in component.items()} ) self.element_list = list(self.element_list.keys()) if unit_type == "mass" or unit_type == "weight": self.mass_composition = input_dictionary elif unit_type == "molar": self.mass_composition = self._mole_to_mass_composition(input_dictionary) else: raise Exception( "Unit type not yet implemented. " "Should be either mass, weight or molar." )
(self, composition_dictionary, unit_type='mass', normalize=False)
[ 0.05993414670228958, -0.0063638766296207905, -0.05102105066180229, -0.00963751319795847, 0.05685307830572128, -0.020302049815654755, -0.05274498462677002, -0.054138801991939545, -0.012278431095182896, 0.016551582142710686, 0.007688920479267836, 0.06004418432712555, -0.028554916381835938, 0.027307817712426186, -0.04760986939072609, 0.027766309678554535, 0.043355055153369904, -0.01881653442978859, -0.04430872201919556, -0.017404377460479736, 0.04284154623746872, 0.0035143455024808645, 0.004749983083456755, 0.06213491037487984, -0.0035395624581724405, -0.04012726992368698, 0.010013477876782417, 0.001918791327625513, -0.014983536675572395, -0.03957707807421684, 0.014277458190917969, 0.05021410435438156, -0.024263426661491394, -0.0009267280693165958, 0.01738603785634041, -0.035138871520757675, 0.045959293842315674, 0.04944383725523949, -0.04948051646351814, 0.0374496728181839, 0.07438583672046661, 0.005158041138201952, 0.030939077958464622, 0.02033873088657856, -0.001150816329754889, 0.028463218361139297, -0.04515234753489494, 0.058540329337120056, 0.01300284918397665, -0.032442934811115265, 0.0020013200119137764, -0.05520250275731087, 0.01067370641976595, 0.00939909741282463, -0.0619148351252079, 0.08883751928806305, 0.028481557965278625, 0.07893408089876175, 0.02105397917330265, 0.009389927610754967, -0.04592261463403702, 0.0270877406001091, 0.03302980586886406, -0.04555582255125046, -0.043245017528533936, -0.05010406672954559, -0.02015533298254013, 0.022557834163308144, 0.019495103508234024, -0.008312470279633999, 0.03196610137820244, 0.013360473327338696, 0.01449753437191248, -0.0015909691574051976, 0.02178756706416607, -0.004080583807080984, 0.031727686524391174, -0.047646548599004745, 0.07812713086605072, 0.013901494443416595, -0.0386967733502388, -0.019311707466840744, -0.031360890716314316, -0.05208475515246391, 0.010591178201138973, 0.03700951859354973, 0.052341509610414505, -0.012470997869968414, 0.002689058892428875, 0.043685171753168106, -0.06763682514429092, 0.018596459180116653, 0.023163044825196266, 0.03609253466129303, 0.011819938197731972, 0.02178756706416607, -0.03286474570631981, -0.08032789826393127, 0.013782286085188389, -0.008679264225065708, 0.001773220021277666, 0.03508384898304939, 0.004740813281387091, 0.02365821599960327, 0.0020104898139834404, 0.0006481938762590289, -0.01877068541944027, -0.0417778417468071, 0.02743619494140148, 0.005758666433393955, -0.04841681569814682, 0.011443974450230598, -0.008573810569941998, 0.017147621139883995, -0.016359014436602592, -0.008830566890537739, -0.01605640910565853, -0.016138937324285507, 0.04940715804696083, 0.013727267272770405, 0.0037963183131068945, -0.0007857416057959199, 0.0041585275903344154, 0.02943522296845913, 0.0008699896279722452, 0.028334841132164, 0.010013477876782417, -0.01134310569614172, 0.013892324641346931, 0.014983536675572395, 0.02413504756987095, -0.013653908856213093, 0.035322267562150955, 0.015240292996168137, 0.038916848599910736, 0.0042135464027523994, -0.028408199548721313, -0.020723864436149597, -0.0408608578145504, 0.12016172707080841, 0.04056742042303085, -0.008243695832788944, -0.013204585760831833, 0.04922376200556755, -0.035689059644937515, 0.023878293111920357, 0.00483709666877985, -0.013021188788115978, -0.056669682264328, -0.008770962245762348, -0.0619148351252079, 0.003853630041703582, 0.02241111546754837, -0.0004364275955595076, 0.017541924491524696, -0.018064606934785843, 0.004078291356563568, -0.026867663487792015, 0.001790413400158286, 0.013268774375319481, -0.029141787439584732, 0.04617936909198761, -0.0014706149231642485, -0.000900937884580344, -0.013195415958762169, 0.00915609672665596, 0.03832997754216194, -0.06543605774641037, -0.02556554600596428, -0.00737714534625411, -0.010187705047428608, -0.04353845492005348, -0.028243141248822212, 0.023896632716059685, 0.0260056983679533, -0.008161167614161968, 0.02125571481883526, -0.03308482468128204, -0.01925668679177761, -0.04357513412833214, -0.018486419692635536, -0.037853144109249115, -0.06572949141263962, -0.02529045008122921, -0.028866691514849663, 0.005139701534062624, 0.07533949613571167, 0.00875262264162302, 0.07526613771915436, -0.027326157316565514, 0.00019342654559295624, -0.005501910578459501, -0.011480653658509254, 0.05931059643626213, 0.04797666147351265, -0.01013268530368805, 0.025400487706065178, -0.03130587190389633, -0.05465231463313103, 0.02213602140545845, -0.07075457274913788, -0.023273082450032234, 0.06961750984191895, -0.0009118270827457309, 0.01371809747070074, -0.015405350364744663, -0.013708927668631077, 0.025877319276332855, 0.010050157085061073, -0.046656202524900436, -0.025583885610103607, -0.06261174380779266, 0.03796318545937538, 0.028334841132164, -0.007583466824144125, -0.030902398750185966, 0.07156151533126831, -0.0461060106754303, 0.03888016939163208, -0.027692951261997223, 0.010224384255707264, 0.037853144109249115, 0.02079722285270691, -0.004004932474344969, -0.055385902523994446, -0.0042020841501653194, -0.024318445473909378, 0.03990719094872475, -0.03457034006714821, 0.032442934811115265, -0.0065610287711024284, -0.055385902523994446, -0.039100244641304016, -0.010031817480921745, -0.010554498992860317, -0.04852685332298279, -0.009078152477741241, 0.04042070358991623, -0.015680445358157158, -0.003828412853181362, 0.009302814491093159, -0.015276972204446793, 0.013461341150105, 0.0023291422985494137, -0.036220911890268326, -0.06400556117296219, 0.06572949141263962, 0.0030260509811341763, -0.0464361272752285, 0.0029205975588411093, -0.0304989255964756, 0.02077888324856758, -0.005332268308848143, -0.004133310634642839, 0.02116401679813862, -0.06921403855085373, -0.06936075538396835, 0.010050157085061073, 0.021017298102378845, -0.013287113979458809, -0.002321118488907814, -0.07354220747947693, 0.025217091664671898, 0.0357440784573555, 0.02772963047027588, -0.04871024936437607, -0.00818867702037096, 0.056192848831415176, -0.04012726992368698, 0.02842653915286064, 0.025308789685368538, 0.016414033249020576, 0.037302955985069275, -0.00021878692496102303, -0.0405307412147522, 0.04196123778820038, 0.07820048928260803, -0.011324766092002392, -0.028041405603289604, 0.057660024613142014, 0.01179242879152298, -0.013241264969110489, -0.016872527077794075, -0.0417778417468071, 0.03972379490733147, 0.029490241780877113, -0.017358528450131416, -0.0011645711492747068, 0.06092449277639389, 0.010637027211487293, 0.004731643013656139, 0.0021938870195299387, 0.025675583630800247, -0.015772143378853798, 0.02466689981520176, -0.040714140981435776, -0.035945817828178406, -0.06954415142536163, 0.011856617406010628, -0.03644098713994026, 0.004442792851477861, -0.010444460436701775, 0.053515251725912094, 0.0022156652994453907, -0.06470247358083725, 0.0037871485110372305, 0.04944383725523949, -0.020723864436149597, 0.022521154955029488, 0.005313928704708815, 0.035945817828178406, 0.05813685804605484, 0.03755971044301987, 0.06939743459224701, 0.011911637149751186, 0.03913692384958267, 0.02257617376744747, -0.0649959072470665, 0.03877013176679611, 0.061254605650901794, 0.029361862689256668, 0.031159155070781708, -0.0063592917285859585, 0.019018271937966347, -0.004915040452033281, -0.02186092548072338, 0.028114764019846916, 0.013479681685566902, 0.08575645089149475, -0.04049406200647354, -0.10255561769008636, -0.017028413712978363, -0.022539494559168816, 0.01750524528324604, -0.018926572054624557, -0.034240223467350006, 0.04284154623746872, -0.07445919513702393, 0.03231455385684967, -0.07930087298154831, 0.08964446187019348, 0.007276277057826519, -0.04599597305059433, -0.03647766634821892, -0.015185273252427578, -0.034698717296123505, 0.06642640382051468, -0.010096006095409393, 0.02457520179450512, 0.005978743080049753, -0.047389790415763855, 0.018651477992534637, 0.032718028873205185, 0.053772006183862686, 0.00954581517726183, -0.007138729095458984, -0.016533242538571358, -0.07511942088603973, -0.02987537533044815, -0.007056200411170721, 0.03733963519334793, 0.0005272664711810648, -0.03213115781545639, -0.0032507122959941626, -0.012516846880316734, -0.07310205698013306, -0.017817020416259766, -0.03275470808148384, 0.010655366815626621, -0.027307817712426186, 0.01767030358314514, -0.01589135266840458, -0.04830677807331085, -0.003693157574161887, 0.012425148859620094, 0.0058228555135428905, 0.0005103595321998, 0.035322267562150955, -0.041190970689058304, -0.04599597305059433, 0.065582774579525, 0.005960403475910425, -0.052524909377098083, 0.03464369848370552, -0.00540104229003191, -0.023328101262450218, 0.035597361624240875, 0.005584439262747765, 0.03308482468128204, 0.018651477992534637, 0.008968114852905273, -0.025345468893647194, 0.04364849254488945, 0.0020070511382073164, -0.012095034122467041, 0.017817020416259766, 0.03152594715356827, -0.03565238043665886, -0.079227514564991, 0.012801112607121468, 0.05175463855266571, -0.10424286872148514, 0.012516846880316734, 0.05821021646261215, -0.0202653706073761, -0.04001723229885101, 0.025437166914343834, 0.0009255818440578878, 0.004997569136321545, 0.0386967733502388, -0.028848351910710335, 0.017404377460479736, 0.014680931344628334, -0.025785621255636215, -0.06763682514429092, -0.04687627777457237, -0.051717959344387054, -0.1182544007897377, -0.022209379822015762, 0.055129144340753555, 0.037853144109249115, 0.005987912882119417, 0.05373532697558403, 0.03552400320768356, 0.022741230204701424, 0.004408406093716621, 0.0003498871228657663, -0.03706453740596771, -0.018248004838824272, -0.0010058180196210742, -0.06785690039396286, 0.03972379490733147, -0.07717347145080566, -0.09294561296701431, 0.023419799283146858, -0.04654616490006447, -0.015231123194098473, -0.03192942216992378, -0.0314159095287323, 0.029563600197434425, 0.004474887624382973, 0.022887948900461197, 0.04309830069541931, 0.022924628108739853, -0.025877319276332855, 0.023914972320199013, -0.04753650724887848, 0.0023520668037235737, -0.0003756773367058486, -0.0018328239675611258, 0.06041098013520241, 0.031892742961645126, 0.04221799597144127, -0.016276486217975616, 0.05707315355539322, 0.015359500423073769, -0.028866691514849663, -0.030022092163562775, -0.01363556832075119, 0.007386315148323774, 0.012351789511740208, -0.005194720812141895, 0.028958389535546303, 0.029141787439584732, -0.0690673217177391, 0.04669288173317909, 0.03691782057285309, 0.018202153965830803, -0.009417437016963959, 0.046656202524900436, -0.002686766441911459, 0.004484057426452637, 0.06246502697467804, -0.02257617376744747, -0.035689059644937515, -0.010316082276403904, -0.010407781228423119, -0.010957972146570683, -0.012003335170447826, -0.07629316300153732, 0.04196123778820038, -0.014231609180569649, 0.0018763807602226734, 0.004559708293527365, -0.02275956980884075, 0.03932032361626625, 0.032809726893901825, -0.00848669745028019, 0.02510705217719078, -0.0008115318487398326, -0.09808073192834854, 0.05138784646987915, 0.04849017411470413, 0.043795209378004074, 0.00981174036860466, 0.05094769224524498, 0.005231400020420551, 0.024703579023480415, -0.01134310569614172, -0.04849017411470413, 0.006712330970913172, 0.03330489993095398, 0.0408608578145504, -0.024868637323379517, -0.006221744231879711, 0.0008705627406015992, -0.03807322308421135, -0.02582230046391487, 0.004429038148373365, -0.034258563071489334, -0.021292394027113914, -0.0773935467004776, 0.04221799597144127, 0.00963751319795847, -0.008560055866837502, -0.0007782911416143179, -0.03409350663423538, -0.02538214810192585, -0.024630220606923103, -0.03954039886593819, 0.0294168833643198, 0.007147898897528648, -0.00090323033509776, -0.01916498877108097, -0.011645711027085781, 0.012388468720018864, -0.0008184092002920806, -0.07222174853086472, 0.04449211806058884, -0.04309830069541931, -0.003466203808784485, -0.02734449692070484, -0.026244115084409714, 0.048746928572654724, 0.025052033364772797, 0.018275514245033264, 0.012975339777767658, -0.05465231463313103, -0.025693923234939575, 0.03464369848370552, -0.007299201563000679, 0.03420354425907135, 0.08825064450502396, -0.05281834304332733, 0.07754026353359222, 0.05186467990279198, 0.04904036596417427, -0.014167420566082, -0.023529838770627975, -0.019311707466840744, -0.0017250782111659646, 0.0028587011620402336, -0.06217158958315849, -0.029471902176737785, 0.04023730754852295, -0.01475429069250822, 0.01978853903710842, -0.06851712614297867, 0.01881653442978859, 0.018532268702983856, 0.028481557965278625, 0.01879819482564926, -0.023969991132616997, -0.02637249231338501, 0.023621536791324615, 0.00814282801002264, 0.03447864204645157, -0.012938659638166428, -0.03282806649804115, 0.014809309504926205, 0.030443906784057617, 0.04166780412197113, 0.007088295184075832, -0.0009422022267244756, -0.003619798691943288, -0.002544633811339736, -0.0009697117493487895, -0.034331921488046646, -0.0060475170612335205, -0.06484919041395187, 0.011572352610528469, -0.030077112838625908, -0.02241111546754837, -0.020943939685821533, 0.048380136489868164, 0.02448350191116333, -0.013470511883497238, 0.028848351910710335, 0.027472874149680138, -0.02430010586977005, -0.04452879726886749, -0.012360959313809872, 0.004630774725228548, -0.002549218712374568, 0.004591803066432476, -0.00483709666877985, -0.05388204753398895, -0.022722890600562096, -0.011801598593592644, 0.028041405603289604, -0.03372671455144882, -0.0026592568028718233, -0.027931366115808487, 0.11253241449594498, -0.0011737409513443708, -0.04493227228522301, 0.03070066124200821, 0.020118653774261475, 0.04232803359627724, -0.030645642429590225, -0.013131227344274521, -0.019018271937966347, -0.019311707466840744, -0.007523863110691309, 0.01794539950788021, -0.08025453984737396, -0.0383666567504406, -0.03807322308421135, 0.05355193093419075, 0.04258478805422783, -0.04797666147351265, 0.01623980700969696, -0.06752678751945496, 0.02980201691389084, -0.04291490465402603, -0.03288308531045914, 0.028096424415707588, -0.038036543875932693, 0.023419799283146858, -0.09147843718528748, 0.05604613199830055, 0.030205490067601204, 0.03431358188390732, -0.03077402152121067, -0.015726294368505478, 0.030388886108994484, 0.016854185611009598, 0.028499897569417953, -0.023419799283146858, 0.056009452790021896, 0.00690489774569869, -0.022081002593040466, -0.0023245573975145817, 0.023089684545993805, -0.05094769224524498, -0.008711358532309532, 0.017789511010050774, -0.04507898911833763, 0.052598267793655396, 0.03273636847734451, -0.027069400995969772, 0.030902398750185966, 0.03655102849006653, -0.024410143494606018, -0.009729212149977684, -0.016184788197278976, 0.02620743401348591, -0.05344189330935478, -0.017129281535744667, 0.010416951030492783, -0.047829944640398026, 0.00537811778485775, 0.025877319276332855, -0.0063271974213421345, 0.03526724874973297, -0.04852685332298279, 0.03589079901576042, -0.030113792046904564, -0.026225773617625237, 0.031709346920251846, 0.012067523784935474, -0.010123515501618385, 0.02296130731701851, -0.029325183480978012, -0.07013101875782013, 0.07658659666776657, -0.021549150347709656, 0.03669774532318115, 0.07049781829118729, 0.01727600023150444, 0.053405214101076126, 0.0352855883538723, -0.026170754805207253, -0.028958389535546303, 0.005616534035652876, 0.008821397088468075, -0.011361445300281048, -0.034607019275426865, -0.029930394142866135, -0.08120819926261902, 0.004800416994839907, 0.01724849082529545, -0.0175786055624485, -0.02888503111898899, -0.0357440784573555, -0.009830080904066563, -0.029581939801573753, -0.018018757924437523, 0.0399438701570034, -0.009921778924763203, 0.04104425385594368, -0.002941229846328497, 0.009298229590058327, 0.028958389535546303, -0.026500869542360306, -0.006996596697717905, -0.024813616648316383, 0.0034982983488589525, 0.04727975279092789, 0.022741230204701424, 0.051791321486234665, 0.10600347816944122, 0.04276818782091141, -0.03130587190389633, 0.040897537022829056, 0.04328169673681259, 0.031470928341150284, 0.08737034350633621, -0.005135116633027792, -0.041190970689058304, 0.016038069501519203, 0.026170754805207253, 0.06616964936256409, 0.021017298102378845, 0.002966446802020073, -0.03444196283817291, 0.047389790415763855, -0.01808294653892517, -0.015652935951948166, -0.021127337589859962, -0.01969684101641178, 0.015093575231730938, -0.06323529034852982, 0.005616534035652876, 0.014387496747076511, -0.04137437045574188, 0.01088461373001337, -0.008885585702955723, -0.025803960859775543, 0.060667734593153, -0.003346995683386922, -0.0030100035946816206, -0.03196610137820244, 0.025327129289507866, -0.03895352780818939, 0.0022133728489279747, 0.027784649282693863, 0.02087058126926422, 0.0303338672965765, -0.02197096310555935, 0.022979646921157837, -0.01713845133781433, -0.012076694518327713, 0.03939368203282356, 0.04753650724887848, -0.046656202524900436, 0.02673928625881672, -0.016854185611009598, -0.02296130731701851, -0.07082793116569519, -0.0442720428109169, -0.07533949613571167, 0.04097089543938637, 0.027051061391830444, -0.004814171697944403, 0.03862341493368149, 0.029105108231306076, -0.017257660627365112 ]
10,928
burnman.classes.composition
_mole_to_mass_composition
Hidden function to returns the mass composition as a counter [kg]
def _mole_to_mass_composition(self, molar_comp): """ Hidden function to returns the mass composition as a counter [kg] """ cf = self.component_formulae mass_composition = OrderedCounter( {c: molar_comp[c] * formula_mass(cf[c]) for c in molar_comp.keys()} ) return mass_composition
(self, molar_comp)
[ 0.09247507899999619, 0.014735418371856213, -0.018006129190325737, 0.03060697764158249, 0.08063165843486786, -0.013220561668276787, 0.00424331845715642, -0.041073255240917206, -0.006808245088905096, 0.021724412217736244, -0.00014228672080207616, 0.0101564209908247, -0.004931889474391937, 0.007755029946565628, -0.013168918900191784, -0.020691556856036186, 0.02786990813910961, -0.05618738755583763, -0.01783398725092411, 0.015880167484283447, 0.054638102650642395, 0.006739388220012188, 0.003277167212218046, 0.0340842604637146, -0.030124979093670845, 0.00898585096001625, 0.0012351240729913116, 0.008499547839164734, -0.016474058851599693, -0.03511711582541466, -0.0002525656600482762, 0.037733688950538635, -0.004492925480008125, -0.010233885608613491, 0.010879420675337315, 0.007260119542479515, 0.05023124814033508, 0.0508853904902935, -0.0690980926156044, -0.029608549550175667, 0.06076638400554657, 0.01711098849773407, 0.012445919215679169, 0.04609982296824455, 0.0029587033204734325, -0.014236204326152802, -0.013418526388704777, 0.025597624480724335, 0.05133296176791191, -0.0175069160759449, 0.014554668217897415, -0.07553622871637344, -0.0103285638615489, 0.020157914608716965, -0.01769627258181572, 0.07436566054821014, 0.01914227195084095, 0.05560210347175598, -0.002304560737684369, 0.0027155515272170305, -0.04764910787343979, 0.0014137221733108163, 0.013289419002830982, -0.05570538714528084, 0.0004298189014662057, -0.04892296344041824, 0.0361844040453434, 0.03942068666219711, 0.029935620725154877, 0.006859887856990099, -0.009089136496186256, 0.00249176612123847, 0.04685725271701813, 0.006545727606862783, 0.02203427068889141, -0.051298536360263824, 0.03239726275205612, -0.04720153659582138, 0.07106052339076996, -0.0007299927528947592, -0.02222362719476223, -0.02817976474761963, -0.007591494359076023, -0.001218985766172409, -0.002427212428301573, -0.00270264083519578, 0.07939223200082779, -0.021001413464546204, -0.0541561022400856, 0.014330882579088211, -0.01927998661994934, 0.026854265481233597, 0.029126551002264023, 0.0361844040453434, -0.030985692515969276, 0.025545980781316757, -0.07374594360589981, -0.0047855679877102375, 0.009192422032356262, -0.0069976020604372025, 0.005603245925158262, 0.07829051464796066, 0.0031136316247284412, 0.008783582597970963, 0.022912198677659035, -0.004056113306432962, 0.00894281454384327, -0.05987124145030975, 0.05153953284025192, 0.006012084893882275, -0.058700673282146454, 0.036804117262363434, -0.021724412217736244, 0.00860283337533474, -0.013840275816619396, -0.012093027122318745, -0.007057852111756802, -0.023514697328209877, 0.04017811268568039, 0.013332454487681389, 0.009803528897464275, -0.011025741696357727, 0.030710263177752495, -0.01855698600411415, 0.012006955221295357, 0.05598081648349762, 0.04045354202389717, -0.01396938320249319, 0.03742383047938347, 0.031106192618608475, 0.005758174229413271, -0.013254990801215172, 0.06131724268198013, -0.029729049652814865, 0.021810485050082207, -0.00611537043005228, -0.01075031328946352, -0.052537962794303894, -0.009915421716868877, 0.08097594231367111, 0.002274435944855213, 0.04083225503563881, -0.030262691900134087, 0.051952678710222244, -0.011163456365466118, 0.005198710598051548, 0.010509314015507698, 0.04606539383530617, -0.06345181167125702, -0.046650681644678116, -0.0394551157951355, 0.0009822894353419542, 0.07973651587963104, -0.019417699426412582, 0.019968556240200996, 0.05250353366136551, 0.024031125009059906, -0.011085991747677326, -0.006024995818734169, -0.04916396364569664, 0.008366136811673641, 0.05801210179924965, -0.015682203695178032, 0.027818266302347183, 0.017498308792710304, -0.03797468543052673, 0.037010688334703445, -0.05047224834561348, -0.05002467706799507, -0.018178272992372513, -0.013392704539000988, -0.03652868792414665, -0.03518597409129143, -0.02103584259748459, 0.016654809936881065, 0.016938844695687294, -0.013427132740616798, -0.022653983905911446, -0.00931292213499546, 0.007699083536863327, -0.019297201186418533, -0.016112560406327248, -0.020416127517819405, 0.004331541713327169, -0.015389560721814632, 0.004137881100177765, 0.07154251635074615, -0.023359768092632294, 0.04864753782749176, -0.04647853970527649, 0.0329136922955513, 0.009605564177036285, -0.04517025500535965, 0.07147366553544998, 0.024633625522255898, -0.04355211183428764, 0.0380435436964035, 0.006941655650734901, -0.04134868457913399, 0.020502200350165367, -0.05546438694000244, -0.017007702961564064, -0.008262851275503635, 0.024754125624895096, 0.021741626784205437, -0.005478442646563053, -0.00307274772785604, 0.033275190740823746, 0.0022830429952591658, -0.04255368188023567, 0.019520986825227737, -0.02072598598897457, 0.03253497555851936, 0.031020119786262512, 0.02327369712293148, -0.029281478375196457, 0.09509164839982986, -0.04276025667786598, 0.035702403634786606, -0.006352066993713379, -0.0350138321518898, 0.053467534482479095, -0.011920884251594543, -0.003354631597176194, -0.045858822762966156, -0.016439631581306458, -0.059354815632104874, 0.03317190334200859, -0.027766622602939606, 0.025649268180131912, -0.008004637435078621, -0.02530498243868351, -0.0478556789457798, -0.025597624480724335, -0.047683537006378174, -0.007470994722098112, -0.003662336617708206, 0.033602260053157806, -0.05501681938767433, 0.005284782033413649, -0.00861574336886406, -0.04279468208551407, 0.0172745231539011, 0.0772576555609703, -0.006296120584011078, -0.05635952949523926, 0.04544568061828613, 0.00498353224247694, -0.06992437690496445, 0.06445024162530899, -0.030847977846860886, -0.014795667491853237, 0.009493671357631683, -0.006980387959629297, 0.00815956573933363, -0.06334852427244186, -0.10452506691217422, 0.051952678710222244, -0.01137002743780613, 0.0017343380022794008, -0.010216671042144299, -0.051367390900850296, 0.04933610558509827, -0.03305140510201454, 0.019744770601391792, -0.007156834006309509, -0.021672770380973816, 0.09295707941055298, -0.031088978052139282, 0.011852026917040348, 0.04875082150101662, -0.050059106200933456, 0.02871340699493885, -0.03790583088994026, -0.03676968812942505, 0.0010005796793848276, 0.05288224667310715, 0.0008908386225812137, -0.04475710913538933, 0.06042210012674332, -0.030365977436304092, -0.024134410545229912, -0.01940048672258854, -0.06403709948062897, -0.02425491064786911, 0.04517025500535965, 0.007501119747757912, -0.014821489341557026, 0.03461790457367897, 0.007251512724906206, -0.012049991637468338, -0.030331550166010857, 0.015071095898747444, 0.008684600703418255, 0.047304823994636536, -0.021741626784205437, -0.023428626358509064, -0.05153953284025192, -0.0026811230927705765, 0.01675809547305107, 0.03800911456346512, 0.006403709761798382, -0.032345619052648544, -0.020347271114587784, -0.05849410220980644, 0.02248184010386467, 0.051229678094387054, 0.004099148791283369, 0.004378880839794874, 0.03256940469145775, 0.00007948152779135853, 0.04654739424586296, 0.027646122500300407, 0.06823737919330597, -0.006894316524267197, 0.044998109340667725, 0.024822982028126717, -0.034118689596652985, 0.0529855340719223, 0.04430953785777092, 0.07746423035860062, -0.008546886965632439, -0.0012232892913743854, 0.042519256472587585, -0.00940760038793087, -0.026441123336553574, -0.021879341453313828, 0.015243238769471645, 0.08910107612609863, -0.03380883112549782, -0.10913849622011185, -0.007578583899885416, -0.04189953953027725, -0.019779199734330177, -0.011361420154571533, -0.038318973034620285, 0.029677407816052437, -0.09557364881038666, -0.006545727606862783, -0.0448259674012661, 0.04892296344041824, -0.020760413259267807, -0.04881967976689339, 0.02038170024752617, -0.012075812555849552, 0.00454026460647583, 0.016353558748960495, -0.0026746676303446293, -0.0077722445130348206, -0.03625325858592987, -0.03683854639530182, 0.028162552043795586, 0.011903669685125351, 0.05515453219413757, 0.0005820576334372163, 0.0574268139898777, -0.00020347809186205268, -0.06083524227142334, -0.06018109992146492, 0.023945054039359093, -0.0027155515272170305, 0.005452621262520552, 0.03473840281367302, -0.048337679356336594, -0.0012942982139065862, -0.040935542434453964, -0.06503552198410034, 0.0020086904987692833, 0.017481094226241112, -0.03539254516363144, 0.010862206108868122, 0.03584011644124985, -0.03577125817537308, 0.0019129361025989056, -0.02668212354183197, 0.04806225001811981, -0.02995283529162407, 0.022344127297401428, -0.05587753280997276, -0.045652251690626144, 0.04747696593403816, -0.0071654412895441055, -0.035564687103033066, 0.01741223782300949, -0.0018247129628434777, -0.0011565840104594827, 0.002969462191686034, -0.02850683592259884, -0.02294662594795227, 0.004802782088518143, -0.0006654392345808446, -0.02026120014488697, -0.005301996134221554, -0.03506547585129738, -0.005740960128605366, 0.015036667697131634, 0.026268981397151947, -0.05367410555481911, -0.0676865205168724, 0.014029632322490215, 0.0632796660065651, -0.08070051670074463, 0.02817976474761963, 0.03014219179749489, -0.05849410220980644, -0.036666400730609894, -0.02196541242301464, -0.02301548421382904, -0.03148490563035011, 0.038318973034620285, -0.05301996320486069, 0.02306712605059147, 0.04279468208551407, -0.02162112668156624, -0.03993711248040199, -0.036941830068826675, -0.01154217030853033, -0.14012418687343597, -0.005198710598051548, 0.03807797282934189, 0.02747398056089878, -0.019297201186418533, 0.06517323851585388, 0.033929333090782166, 0.009424814954400063, -0.010801956057548523, 0.0006143343634903431, -0.03539254516363144, -0.06407152861356735, 0.013289419002830982, -0.06445024162530899, 0.009657206945121288, -0.022051483392715454, -0.09564249962568283, 0.0317431204020977, -0.020898127928376198, -0.014941989444196224, -0.010285528376698494, -0.02871340699493885, 0.008004637435078621, 0.05832195654511452, 0.05308881774544716, 0.027026409283280373, -0.0050179604440927505, 0.014262025244534016, -0.0024121501483023167, -0.056944817304611206, 0.007871226407587528, 0.000947322987485677, 0.007742119487375021, 0.023755697533488274, 0.03520318865776062, 0.02792155183851719, -0.023118769749999046, 0.09867221117019653, 0.04069454222917557, -0.012893490493297577, -0.04544568061828613, 0.011438884772360325, -0.010380206629633904, 0.007070762570947409, 0.023325340822339058, 0.01140445563942194, 0.03979939967393875, -0.016732273623347282, 0.06506995111703873, -0.011524955742061138, 0.036012258380651474, -0.004161550663411617, 0.0382845439016819, 0.022464627400040627, -0.015553096309304237, 0.049921393394470215, -0.04603096842765808, -0.026010766625404358, -0.026854265481233597, -0.053708530962467194, 0.03807797282934189, 0.02845519408583641, -0.023962268605828285, 0.019916914403438568, 0.009794921614229679, 0.022137556225061417, -0.021672770380973816, -0.012514776550233364, 0.06451909989118576, 0.01895291544497013, -0.03520318865776062, -0.0056677996180951595, -0.05367410555481911, -0.09405878931283951, 0.06324523687362671, 0.04909510910511017, 0.017851201817393303, 0.01396938320249319, 0.05288224667310715, 0.014236204326152802, 0.022963840514421463, -0.006055120844393969, 0.02248184010386467, -0.01468377560377121, 0.01946934312582016, -0.005719442386180162, -0.02852405048906803, -0.032156262546777725, -0.026389481499791145, -0.04134868457913399, -0.03528926149010658, 0.025063982233405113, 0.006136888638138771, -0.02924705110490322, -0.054638102650642395, 0.0012275928165763617, 0.035237617790699005, -0.023893412202596664, -0.0041142115369439125, -0.037595972418785095, -0.02904047816991806, -0.009028886444866657, -0.03263826295733452, 0.010733099654316902, -0.04479153826832771, -0.04496368020772934, -0.011593813076615334, -0.02614848129451275, 0.0392141155898571, -0.02726740948855877, -0.06875380873680115, -0.003365390468388796, -0.022894984111189842, -0.022171983495354652, -0.008008941076695919, -0.019486557692289352, 0.0693390965461731, -0.010431849397718906, -0.022258056327700615, 0.031381621956825256, -0.054775819182395935, -0.010603992268443108, 0.05357081815600395, -0.03539254516363144, -0.001434164121747017, 0.10789906233549118, -0.012471741065382957, 0.05642838776111603, 0.08992736041545868, 0.0011716465232893825, -0.026337837800383568, -0.017816772684454918, -0.004140032920986414, -0.052537962794303894, 0.0038861222565174103, -0.13199904561042786, -0.061007384210824966, 0.046650681644678116, 0.04906067997217178, 0.009132171981036663, -0.07006209343671799, 0.03095126338303089, -0.014657953754067421, 0.04523910954594612, -0.020863698795437813, 0.002028056653216481, -0.008800797164440155, 0.005461228080093861, -0.004191675689071417, 0.03979939967393875, -0.011197884567081928, -0.03528926149010658, 0.0014040392125025392, 0.026733767241239548, -0.0015299185179173946, 0.0064940848387777805, -0.012678312137722969, 0.02675097994506359, 0.0034686760045588017, 0.01853977143764496, -0.056669387966394424, 0.019090628251433372, -0.03584011644124985, -0.0038689079228788614, -0.005366549827158451, 0.025253338739275932, -0.017661845311522484, 0.03811240196228027, 0.018797986209392548, -0.06121395528316498, 0.0010516844922676682, 0.036012258380651474, -0.009330135770142078, -0.030193835496902466, -0.007307459134608507, -0.006730780936777592, -0.03797468543052673, -0.0032470424193888903, 0.015036667697131634, -0.022585127502679825, 0.019125057384371758, 0.00011424629337852821, 0.035633545368909836, 0.0007832494447939098, -0.004583300091326237, -0.034962188452482224, 0.08083822578191757, -0.01736920140683651, -0.030004478991031647, 0.028988836333155632, 0.0007907807012088597, 0.061076242476701736, 0.012841847725212574, -0.06290095299482346, -0.024495910853147507, -0.037320543080568314, 0.012153277173638344, 0.03466954827308655, -0.04689168184995651, 0.0012867669574916363, -0.05780553072690964, 0.015957631170749664, 0.06730780750513077, -0.04685725271701813, 0.015484238974750042, -0.05904495716094971, -0.012686919420957565, 0.012006955221295357, 0.0016106104012578726, -0.010104778222739697, -0.01589738205075264, 0.03363668918609619, -0.04162411391735077, 0.006352066993713379, 0.013633704744279385, 0.04909510910511017, -0.037389401346445084, -0.003077051369473338, -0.008228423073887825, -0.034703973680734634, 0.010801956057548523, -0.053260963410139084, 0.028283050283789635, 0.003989407792687416, 0.016017882153391838, -0.017128201201558113, -0.008262851275503635, -0.08200880140066147, -0.03873211517930031, 0.04307011142373085, -0.0338432602584362, 0.009880992583930492, 0.014675168320536613, -0.03979939967393875, 0.018987342715263367, 0.04427511245012283, -0.0013986596604809165, -0.015596131794154644, -0.053467534482479095, 0.007488208822906017, -0.01934884302318096, -0.02917819283902645, -0.013814453966915607, -0.018660271540284157, -0.004049657844007015, 0.023979483172297478, -0.03814683109521866, 0.06083524227142334, -0.041727397590875626, 0.03714840114116669, -0.029677407816052437, -0.011146241798996925, 0.01934884302318096, 0.026131266728043556, 0.04045354202389717, 0.02518448233604431, -0.07140480726957321, -0.057908814400434494, 0.08421222865581512, 0.008073493838310242, 0.043689824640750885, 0.06376166641712189, 0.03370554745197296, 0.021483413875102997, 0.03604668751358986, -0.01760159432888031, 0.023755697533488274, -0.0032470424193888903, 0.0028252925258129835, -0.002158239483833313, -0.01855698600411415, -0.005052389111369848, -0.03417033329606056, 0.020674342289566994, 0.029642978683114052, -0.0067695127800107, -0.014175954274833202, -0.02780105173587799, 0.0903405100107193, -0.032741546630859375, 0.040556829422712326, 0.035426974296569824, 0.012359848245978355, 0.024272125214338303, 0.01848812960088253, 0.02274005487561226, 0.04189953953027725, -0.054775819182395935, -0.037389401346445084, 0.026923123747110367, -0.029522478580474854, -0.0345490463078022, 0.00501365726813674, 0.022722840309143066, 0.1171947717666626, 0.0033029885962605476, 0.013229168951511383, 0.035633545368909836, 0.014890346676111221, 0.026957552880048752, 0.08896336704492569, 0.017730701714754105, -0.02871340699493885, 0.006433834787458181, 0.007785154972225428, 0.08669108152389526, 0.04968039318919182, -0.00884813629090786, -0.030452050268650055, 0.04885410889983177, -0.002472399966791272, 0.012962347827851772, -0.023979483172297478, -0.00898585096001625, -0.017592987045645714, -0.04706382378935814, 0.04234711080789566, 0.04059125483036041, 0.007789458613842726, 0.004893157165497541, 0.01723148673772812, -0.03279319033026695, 0.03800911456346512, 0.010371599346399307, 0.020674342289566994, -0.02792155183851719, 0.032156262546777725, -0.04004039987921715, -0.00391624728217721, 0.006416620220988989, 0.05573981627821922, 0.004415461327880621, -0.023359768092632294, 0.01802334375679493, -0.0240483395755291, 0.013676740229129791, 0.0028984532691538334, -0.02168998494744301, -0.006313334684818983, 0.03062419220805168, -0.0478556789457798, -0.018849629908800125, -0.045204680413007736, -0.00926988571882248, -0.021414555609226227, 0.008873958140611649, 0.02444426901638508, -0.02922983653843403, 0.032741546630859375, 0.020157914608716965, -0.03279319033026695 ]
10,929
burnman.classes.composition
_moles_to_atoms
Hidden function that converts a molar component dictionary into an atomic (elemental) dictionary
def _moles_to_atoms(self, molar_comp_dictionary): """ Hidden function that converts a molar component dictionary into an atomic (elemental) dictionary """ component_matrix = np.zeros( (len(self.component_formulae), len(self.element_list)) ) cf = self.component_formulae molar_composition_vector = np.zeros(len(cf)) for i, (component, formula) in enumerate(cf.items()): molar_composition_vector[i] = molar_comp_dictionary[component] for element, n_atoms in formula.items(): component_matrix[i][self.element_list.index(element)] = n_atoms atom_compositions = np.dot(molar_composition_vector, component_matrix) return OrderedCounter(dict(zip(self.element_list, atom_compositions)))
(self, molar_comp_dictionary)
[ 0.06013798341155052, 0.028746308758854866, -0.03553608059883118, -0.004455236718058586, 0.0876145139336586, -0.030756786465644836, -0.03396649658679962, -0.009152965620160103, -0.015457754023373127, 0.02730017527937889, -0.042466938495635986, 0.023314490914344788, 0.002074407646432519, 0.023138131946325302, -0.0028834487311542034, -0.039715759456157684, -0.021938899531960487, -0.001667682663537562, -0.04179678112268448, -0.012556669302284718, 0.03784636780619621, -0.011375072412192822, -0.0012477308046072721, 0.03929249942302704, -0.0031722343992441893, -0.042114224284887314, -0.021480370312929153, -0.00503060407936573, -0.02668292261660099, -0.030368799343705177, 0.0063444687984883785, 0.004576482810080051, -0.018041394650936127, -0.020810211077332497, -0.003910732455551624, -0.040773905813694, 0.050156135112047195, 0.04818093031644821, -0.025854041799902916, -0.006512008607387543, 0.04087971895933151, -0.023102860897779465, 0.020175322890281677, 0.03901032730937004, 0.012415583245456219, 0.0010151590686291456, -0.05266041308641434, 0.031021323055028915, 0.0298220906406641, -0.014020438306033611, -0.0063753314316272736, -0.10898906737565994, 0.04028010368347168, 0.025589505210518837, -0.015369575470685959, 0.08380518853664398, 0.0006602391949854791, 0.06243063136935234, -0.006869133096188307, 0.02303231880068779, -0.062113188207149506, 0.03862234205007553, -0.022944139316678047, -0.04772239923477173, 0.021339284256100655, -0.0438072569668293, 0.017679860815405846, 0.03812853991985321, 0.04140879213809967, -0.024760624393820763, -0.01517558190971613, -0.005907983519136906, 0.032167647033929825, -0.04303128272294998, 0.0025549824349582195, -0.03412522003054619, 0.019822606816887856, 0.00044723215978592634, 0.052554599940776825, 0.03943358734250069, -0.07689196616411209, -0.027917426079511642, -0.012697755359113216, 0.011718970723450184, -0.012794752605259418, 0.01685097999870777, 0.06493490934371948, 0.0380227230489254, -0.06888532638549805, 0.005766897462308407, -0.008033093996345997, 0.005590539891272783, -0.010546191595494747, 0.012292132712900639, -0.052413515746593475, 0.055446866899728775, -0.03784636780619621, -0.018447017297148705, 0.016806891188025475, 0.013694176450371742, -0.002205573720857501, 0.038975056260824203, -0.023878835141658783, 0.048533644527196884, -0.014108617790043354, 0.0249369814991951, -0.024249186739325523, -0.059749994426965714, 0.04137352108955383, 0.002506484044715762, -0.06814461946487427, 0.04849837347865105, 0.008491624146699905, 0.019804971292614937, -0.004536802414804697, -0.04190259426832199, 0.014946316368877888, -0.0036241512279957533, -0.013905806466937065, 0.009073604829609394, 0.031056594103574753, -0.0034345665480941534, 0.029134295880794525, -0.015202035196125507, 0.004677888471633196, 0.04165569320321083, 0.029381195083260536, -0.012371493503451347, 0.0015155741712078452, 0.004691115114837885, -0.0024579856544733047, -0.02869340032339096, 0.0724477544426918, 0.016321906819939613, 0.022221071645617485, -0.021356919780373573, -0.030545156449079514, -0.055834852159023285, -0.051672812551259995, 0.0727299228310585, 0.03082732856273651, 0.006983765866607428, -0.017309509217739105, 0.03158566728234291, -0.04028010368347168, -0.003366227960214019, -0.028411228209733963, 0.032432183623313904, -0.06832098215818405, -0.06937912851572037, -0.04708750918507576, -0.007468749303370714, 0.03943358734250069, -0.002636547898873687, -0.03558898717164993, 0.029786817729473114, 0.045888278633356094, -0.015784015879034996, 0.024337364360690117, 0.0033287520054727793, -0.00509673822671175, 0.05435344949364662, 0.01453187596052885, 0.010845999233424664, -0.0014163729501888156, -0.024231551215052605, 0.005652264691889286, -0.0751989334821701, -0.038340166211128235, -0.058832935988903046, -0.01509622111916542, -0.023861199617385864, -0.025854041799902916, -0.023437941446900368, -0.003690285375341773, -0.02317340485751629, -0.019205356016755104, 0.018605738878250122, 0.018464652821421623, 0.021110018715262413, -0.03264381363987923, 0.009928939864039421, -0.048145655542612076, -0.0014439288061112165, -0.0319560170173645, 0.00987603235989809, 0.06560507416725159, -0.011163443326950073, 0.0623953603208065, -0.03472483530640602, 0.04634680971503258, -0.005268686916679144, -0.03816381096839905, 0.06412366777658463, 0.0016423312481492758, -0.02100420370697975, -0.013579544611275196, -0.01888791099190712, -0.03823435306549072, 0.04028010368347168, -0.043736714869737625, -0.011727788485586643, 0.0034323621075600386, 0.058092232793569565, 0.001461564563214779, -0.021709635853767395, -0.010934178717434406, 0.010749002918601036, 0.009743764065206051, -0.06645158678293228, 0.047369685024023056, -0.06176047399640083, -0.01624254509806633, 0.010872453451156616, 0.013209193013608456, -0.004210540559142828, 0.06126667186617851, -0.019170083105564117, 0.02745889686048031, -0.05435344949364662, -0.029504645615816116, 0.04458323121070862, 0.006212200503796339, -0.028887394815683365, -0.05121428146958351, -0.0041730646044015884, -0.016189638525247574, 0.056963544338941574, -0.020316408947110176, 0.03237927705049515, -0.02036931738257408, -0.03255563601851463, -0.04648789390921593, -0.041973136365413666, 0.01597800850868225, -0.03289071470499039, 0.027741068974137306, 0.012036413885653019, -0.037317294627428055, -0.000182420015335083, 0.00028713239589706063, -0.03915141522884369, 0.04116189107298851, 0.008835521526634693, -0.015484207309782505, -0.03805799409747124, 0.05855076387524605, 0.007120443042367697, -0.09713783115148544, -0.008213860914111137, -0.01471705175936222, -0.00004495054963626899, 0.048780545592308044, 0.0040341829881072044, 0.035571351647377014, -0.08295866847038269, -0.05703408643603325, 0.0526251420378685, 0.0000554562357137911, -0.049027446657419205, 0.036717675626277924, -0.0440894290804863, 0.06944967061281204, -0.007852327078580856, 0.03823435306549072, -0.0025307333562523127, 0.009726128540933132, 0.0848633348941803, 0.010361015796661377, -0.007257120218127966, -0.03084496408700943, -0.04666425287723541, -0.0020975545048713684, -0.0007947119884192944, -0.026647651568055153, 0.03123295120894909, 0.07590436190366745, -0.02768816240131855, -0.06581670045852661, 0.08302921056747437, -0.03082732856273651, -0.01688625104725361, -0.025219153612852097, -0.034548476338386536, -0.010713730938732624, 0.034813012927770615, -0.02918720245361328, 0.01189532782882452, 0.03879869729280472, -0.03886923938989639, 0.02819960005581379, 0.014329064637422562, 0.018729189410805702, -0.015431300736963749, 0.016912704333662987, 0.010052390396595001, -0.039715759456157684, -0.031127138063311577, 0.00403197854757309, -0.0077112410217523575, 0.0377405509352684, 0.03125058859586716, 0.02717672474682331, -0.04451268911361694, -0.0654287114739418, 0.012979928404092789, 0.05530577898025513, 0.05375383421778679, 0.007093989290297031, 0.032925985753536224, 0.040491733700037, 0.056081753224134445, 0.021039476618170738, 0.03130349516868591, -0.026347843930125237, 0.039574671536684036, 0.004142201971262693, -0.03738783672451973, 0.05590539798140526, 0.05435344949364662, 0.06832098215818405, -0.004580891691148281, -0.008191815577447414, 0.025466054677963257, -0.00040314270881935954, -0.05301313102245331, 0.040597546845674515, -0.03336688131093979, 0.09777271747589111, -0.05452980473637581, -0.040844447910785675, -0.04116189107298851, -0.06232481822371483, -0.007764148525893688, 0.01522848941385746, -0.049909234046936035, 0.01685097999870777, -0.050297223031520844, 0.0074952030554413795, -0.026365479454398155, 0.03349032998085022, 0.010034753940999508, -0.05752788856625557, 0.015784015879034996, -0.0032846624962985516, -0.011110535822808743, 0.0018925387412309647, -0.011842421256005764, -0.031920745968818665, -0.03310234472155571, -0.02352611906826496, 0.04948597401380539, 0.0069044046103954315, 0.044371601194143295, 0.01812957413494587, 0.05742207169532776, -0.021480370312929153, -0.04885108768939972, -0.036435503512620926, 0.03336688131093979, 0.01987551525235176, -0.038340166211128235, 0.0327143557369709, -0.06281861662864685, -0.02114528976380825, -0.054177090525627136, -0.02744126133620739, -0.013173921965062618, 0.0395394004881382, -0.050297223031520844, 0.03209710493683815, 0.028675764799118042, -0.019170083105564117, 0.022697238251566887, -0.015960372984409332, 0.058480218052864075, -0.006450283341109753, 0.015157945454120636, -0.06564034521579742, -0.0651465430855751, 0.04962706193327904, 0.006591369863599539, 0.017212513834238052, -0.005176099017262459, -0.013447276316583157, -0.025130974128842354, 0.028411228209733963, -0.0011441207025200129, -0.04006847366690636, 0.02782924845814705, 0.0048851086758077145, -0.006908813491463661, -0.003974662162363529, -0.01936407759785652, 0.0014207818312570453, 0.022079985588788986, 0.02239743061363697, -0.031021323055028915, -0.0632418766617775, -0.03280253708362579, 0.057351529598236084, -0.06486436724662781, 0.012556669302284718, 0.007667151745408773, -0.051531724631786346, -0.020810211077332497, -0.04490067437291145, -0.03310234472155571, -0.0058153956197202206, 0.029804455116391182, -0.02633020654320717, 0.06578142940998077, 0.07131905853748322, -0.029169566929340363, -0.06334768980741501, -0.024355001747608185, -0.00761424470692873, -0.11470305919647217, 0.005639038048684597, 0.014002802781760693, 0.01170133426785469, -0.005206961650401354, 0.018464652821421623, 0.05188444256782532, -0.0007357423310168087, -0.00006031296288711019, 0.00951449852436781, -0.021427461877465248, -0.04370144382119179, -0.0007666049641557038, -0.008227087557315826, -0.0034874738194048405, -0.019099541008472443, -0.10390996932983398, 0.003330956446006894, 0.0010129546280950308, -0.00918823666870594, -0.023614298552274704, 0.007786193396896124, 0.018411746248602867, 0.008632710203528404, 0.03095077909529209, 0.06662794947624207, 0.01504331361502409, -0.018799733370542526, 0.009197055362164974, -0.03276726230978966, 0.0205280389636755, 0.01429379265755415, 0.02167436294257641, 0.02028113789856434, 0.02329685539007187, 0.029610460624098778, -0.03565952926874161, 0.07230666279792786, 0.029539918527007103, -0.0010278348345309496, -0.026400750502943993, -0.0202458668500185, 0.022115258499979973, -0.005594948772341013, -0.035677164793014526, 0.036576591432094574, 0.033172886818647385, 0.0007550314767286181, 0.07407024502754211, -0.01434670016169548, 0.023208675906062126, -0.01409098133444786, 0.06271280348300934, 0.0298220906406641, -0.009126512333750725, 0.07350589334964752, -0.04218476638197899, -0.038939785212278366, -0.015131492167711258, -0.022185800597071648, 0.011330983601510525, -0.0007307822816073895, -0.012997563928365707, 0.029786817729473114, -0.001280797878280282, 0.021180562674999237, -0.0535774752497673, -0.020951297134160995, 0.09107112884521484, 0.04151460528373718, -0.05904456600546837, 0.014902227558195591, -0.008981016464531422, -0.11025884747505188, 0.04528866335749626, 0.04190259426832199, 0.013253282755613327, 0.05301313102245331, 0.03059806488454342, 0.004375875927507877, 0.037070393562316895, -0.00588152976706624, 0.003185461275279522, -0.015396028757095337, 0.0038049176800996065, -0.0249369814991951, -0.00924996193498373, -0.004314150661230087, -0.012927020899951458, -0.0566108264029026, -0.0636298656463623, 0.008557758294045925, -0.006556098349392414, -0.04620572179555893, -0.07188340276479721, 0.03474247083067894, 0.007892007939517498, -0.012733027338981628, 0.0006955107674002647, -0.029257746413350105, -0.028905030339956284, -0.011472069658339024, 0.012177500873804092, -0.015325485728681087, -0.02846413664519787, 0.0024359410163015127, -0.004283288028091192, -0.05639920011162758, 0.049909234046936035, -0.028534678742289543, -0.05287204310297966, -0.007808237802237272, -0.06168992817401886, -0.03826962411403656, -0.05036776512861252, -0.04225530847907066, 0.05862130597233772, -0.037564195692539215, 0.028411228209733963, 0.07498729974031448, -0.053048402070999146, 0.012045232579112053, 0.08726179599761963, -0.03303179889917374, 0.0003303951525595039, 0.054212361574172974, -0.024584265425801277, 0.06772136688232422, 0.07202449440956116, -0.011551430448889732, -0.026876917108893394, -0.03490119427442551, 0.04112662002444267, -0.031779661774635315, 0.0054935431107878685, -0.0790788009762764, 0.003386068157851696, 0.01176305953413248, -0.02266196720302105, 0.006710411049425602, -0.08112455159425735, 0.02292650379240513, -0.0057889423333108425, 0.0586918480694294, 0.014637690968811512, -0.024266822263598442, -0.005012968089431524, 0.040985532104969025, 0.022573787719011307, 0.04278438165783882, -0.039186686277389526, -0.023385033011436462, 0.06433529406785965, 0.03297889232635498, -0.02040458843111992, -0.02317340485751629, -0.04239639639854431, 0.009708492085337639, 0.013720630668103695, -0.00993775762617588, -0.07322372496128082, 0.01722133159637451, -0.030262984335422516, -0.004554437939077616, 0.009673221036791801, 0.0019641839899122715, -0.018200116232037544, 0.09297578781843185, 0.03421339765191078, -0.030792057514190674, 0.05199025571346283, 0.045147575438022614, -0.04659371078014374, -0.062254276126623154, -0.00717775896191597, -0.007689196616411209, -0.00626069912686944, -0.007526065688580275, -0.012618394568562508, -0.011630791239440441, -0.0004692768561653793, -0.005806577857583761, 0.007049900013953447, 0.029645731672644615, -0.007737694773823023, -0.059467822313308716, 0.07971368730068207, -0.013535454869270325, -0.03767000883817673, 0.05026194825768471, -0.007221848703920841, 0.04204367846250534, 0.013544272631406784, -0.03615333139896393, -0.04521811753511429, 0.005074693355709314, -0.015925101935863495, 0.0541418194770813, -0.07498729974031448, 0.02114528976380825, -0.0009209179552271962, 0.010978267528116703, 0.05650501325726509, 0.010828363709151745, -0.020810211077332497, -0.0782322809100151, -0.005921210628002882, -0.01574874483048916, -0.0034433845430612564, 0.009981846436858177, 0.008200634270906448, 0.061725202947854996, -0.02178017795085907, 0.031038958579301834, 0.029663369059562683, 0.04451268911361694, -0.047898758202791214, 0.020422223955392838, 0.016075005754828453, -0.006481145974248648, 0.025712955743074417, -0.015942737460136414, 0.04214949533343315, 0.008535713888704777, -0.017591683194041252, 0.011392708867788315, 0.015757562592625618, -0.016136731952428818, 0.019311171025037766, 0.04415997117757797, -0.026735831052064896, 0.025748226791620255, 0.02229161560535431, -0.011516159400343895, 0.020580945536494255, -0.02303231880068779, 0.01252139825373888, -0.01888791099190712, -0.040350645780563354, -0.04490067437291145, -0.030650971457362175, -0.031003687530755997, 0.005061466712504625, -0.006379740312695503, 0.016207274049520493, -0.0022287205792963505, -0.04426578804850578, 0.06616941839456558, -0.050826296210289, 0.04793402925133705, 0.009893667884171009, 0.01283884234726429, 0.05269568786025047, 0.0347071997821331, 0.0028614040929824114, 0.06317133456468582, -0.04444214329123497, 0.001645637908950448, 0.06909695267677307, 0.02416100725531578, 0.07449349761009216, 0.06355932354927063, -0.0014880181988701224, 0.001634615589864552, 0.046875882893800735, -0.004695524461567402, -0.03170911595225334, -0.03636496141552925, -0.0483572855591774, 0.026206757873296738, -0.0074026151560246944, -0.008033093996345997, -0.06352405250072479, 0.009135330095887184, 0.031426943838596344, 0.006185746751725674, -0.0314798541367054, -0.03939831256866455, 0.0898013487458229, -0.040773905813694, -0.0008718684548512101, 0.0347071997821331, 0.012424401007592678, 0.06394730508327484, -0.0017481459071859717, 0.015369575470685959, 0.03664713352918625, -0.01597800850868225, -0.030280619859695435, 0.0036131287924945354, -0.010969449765980244, -0.013826444745063782, 0.011710152961313725, 0.013914624229073524, 0.09706728905439377, -0.024742987006902695, 0.008910473436117172, 0.04832201451063156, 0.01044919528067112, 0.032167647033929825, 0.09706728905439377, 0.012309769168496132, -0.038833968341350555, 0.0051672812551259995, 0.0011970279738307, 0.07830283045768738, 0.06676903367042542, 0.02379065565764904, -0.02908138744533062, 0.049909234046936035, 0.026630016043782234, -0.020422223955392838, -0.01271539181470871, 0.013976349495351315, 0.0014858137583360076, -0.04458323121070862, 0.06980238854885101, -0.006816225592046976, 0.03255563601851463, -0.00594766391441226, -0.003214119467884302, -0.023437941446900368, 0.05788060277700424, 0.014831684529781342, -0.020334044471383095, -0.011225168593227863, 0.030933143571019173, 0.002929742680862546, -0.006820634938776493, -0.0049776965752244, 0.03872815519571304, -0.018552832305431366, 0.016004463657736778, -0.0010465728119015694, -0.007883190177381039, 0.001952059450559318, -0.000935798161663115, -0.019081905484199524, -0.005590539891272783, 0.0420084074139595, -0.00932050496339798, -0.005330412182956934, -0.056469742208719254, -0.020175322890281677, -0.049027446657419205, -0.012944656424224377, 0.001982922200113535, -0.002665206091478467, 0.02112765423953533, 0.024019921198487282, -0.03181493282318115 ]
10,930
burnman.classes.composition
add_components
Add (or remove) components from the composition. The components are added to the current state of the (mass, weight or molar) composition; if the composition has been renormalised, then this should be taken into account. :param composition_dictionary: Components to add, and their amounts. :type composition_dictionary: dictionary :param unit_type: 'mass', 'weight' or 'molar'. Unit type of the components to be added. :type unit_type: str
def add_components(self, composition_dictionary, unit_type): """ Add (or remove) components from the composition. The components are added to the current state of the (mass, weight or molar) composition; if the composition has been renormalised, then this should be taken into account. :param composition_dictionary: Components to add, and their amounts. :type composition_dictionary: dictionary :param unit_type: 'mass', 'weight' or 'molar'. Unit type of the components to be added. :type unit_type: str """ if unit_type == "mass" or unit_type == "weight": composition = self.mass_composition elif unit_type == "molar": composition = self.molar_composition else: raise Exception( "Unit type not recognised. " "Should be either mass, weight or molar." ) composition += OrderedCounter(composition_dictionary) # Reinitialize composition object self.__init__(composition, unit_type)
(self, composition_dictionary, unit_type)
[ -0.006187968421727419, 0.03090931661427021, -0.04856181517243385, -0.02654852159321308, 0.04311954230070114, -0.009192556142807007, -0.07975022494792938, -0.0030089488718658686, -0.035130567848682404, 0.00402283389121294, -0.0035344245843589306, 0.01254164706915617, -0.023757612332701683, 0.013989431783556938, -0.03195590898394585, 0.022641249001026154, 0.014678437262773514, -0.03649113327264786, -0.04472431540489197, -0.0860297679901123, 0.018803749233484268, 0.01943170465528965, 0.04681750014424324, 0.04674772545695305, -0.0006383114377968013, -0.029862726107239723, 0.0021705857943743467, -0.010247869417071342, 0.009977499954402447, -0.038549430668354034, 0.01429468672722578, 0.010143210180103779, -0.05201556533575058, -0.03861920163035393, 0.00782326702028513, 0.014128976501524448, 0.04681750014424324, 0.035967838019132614, 0.0014488742453977466, 0.0906347706913948, 0.07354044914245605, 0.016257045790553093, 0.038549430668354034, 0.03347346559166908, 0.023932045325636864, 0.058260224759578705, -0.05379477143287659, 0.05145738646388054, 0.035304997116327286, -0.005891434382647276, -0.004888451658189297, -0.052713293582201004, 0.016169829294085503, 0.0035823932848870754, -0.04430567845702171, 0.06816795468330383, 0.016230879351496696, 0.05114340782165527, 0.02203073725104332, 0.044270794838666916, -0.01273352187126875, -0.005206789821386337, -0.007941008545458317, -0.057248521596193314, -0.0217516478151083, -0.04032863676548004, -0.031153522431850433, 0.014015596359968185, 0.053899429738521576, 0.0031463138293474913, 0.01657974347472191, 0.006458337884396315, 0.028170738369226456, -0.008259346708655357, 0.019222386181354523, 0.0277521014213562, 0.06098136305809021, -0.0032291689421981573, 0.0722147673368454, 0.024001818150281906, -0.022536590695381165, -0.007313053589314222, -0.030194146558642387, 0.020321305841207504, 0.015123237855732441, 0.07786636054515839, 0.014469118788838387, -0.031502384692430496, -0.03673534095287323, 0.008381448686122894, -0.04130545258522034, -0.008294233120977879, 0.024647215381264687, -0.013187045231461525, 0.042142726480960846, 0.0051500992849469185, -0.029775509610772133, -0.08742522448301315, -0.002919552382081747, -0.005564374849200249, -0.009192556142807007, -0.006706903222948313, 0.03935181722044945, -0.005267840810120106, 0.0069729117676615715, -0.05682988464832306, -0.027159033343195915, -0.04461965709924698, -0.008202656172215939, 0.05749272555112839, 0.010535681620240211, -0.03617715835571289, 0.012969004921615124, 0.011355510912835598, -0.02018176019191742, 0.005817301105707884, 0.016789061948657036, -0.020391078665852547, 0.03931692987680435, 0.027786986902356148, 0.008616931736469269, -0.018106022849678993, 0.02250170335173607, 0.017434459179639816, 0.030316248536109924, 0.027717214077711105, -0.026984602212905884, 0.0023700923193246126, 0.004892812110483646, -0.03378744050860405, -0.00005311312270350754, -0.034083977341651917, 0.0028039913158863783, 0.005865269806236029, 0.02053062431514263, 0.012803294695913792, -0.052050452679395676, -0.030665112659335136, -0.01285562478005886, 0.08798340708017349, 0.015934346243739128, 0.008734673261642456, -0.015062186866998672, 0.09419317543506622, -0.023373862728476524, 0.030473237857222557, -0.02886846475303173, 0.0005445543210953474, -0.0897974967956543, 0.006903138943016529, -0.07458703964948654, 0.01009088009595871, 0.0005598170682787895, 0.0008029314340092242, -0.03554920479655266, -0.022693578153848648, 0.006558636203408241, -0.00025088200345635414, 0.014216192997992039, 0.0012133913114666939, -0.008132883347570896, 0.04472431540489197, 0.025397272780537605, 0.015969231724739075, -0.019082840532064438, 0.0026666263584047556, 0.044375453144311905, -0.016954772174358368, -0.031502384692430496, -0.007666278164833784, 0.010561846196651459, -0.0379563607275486, 0.001254818867892027, 0.0296010784804821, 0.056236814707517624, -0.04060772433876991, 0.026496192440390587, -0.06460954248905182, -0.008254985325038433, -0.036700453609228134, 0.011364232748746872, -0.01859443075954914, -0.05508556589484215, 0.013134715147316456, -0.02923477254807949, -0.018472328782081604, 0.0425962470471859, 0.012567811645567417, 0.08016885817050934, -0.034363068640232086, 0.04748034104704857, 0.002581590786576271, -0.03347346559166908, 0.027909090742468834, 0.05906261131167412, 0.01760016940534115, 0.016492526978254318, -0.021803976967930794, -0.05382965877652168, 0.03952625021338463, -0.055748406797647476, -0.038095906376838684, 0.061853520572185516, -0.003743742825463414, 0.030246475711464882, -0.025484487414360046, -0.008503550663590431, 0.006929303519427776, 0.01087582390755415, -0.08763454109430313, 0.019658464938402176, -0.05068988353013992, 0.04849204421043396, 0.048282723873853683, -0.012306164018809795, -0.04092170298099518, 0.007993337698280811, -0.07835476845502853, 0.032444316893815994, -0.05051545426249504, -0.030054600909352303, 0.0750056803226471, 0.013596959412097931, -0.034938693046569824, -0.05682988464832306, -0.029862726107239723, -0.03452005609869957, 0.016265766695141792, -0.028816135600209236, 0.032444316893815994, -0.0026513636112213135, -0.016492526978254318, -0.06513284146785736, -0.00548588065430522, -0.004149296786636114, -0.03368278220295906, -0.03139772638678551, 0.03218267112970352, 0.033368807286024094, -0.010710113681852818, 0.01087582390755415, 0.00034286754089407623, 0.0034166830591857433, 0.0010880184127017856, -0.060213860124349594, -0.02073994278907776, 0.035025909543037415, 0.02230982854962349, -0.04496851935982704, 0.010683948174118996, -0.0027712853625416756, 0.012201505713164806, -0.01676289737224579, -0.0037066759541630745, -0.0029675213154405355, -0.06649340689182281, -0.058155566453933716, -0.02396693080663681, -0.018175795674324036, -0.040119316428899765, -0.028798691928386688, -0.03274085000157356, 0.04636397585272789, 0.0416543185710907, 0.008006419986486435, -0.043259087949991226, 0.028711475431919098, 0.06415601819753647, -0.018193237483501434, 0.03376999869942665, 0.012785851955413818, 0.014879033900797367, 0.04643374681472778, -0.005690837744623423, -0.0009779083775356412, 0.03136283904314041, 0.088820680975914, -0.02370528317987919, -0.03153727203607559, 0.05581818148493767, 0.024106476455926895, 0.00833347998559475, -0.008233181200921535, -0.0286940336227417, 0.02267613634467125, 0.020234089344739914, 0.0035148009192198515, 0.021803976967930794, 0.018367670476436615, -0.006196690257638693, -0.01072755642235279, 0.010064715519547462, 0.017879260703921318, 0.026775283738970757, -0.0004448011168278754, -0.023112215101718903, -0.051876019686460495, -0.011137471534311771, -0.0022196448408067226, -0.021542329341173172, -0.003610738553106785, 0.02925221435725689, 0.024507669731974602, -0.016082612797617912, -0.07633136212825775, -0.0360725000500679, 0.06597010791301727, -0.020478295162320137, -0.024751873686909676, 0.0037895310670137405, 0.029321987181901932, 0.07186590880155563, 0.02379249967634678, 0.06153954192996025, 0.00883933249861002, 0.04793386161327362, 0.019954999908804893, -0.042631134390830994, -0.00622285483404994, 0.04765477031469345, 0.023652954027056694, -0.015193010680377483, -0.020286420360207558, -0.009140226989984512, 0.021315567195415497, 0.0062141334637999535, 0.045387156307697296, -0.017512954771518707, 0.05599261075258255, -0.05749272555112839, -0.10891522467136383, -0.017704829573631287, -0.023443635553121567, 0.010980482213199139, -0.020303862169384956, -0.09077431261539459, 0.01087582390755415, -0.09007658809423447, 0.027804430574178696, -0.009567584842443466, 0.030874431133270264, 0.013762669637799263, -0.045945338904857635, -0.03649113327264786, 0.03542710095643997, -0.046329088509082794, 0.05396920442581177, -0.007247641682624817, 0.030298804864287376, 0.028257953003048897, -0.04528249800205231, 0.018367670476436615, 0.00865617860108614, 0.034083977341651917, 0.000984449521638453, 0.01684139110147953, -0.011529942974448204, -0.0388634093105793, -0.002836697269231081, -0.00281053245998919, 0.026042670011520386, -0.002367911860346794, -0.01581224426627159, 0.020495738834142685, -0.027228806167840958, -0.03015926107764244, 0.008991959504783154, -0.02471698820590973, 0.006981633137911558, -0.05477158725261688, 0.04099147766828537, -0.009271050803363323, -0.023722726851701736, 0.056132156401872635, -0.0044698151759803295, 0.014312130399048328, 0.036246929317712784, 0.030560454353690147, -0.05812067911028862, -0.0425613634288311, 0.047794315963983536, -0.014469118788838387, -0.06541193276643753, 0.024856533855199814, 0.020617840811610222, -0.010570568032562733, 0.03851454332470894, -0.0015611647395417094, -0.010117044672369957, 0.011320624500513077, 0.04468943178653717, -0.01221894845366478, 0.01425107941031456, 0.0171204824000597, -0.02712414599955082, -0.01124212983995676, -0.004971306771039963, -0.04971306771039963, -0.0740986317396164, 0.016178550198674202, 0.05595772713422775, -0.09928658604621887, -0.004927698522806168, 0.053724996745586395, -0.02442045323550701, 0.01124212983995676, -0.020966703072190285, 0.020757386460900307, -0.0034777342807501554, -0.016318095847964287, -0.02007710188627243, 0.038374997675418854, -0.010945595800876617, -0.040851932018995285, -0.03896806761622429, -0.0481082946062088, -0.029670851305127144, -0.09237908571958542, -0.03286295384168625, 0.05236443132162094, 0.04193340614438057, 0.01833278313279152, 0.007967173121869564, 0.08226203918457031, 0.012655028142035007, 0.010439744219183922, 0.010038550943136215, -0.03458982706069946, -0.0020986327435821295, 0.007666278164833784, -0.06073715537786484, 0.05532976984977722, -0.05218999832868576, -0.07134260982275009, 0.021681874990463257, -0.05599261075258255, 0.0005535484524443746, -0.048736248165369034, -0.052155110985040665, 0.05700431764125824, -0.0020910012535750866, -0.006218493916094303, -0.012114289216697216, 0.018542101606726646, -0.04193340614438057, 0.003240071004256606, -0.03035113587975502, -0.02906033955514431, 0.003281498560681939, 0.016605908051133156, 0.044654544442892075, 0.017172811552882195, 0.02136789634823799, 0.030944203957915306, 0.06893545389175415, 0.004369516856968403, -0.04130545258522034, -0.054387837648391724, -0.0152715053409338, -0.016265766695141792, -0.0003777538950089365, -0.009759459644556046, 0.007029601838439703, 0.07291249930858612, -0.048073407262563705, 0.046782612800598145, 0.030926760286092758, -0.013596959412097931, 0.005686477292329073, 0.08714613318443298, -0.00897451676428318, -0.010396135970950127, 0.05777181684970856, -0.050027042627334595, -0.04015420377254486, 0.012698636390268803, 0.0051413774490356445, 0.006907499860972166, -0.015393607318401337, -0.07709886133670807, 0.06276056915521622, 0.012114289216697216, -0.01722514070570469, 0.019100284203886986, -0.021420227363705635, 0.07933159172534943, 0.037991248071193695, -0.008896022103726864, 0.04775942862033844, -0.004962584935128689, -0.06726090610027313, -0.00827678944915533, 0.03200823813676834, 0.036421362310647964, 0.021891191601753235, 0.05173647403717041, -0.024490226060152054, -0.02332153357565403, -0.022885452955961227, -0.0061225565150380135, 0.021891191601753235, 0.030386021360754967, 0.032897841185331345, -0.03495613485574722, -0.006833366118371487, -0.02454255521297455, -0.003937798086553812, -0.009689686819911003, -0.01466971542686224, -0.016352983191609383, -0.02461232803761959, -0.045491818338632584, 0.033647894859313965, 0.00195690686814487, 0.025676362216472626, -0.0017868358409032226, -0.002311221556738019, -0.01276840828359127, -0.01998988538980484, -0.025868237018585205, 0.04601511359214783, -0.01036997139453888, 0.03153727203607559, -0.02433323860168457, 0.030141817405819893, 0.007583423051983118, -0.03389210253953934, -0.08372727036476135, 0.019954999908804893, -0.010117044672369957, -0.015384885482490063, 0.021333010867238045, -0.050375908613204956, 0.023164544254541397, 0.024455340579152107, 0.004513422958552837, 0.04144499823451042, -0.07347068190574646, -0.010448465123772621, 0.01323937438428402, -0.02656596526503563, 0.01951891928911209, 0.09461181610822678, -0.05951613560318947, 0.04291022568941116, 0.04943397641181946, 0.04291022568941116, -0.0777268186211586, -0.017713550478219986, -0.038095906376838684, -0.031415168195962906, 0.027699772268533707, -0.08198295533657074, 0.00944548286497593, 0.08777409046888351, 0.007500567939132452, 0.00753981526941061, -0.06370250135660172, 0.015882017090916634, 0.028571931645274162, 0.030944203957915306, 0.010108323767781258, -0.03472937270998955, -0.013256818056106567, 0.029635965824127197, -0.011407840065658092, 0.023024998605251312, -0.045945338904857635, -0.016335539519786835, 0.01602156274020672, 0.016536135226488113, 0.02155977115035057, -0.04134033992886543, -0.0434684082865715, -0.035392213612794876, -0.02832772582769394, 0.01072755642235279, 0.007007798179984093, -0.02182142063975334, -0.07702908664941788, -0.03556664660573006, 0.008948352187871933, -0.03265363350510597, -0.017914146184921265, 0.056690338999032974, 0.018821192905306816, -0.010683948174118996, 0.021228350698947906, 0.04587556794285774, -0.04015420377254486, -0.024228578433394432, 0.015376164577901363, 0.017434459179639816, -0.030229033902287483, 0.0035976560320705175, -0.002544524148106575, -0.05016658827662468, -0.012061960063874722, -0.01887352205812931, 0.07605227082967758, 0.012934118509292603, -0.0023024999536573887, -0.010797329246997833, 0.09209999442100525, 0.001995063852518797, -0.026862498372793198, 0.012297443114221096, 0.048282723873853683, 0.009733295068144798, -0.04741056635975838, 0.013649289496243, -0.01582968607544899, -0.01610005646944046, -0.022902896627783775, 0.001070575206540525, -0.09223954379558563, -0.021891191601753235, -0.033002499490976334, 0.10591499507427216, 0.05407386273145676, -0.048736248165369034, 0.01776587963104248, -0.049189772456884384, 0.04367772489786148, -0.0314326137304306, -0.0444452241063118, -0.01091943122446537, -0.03376999869942665, 0.0499921590089798, -0.08212249726057053, 0.027717214077711105, 0.012977726757526398, 0.03172914683818817, -0.05023636296391487, -0.008778280578553677, -0.0033207456581294537, 0.003231349401175976, 0.023059885948896408, 0.025938009843230247, 0.010195539332926273, 0.026792725548148155, -0.015236618928611279, 0.012899232096970081, -0.005690837744623423, -0.010980482213199139, 0.046887271106243134, 0.017896704375743866, -0.07563363015651703, 0.0379214771091938, -0.005437911953777075, -0.02053062431514263, 0.0037590055726468563, 0.018716532737016678, -0.016605908051133156, 0.016073891893029213, -0.000757143076043576, 0.017076874151825905, -0.04025886207818985, -0.03396187350153923, 0.013300425373017788, -0.038340114057064056, -0.0029697015415877104, 0.07605227082967758, 0.013605681248009205, 0.0342584066092968, -0.03868897631764412, 0.05857420340180397, -0.06530726701021194, -0.012471874244511127, 0.011547385714948177, 0.011913692578673363, -0.04870136082172394, 0.03195590898394585, 0.0035758521407842636, -0.01703326590359211, 0.07472658902406693, -0.04737567901611328, 0.05027124658226967, 0.07730817794799805, 0.0068813348188996315, 0.015986675396561623, 0.032897841185331345, -0.01685011386871338, -0.0425613634288311, 0.00007031782297417521, 0.04430567845702171, -0.03732840716838837, -0.016440197825431824, 0.0029173721559345722, -0.07912226766347885, 0.005307087674736977, -0.0007658646791242063, -0.02267613634467125, -0.0019972443114966154, -0.03017670288681984, 0.004879729822278023, 0.0022981390357017517, -0.03656090795993805, 0.026775283738970757, 0.02248425967991352, 0.06321408599615097, 0.017286192625761032, -0.0003564950020518154, 0.021402783691883087, 0.0041231317445635796, -0.01087582390755415, -0.008111079223453999, 0.0010476810857653618, 0.05525999888777733, -0.009724573232233524, 0.03174658864736557, 0.09293726831674576, 0.021716760471463203, -0.011904970742762089, 0.024577442556619644, 0.025868237018585205, 0.03865408897399902, 0.0897277221083641, -0.030141817405819893, -0.04182874783873558, 0.016222158446907997, 0.026408975943922997, 0.08833227306604385, -0.004796874709427357, 0.039561133831739426, -0.056236814707517624, 0.06283033639192581, -0.03319437429308891, -0.003730660304427147, -0.007853792048990726, 0.011625880375504494, 0.002830156125128269, -0.051876019686460495, 0.02480420283973217, 0.016893720254302025, -0.012419545091688633, 0.0007936647743918002, 0.026618294417858124, -0.0032509728334844112, 0.034363068640232086, 0.009236164391040802, 0.0014336114982143044, 0.017364686354994774, -0.028624260798096657, -0.04193340614438057, -0.019571248441934586, 0.04664306715130806, 0.02358318120241165, -0.015411050990223885, 0.010570568032562733, 0.041235681623220444, 0.007422073744237423, -0.01979801058769226, 0.026810169219970703, 0.0388634093105793, -0.040223974734544754, 0.04004954546689987, -0.0033534516114741564, 0.0026535438373684883, -0.07521499693393707, -0.019972441717982292, -0.08009909093379974, 0.070330910384655, -0.0008280060137622058, 0.015411050990223885, 0.05902772396802902, -0.006017897743731737, -0.015053465031087399 ]
10,931
burnman.classes.composition
change_component_set
Change the set of basis components without changing the bulk composition. Will raise an exception if the new component set is invalid for the given composition. :param new_component_list: New set of basis components. :type new_component_list: list of strings
def change_component_set(self, new_component_list): """ Change the set of basis components without changing the bulk composition. Will raise an exception if the new component set is invalid for the given composition. :param new_component_list: New set of basis components. :type new_component_list: list of strings """ composition = np.array( [self.atomic_composition[element] for element in self.element_list] ) component_matrix = np.zeros((len(new_component_list), len(self.element_list))) for i, component in enumerate(new_component_list): formula = dictionarize_formula(component) for element, n_atoms in formula.items(): component_matrix[i][self.element_list.index(element)] = n_atoms sol = nnls(component_matrix.T, composition) if sol[1] < 1.0e-12: component_amounts = sol[0] else: raise Exception( "Failed to change component set. " "Could not find a non-negative " "least squares solution. " "Can the bulk composition be described " "with this set of components?" ) composition = OrderedCounter(dict(zip(new_component_list, component_amounts))) # Reinitialize the object self.__init__(composition, "molar")
(self, new_component_list)
[ 0.02300995960831642, 0.0037187354173511267, -0.005458070896565914, 0.02878962643444538, -0.01137815322726965, -0.011015791445970535, -0.05707194656133652, -0.054136816412210464, 0.0029555114451795816, -0.006599510088562965, -0.060224492102861404, -0.016016380861401558, -0.03455117344856262, 0.014603170566260815, -0.06544249504804611, -0.0366709902882576, -0.0030483666341751814, -0.0037730897311121225, -0.02547401748597622, -0.01255582831799984, -0.001221837941557169, -0.001371312071569264, 0.011532156728208065, 0.09030050039291382, 0.024694940075278282, 0.005544132087379694, 0.028282320126891136, 0.0038817981258034706, 0.02003859356045723, -0.020183539018034935, 0.005725312512367964, 0.03119933046400547, -0.036489810794591904, -0.025202246382832527, 0.045947447419166565, -0.017801010981202126, 0.04645475372672081, 0.04217888414859772, -0.0008509834879077971, 0.03569261357188225, 0.037866782397031784, -0.04217888414859772, 0.05420928820967674, 0.012664536945521832, 0.02746700681746006, 0.012981602922081947, 0.012293116189539433, 0.12139112502336502, -0.005480718798935413, 0.013615735806524754, 0.02580014243721962, -0.043592095375061035, 0.013941860757768154, -0.01492929644882679, -0.012682654894888401, 0.08464766293764114, 0.04453423619270325, 0.07783526182174683, 0.07841504365205765, -0.035765085369348526, 0.0010310318320989609, 0.02375280112028122, -0.02817361056804657, -0.0677616149187088, -0.017447710037231445, -0.0713852271437645, -0.02337232045829296, 0.02541966363787651, 0.05707194656133652, 0.0394611731171608, -0.03121744841337204, 0.020491546019911766, 0.04163534194231033, -0.03562014177441597, 0.03366338834166527, 0.012084757909178734, -0.0006171470158733428, -0.016759222373366356, -0.003274842631071806, 0.013597617857158184, -0.024151397868990898, 0.0049190581776201725, 0.03435187786817551, 0.0010853861458599567, -0.03290243074297905, 0.01895150914788246, 0.0332285538315773, 0.0037436478305608034, 0.026995936408638954, -0.04678087681531906, -0.004697111900895834, 0.015146713703870773, 0.005589426960796118, 0.02741265296936035, 0.021469922736287117, 0.05594862625002861, -0.03629051148891449, -0.10131629556417465, 0.006531567312777042, -0.052759844809770584, 0.004244159907102585, 0.05123792588710785, -0.034732356667518616, 0.017701363191008568, 0.004928117152303457, 0.004755995701998472, 0.0031480160541832447, -0.03185158222913742, 0.02402457222342491, 0.0062416777946054935, -0.07979201525449753, 0.07384928315877914, -0.020256010815501213, 0.017230292782187462, -0.041852761059999466, -0.027267707511782646, 0.0144491670653224, -0.02473117597401142, 0.053412094712257385, -0.0002113303926307708, 0.002359879668802023, 0.02040095627307892, -0.0065134488977491856, 0.01830831728875637, 0.05424552410840988, 0.04007718712091446, 0.03571073338389397, 0.027231471613049507, 0.048991281539201736, -0.08008190244436264, -0.0022987311240285635, -0.04384575039148331, -0.016786400228738785, 0.05044072866439819, -0.01050848513841629, -0.024169515818357468, -0.08334315568208694, -0.0707329735159874, -0.05189017578959465, 0.02438693307340145, 0.025310955941677094, 0.04036707803606987, 0.038192909210920334, 0.07935718446969986, -0.020781435072422028, 0.027213353663682938, 0.010599075816571712, -0.009502931497991085, -0.09327186644077301, -0.012374646961688995, -0.044280581176280975, -0.013461732305586338, -0.01596202701330185, -0.04344715178012848, -0.03585567697882652, 0.04431682080030441, 0.010173301212489605, -0.05935482308268547, 0.0043438090942800045, 0.011278503574430943, -0.06939224153757095, -0.012438060715794563, -0.007682065013796091, 0.06152899190783501, -0.039533644914627075, -0.025908851996064186, -0.017175938934087753, -0.06341326981782913, -0.09225725382566452, -0.021270623430609703, 0.0013475320301949978, -0.005992554128170013, -0.05663711205124855, 0.03400763124227524, 0.03556578606367111, 0.022973723709583282, 0.006658393889665604, -0.057180654257535934, -0.008234666660428047, -0.005000589415431023, -0.022846896201372147, -0.002402910031378269, 0.020074831321835518, -0.03942493721842766, -0.005159122869372368, 0.017049111425876617, 0.015681196004152298, -0.02132497727870941, 0.025039182975888252, -0.011604629456996918, 0.023970216512680054, 0.00867403019219637, -0.006744454614818096, 0.06279725581407547, 0.03402575105428696, -0.005507895722985268, -0.002090373309329152, -0.015382247976958752, -0.040584493428468704, 0.03663475438952446, -0.026325566694140434, 0.0030483666341751814, 0.0887061133980751, 0.030963795259594917, 0.050368256866931915, 0.010309186764061451, -0.0037459125742316246, -0.02239394374191761, 0.03295678272843361, -0.001781233586370945, 0.03359091654419899, -0.01864350214600563, 0.032087117433547974, -0.0022409798111766577, 0.010309186764061451, -0.004588403273373842, 0.06997201591730118, -0.02955058589577675, 0.03188781812787056, -0.06732677668333054, -0.01664145477116108, 0.02099885232746601, -0.009357986971735954, 0.0020077095832675695, -0.07971954345703125, 0.0027811250183731318, -0.005743430927395821, 0.011414389126002789, -0.0339713953435421, 0.040512021631002426, -0.03837408870458603, -0.024531878530979156, -0.04094685614109039, -0.03706958889961243, 0.009792821481823921, -0.02237582579255104, -0.011061086319386959, 0.04601991921663284, -0.04344715178012848, 0.019803060218691826, -0.07522626221179962, -0.04504154250025749, 0.013805975206196308, 0.012474296614527702, -0.029387522488832474, 0.002253436017781496, 0.044570472091436386, 0.009874352253973484, -0.07352316379547119, 0.012293116189539433, -0.008067074231803417, -0.0244775228202343, -0.020763317123055458, 0.00040510890539735556, 0.014621289446949959, -0.05877504497766495, -0.058195266872644424, 0.04239630326628685, 0.022140290588140488, -0.03382645174860954, -0.02614438720047474, -0.0700807273387909, 0.0392799936234951, -0.014467285014688969, 0.006753513589501381, -0.013008779846131802, -0.010952378623187542, 0.10914330184459686, -0.005399187095463276, 0.03284807503223419, 0.020237892866134644, 0.01902398280799389, 0.002821890637278557, 0.02101697027683258, -0.01067154761403799, 0.034750472754240036, 0.03125368431210518, -0.027376415207982063, -0.01423175074160099, 0.03185158222913742, 0.002441410906612873, -0.01936822570860386, -0.018806565552949905, -0.0012308969162404537, -0.011613688431680202, -0.010562839917838573, -0.003997300751507282, -0.02679663710296154, -0.010925200767815113, -0.022901250049471855, -0.017203114926815033, 0.003727794624865055, 0.02300995960831642, -0.027938077226281166, 0.03906257450580597, -0.01864350214600563, -0.0685950443148613, -0.01357044093310833, 0.015726491808891296, 0.019060218706727028, 0.03435187786817551, -0.03348220884799957, -0.03569261357188225, -0.04174405336380005, 0.010888964869081974, -0.08008190244436264, 0.031362392008304596, -0.007564297411590815, 0.014041510410606861, 0.01665051281452179, 0.04717947542667389, 0.09551850706338882, -0.02199534699320793, 0.01729370467364788, 0.07254478335380554, 0.03228641673922539, 0.01202134508639574, -0.023915862664580345, 0.05805032327771187, 0.06569615006446838, 0.03402575105428696, -0.029677411541342735, -0.020201656967401505, 0.04431682080030441, -0.03188781812787056, -0.024241987615823746, 0.05181770399212837, -0.0030483666341751814, -0.002987218089401722, -0.045258957892656326, -0.06667453050613403, -0.018842801451683044, -0.03194217011332512, -0.004955294542014599, -0.020962616428732872, -0.03496789187192917, 0.04377327486872673, -0.1044326052069664, 0.03629051148891449, -0.015291658230125904, 0.07149393856525421, 0.06714560091495514, -0.04841150343418121, -0.01054472103714943, -0.008769149892032146, -0.0025727669708430767, 0.03516719117760658, 0.02578202448785305, -0.03551143407821655, 0.0025954146403819323, -0.05225253850221634, -0.0013078987831249833, 0.008746501989662647, 0.04569379240274429, 0.018534794449806213, 0.08399540930986404, -0.020274128764867783, -0.016179444268345833, -0.028010549023747444, -0.052759844809770584, 0.011912636458873749, -0.06660205125808716, 0.02440505102276802, -0.016433097422122955, -0.016686750575900078, -0.051745232194662094, -0.03250383213162422, -0.013851271010935307, 0.05196264758706093, -0.05362951010465622, 0.0016193032497540116, -0.04612862691283226, -0.002550119534134865, 0.0002860674576368183, 0.01693134382367134, 0.057905375957489014, -0.06892117112874985, 0.017493003979325294, -0.03556578606367111, -0.0625436082482338, 0.07696559280157089, -0.037468183785676956, -0.01457599364221096, 0.001175410347059369, -0.004076567478477955, 0.003908975515514612, 0.06685570627450943, 0.031398627907037735, 0.026253094896674156, 0.016505569219589233, 0.03764936700463295, -0.0379754900932312, 0.037468183785676956, -0.020509663969278336, -0.0032431359868496656, 0.018788447603583336, 0.031126858666539192, -0.00414903974160552, -0.03960612043738365, -0.019096454605460167, 0.0022975988686084747, -0.0662759318947792, 0.012048522010445595, 0.059536006301641464, -0.051092978566884995, -0.03018471784889698, 0.009403282776474953, 0.018407966941595078, -0.04406316578388214, 0.003816120093688369, -0.05022331327199936, 0.07254478335380554, 0.05428176373243332, -0.06109415739774704, -0.028735272586345673, 0.03145298361778259, -0.010128005407750607, -0.08696677535772324, 0.055803678929805756, 0.046672169119119644, 0.032431360334157944, -0.004608786199241877, 0.0379754900932312, 0.06011578440666199, 0.012229702435433865, -0.0373232401907444, 0.004923587664961815, -0.04435305669903755, -0.07044308632612228, 0.04413563758134842, -0.035185307264328, -0.0005746827810071409, -0.02581826038658619, -0.06453659385442734, -0.01828114129602909, -0.09283703565597534, -0.010073651559650898, 0.009484813548624516, -0.028391027823090553, 0.024187633767724037, 0.05283231660723686, 0.020600255578756332, 0.01087990589439869, -0.0373232401907444, -0.03223206102848053, 0.019458815455436707, -0.020111067220568657, -0.0056981355883181095, -0.06587733328342438, 0.02815549261868, 0.00003236129487049766, 0.03148921951651573, 0.0033110787626355886, -0.004810349550098181, 0.0455126129090786, -0.0013837681617587805, 0.007600533775985241, -0.06065932661294937, -0.005344833247363567, 0.027539478614926338, 0.020962616428732872, 0.003963329363614321, 0.016886048018932343, 0.07667570561170578, -0.00811689905822277, 0.0022613625042140484, 0.007691123988479376, 0.016396861523389816, -0.01563590206205845, 0.02639804035425186, 0.018860919401049614, -0.07928471267223358, 0.035475198179483414, -0.04536766931414604, -0.035837557166814804, -0.024876121431589127, -0.031416747719049454, 0.0088189747184515, -0.007944777607917786, -0.06370316445827484, -0.03672534599900246, 0.008429436013102531, 0.04065696895122528, 0.00770471291616559, -0.019839296117424965, 0.008515496738255024, 0.03179722651839256, -0.04601991921663284, -0.009181336499750614, -0.05359327420592308, -0.0636669248342514, -0.02917010523378849, 0.033735860139131546, 0.056492168456315994, 0.01701287552714348, 0.02989482879638672, -0.0224301815032959, -0.020092949271202087, 0.018860919401049614, -0.01152309775352478, 0.018380790948867798, 0.017420532181859016, -0.028916452080011368, -0.012338411062955856, 0.040910620242357254, 0.004642757587134838, -0.006694629788398743, -0.02648863010108471, -0.010626252740621567, -0.016840754076838493, -0.0172665286809206, -0.08276338130235672, 0.04569379240274429, 0.013651971705257893, 0.00023411953588947654, -0.001221837941557169, -0.02686910890042782, 0.020074831321835518, 0.027068408206105232, 0.013941860757768154, 0.03194217011332512, -0.0332285538315773, -0.007165699731558561, 0.017411472275853157, 0.010626252740621567, 0.008198430761694908, -0.006622157525271177, -0.10095392912626266, 0.021488040685653687, -0.0034061986953020096, 0.006264325696974993, -0.033391617238521576, -0.012148171663284302, 0.06950094550848007, 0.028336673974990845, 0.04210641235113144, 0.06616722047328949, -0.04775925353169441, 0.013180902227759361, 0.01054472103714943, -0.0427224263548851, 0.012564887292683125, 0.059209879487752914, -0.0016023175558075309, 0.025347191840410233, 0.0420701764523983, -0.007428411860018969, -0.019495051354169846, -0.025329073891043663, -0.019766822457313538, -0.017103465273976326, 0.02991294674575329, -0.045585084706544876, 0.007201936095952988, 0.06457283347845078, -0.05152781307697296, -0.007962895557284355, -0.036091212183237076, 0.007691123988479376, 0.0353664867579937, -0.00865138228982687, -0.011749573983252048, 0.038156673312187195, -0.008166723884642124, 0.05362951010465622, 0.01967623271048069, 0.0379754900932312, -0.03301113843917847, 0.011251326650381088, 0.025673316791653633, 0.045295193791389465, 0.02268383465707302, -0.028028666973114014, -0.004765054676681757, -0.021125679835677147, -0.008397729136049747, 0.03025718964636326, -0.04304855316877365, -0.016904165968298912, -0.060949213802814484, -0.010807433165609837, -0.03909881412982941, -0.017511121928691864, -0.02775689586997032, 0.07870493084192276, 0.05054943636059761, -0.05855762958526611, 0.04989718645811081, 0.01373350340873003, -0.011985108256340027, -0.031018149107694626, -0.0060016135685145855, 0.009194924496114254, -0.019893649965524673, -0.02980423904955387, 0.041599106043577194, -0.05022331327199936, -0.037794310599565506, 0.032413240522146225, 0.04149039834737778, -0.052433717995882034, 0.009919648058712482, -0.004214718006551266, 0.0710228681564331, 0.01239276584237814, -0.036091212183237076, 0.0041920701041817665, -0.013362082652747631, 0.07142146676778793, 0.03531213477253914, 0.03415257856249809, 0.008130487985908985, -0.016523687168955803, -0.046346042305231094, -0.04674464091658592, -0.06109415739774704, -0.01626097597181797, 0.008420377038419247, 0.0496072992682457, 0.013244315050542355, -0.013706326484680176, 0.03221394121646881, -0.04065696895122528, -0.033083610236644745, -0.06406552344560623, -0.003990506753325462, 0.015336953103542328, -0.006970930378884077, 0.03081885166466236, -0.04957106336951256, 0.01492929644882679, -0.03687028959393501, 0.015382247976958752, -0.010834611020982265, 0.021832283586263657, -0.05094803497195244, -0.004214718006551266, 0.01965811476111412, -0.012583005242049694, 0.059898365288972855, 0.010762138292193413, 0.013226197101175785, 0.014585052616894245, -0.016496509313583374, -0.032377004623413086, -0.01962187886238098, 0.0288983341306448, -0.06848633289337158, 0.04210641235113144, 0.02913386933505535, -0.03185158222913742, 0.04906375706195831, -0.02951434999704361, 0.006631216499954462, 0.025347191840410233, -0.009530109353363514, 0.002604473615065217, -0.008560791611671448, 0.040512021631002426, -0.021832283586263657, 0.00029498495860025287, 0.014331399463117123, 0.0805167406797409, -0.0366709902882576, 0.05964471399784088, -0.005544132087379694, 0.09327186644077301, -0.001132379868067801, -0.026923464611172676, 0.04341091588139534, -0.03333726525306702, -0.0550064854323864, -0.004882821813225746, -0.026271212846040726, 0.008479260839521885, 0.022611360996961594, -0.04453423619270325, 0.036852169781923294, 0.004755995701998472, 0.00304610189050436, 0.03197840601205826, 0.024314461275935173, -0.024531878530979156, -0.046309806406497955, 0.0012965749483555555, 0.017366178333759308, -0.020256010815501213, -0.010128005407750607, 0.01307219360023737, -0.046599697321653366, -0.016722986474633217, 0.025039182975888252, 0.013905624859035015, 0.010309186764061451, -0.0010174433700740337, 0.06453659385442734, -0.020545899868011475, 0.004522725008428097, 0.011631806381046772, 0.027195235714316368, 0.08450271934270859, 0.003057425608858466, -0.037178296595811844, 0.06453659385442734, -0.017465827986598015, 0.019893649965524673, -0.031126858666539192, -0.02413327991962433, -0.04688958451151848, -0.0010882170172408223, 0.021107560023665428, 0.06522507965564728, 0.021198151633143425, -0.01836267299950123, 0.024169515818357468, 0.025709552690386772, 0.03743194788694382, 0.013289609923958778, -0.015780845656991005, -0.009946824982762337, 0.028753390535712242, -0.00685769272968173, 0.05094803497195244, 0.01492929644882679, 0.010245773009955883, -0.003709676442667842, 0.05076685547828674, 0.009190395474433899, 0.00745558924973011, -0.013597617857158184, -0.0002755929599516094, 0.027195235714316368, -0.027376415207982063, 0.0067489841021597385, 0.05877504497766495, -0.032032761722803116, 0.01562684215605259, 0.024187633767724037, -0.03228641673922539, 0.0448603630065918, 0.030402135103940964, -0.02540154568850994, -0.03286619484424591, -0.007899481803178787, -0.059209879487752914, 0.029441876336932182, -0.010381658561527729, 0.03400763124227524, 0.020853908732533455, -0.03502224385738373, 0.012990661896765232, -0.006087674293667078, 0.005657369736582041, 0.02786560356616974, 0.03891763091087341, -0.06167393922805786, 0.059173643589019775, 0.014902119524776936, -0.00254106055945158, -0.08558980375528336, -0.012954425998032093, -0.012773244641721249, 0.05420928820967674, 0.05739806964993477, -0.02955058589577675, 0.03469612076878548, 0.020545899868011475, -0.024241987615823746 ]
10,932
burnman.classes.composition
composition
Helper function to return the composition in the desired type. :param unit_type: One of 'mass', 'weight', 'molar' and 'atomic'. :type unit_type: str :returns: Mass (weight), molar or atomic composition. :rtype: OrderedCounter
def composition(self, unit_type): """ Helper function to return the composition in the desired type. :param unit_type: One of 'mass', 'weight', 'molar' and 'atomic'. :type unit_type: str :returns: Mass (weight), molar or atomic composition. :rtype: OrderedCounter """ return getattr(self, f"{unit_type}_composition")
(self, unit_type)
[ 0.04090947285294533, -0.0017085954314097762, 0.013932808302342892, -0.037635307759046555, 0.0782279223203659, -0.004972859751433134, -0.0018989283125847578, -0.06389904767274857, -0.02934427373111248, -0.01738300547003746, 0.01037699356675148, 0.034378744661808014, -0.010438604280352592, -0.03319934010505676, 0.006803576368838549, 0.004611997399479151, 0.02443302422761917, -0.056294530630111694, -0.010834673419594765, -0.017726264894008636, 0.06358218938112259, 0.0647439956665039, 0.017664654180407524, -0.010808268561959267, 0.015807533636689186, 0.033797841519117355, 0.01125714648514986, -0.021880581974983215, 0.0019231324549764395, -0.06527208536863327, -0.003514007432386279, 0.01943375915288925, -0.034290727227926254, -0.012542168609797955, -0.002365408930927515, 0.00698400754481554, 0.007679327391088009, 0.0782279223203659, -0.03290008753538132, 0.05358366295695305, 0.06414549052715302, -0.005104882642626762, 0.02626373991370201, 0.027407938614487648, -0.03534691035747528, 0.0004527282726485282, -0.03686077147722244, -0.02999558486044407, 0.038797106593847275, -0.026862243190407753, 0.03242480382323265, -0.04052220657467842, -0.009699276648461819, -0.03735365718603134, -0.01851840130984783, 0.02916824258863926, -0.0055801644921302795, 0.05252747982740402, 0.01774386689066887, 0.06502564251422882, -0.02490830607712269, 0.014522510580718517, 0.015481876209378242, -0.03481882065534592, -0.03191431611776352, -0.03193192183971405, -0.0017570037161931396, 0.04858439788222313, 0.020648369565606117, 0.012137298472225666, 0.028024043887853622, 0.018395179882645607, 0.007098427042365074, 0.013915205374360085, 0.03918437287211418, -0.043479517102241516, 0.03900834172964096, -0.03224877640604973, 0.09533808380365372, 0.01558749470859766, -0.03536451235413551, 0.004889245145022869, -0.023218413814902306, 0.00562857324257493, 0.018447989597916603, 0.010957893915474415, 0.026386961340904236, -0.05977993458509445, -0.027231907472014427, 0.037142422050237656, -0.06157544627785683, 0.006900392938405275, 0.015200227499008179, 0.01851840130984783, -0.019486568868160248, -0.009276803582906723, -0.03840984031558037, -0.059322256594896317, 0.007419682573527098, -0.004101509228348732, -0.008106200955808163, 0.053970929235219955, 0.03501245379447937, -0.01674049347639084, 0.022971970960497856, -0.0209124144166708, -0.017066150903701782, -0.033164132386446, 0.00658353790640831, 0.02742554061114788, -0.012348534539341927, -0.06217394769191742, -0.042212098836898804, -0.0135807478800416, 0.02033151499927044, -0.01300864852964878, -0.019187316298484802, 0.0005495449877344072, -0.009725681506097317, 0.003916677087545395, -0.01608918234705925, -0.020718781277537346, 0.023447252810001373, 0.011855649761855602, 0.0059058209881186485, 0.047563422471284866, -0.009356017224490643, -0.02115885727107525, 0.040979884564876556, 0.012207710184156895, -0.0001307163474848494, -0.040134936571121216, 0.015781128779053688, 0.022461483255028725, 0.01615959405899048, 0.058477308601140976, 0.005060874857008457, 0.011820443905889988, -0.04045179486274719, 0.11244823783636093, -0.0009533148258924484, 0.04509899765253067, -0.019204920157790184, 0.027302319183945656, -0.017867088317871094, 0.050555940717458725, 0.006161065306514502, 0.0069311982952058315, -0.07273577153682709, 0.0028824983164668083, -0.05868854746222496, 0.014170450158417225, 0.04059261828660965, -0.00813260581344366, 0.020032262429594994, -0.02115885727107525, -0.03300570696592331, 0.01976821757853031, -0.020965224131941795, -0.036473505198955536, -0.0015864742454141378, 0.09597179293632507, -0.0475282147526741, -0.01325509138405323, 0.04773945361375809, 0.02557722106575966, 0.05076717585325241, -0.03291768953204155, 0.02100042998790741, -0.029942777007818222, -0.030893340706825256, -0.022197436541318893, -0.021739758551120758, 0.024133771657943726, 0.0350300557911396, 0.011045909486711025, -0.003775852732360363, -0.011565199121832848, 0.010121749714016914, -0.016036372631788254, 0.0017702060285955667, -0.0007519799983128905, -0.08569161593914032, -0.012480557896196842, -0.013906404376029968, -0.032706454396247864, 0.07463690638542175, -0.00019170813902746886, 0.06812378019094467, -0.04048699885606766, 0.009936917573213577, 0.048478782176971436, -0.029625922441482544, 0.0013312301598489285, 0.07072902470827103, -0.043127454817295074, 0.02749595418572426, 0.0013114267494529486, -0.013941610231995583, 0.035206086933612823, -0.04485255479812622, 0.02182777412235737, 0.02825288474559784, 0.054041340947151184, 0.03756489232182503, 0.017479822039604187, 0.04140235856175423, 0.018712034448981285, -0.07407360523939133, -0.04640161991119385, -0.0033951869700104, -0.02318320795893669, 0.053478043526411057, 0.04766904190182686, 0.013510335236787796, -0.02425699308514595, 0.022567100822925568, -0.04168400540947914, 0.005373328924179077, 0.0009373620268888772, 0.0033159733284264803, 0.048971664160490036, 0.0552031435072422, -0.0010336287086829543, -0.0017140962881967425, -0.04453570023179054, -0.04784507304430008, -0.005157691426575184, -0.04777465760707855, 0.026791831478476524, 0.006953202188014984, -0.017664654180407524, -0.02242627739906311, 0.028640151023864746, -0.019398553296923637, -0.04291621968150139, -0.05016867443919182, 0.05974472686648369, -0.007199644576758146, -0.007371274288743734, 0.012295725755393505, 0.0209124144166708, 0.020965224131941795, 0.022866353392601013, -0.03802257403731346, -0.04710574448108673, 0.03735365718603134, -0.0042379326187074184, -0.046964917331933975, 0.013457526452839375, -0.004306144546717405, -0.0003913926484528929, -0.012577374465763569, -0.015965960919857025, 0.01613318920135498, -0.050485529005527496, -0.12533366680145264, -0.020718781277537346, 0.00814580824226141, -0.026703815907239914, -0.050555940717458725, -0.015297044068574905, 0.044465288519859314, 0.02849932760000229, -0.02142290398478508, -0.06872227787971497, 0.008819124661386013, 0.04136715084314346, -0.05794921889901161, 0.027302319183945656, 0.007938972674310207, 0.014768953435122967, 0.03728324547410011, -0.01758543960750103, -0.0441836379468441, 0.005162092391401529, 0.049464549869298935, 0.02008507214486599, -0.01722457818686962, 0.009400025010108948, -0.012242916040122509, 0.01932814158499241, -0.02408096380531788, -0.05643535777926445, 0.004488775972276926, 0.015877945348620415, 0.008581483736634254, -0.012832618318498135, 0.01916971430182457, 0.048478782176971436, 0.013299099169671535, -0.02633415162563324, -0.005465744994580746, -0.00602024095132947, -0.007542904000729322, -0.02775999903678894, -0.014355281367897987, -0.0302596315741539, 0.039888497442007065, -0.004647203255444765, -0.041296739131212234, 0.013703969307243824, -0.02441542036831379, 0.00042962428415194154, -0.05999116972088814, 0.040803853422403336, 0.04643682762980461, -0.053970929235219955, -0.011820443905889988, 0.017198173329234123, -0.0008069894975051284, 0.0566818006336689, -0.011662015691399574, 0.08026987314224243, -0.018271958455443382, 0.054463814944028854, -0.015323448926210403, -0.00006663026579190046, 0.03184390440583229, 0.0945635512471199, 0.04784507304430008, 0.01387999951839447, -0.006416309159249067, 0.0408390611410141, -0.010368192568421364, 0.04685930162668228, -0.05266830325126648, 0.01216370239853859, 0.06294848024845123, -0.02767198346555233, -0.11737709492444992, -0.020137881860136986, -0.015939556062221527, -0.008559479378163815, -0.02793603017926216, -0.026316549628973007, 0.033040910959243774, -0.04101509228348732, 0.06143461912870407, -0.015904350206255913, 0.05309077724814415, -0.02834090031683445, -0.034642789512872696, -0.004766023717820644, 0.006037843879312277, 0.008467063307762146, 0.05985034629702568, 0.0039254785515367985, 0.10533660650253296, -0.005839809775352478, -0.042388126254081726, -0.03258323296904564, 0.03478361293673515, 0.020032262429594994, -0.0034699998795986176, 0.02325361967086792, 0.01504180021584034, -0.03501245379447937, -0.01287662610411644, 0.03244240954518318, 0.02800644189119339, -0.012753404676914215, 0.02351766638457775, -0.021792568266391754, -0.030699707567691803, -0.022707926109433174, 0.00431274576112628, -0.0036944386083632708, 0.0023632084485143423, -0.04161359369754791, -0.0011320956982672215, 0.04611997306346893, -0.030365249142050743, -0.013994419015944004, -0.019856233149766922, 0.01597476191818714, 0.01412644237279892, -0.012392542324960232, -0.002922105137258768, -0.04031096771359444, 0.03059408813714981, -0.010966695845127106, -0.05573123320937157, 0.06615223735570908, -0.02341204695403576, -0.007811350282281637, -0.029608318582177162, 0.011758833192288876, -0.04002932086586952, 0.039149168878793716, 0.025612426921725273, -0.03258323296904564, -0.030136410146951675, -0.04534544050693512, -0.0013444324722513556, -0.019556980580091476, -0.0165556613355875, -0.08632532507181168, -0.05009825900197029, 0.012656588107347488, 0.030382853001356125, -0.07977699488401413, 0.015490678139030933, 0.05407654866576195, -0.017708661034703255, 0.012014077045023441, 0.010227368213236332, 0.007305263075977564, -0.017030945047736168, -0.039712466299533844, -0.06344136595726013, 0.011758833192288876, -0.015314647927880287, -0.03583979606628418, -0.01774386689066887, -0.057069066911935806, 0.012850221246480942, -0.07002490758895874, -0.024221787229180336, 0.046964917331933975, 0.04175441712141037, 0.013395915739238262, 0.06449755281209946, 0.04893646016716957, 0.0036922383587807417, 0.021704552695155144, 0.03191431611776352, -0.0114155737683177, -0.015525883994996548, 0.060871321707963943, -0.07329907268285751, 0.03457237780094147, -0.07280618697404861, -0.07196123898029327, 0.0816781222820282, -0.04333869367837906, -0.01684611290693283, -0.0336570180952549, -0.04323307424783707, 0.03024202771484852, 0.027214305475354195, 0.05551999807357788, -0.029872363433241844, 0.040134936571121216, -0.03626227006316185, -0.023693695664405823, -0.03348098695278168, -0.007190843112766743, -0.01613318920135498, -0.03050607442855835, 0.01684611290693283, 0.052140213549137115, 0.025876473635435104, -0.008092999458312988, 0.10526619851589203, -0.0034017881844192743, -0.05277392268180847, -0.027531160041689873, 0.0047088139690458775, -0.0499926432967186, -0.01125714648514986, 0.022144628688693047, 0.006746366154402494, 0.016907723620533943, -0.05344283953309059, 0.046718478202819824, 0.007947773672640324, 0.001347732963040471, 0.019697805866599083, 0.06590579450130463, 0.0015094609698280692, -0.009734482504427433, -0.012682992964982986, -0.03462518751621246, -0.02267272025346756, 0.015358654782176018, -0.04302183911204338, 0.008453861810266972, 0.025242764502763748, -0.08231183141469955, 0.02026110328733921, 0.01667008176445961, -0.03457237780094147, 0.0054349396377801895, -0.01966260001063347, 0.034061890095472336, -0.024767480790615082, 0.024802688509225845, 0.01333430502563715, -0.049464549869298935, -0.05559040978550911, 0.08597326278686523, 0.06886310130357742, -0.0048936461098492146, 0.007886162959039211, 0.06974325329065323, -0.015261838212609291, 0.018377577885985374, -0.07157397270202637, 0.023464856669306755, 0.055977676063776016, 0.017664654180407524, 0.04643682762980461, -0.04302183911204338, -0.012779809534549713, -0.03735365718603134, -0.01858881302177906, -0.024732274934649467, 0.03795216232538223, -0.03752968832850456, 0.005910221952944994, -0.03307611867785454, 0.02166934683918953, 0.00970807857811451, -0.028534533455967903, -0.0046384017914533615, 0.01615959405899048, -0.02474987879395485, -0.00000917971192393452, 0.01366876345127821, 0.03194952383637428, -0.04766904190182686, -0.04457090422511101, 0.023869726806879044, 0.02251429297029972, 0.030523676425218582, -0.01716296747326851, -0.04777465760707855, -0.010244971141219139, -0.006491122301667929, 0.00024726774427108467, 0.0012707196874544024, -0.035646162927150726, 0.07315824925899506, 0.03483642265200615, -0.014830564148724079, -0.056646592915058136, -0.05326680839061737, 0.019380951300263405, 0.03444915637373924, -0.008075395599007607, -0.011996474117040634, 0.07027135044336319, -0.041331946849823, 0.05833648517727852, 0.021546125411987305, 0.02341204695403576, -0.04386678338050842, 0.005254508461803198, 0.004121312405914068, -0.04274018853902817, -0.023887328803539276, -0.09892909973859787, -0.05442861095070839, 0.04657765105366707, 0.05034470185637474, 0.0030959350988268852, -0.04457090422511101, 0.02733752690255642, 0.02717909775674343, 0.02534838207066059, 0.0012344133574515581, 0.0014764552470296621, 0.03742406889796257, 0.005320519674569368, -0.009356017224490643, 0.037635307759046555, -0.0024490233045071363, -0.003588820341974497, -0.018800050020217896, 0.025471603497862816, -0.004306144546717405, 0.02577085606753826, -0.010614635422825813, -0.010033734142780304, 0.019204920157790184, 0.006658351048827171, -0.011133925057947636, 0.00013401691103354096, -0.018148737028241158, -0.039466023445129395, -0.013105466030538082, -0.02825288474559784, -0.016053974628448486, 0.004603195935487747, -0.025189954787492752, -0.005377729889005423, -0.023570474237203598, 0.0245034359395504, -0.029115432873368263, -0.014548915438354015, -0.025225160643458366, 0.012973442673683167, 0.006323893088847399, 0.02733752690255642, -0.0004488776030484587, -0.02490830607712269, -0.017611844465136528, -0.04541585221886635, 0.014936181716620922, 0.009972124360501766, 0.01901128701865673, -0.002732872497290373, 0.09223994612693787, 0.0037494481075555086, -0.03932520002126694, -0.0033159733284264803, 0.03626227006316185, 0.03816339746117592, -0.028904197737574577, 0.010324184782803059, -0.0033665820956230164, -0.015622700564563274, 0.03756489232182503, 0.03342817723751068, -0.061892300844192505, -0.02235586568713188, -0.04478214308619499, 0.005927824880927801, 0.0014874571934342384, -0.07196123898029327, 0.05794921889901161, -0.03575178235769272, 0.012524564750492573, -0.028710562735795975, 0.027355128899216652, 0.00531611917540431, -0.09695756435394287, 0.061047352850437164, -0.09921075403690338, 0.023112796247005463, 0.022479085251688957, 0.0581604540348053, -0.07266536355018616, -0.054710257798433304, -0.025365985929965973, 0.013026251457631588, 0.019275331869721413, -0.04450049251317978, -0.011802840046584606, -0.023042382672429085, 0.03840984031558037, 0.01653805933892727, -0.003503005485981703, -0.03661432862281799, -0.0040949080139398575, 0.004290741868317127, -0.06629306077957153, 0.012401344254612923, -0.01733899675309658, -0.054041340947151184, 0.011125123128294945, 0.061047352850437164, 0.001971540739759803, -0.0025282371789216995, -0.03598061949014664, 0.04608476534485817, -0.021194063127040863, -0.0027746795676648617, -0.017770271748304367, -0.0456622950732708, -0.0001603527198312804, 0.022690322250127792, 0.03819860517978668, 0.014777754433453083, -0.0461551807820797, 0.02599969506263733, -0.09238076955080032, -0.041543181985616684, -0.03258323296904564, 0.0740031898021698, 0.07108108699321747, 0.06562414765357971, -0.07491855323314667, -0.06692676991224289, 0.06903913617134094, 0.0062886872328817844, 0.04358513653278351, 0.10758979618549347, 0.014249663800001144, 0.06460316479206085, 0.012638985179364681, -0.0034501964692026377, -0.0008730009431019425, 0.043549928814172745, -0.0009329612948931754, -0.010447406210005283, -0.04731697961688042, -0.027531160041689873, -0.09625343978404999, 0.004202726762741804, 0.01162680983543396, -0.04407801851630211, -0.020384324714541435, -0.01208448875695467, -0.0004780326271429658, 0.006979606579989195, 0.031227799132466316, 0.03675515577197075, 0.02633415162563324, 0.041050296276807785, -0.016995737329125404, 0.03851545974612236, 0.013061458244919777, -0.027812808752059937, 0.0038550663739442825, 0.024151375517249107, -0.0074020796455442905, 0.03233679011464119, 0.019152110442519188, 0.014188053086400032, 0.06763089448213577, 0.01740941032767296, -0.015235434286296368, 0.050978414714336395, 0.003624026430770755, 0.008048991672694683, 0.14054270088672638, -0.029361875727772713, 0.014478502795100212, 0.012682992964982986, 0.00698400754481554, 0.06312451511621475, 0.004191724583506584, 0.025964489206671715, 0.0008223921759054065, 0.058477308601140976, 0.015965960919857025, -0.02626373991370201, -0.012515763752162457, -0.003652631537988782, -0.015376257710158825, -0.01187325268983841, 0.005804603453725576, 0.035786986351013184, -0.016476448625326157, -0.0018054121173918247, -0.024380214512348175, -0.012128496542572975, 0.004061902407556772, -0.028604945167899132, 0.052633099257946014, -0.015992363914847374, 0.01908169873058796, -0.07956575602293015, -0.006037843879312277, 0.03974767029285431, 0.024961115792393684, 0.009479238651692867, -0.02709108404815197, 0.008251426741480827, -0.017101356759667397, -0.006909194402396679, -0.018782446160912514, 0.024732274934649467, -0.027302319183945656, 0.027689587324857712, -0.032812073826789856, -0.013193480670452118, -0.0051796953193843365, -0.015393861569464207, -0.0811852365732193, 0.0317382849752903, 0.019363347440958023, -0.016925325617194176, 0.01325509138405323, 0.01992664486169815, -0.018659226596355438 ]
10,933
burnman.classes.composition
print
Pretty-print function for the composition This does not renormalize the Composition object itself, only the printed values. :param unit_type: 'mass', 'weight', 'molar' or 'atomic' Unit type in which to print the composition. :type unit_type: str :param significant_figures: Number of significant figures for each amount. :type significant_figures: int :param normalization_component: Component/element on which to renormalize. String must either be one of the components/elements already in composite, or have the value 'total'. (default = 'total') :type normalization_component: str :param normalization_amount: Amount of component in the renormalised composition. If not explicitly set, no renormalization will be applied. :type normalization_amount: float
def print( self, unit_type, significant_figures=1, normalization_component="total", normalization_amount=None, ): """ Pretty-print function for the composition This does not renormalize the Composition object itself, only the printed values. :param unit_type: 'mass', 'weight', 'molar' or 'atomic' Unit type in which to print the composition. :type unit_type: str :param significant_figures: Number of significant figures for each amount. :type significant_figures: int :param normalization_component: Component/element on which to renormalize. String must either be one of the components/elements already in composite, or have the value 'total'. (default = 'total') :type normalization_component: str :param normalization_amount: Amount of component in the renormalised composition. If not explicitly set, no renormalization will be applied. :type normalization_amount: float """ if unit_type not in ["mass", "weight", "molar", "atomic"]: raise Exception( "unit_type not yet implemented." "Should be either mass, weight, molar or atomic." ) c = self.composition(unit_type) print(f"{unit_type.capitalize()} composition") if normalization_amount is None: f = 1 elif normalization_component == "total": f = normalization_amount / float(sum(c.values())) else: f = normalization_amount / c[normalization_component] for key, value in sorted(c.items()): print(f"{key}: {value*f:0.{significant_figures}f}")
(self, unit_type, significant_figures=1, normalization_component='total', normalization_amount=None)
[ -0.021939080208539963, 0.020311977714300156, 0.006262561772018671, 0.002702154451981187, 0.07967444509267807, -0.04470065236091614, -0.03304272145032883, -0.08382266759872437, -0.025068126618862152, 0.004528176039457321, -0.005073524080216885, -0.004599697422236204, -0.011193043552339077, -0.00013410196697805077, -0.02966335415840149, 0.057073794305324554, 0.036940619349479675, -0.11400454491376877, 0.025872739031910896, 0.006794499233365059, 0.06047104299068451, 0.0464886799454689, 0.04809790477156639, -0.01029903069138527, -0.005136105231940746, -0.042125895619392395, 0.008251740597188473, -0.01201553549617529, -0.07073431462049484, -0.018774274736642838, 0.004034234210848808, -0.002014881931245327, -0.02181391976773739, -0.005779794417321682, 0.01813952438533306, 0.03642209246754646, -0.006405603606253862, 0.029949437826871872, -0.018953077495098114, 0.06962573528289795, 0.03148714080452919, 0.04352055490016937, 0.0014248333172872663, -0.008716627024114132, -0.042519260197877884, 0.01830044761300087, 0.025068126618862152, 0.09676797688007355, -0.011282444931566715, -0.019382202997803688, -0.004485710524022579, -0.032756637781858444, -0.011121522635221481, -0.04995745047926903, -0.041124600917100906, -0.0355459600687027, 0.07116343826055527, -0.00968216173350811, 0.06697946041822433, 0.012104936875402927, -0.004467830527573824, 0.039229292422533035, 0.01836302876472473, -0.017361734062433243, -0.0317017026245594, -0.048455510288476944, 0.017433254048228264, 0.043341752141714096, -0.01394660398364067, -0.011908254586160183, 0.023673465475440025, 0.007357727736234665, -0.036547254770994186, 0.00682578980922699, -0.004800850059837103, 0.007867314852774143, 0.016440900042653084, -0.050207775086164474, 0.019257040694355965, 0.013624759390950203, -0.0068168495781719685, 0.007085053715854883, -0.04620259627699852, -0.008949071168899536, 0.01913188025355339, 0.0017958487151190639, 0.034115538001060486, -0.03295332193374634, -0.005811084993183613, 0.08754175901412964, -0.05567913502454758, 0.02324433997273445, 0.024299275130033493, 0.03611812740564346, -0.03034280426800251, -0.001931068254634738, -0.0483124665915966, -0.07495405524969101, -0.0052344463765621185, -0.019346442073583603, -0.002840726636350155, 0.021009307354688644, 0.012891668826341629, 0.008783678524196148, -0.0122032780200243, 0.001651689177379012, -0.04580923169851303, 0.004514765925705433, 0.011809912510216236, 0.059040624648332596, -0.028107771649956703, -0.03223811089992523, -0.019400084391236305, -0.028930263593792915, 0.06061408668756485, -0.02454959973692894, -0.003202801803126931, 0.012006595730781555, 0.020222576335072517, -0.03363277018070221, -0.006955421529710293, -0.025908498093485832, 0.05077994242310524, -0.02950243093073368, -0.04491521790623665, 0.03304272145032883, -0.006570996250957251, 0.020222576335072517, 0.015368084423244, -0.04244774207472801, 0.02356618456542492, -0.021474193781614304, -0.014089645817875862, 0.015278683044016361, 0.06880324333906174, 0.02744620107114315, -0.0320056676864624, -0.03733398765325546, -0.006486064754426479, 0.10477833449840546, -0.016870027408003807, -0.00888201966881752, -0.07681360095739365, 0.046095315366983414, -0.02127751149237156, 0.020544420927762985, 0.0082025695592165, -0.0113182058557868, -0.0766705647110939, -0.015752511098980904, -0.05314013734459877, 0.02097354643046856, 0.035277754068374634, -0.05564337223768234, -0.00018606647790875286, -0.004885781556367874, 0.016047535464167595, -0.020311977714300156, -0.0015075295232236385, 0.03583204373717308, -0.0391935333609581, 0.04055243358016014, 0.03622540831565857, 0.026194583624601364, -0.005560761317610741, 0.04688204452395439, 0.0036341631785035133, -0.01707565039396286, 0.002353489398956299, -0.008144458755850792, 0.008569115772843361, -0.0155200669541955, -0.030396444723010063, 0.033114243298769, 0.05113754794001579, 0.011219863779842854, 0.03840680047869682, -0.0004031440184917301, -0.06090017035603523, -0.05421295389533043, 0.03207718953490257, -0.07295146584510803, -0.04076699540019035, -0.009020592086017132, -0.013285034336149693, -0.050672661513090134, 0.027410440146923065, -0.010629815049469471, 0.046166833490133286, -0.0524606853723526, 0.020776864141225815, 0.03209507092833519, -0.019417963922023773, 0.02546149305999279, 0.08439483493566513, -0.0434490367770195, 0.04309143126010895, -0.06969726085662842, 0.030324922874569893, -0.0075097098015248775, -0.028697820380330086, -0.012677105143666267, 0.027017075568437576, -0.019185520708560944, 0.01653924211859703, -0.030378563329577446, -0.0013287268811836839, -0.0009588290122337639, 0.009592760354280472, -0.0489203967154026, 0.017057769000530243, -0.02744620107114315, 0.052031561732292175, -0.005064583849161863, -0.00991460494697094, -0.05746715888381004, 0.019310683012008667, -0.04963560402393341, -0.010200689546763897, 0.004711448680609465, 0.001858429634012282, 0.01607435569167137, 0.04216165840625763, 0.005337257869541645, -0.07860162854194641, 0.02417411282658577, 0.012185398489236832, 0.02674887143075466, -0.0015108820516616106, -0.014974718913435936, -0.0027937907725572586, -0.02118811011314392, -0.10656636208295822, 0.02149207517504692, -0.03894320875406265, -0.054642077535390854, -0.03347184881567955, 0.06301004439592361, -0.005212096031755209, -0.007648281753063202, -0.005274677183479071, 0.022278806194663048, 0.0018796625081449747, -0.0019165405537933111, -0.03940809518098831, -0.07062703371047974, 0.03188050538301468, -0.020490780472755432, -0.02639126591384411, 0.018702752888202667, -0.04076699540019035, -0.002916717668995261, -0.007013532333076, 0.004476770292967558, 0.018014363944530487, -0.0364578515291214, -0.09283431619405746, -0.006919661071151495, 0.025586653500795364, 0.01407176535576582, -0.020151054486632347, -0.023083416745066643, 0.038549844175577164, 0.039694178849458694, 0.04806214198470116, -0.05374806746840477, -0.0483124665915966, -0.03368641436100006, 0.04058819264173508, 0.017647817730903625, 0.04981440678238869, 0.07388123869895935, 0.02469264157116413, 0.012891668826341629, -0.02034773677587509, 0.005198685918003321, 0.029001783579587936, 0.01246254239231348, -0.008609346114099026, 0.03840680047869682, 0.023119177669286728, -0.026945553719997406, 0.006481594871729612, -0.032899681478738785, 0.04055243358016014, 0.010397371836006641, 0.005936246830970049, 0.022707931697368622, 0.027267398312687874, -0.0024697110056877136, 0.012265859171748161, 0.014474071562290192, 0.03340032696723938, -0.006682747509330511, -0.0023758397437632084, -0.034723468124866486, -0.037405505776405334, -0.031147414818406105, -0.01571675017476082, -0.0244065560400486, -0.006535235792398453, 0.008949071168899536, 0.056072499603033066, 0.007916485890746117, 0.0012572058476507664, 0.040445152670145035, 0.025193288922309875, -0.05360502377152443, -0.00888201966881752, -0.010039767250418663, 0.010459952987730503, 0.03545655682682991, 0.025658175349235535, 0.07237929850816727, -0.0038286109920591116, 0.058897580951452255, 0.011720511130988598, -0.07981748878955841, 0.015734629705548286, 0.037620071321725845, 0.02699919417500496, 0.018738513812422752, 0.007853904739022255, 0.03804919496178627, -0.000819139473605901, -0.032595716416835785, -0.034187059849500656, 0.062402114272117615, 0.046381399035453796, -0.03184474632143974, -0.07681360095739365, -0.0056591029278934, -0.0189888384193182, 0.034794989973306656, -0.035653240978717804, -0.054248712956905365, 0.011613230220973492, -0.07781489938497543, 0.02637338638305664, -0.04530858248472214, 0.06801651418209076, -0.0019143054960295558, -0.019847089424729347, -0.044486090540885925, -0.021402673795819283, 0.017567357048392296, 0.026015780866146088, -0.0163067989051342, 0.05467784032225609, 0.029931558296084404, -0.043127190321683884, 0.02798260934650898, 0.013562178239226341, 0.01813952438533306, -0.05496392399072647, 0.021545715630054474, 0.02272581309080124, -0.06061408668756485, -0.030986493453383446, 0.021778158843517303, 0.08868609368801117, 0.01063875574618578, -0.00781367439776659, 0.011765211820602417, 0.00942289736121893, -0.052031561732292175, 0.02118811011314392, -0.01322245318442583, 0.047454215586185455, 0.02828657440841198, 0.006633576937019825, 0.0060792891308665276, -0.015976013615727425, -0.00122032780200243, -0.04076699540019035, 0.06665761768817902, 0.010737096890807152, 0.016288917511701584, -0.024674760177731514, -0.08003205060958862, 0.061865705996751785, -0.009565940126776695, -0.04512977972626686, 0.016288917511701584, -0.033740054816007614, -0.03096861205995083, 0.008086347952485085, 0.045022498816251755, -0.016977308318018913, 0.004163865931332111, -0.016485601663589478, 0.008131048642098904, 0.04323447123169899, 0.009396077133715153, 0.011845673434436321, -0.012516182847321033, -0.010942719876766205, -0.050207775086164474, -0.09877056628465652, -0.004356078803539276, 0.03209507092833519, -0.07252234220504761, -0.05625130236148834, 0.003377134446054697, -0.044486090540885925, -0.045630428940057755, -0.005587581545114517, -0.016744865104556084, 0.010862259194254875, 0.02919846773147583, 0.028608419001102448, 0.0457734689116478, -0.051960039883852005, -0.0064503042958676815, 0.02730315923690796, -0.026713110506534576, -0.038549844175577164, -0.06615696847438812, -0.03551020100712776, 0.053712304681539536, 0.012328440323472023, 0.004653337877243757, 0.046309877187013626, 0.09383561462163925, 0.061257775872945786, 0.007929896004498005, -0.01914975978434086, 0.005194216035306454, 0.04909919947385788, 0.03826376050710678, -0.051816996186971664, 0.015832971781492233, -0.03436586260795593, 0.007465009111911058, 0.0451655387878418, -0.01653924211859703, 0.005131634883582592, -0.02065170183777809, -0.035957206040620804, 0.06608544290065765, 0.019954372197389603, -0.003956007771193981, -0.03776311129331589, -0.03901473060250282, 0.010468892753124237, 0.06254515796899796, -0.01884579472243786, -0.020079534500837326, -0.04191133379936218, 0.06697946041822433, 0.0226364117115736, 0.014438311569392681, 0.012936369515955448, -0.040445152670145035, 0.034580424427986145, -0.045701947063207626, 0.013687340542674065, -0.007456068880856037, 0.0019120704382658005, -0.024585358798503876, 0.012516182847321033, 0.011648990213871002, 0.03332880884408951, 0.05818236991763115, -0.016029654070734978, 0.001324256882071495, 0.035277754068374634, 0.015198222361505032, -0.044879455119371414, 0.007603581063449383, 0.023137059062719345, 0.03538503870368004, 0.00900271162390709, 0.004420894663780928, 0.02912694588303566, 0.03209507092833519, -0.048598550260066986, -0.0009610640699975193, -0.023673465475440025, -0.0747394934296608, -0.02782168611884117, 0.00008430263551417738, -0.023601945489645004, 0.004192921333014965, -0.002038349863141775, 0.06361796706914902, 0.02569393627345562, 0.0379776768386364, 0.04076699540019035, -0.017129290848970413, -0.042590782046318054, 0.054177191108465195, 0.00017070061585400254, -0.000848753668833524, -0.0033659592736512423, 0.034794989973306656, -0.039372336119413376, -0.014786976389586926, -0.0657278448343277, -0.01661970280110836, 0.0609716922044754, 0.03627904877066612, 0.07888771593570709, -0.012382080778479576, -0.0015198222827166319, -0.010155988857150078, 0.023190699517726898, 0.015377025119960308, 0.01815740577876568, -0.027017075568437576, -0.0205086600035429, -0.046166833490133286, 0.00690178107470274, -0.014608173631131649, -0.02286885492503643, -0.012489362619817257, 0.007125284057110548, -0.02408471144735813, 0.03551020100712776, -0.023923790082335472, 0.011961895041167736, -0.035277754068374634, -0.05414143204689026, 0.03288180008530617, 0.01578827016055584, 0.039443857967853546, -0.01082649827003479, 0.00045427039731293917, -0.025407850742340088, -0.016342559829354286, 0.04412848502397537, 0.036261171102523804, -0.02356618456542492, 0.006016707979142666, 0.01375886145979166, 0.03531351685523987, -0.04584499076008797, -0.032434795051813126, 0.03370429202914238, 0.01467075478285551, 0.001927715726196766, 0.020562300458550453, 0.013097291812300682, -0.05160243436694145, 0.028858741745352745, -0.009351376444101334, 0.10227509588003159, -0.06243787333369255, 0.032899681478738785, -0.015502186492085457, 0.02265429124236107, -0.03304272145032883, -0.02301189675927162, 0.012265859171748161, 0.03238115459680557, 0.05732411891222, 0.02592637948691845, 0.0023378441110253334, 0.02326221950352192, -0.009771563112735748, 0.022833094000816345, 0.04741845279932022, 0.003357019042596221, 0.0042510321363806725, 0.0451655387878418, 0.006535235792398453, 0.034419503062963486, -0.014527712017297745, -0.03447314351797104, -0.0021802743431180716, 0.04484369605779648, 0.017182931303977966, -0.007183394860476255, 0.0030664647929370403, -0.030092479661107063, 0.012766506522893906, 0.024835683405399323, 0.04734693095088005, -0.02013317495584488, -0.030682528391480446, -0.04123188182711601, -0.0512448288500309, -0.01322245318442583, -0.03323940560221672, 0.023387381806969643, 0.007782383821904659, 0.026427026838064194, -0.03354337066411972, -0.0011007535504177213, -0.04187557101249695, -0.02462111972272396, -0.006173160392791033, 0.0037906153593212366, -0.03420494124293327, 0.04949256405234337, -0.030771929770708084, -0.029019664973020554, -0.023905908688902855, 0.0110142407938838, 0.04795486107468605, -0.01882791519165039, 0.013723100535571575, 0.0005126605974510312, 0.07895923405885696, -0.02118811011314392, -0.05510696768760681, 0.06533447653055191, 0.051816996186971664, 0.05814661085605621, -0.021474193781614304, -0.007751093246042728, 0.047847580164670944, -0.053783826529979706, -0.04981440678238869, -0.04427152872085571, -0.08782784640789032, -0.005498180631548166, -0.028554776683449745, 0.023047657683491707, 0.03908625245094299, -0.011479128152132034, 0.04595227167010307, -0.08539612591266632, 0.041661009192466736, -0.030557366088032722, 0.013133051805198193, -0.012033415958285332, -0.09018804132938385, 0.06858868151903152, -0.13481716811656952, 0.01563628949224949, 0.06061408668756485, -0.013061530888080597, -0.02324433997273445, -0.05342622101306915, -0.07330907136201859, -0.020633822306990623, 0.0018640172202140093, -0.05871877819299698, -0.01769251935184002, 0.0063743130303919315, 0.008180219680070877, 0.00012949221127200872, 0.033418208360672, 0.018041184172034264, 0.019721928983926773, -0.00503329373896122, -0.06894628703594208, 0.06722978502511978, -0.025193288922309875, -0.042590782046318054, 0.055321529507637024, 0.028608419001102448, 0.0020092944614589214, -0.016431961208581924, 0.021402673795819283, 0.05106602609157562, -0.011622169986367226, -0.00978944357484579, 0.019382202997803688, -0.015162461437284946, -0.03384733572602272, 0.018345147371292114, 0.016449840739369392, 0.03872864693403244, -0.04355631768703461, 0.0027937907725572586, -0.016986249014735222, -0.05771748349070549, -0.07967444509267807, 0.0010359376901760697, 0.012104936875402927, 0.04015906900167465, -0.03672605752944946, -0.057824764400720596, 0.05628706142306328, -0.01231055986136198, 0.03132621943950653, 0.05657314881682396, -0.041124600917100906, 0.08925826847553253, -0.007988006807863712, -0.016342559829354286, -0.05024353414773941, 0.020455019548535347, 0.006012238096445799, -0.03163018077611923, -0.009378197602927685, -0.07220049947500229, -0.08453787863254547, -0.05635858327150345, -0.01337443571537733, -0.02699919417500496, -0.03972994163632393, 0.003421835135668516, 0.03847832232713699, 0.03506319224834442, -0.01957888714969158, 0.029377270489931107, -0.0013946604449301958, 0.0469893254339695, 0.004581816960126162, 0.016181636601686478, 0.04348479583859444, -0.00846183393150568, 0.016673343256115913, 0.043806642293930054, -0.010844378732144833, 0.04573770985007286, 0.026194583624601364, 0.03096861205995083, 0.09161846339702606, 0.032828159630298615, -0.058897580951452255, 0.0022283275611698627, 0.035867802798748016, -0.00915469415485859, 0.08024661242961884, -0.005127165000885725, -0.014822736382484436, -0.02492508478462696, 0.028644178062677383, 0.039372336119413376, -0.023959551006555557, 0.026874033734202385, 0.02249336801469326, 0.009405017830431461, 0.004009648691862822, -0.006834730040282011, -0.022135764360427856, 0.006311732344329357, 0.03783463314175606, -0.04301990941166878, 0.015537947416305542, 0.0026127533055841923, 0.0006721860845573246, -0.025497252121567726, -0.03136197850108147, 0.0016025184886530042, -0.02989579737186432, -0.02006165310740471, 0.021474193781614304, 0.0042130365036427975, -0.023995310068130493, -0.02072322368621826, 0.004313613288104534, 0.028930263593792915, 0.03193414583802223, 0.029520312324166298, 0.025586653500795364, 0.029216347262263298, -0.03415130078792572, -0.02660582959651947, 0.012373141013085842, 0.03751279041171074, 0.012793326750397682, 0.028912382200360298, -0.005435599479824305, 0.019096119329333305, -0.05507120490074158, -0.047990620136260986, -0.06908933073282242, 0.06798075139522552, 0.059433989226818085, -0.009583820588886738, 0.03833528235554695, -0.020830504596233368, -0.034276463091373444 ]
10,934
burnman.classes.composition
renormalize
Change the total amount of material in the composition to satisfy a given normalization condition (mass, weight, molar, or atomic) :param unit_type: 'mass', 'weight', 'molar' or 'atomic' Unit type with which to normalize the composition :type unit_type: str :param normalization_component: Component/element on which to renormalize. String must either be one of the components/elements already in the composition, or have the value 'total'. :type normalization_component: str :param normalization_amount: Amount of component in the renormalised composition. :type normalization_amount: float
def renormalize(self, unit_type, normalization_component, normalization_amount): """ Change the total amount of material in the composition to satisfy a given normalization condition (mass, weight, molar, or atomic) :param unit_type: 'mass', 'weight', 'molar' or 'atomic' Unit type with which to normalize the composition :type unit_type: str :param normalization_component: Component/element on which to renormalize. String must either be one of the components/elements already in the composition, or have the value 'total'. :type normalization_component: str :param normalization_amount: Amount of component in the renormalised composition. :type normalization_amount: float """ if unit_type not in ["mass", "weight", "molar", "atomic"]: raise Exception( "unit_type not yet implemented." "Should be either mass, weight, molar or atomic." ) c = self.composition(unit_type) if normalization_component == "total": f = normalization_amount / float(sum(c.values())) else: f = normalization_amount / c[normalization_component] new_mass_composition = OrderedCounter() for k in self.mass_composition.keys(): new_mass_composition[k] = self.mass_composition[k] * f self.mass_composition = new_mass_composition
(self, unit_type, normalization_component, normalization_amount)
[ 0.007677878253161907, 0.042086146771907806, 0.021949490532279015, 0.01869705505669117, 0.045996177941560745, -0.0626671314239502, -0.056873172521591187, -0.06199175864458084, -0.014991412870585918, 0.006575960665941238, -0.013107488863170147, -0.002836993895471096, -0.008575407788157463, 0.026570435613393784, -0.033181942999362946, 0.039313580840826035, 0.002914750250056386, -0.022020582109689713, 0.01654653809964657, -0.003885593032464385, 0.044752079993486404, 0.031671248376369476, 0.002512639155611396, 0.013782857917249203, -0.003287980332970619, -0.031564611941576004, 0.01256541721522808, -0.0062116170302033424, -0.0063360268250107765, -0.044041164219379425, 0.03161792829632759, 0.028738725930452347, 0.03261321038007736, -0.014493772760033607, 0.04382789134979248, -0.047062549740076065, -0.001288532861508429, 0.05278541520237923, -0.038602665066719055, 0.0413396880030632, 0.028969772160053253, 0.016768699511885643, 0.028827589005231857, 0.052572138607501984, 0.019639017060399055, 0.022909225896000862, -0.02920082025229931, 0.053851787000894547, -0.015702327713370323, 0.017479615285992622, -0.004012224730104208, -0.037180837243795395, 0.049017567187547684, 0.01657319813966751, 0.0003796173259615898, 0.05520252510905266, 0.0008586516487412155, 0.06284485757350922, 0.04748909920454025, -0.008668716065585613, 0.006429334636777639, 0.0061271958984434605, -0.038069479167461395, -0.06611506640911102, -0.008846444077789783, -0.07013173401355743, 0.009437392465770245, 0.06981182098388672, 0.01995893009006977, 0.01700863428413868, -0.049373023211956024, 0.01086810790002346, 0.011063609272241592, -0.026499344035983086, 0.014396022073924541, 0.04126859828829765, 0.025415198877453804, 0.0017550706397742033, 0.0528920516371727, 0.009006400592625141, 0.022731496021151543, 0.015346870757639408, -0.006744802929461002, -0.008824228309094906, -0.02127412147819996, -0.004958629608154297, 0.008246609941124916, -0.049906209111213684, 0.009775076992809772, -0.020794253796339035, -0.03430163115262985, 0.010094988159835339, 0.024331053718924522, 0.031315792351961136, 0.008055551908910275, 0.046636004000902176, -0.06320031732320786, -0.06945636123418808, 0.002068317262455821, -0.05047494173049927, -0.00013114431931171566, 0.07194456458091736, 0.03241771087050438, 0.02422441728413105, 0.054811522364616394, 0.03497700020670891, 0.0030813708435744047, -0.050190575420856476, 0.025148605927824974, 0.05314087122678757, -0.06170739233493805, -0.014795911498367786, -0.06885208934545517, -0.024028915911912918, -0.03151129186153412, -0.04389898106455803, -0.02049211598932743, -0.021060846745967865, 0.049017567187547684, 0.024028915911912918, 0.024508783593773842, -0.011499044485390186, 0.02486424148082733, -0.014484886080026627, -0.011525704525411129, 0.023886732757091522, 0.04101977497339249, 0.02129189483821392, 0.02003002166748047, -0.005482929293066263, -0.06330695003271103, -0.02367345802485943, -0.023975597694516182, 0.021060846745967865, 0.018572645261883736, 0.022020582109689713, -0.0377851165831089, -0.003103586845099926, 0.00003372332139406353, 0.08765578269958496, 0.0068158945068717, 0.03408835828304291, 0.004483205731958151, 0.034159451723098755, 0.0014684831257909536, 0.018217189237475395, 0.01438713539391756, 0.032648757100105286, -0.09142362326383591, -0.03746520355343819, -0.08203954994678497, 0.027814537286758423, 0.06583070009946823, -0.028916453942656517, 0.002357126446440816, 0.03453268110752106, -0.02234049327671528, -0.04692036658525467, -0.0180039145052433, 0.05136358365416527, -0.03367958217859268, 0.011890048161149025, 0.018999194726347923, 0.01332076359540224, -0.002890312345698476, -0.02271372452378273, 0.04816446825861931, -0.05317641794681549, -0.045569632202386856, -0.025326335802674294, 0.019265787675976753, -0.006438220851123333, -0.01256541721522808, 0.02216276526451111, 0.05470488220453262, 0.03634551167488098, 0.0277789905667305, -0.042157240211963654, -0.049550753086805344, -0.0003101920592598617, 0.005043050739914179, -0.029271911829710007, 0.0007347969803959131, -0.040913138538599014, -0.010717038996517658, -0.036469921469688416, -0.005905034951865673, -0.003710085991770029, 0.05633998662233353, -0.054633792489767075, 0.08012008666992188, -0.03035605698823929, -0.01871482841670513, 0.01394281443208456, 0.04816446825861931, -0.025948384776711464, 0.015391302295029163, -0.05815282091498375, 0.026499344035983086, -0.006642608903348446, -0.08225283026695251, -0.027370214462280273, 0.07485931366682053, 0.06913644820451736, -0.017026405781507492, -0.013454060070216656, 0.01014830730855465, 0.00898862723261118, -0.004465432837605476, -0.04660045728087425, -0.0008991959621198475, -0.009988350793719292, 0.057832907885313034, 0.02120302990078926, -0.007353523746132851, -0.03367958217859268, 0.045569632202386856, -0.029058637097477913, 0.032719846814870834, 0.0033901743590831757, -0.05193231627345085, 0.005034164525568485, 0.044112253934144974, -0.02788562886416912, -0.04620945453643799, 0.01149015873670578, -0.06046329438686371, 0.01797725446522236, 0.0004182177654001862, 0.04389898106455803, -0.005114142317324877, -0.02502419613301754, -0.06209839507937431, -0.010930312797427177, -0.02457987517118454, -0.05655326321721077, -0.022998088970780373, 0.03295089676976204, 0.0035301356110721827, 0.000013355684131965972, -0.029698461294174194, -0.022144991904497147, -0.0058739325031638145, 0.008917535655200481, -0.03295089676976204, -0.028436586260795593, 0.042690426111221313, 0.010015010833740234, -0.030409375205636024, -0.012183300219476223, -0.05761963501572609, 0.02753017097711563, -0.011116928420960903, 0.017044179141521454, 0.06476432830095291, -0.03606114536523819, -0.09753749519586563, 0.03266653046011925, -0.004209947772324085, -0.017141930758953094, -0.0016384361078962684, -0.09888823330402374, 0.049373023211956024, -0.007011395879089832, -0.0026925893034785986, -0.06376904249191284, -0.008211064152419567, 0.0693497285246849, 0.0031546838581562042, 0.03492368385195732, 0.01905251294374466, 0.03643437847495079, 0.017595138400793076, 0.0004540412046480924, -0.001337408204562962, 0.06945636123418808, 0.05495370551943779, -0.0031657919753342867, 0.006184957455843687, 0.06330695003271103, -0.004147742874920368, -0.01951460726559162, -0.0073890695348382, -0.0245976485311985, 0.0202255230396986, -0.004281039349734783, 0.004047770518809557, -0.037038654088974, 0.017524046823382378, 0.018572645261883736, 0.01166788674890995, 0.009926145896315575, -0.017506273463368416, -0.013907268643379211, -0.02715693973004818, -0.09391182661056519, -0.06924308836460114, -0.05840164050459862, 0.018012801185250282, -0.017408523708581924, -0.02690812014043331, 0.046351637691259384, -0.010930312797427177, -0.00029797322349622846, -0.012903101742267609, 0.010565969161689281, 0.059183645993471146, -0.04254824295639992, -0.0043454659171402454, -0.004003338050097227, 0.001590671599842608, 0.03760738670825958, -0.038958124816417694, 0.03519027680158615, 0.03215111419558525, 0.019745655357837677, 0.07162465155124664, -0.019567925482988358, 0.023442411795258522, 0.06679043173789978, 0.011250224895775318, 0.007940027862787247, 0.008224394172430038, 0.027672354131937027, -0.03838939219713211, -0.02769012562930584, 0.024188872426748276, 0.03927803412079811, 0.046102818101644516, -0.04286815598607063, -0.07706315070390701, -0.03117360919713974, -0.01790616288781166, 0.0016151092713698745, -0.04293924570083618, -0.08516757935285568, 0.04500089958310127, -0.09995460510253906, 0.05011948570609093, -0.02680148370563984, 0.03746520355343819, 0.06209839507937431, -0.015569031238555908, -0.0386737585067749, -0.003232440212741494, 0.01041490025818348, 0.06284485757350922, -0.023762322962284088, 0.03988231346011162, 0.02824108488857746, -0.056162260472774506, 0.03213334456086159, -0.0002976955147460103, -0.00463427510112524, -0.01683979108929634, 0.006620392668992281, -0.02850767783820629, -0.06629279255867004, -0.053567420691251755, -0.007211340591311455, -0.001227438566274941, 0.003632329637184739, -0.010192738845944405, -0.026143886148929596, -0.0029169716872274876, -0.06515532732009888, -0.058650460094213486, -0.01304528396576643, 0.0229625441133976, -0.0027836752124130726, 0.013516264967620373, -0.003145797410979867, -0.0005020835087634623, 0.00033324124524369836, -0.00849987380206585, 0.03760738670825958, -0.022038355469703674, -0.0029103069100528955, -0.015151369385421276, -0.017053065821528435, 0.06099648028612137, 0.006402675062417984, -0.06348468363285065, 0.003807836677879095, 0.008930865675210953, 0.00035990055766887963, 0.05907700955867767, 0.009117480367422104, -0.04130414128303528, 0.0055940099991858006, -0.00949071068316698, -0.008713147602975368, 0.028720952570438385, -0.019816746935248375, 0.008575407788157463, 0.01907028630375862, -0.02724580466747284, -0.05751299858093262, -0.07219338417053223, -0.003956684377044439, 0.008228837512433529, -0.04073541238903999, -0.01834159903228283, 0.04915975034236908, -0.06611506640911102, -0.055451344698667526, 0.008526532910764217, -0.0002775621833279729, 0.008104427717626095, 0.032186660915613174, -0.03746520355343819, 0.06561742722988129, -0.007486820220947266, -0.010485991835594177, 0.009810622781515121, -0.016973087564110756, 0.03757183998823166, -0.13486051559448242, -0.019621245563030243, 0.07677878439426422, 0.002080536214634776, 0.024277735501527786, 0.03661210462450981, 0.060072287917137146, 0.0466715469956398, -0.0448942631483078, 0.007011395879089832, -0.0598590150475502, -0.067714624106884, 0.05317641794681549, -0.02600170485675335, 0.014493772760033607, -0.048768747597932816, -0.05769072473049164, 0.025948384776711464, -0.012716486118733883, 0.026659300550818443, 0.0058472733944654465, -0.06810562312602997, 0.024437692016363144, 0.04151741787791252, 0.010876994580030441, -0.022216083481907845, -0.029271911829710007, -0.01924801431596279, 0.01790616288781166, -0.026232751086354256, -0.020349932834506035, -0.057939544320106506, 0.015462393872439861, 0.034248314797878265, 0.029502958059310913, -0.012716486118733883, -0.031226927414536476, 0.042797062546014786, -0.011072495952248573, -0.0020016690250486135, -0.047169189900159836, 0.01420940738171339, -0.002590395277366042, -0.003525692503899336, 0.01611999049782753, 0.008548748679459095, 0.052323319017887115, 0.017932822927832603, 0.0386737585067749, 0.01834159903228283, -0.01095697283744812, 0.008815341629087925, 0.037891753017902374, 0.020172202959656715, -0.043863434344530106, 0.06732361763715744, 0.009295209310948849, 0.014849230647087097, -0.0018417133251205087, -0.06590179353952408, -0.01808389276266098, 0.017595138400793076, -0.048057831823825836, 0.0018672618316486478, 0.030693741515278816, 0.007246886380016804, 0.016262173652648926, -0.006442664191126823, 0.021576261147856712, 0.017248567193746567, -0.00036989778163842857, 0.050901491194963455, 0.012147754430770874, -0.04471653327345848, 0.04834219813346863, 0.06465768814086914, 0.05530916154384613, -0.012760918587446213, 0.025948384776711464, -0.0343727245926857, 0.0003079704474657774, -0.02769012562930584, -0.005487372633069754, 0.05484706535935402, 0.01647544838488102, 0.02902309224009514, -0.01771954819560051, -0.016359923407435417, 0.05299868807196617, -0.047773465514183044, -0.010574855841696262, 0.005065266974270344, -0.021131938323378563, -0.040024496614933014, -0.03934912756085396, 0.04972848296165466, 0.012938646599650383, -0.009024173021316528, -0.0017772866412997246, -0.03097810596227646, 0.01611999049782753, 0.029271911829710007, -0.012583189643919468, -0.0064693232998251915, -0.037714023143053055, -0.08061772584915161, -0.024562101811170578, 0.0037900637835264206, 0.010317149572074413, -0.042690426111221313, -0.05299868807196617, 0.049301933497190475, -0.05079485476016998, -0.0027192486450076103, -0.0024237746838480234, 0.009828395210206509, 0.018732601776719093, 0.05737081542611122, -0.013658448122441769, -0.007411285303533077, -0.04997730255126953, 0.03284425660967827, 0.01549793966114521, -0.04521417245268822, 0.020883118733763695, 0.03490591049194336, -0.022589312866330147, 0.030782604590058327, 0.034159451723098755, 0.061671849340200424, -0.03846048191189766, -0.018306052312254906, -0.008526532910764217, -0.06540414690971375, -0.00425215857103467, -0.05538025125861168, 0.02664152719080448, 0.047773465514183044, 0.01041490025818348, -0.009597348049283028, -0.024188872426748276, 0.013445173390209675, 0.0224471315741539, 0.01621774025261402, 0.0299295075237751, 0.04638718068599701, -0.0029080852400511503, 0.04851992800831795, 0.04141078144311905, 0.00845544133335352, 0.005118585657328367, -0.012983079068362713, 0.01860819198191166, 0.03472818061709404, 0.003898922586813569, -0.001051931525580585, 0.003623443190008402, -0.030835924670100212, 0.0022482676431536674, 0.048128921538591385, -0.0641600489616394, -0.011472385376691818, -0.042797062546014786, 0.013338536955416203, -0.04674264043569565, -0.04116195812821388, -0.02146962285041809, 0.026232751086354256, -0.03760738670825958, 0.019088059663772583, 0.05921919271349907, 0.03108474425971508, -0.03515473008155823, -0.07528586685657501, -0.006824780721217394, 0.0066870409063994884, -0.06419559568166733, 0.022642632946372032, -0.023833414539694786, -0.04709809646010399, -0.029058637097477913, 0.013462946750223637, 0.031848978251218796, 0.011801183223724365, -0.01558680459856987, 0.024722058326005936, 0.10436227172613144, -0.015728987753391266, -0.04923084005713463, 0.01664428971707821, -0.013107488863170147, 0.0511147640645504, -0.007126919459551573, -0.005456270184367895, 0.030942561104893684, -0.03991786018013954, -0.0005831721937283874, 0.001746184192597866, -0.06725253164768219, -0.03376844525337219, -0.07898262143135071, 0.0528920516371727, 0.024419918656349182, -0.05399397015571594, 0.02056320756673813, -0.06913644820451736, 0.0005034719943068922, -0.04816446825861931, 0.014973640441894531, 0.03456822410225868, -0.0360078290104866, 0.015657896175980568, -0.12199296057224274, -0.022144991904497147, -0.002408223459497094, 0.03255989030003548, -0.03938467428088188, -0.020012248307466507, -0.014538205228745937, -0.045640721917152405, 0.017488500103354454, -0.017701774835586548, -0.005100812762975693, 0.057761818170547485, 0.009153026156127453, 0.027547944337129593, 0.004003338050097227, -0.05370960384607315, 0.0013418514281511307, 0.04542744904756546, -0.06256049126386642, -0.007780072279274464, 0.005562907084822655, -0.03988231346011162, 0.0625249445438385, 0.03742965683341026, -0.007229113485664129, 0.01523134671151638, 0.00013412960106506944, 0.02109639346599579, -0.04539190232753754, -0.014538205228745937, 0.0013651783810928464, -0.0229625441133976, -0.016973087564110756, 0.042441606521606445, 0.012254391796886921, 0.0933430939912796, -0.03145797550678253, 0.03506586700677872, -0.034763727337121964, -0.05118585750460625, -0.04450325667858124, 0.007198011036962271, 0.03160015866160393, 0.04482316970825195, -0.04962184280157089, -0.037180837243795395, 0.048839837312698364, 0.010841448791325092, 0.007806731853634119, 0.04240605980157852, 0.024028915911912918, -0.005149688106030226, 0.011063609272241592, -0.010299376212060452, 0.008091097697615623, 0.037003107368946075, 0.010015010833740234, -0.052038952708244324, -0.004472097381949425, -0.0739351287484169, -0.04642272740602493, 0.007029168773442507, -0.006807007826864719, -0.04674264043569565, -0.03456822410225868, -0.011028063483536243, 0.022731496021151543, 0.004851992707699537, 0.036647651344537735, 0.006184957455843687, 0.0528920516371727, 0.08921979367733002, -0.011330202221870422, -0.016253286972641945, 0.0058250571601092815, 0.001808389206416905, -0.013729539699852467, 0.012636507861316204, -0.008966411463916302, 0.012361029163002968, 0.03927803412079811, 0.06085429713129997, 0.08075990527868271, 0.039775677025318146, -0.0103349220007658, 0.07258439064025879, 0.04834219813346863, -0.0229625441133976, 0.09568911790847778, 0.011356862261891365, -0.041375234723091125, 0.017150815576314926, -0.0038256095722317696, 0.051256947219371796, 0.0022382703609764576, -0.011738978326320648, -0.031937841325998306, 0.04923084005713463, 0.0058739325031638145, -0.018590418621897697, -0.020971983671188354, -0.010254943743348122, 0.012254391796886921, -0.0011541255516931415, 0.013116375543177128, 0.05079485476016998, 0.02138075791299343, -0.021682897582650185, -0.004185510333627462, -0.053567420691251755, 0.025326335802674294, 0.02912972867488861, 0.02815222181379795, -0.018750375136733055, -0.01995893009006977, -0.03828275576233864, 0.03055155836045742, 0.027405761182308197, 0.040024496614933014, 0.02584174834191799, -0.02011888474225998, 0.04709809646010399, -0.02207390032708645, -0.012769804336130619, 0.031191380694508553, 0.04588954150676727, -0.03634551167488098, 0.07109146565198898, 0.005829500500112772, -0.008037778548896313, -0.0571930855512619, 0.002532633487135172, -0.0759967789053917, 0.02102530188858509, 0.04460989683866501, -0.011259111575782299, 0.046991460025310516, 0.036203328520059586, -0.02920082025229931 ]
10,935
burnman.classes.elasticsolution
ElasticSolution
This is the base class for all Elastic solutions. Site occupancies, endmember activities and the constant and volume and temperature dependencies of the excess properties can be queried after using set_composition(). States of the solution can only be queried after setting the pressure, temperature and composition using set_state() and set_composition. This class is available as :class:`burnman.ElasticSolution`. It uses an instance of :class:`burnman.ElasticSolutionModel` to calculate interaction terms between endmembers. All the solution parameters are expected to be in SI units. This means that the interaction parameters should be in J/mol, with the T and V derivatives in J/K/mol and Pa/mol. The parameters are relevant to all Elastic solution models. Please see the documentation for individual models for details about other parameters. :param name: Name of the solution. :type name: string :param solution_model: The ElasticSolutionModel object defining the properties of the solution. :type solution_model: :class:`burnman.ElasticSolutionModel` :param molar_fractions: The molar fractions of each endmember in the solution. Can be reset using the set_composition() method. :type molar_fractions: numpy.array
class ElasticSolution(Mineral): """ This is the base class for all Elastic solutions. Site occupancies, endmember activities and the constant and volume and temperature dependencies of the excess properties can be queried after using set_composition(). States of the solution can only be queried after setting the pressure, temperature and composition using set_state() and set_composition. This class is available as :class:`burnman.ElasticSolution`. It uses an instance of :class:`burnman.ElasticSolutionModel` to calculate interaction terms between endmembers. All the solution parameters are expected to be in SI units. This means that the interaction parameters should be in J/mol, with the T and V derivatives in J/K/mol and Pa/mol. The parameters are relevant to all Elastic solution models. Please see the documentation for individual models for details about other parameters. :param name: Name of the solution. :type name: string :param solution_model: The ElasticSolutionModel object defining the properties of the solution. :type solution_model: :class:`burnman.ElasticSolutionModel` :param molar_fractions: The molar fractions of each endmember in the solution. Can be reset using the set_composition() method. :type molar_fractions: numpy.array """ def __init__(self, name=None, solution_model=None, molar_fractions=None): """ Set up matrices to speed up calculations for when P, T, X is defined. """ Mineral.__init__(self) # Solution needs a method attribute to call Mineral.set_state(). # Note that set_method() below will not change self.method self.method = "ElasticSolutionMethod" if name is not None: self.name = name if solution_model is not None: self.solution_model = solution_model if isinstance(solution_model, ElasticMechanicalSolution): self.solution_type = "mechanical" else: self.solution_type = "chemical" # Starting guess and delta for pressure iteration self.min_V0 = min( [mbr[0].params["V_0"] for mbr in self.solution_model.endmembers] ) self.dV = 0.01 * self.min_V0 # Equation of state for i in range(self.n_endmembers): self.solution_model.endmembers[i][0].set_method( self.solution_model.endmembers[i][0].params["equation_of_state"] ) # Molar fractions if molar_fractions is not None: self.set_composition(molar_fractions) @cached_property def endmembers(self): return self.solution_model.endmembers def set_composition(self, molar_fractions): """ Set the composition for this solution. Resets cached properties. :param molar_fractions: Molar abundance for each endmember, needs to sum to one. :type molar_fractions: list of float """ assert len(self.solution_model.endmembers) == len(molar_fractions) if self.solution_type != "mechanical": assert sum(molar_fractions) > 0.9999 assert sum(molar_fractions) < 1.0001 self.reset() self.molar_fractions = np.array(molar_fractions) if self.temperature is not None: _ = self.molar_volume def set_method(self, method): for i in range(self.n_endmembers): self.solution_model.endmembers[i][0].set_method(method) # note: do not set self.method here! self.reset() def set_state(self, pressure, temperature): Mineral.set_state(self, pressure, temperature) try: _ = self.molar_volume except AttributeError: pass @material_property def formula(self): """ Returns molar chemical formula of the solution. """ return sum_formulae(self.endmember_formulae, self.molar_fractions) @material_property def activities(self): """ Returns a list of endmember activities [unitless]. """ volumes = [ self.solution_model.endmembers[i][0].method.volume( self.pressure, self.temperature, self.solution_model.endmembers[i][0].params, ) for i in range(self.n_endmembers) ] gibbs_pure = [ self.solution_model.endmembers[i][0].method.gibbs_free_energy( self.pressure, self.temperature, volumes[i], self.solution_model.endmembers[i][0].params, ) for i in range(self.n_endmembers) ] acts = np.exp( (self.partial_gibbs - np.array(gibbs_pure)) / (gas_constant * self.temperature) ) return acts @material_property def activity_coefficients(self): """ Returns a list of endmember activity coefficients (gamma = activity / ideal activity) [unitless]. """ return np.exp( np.log(self.activities) - IdealSolution._log_ideal_activities( self.solution_model, self.molar_fractions ) ) @material_property def molar_internal_energy(self): """ Returns molar internal energy of the mineral [J/mol]. Aliased with self.energy """ return self.molar_helmholtz + self.temperature * self.molar_entropy @material_property def _excess_partial_helmholtz(self): """ Returns excess partial molar helmholtz energy at constant volume [J/mol]. Property specific to solutions. """ return self.solution_model.excess_partial_helmholtz_energies( self.molar_volume, self.temperature, self.molar_fractions ) @material_property def _excess_partial_pressures(self): """ Returns excess partial pressures at constant volume [Pa]. Property specific to solutions. """ return self.solution_model.excess_partial_pressures( self.molar_volume, self.temperature, self.molar_fractions ) @material_property def _excess_partial_entropies(self): """ Returns excess partial entropies at constant volume [J/K]. Property specific to solutions. """ return self.solution_model.excess_partial_entropies( self.molar_volume, self.temperature, self.molar_fractions ) @material_property def _partial_helmholtz(self): """ Returns endmember partial molar Helmholtz energy at constant volume [J/mol]. Property specific to solutions. """ return ( np.array( [ self.solution_model.endmembers[i][0].helmholtz for i in range(self.n_endmembers) ] ) + self._excess_partial_helmholtz ) @material_property def _partial_pressures(self): """ Returns endmember partial pressures at constant volume [Pa]. Property specific to solutions. """ return ( np.array( [ self.solution_model.endmembers[i][0].pressure for i in range(self.n_endmembers) ] ) + self._excess_partial_pressures ) @material_property def _partial_entropies(self): """ Returns endmember partial entropies at constant volume [J/K]. Property specific to solutions. """ return ( np.array( [ self.solution_model.endmembers[i][0].molar_entropy for i in range(self.n_endmembers) ] ) + self._excess_partial_entropies ) @material_property def partial_gibbs(self): """ Returns endmember partial molar Gibbs energy at constant pressure [J/mol]. Property specific to
(name=None, solution_model=None, molar_fractions=None)
[ 0.10040408372879028, -0.030308783054351807, -0.010285831056535244, 0.02629820816218853, -0.02540031634271145, -0.07270915806293488, -0.06648378074169159, -0.0242230836302042, -0.03513743728399277, -0.00914351548999548, -0.02444256842136383, 0.01918492093682289, 0.022407349199056625, 0.05223725736141205, -0.05183819681406021, 0.04433582350611687, -0.03515738993883133, -0.013518236577510834, 0.024342801421880722, 0.02585923857986927, -0.05311519652605057, -0.025180833414196968, 0.006669329013675451, 0.06345091015100479, -0.0038135393988341093, 0.017289375886321068, 0.019903233274817467, 0.006125606596469879, 0.024043506011366844, -0.042779482901096344, -0.04988279193639755, -0.00489848991855979, -0.03134634718298912, -0.0053524235263466835, 0.046849917620420456, -0.05662694573402405, 0.0646480992436409, 0.04090388864278793, -0.07709883898496628, 0.060418035835027695, -0.008066046983003616, 0.0076370551250875, 0.07757771760225296, 0.0008723253267817199, -0.005212751682847738, -0.0290317852050066, 0.0070933327078819275, 0.06744153052568436, 0.021728944033384323, -0.021170256659388542, 0.031146815046668053, -0.019244780763983727, 0.041781824082136154, 0.023165568709373474, -0.011353323236107826, 0.08835239708423615, 0.016142070293426514, 0.03970670327544212, 0.06608472019433975, -0.05590863153338432, -0.008699558675289154, -0.007951317355036736, 0.057584695518016815, -0.0616152249276638, -0.041702013462781906, 0.00022509609698317945, -0.014066946692764759, 0.025719566270709038, 0.028971925377845764, 0.07861527800559998, 0.0010793388355523348, 0.0017047444125637412, 0.03242381289601326, 0.002666235202923417, 0.03537687659263611, -0.01805756986141205, -0.04393676295876503, -0.025360411033034325, 0.010161124169826508, -0.05203772708773613, 0.009567519649863243, 0.004938396159559488, -0.029869815334677696, -0.0691974088549614, 0.019234804436564445, -0.014226571656763554, 0.02575947344303131, 0.0019516642205417156, 0.008135883137583733, -0.08092983812093735, -0.018755929544568062, 0.056587036699056625, 0.0005614931578747928, 0.034898001700639725, 0.050241947174072266, 0.0025939051993191242, -0.008948972448706627, -0.08065049350261688, -0.027674973011016846, -0.0492841973900795, -0.04206116870045662, 0.027435535565018654, -0.001416671322658658, 0.04056468605995178, 0.004953361116349697, -0.037531811743974686, -0.04712926223874092, -0.03998604416847229, 0.03645434230566025, -0.025659708306193352, -0.06847909837961197, 0.036434389650821686, -0.05906122550368309, -0.005432236008346081, -0.05415275692939758, 0.02410336397588253, -0.03330175206065178, -0.006734177004545927, 0.031505972146987915, 0.015353922732174397, 0.05950019136071205, 0.003232404822483659, -0.07087346911430359, 0.018117429688572884, 0.0411832332611084, -0.00451938109472394, -0.005731532815843821, 0.01090437825769186, 0.017279399558901787, -0.06496734917163849, -0.043657418340444565, 0.029650330543518066, -0.021968381479382515, 0.02344491146504879, -0.015752986073493958, 0.022068146616220474, -0.007113285828381777, -0.05822319537401199, -0.015483618713915348, 0.05678657069802284, 0.023205474019050598, 0.0286925807595253, 0.01369781419634819, -0.019773539155721664, -0.048605792224407196, -0.004212601576000452, 0.020122718065977097, 0.0009103609481826425, -0.057784225791692734, -0.03374072164297104, -0.005157880485057831, -0.0514790415763855, -0.012700158171355724, -0.0134184705093503, 0.02478177100419998, -0.006444856524467468, 0.01313912682235241, 0.0027834598440676928, 0.028413238003849983, 0.004397167824208736, -0.06273259967565536, -0.05678657069802284, -0.002870754571631551, 0.0698758140206337, -0.010505315847694874, -0.00700853206217289, 0.014116830192506313, -0.0698758140206337, -0.04852597787976265, 0.052756041288375854, -0.03386043757200241, -0.02749539352953434, -0.09888764470815659, 0.0014391185250133276, -0.012560486793518066, 0.08867164701223373, 0.03846960887312889, -0.014336314052343369, -0.011034073308110237, -0.005332470405846834, -0.008450144901871681, -0.0426996685564518, -0.03581584244966507, -0.037072889506816864, 0.02442261390388012, 0.027555253356695175, 0.008744453079998493, -0.022507116198539734, 0.024721911177039146, -0.013548166491091251, 0.019753584638237953, -0.04449544847011566, 0.011363299563527107, 0.03701303154230118, -0.031086955219507217, 0.0045518046244978905, 0.05850253626704216, -0.013887369073927402, 0.04597197845578194, -0.018556397408246994, -0.04601188749074936, -0.010784659534692764, 0.026777083054184914, -0.01852646842598915, -0.03268320485949516, 0.03174540773034096, -0.004886019509285688, -0.0005300046759657562, -0.014037017710506916, 0.01452586892992258, -0.06628425419330597, -0.00012119959137635306, 0.007427547592669725, 0.017458977177739143, 0.057464975863695145, -0.08691577613353729, 0.044974323362112045, -0.013119174167513847, 0.010714823380112648, 0.03162568807601929, 0.0029006842523813248, -0.04341798275709152, -0.017039962112903595, -0.003239887300878763, -0.025799378752708435, 0.0038334925193339586, -0.031286485493183136, 0.05391332134604454, -0.0008342897053807974, -0.03619495406746864, 0.0028258601669222116, -0.02992967516183853, -0.0004960219957865775, -0.004554298706352711, -0.03848956152796745, 0.04577244818210602, -0.02170899137854576, 0.04182173311710358, -0.04824663698673248, 0.005432236008346081, -0.029331080615520477, -0.08284533768892288, 0.0063700322061777115, -0.005746497306972742, -0.032044705003499985, 0.0038160334806889296, 0.09362002462148666, 0.030109252780675888, -0.024622146040201187, -0.025280598551034927, 0.016181977465748787, -0.019454289227724075, -0.026896800845861435, 0.02190852165222168, -0.00033546178019605577, -0.07741808891296387, 0.02214795909821987, 0.03110690787434578, 0.036554109305143356, -0.042460232973098755, 0.004970820154994726, -0.06508706510066986, 0.04106351360678673, 0.06373025476932526, -0.0038260100409388542, 0.05251660197973251, -0.004057965241372585, 0.01994314044713974, -0.025380363687872887, -0.0012526815989986062, 0.03743204474449158, 0.011692525818943977, -0.037072889506816864, 0.029450800269842148, -0.04756822809576988, 0.005731532815843821, -0.027216050773859024, -0.030049392953515053, -0.06508706510066986, 0.025679660961031914, -0.027036473155021667, -0.009308128617703915, 0.017897944897413254, 0.019025295972824097, -0.01686038263142109, -0.024682005867362022, -0.002515339758247137, -0.009118573740124702, 0.027335768565535545, -0.002840824890881777, -0.022946083918213844, -0.001626178971491754, 0.014226571656763554, -0.02881230041384697, 0.1058313325047493, -0.02925126813352108, -0.0033795591443777084, -0.001220881356857717, 0.015363899990916252, -0.04505413770675659, 0.03262334689497948, -0.002873248653486371, 0.050122227519750595, -0.04577244818210602, -0.061974380165338516, -0.004417120944708586, 0.09369983524084091, -0.01391729898750782, 0.06692275404930115, -0.035217251628637314, 0.018446655943989754, 0.017389141023159027, 0.01675064116716385, 0.0073577119037508965, 0.011712479405105114, -0.010615058243274689, -0.011722455732524395, -0.002995461691170931, 0.05339454114437103, 0.06560584902763367, -0.030488362535834312, 0.01664089970290661, 0.04134285822510719, 0.008929019793868065, 0.040804121643304825, -0.026338113471865654, 0.004661547020077705, 0.02540031634271145, 0.004085400607436895, -0.03701303154230118, -0.04784757271409035, -0.057026006281375885, 0.03571607917547226, -0.0012695170007646084, -0.01210156548768282, -0.03783110901713371, 0.03673368692398071, -0.03591560944914818, 0.049244292080402374, -0.04445554316043854, 0.11923982203006744, 0.06939693540334702, -0.018017664551734924, 0.028991878032684326, 0.045213762670755386, -0.03619495406746864, 0.07095327973365784, -0.030987190082669258, -0.014655563980340958, 0.028453143313527107, -0.017907921224832535, 0.034778282046318054, -0.0017072384944185615, 0.022088099271059036, 0.004798724316060543, -0.019633866846561432, -0.03076770529150963, -0.046171512454748154, -0.011792291887104511, 0.007028485182672739, -0.05092035233974457, -0.004210107494145632, -0.07861527800559998, 0.04293910786509514, -0.017159679904580116, -0.06756125390529633, -0.004798724316060543, 0.006295208353549242, 0.07570212334394455, -0.06468800455331802, 0.009512647986412048, -0.05630769580602646, -0.01550357136875391, -0.0005736520979553461, 0.0064199152402579784, 0.053195007145404816, 0.002616352401673794, 0.053314726799726486, -0.0019653819035738707, -0.04677010327577591, 0.044734887778759, 0.003207463538274169, -0.06931712478399277, 0.02927122265100479, 0.02915150299668312, -0.010824565775692463, 0.07430540770292282, -0.01276999432593584, 0.01819724217057228, 0.021828709170222282, 0.05750488117337227, -0.010186065919697285, 0.009382952935993671, -0.01962389051914215, -0.025799378752708435, 0.014655563980340958, 0.04477479308843613, 0.008789347484707832, -0.0543522909283638, 0.0015002249274402857, 0.020890912041068077, -0.04800719767808914, 0.016471298411488533, 0.026318160817027092, -0.006170501466840506, -0.07314812391996384, 0.05950019136071205, 0.005901134107261896, -0.0006534645799547434, 0.055389851331710815, -0.011253558099269867, -0.027036473155021667, -0.06133588030934334, -0.002376914955675602, -0.07582183927297592, -0.04174191877245903, 0.04884522780776024, -0.07817631214857101, 0.0521574467420578, 0.015094532631337643, 0.03471842408180237, 0.04122313857078552, 0.07985237240791321, 0.005262634251266718, -0.011912010610103607, -0.03946726396679878, -0.04900485277175903, -0.008669628761708736, -0.05060110241174698, 0.007252957671880722, -0.009587472304701805, 0.019015319645404816, -0.030149158090353012, -0.035277109593153, -0.002878237050026655, -0.03998604416847229, -0.01893550716340542, -0.010151147842407227, 0.006933707743883133, 0.008105953224003315, 0.03811045363545418, -0.0032249223440885544, 0.00886915996670723, -0.007292863912880421, -0.019973069429397583, -0.03693321719765663, 0.008604781702160835, -0.015613313764333725, 0.004761312622576952, 0.004165213089436293, 0.010325737297534943, 0.03962688893079758, -0.0042574964463710785, -0.011522924527525902, 0.01729935221374035, -0.01210156548768282, 0.047288887202739716, -0.004693970549851656, -0.0025415283162146807, -0.036374531686306, 0.006439868360757828, 0.027116285637021065, -0.02563975378870964, 0.04808701202273369, -0.022866271436214447, 0.007053426466882229, 0.03635457903146744, -0.026238348335027695, -0.03769143670797348, 0.024243036285042763, 0.025659708306193352, -0.02093081921339035, 0.011542878113687038, -0.05359407141804695, 0.0012701405212283134, -0.007786703761667013, -0.042140983045101166, 0.002502869116142392, 0.0024031035136431456, -0.05028185248374939, 0.01992318592965603, -0.010804612189531326, 0.03148601949214935, 0.027575206011533737, -0.012799924239516258, -0.0078066568821668625, 0.06209409981966019, -0.04916447773575783, -0.0023257851134985685, -0.04261985793709755, -0.049044761806726456, 0.0016236848896369338, 0.05096025764942169, 0.05782413110136986, -0.03942735865712166, 0.049244292080402374, 0.010515292175114155, -0.0308874249458313, 0.039806466549634933, -0.011652619577944279, 0.029869815334677696, 0.013328681699931622, -0.011662596836686134, -0.0013256351230666041, 0.017349233850836754, -0.026797035709023476, -0.036334626376628876, -0.02563975378870964, 0.018027640879154205, 0.003551654750481248, 0.005896145943552256, -0.07614108920097351, 0.06704246997833252, -0.003848457243293524, 0.004895995836704969, 0.033680859953165054, -0.01363795530050993, 0.05574900656938553, 0.03880881145596504, -0.012021753005683422, 0.0242230836302042, 0.01335861161351204, 0.001732179895043373, -0.053953226655721664, 0.01893550716340542, 0.022746551781892776, -0.0506410077214241, -0.04597197845578194, 0.021289974451065063, 0.027754785493016243, 0.0063101728446781635, -0.030827565118670464, 0.001566319609992206, 0.04257994890213013, -0.00022696670203004032, -0.007267922628670931, 0.037970781326293945, -0.06049785017967224, -0.015593360178172588, 0.005606825929135084, -0.02661745809018612, 0.0308874249458313, 0.015333970077335835, -0.0654861256480217, 0.02937098778784275, -0.016950173303484917, 0.06931712478399277, -0.013408494181931019, -0.021669084206223488, -0.02081109955906868, 0.02671722322702408, 0.03429940715432167, -0.025460176169872284, 0.03354118764400482, 0.07889462262392044, 0.006943684536963701, 0.004122812766581774, -0.0047164177522063255, 0.02412331849336624, 0.03683345392346382, 0.0051279510371387005, -0.015423758886754513, -0.0039931172505021095, -0.043896857649087906, -0.01363795530050993, 0.02641792595386505, 0.016241837292909622, 0.005457177292555571, -0.026816988363862038, 0.005487107206135988, -0.045533012598752975, 0.04477479308843613, -0.011792291887104511, -0.003958199638873339, 0.012261190451681614, -0.017828108742833138, 0.009727144613862038, -0.017059914767742157, -0.011273510754108429, -0.04533348232507706, 0.048925042152404785, 0.010225972160696983, -0.012341002933681011, -0.060657475143671036, 0.02334514632821083, 0.0521574467420578, -0.04054473340511322, 0.05830300599336624, 0.02234749123454094, 0.006005887873470783, 0.014505915343761444, -0.00903876218944788, 0.00027544653858058155, -0.07075375318527222, -0.01540380623191595, 0.06357062608003616, -0.026816988363862038, 0.008056070655584335, 0.07067393511533737, 0.015723055228590965, -0.028233660385012627, -0.02093081921339035, 0.02649773843586445, 0.004818677436560392, 0.016600992530584335, 0.006913754623383284, 0.021409694105386734, -0.01206165924668312, 0.014665540307760239, 0.004554298706352711, 0.0008118424448184669, -0.04257994890213013, -0.026018863543868065, -0.041263043880462646, -0.037751294672489166, -0.049802977591753006, -0.05295557156205177, 0.04206116870045662, 0.03910810872912407, 0.019154991954565048, -0.06337109953165054, 0.039726655930280685, -0.029311127960681915, -0.011403205804526806, -0.014495939016342163, 0.0039831409230828285, 0.023045849055051804, -0.06612462550401688, 0.015054626390337944, -0.019085155799984932, 0.00008480074757244438, -0.0028932017739862204, -0.005721556022763252, -0.023824021220207214, 0.03374072164297104, -0.012041705660521984, 0.051758382469415665, 0.010285831056535244, -0.0268369410187006, 0.02915150299668312, 0.0038035628385841846, 0.004499427974224091, -0.019524123519659042, 0.02268669381737709, -0.08128899335861206, 0.03759166970849037, -0.0031151804141700268, -0.03683345392346382, 0.02091086655855179, -0.0037561741191893816, -0.025041161105036736, 0.04341798275709152, -0.03715270385146141, -0.026697270572185516, -0.0344390794634819, -0.03374072164297104, 0.005846262909471989, -0.014376220293343067, -0.0015426253667101264, 0.015493595041334629, -0.016032328829169273, 0.010166113264858723, 0.03723251447081566, -0.04952363669872284, 0.06233353540301323, -0.012909666635096073, 0.020342202857136726, 0.024961348623037338, 0.03441912680864334, 0.08571858704090118, -0.006100665312260389, -0.05423257127404213, 0.03952712193131447, 0.00941787101328373, -0.027655018493533134, 0.04054473340511322, 0.006913754623383284, 0.027315815910696983, -0.022108053788542747, 0.03210456296801567, 0.0793335884809494, 0.060737285763025284, -0.04856588691473007, 0.04940391704440117, 0.04852597787976265, 0.03058812767267227, -0.04257994890213013, -0.0004215095832478255, 0.06057766079902649, -0.022726599127054214, 0.0023719267919659615, -0.03914801403880119, -0.0016822970937937498, 0.01994314044713974, 0.04565272852778435, -0.007771738804876804, -0.07881481200456619, -0.03122662752866745, 0.006439868360757828, -0.030069345608353615, 0.04098369926214218, 0.018586328253149986, -0.014934907667338848, 0.042779482901096344, 0.023484818637371063, 0.012201330624520779, -0.030488362535834312, 0.033142127096652985, 0.02805408090353012, -0.0587419755756855, 0.05666685104370117, 0.09194395691156387, 0.02771487832069397, -0.025559941306710243, 0.05694619566202164, -0.03330175206065178, 0.03607523441314697, 0.034658562391996384, -0.0326632522046566, 0.0004558039945550263, 0.0053524235263466835, -0.014805212616920471, 0.021010631695389748, -0.027216050773859024, -0.007527313195168972, 0.009642343968153, -0.03503767400979996, -0.03437921777367592, 0.003823515959084034, 0.0013106702826917171, -0.025998910889029503, 0.028093988075852394, -0.013059314340353012, 0.00665436452254653, 0.023824021220207214, -0.05850253626704216, 0.029191410169005394, 0.04230060800909996, -0.038290031254291534, 0.052436791360378265, -0.01335861161351204, -0.005701602902263403, -0.06772087514400482, -0.04433582350611687, 0.0013405999634414911, 0.09018808603286743, 0.008275555446743965, 0.038170311599969864, -0.009846863336861134, -0.051119882613420486, 0.052436791360378265, -0.008001199923455715, 0.043896857649087906, 0.04944382235407829, 0.043777137994766235, -0.0242230836302042, 0.023185521364212036, -0.02990972064435482, -0.040824078023433685, -0.0769791230559349, 0.0029256257694214582, -0.06704246997833252, 0.008255601860582829, 0.03246372193098068, -0.024921443313360214, 0.07522325217723846, -0.016261789947748184, 0.039367496967315674 ]
10,936
burnman.classes.elasticsolution
__init__
Set up matrices to speed up calculations for when P, T, X is defined.
def __init__(self, name=None, solution_model=None, molar_fractions=None): """ Set up matrices to speed up calculations for when P, T, X is defined. """ Mineral.__init__(self) # Solution needs a method attribute to call Mineral.set_state(). # Note that set_method() below will not change self.method self.method = "ElasticSolutionMethod" if name is not None: self.name = name if solution_model is not None: self.solution_model = solution_model if isinstance(solution_model, ElasticMechanicalSolution): self.solution_type = "mechanical" else: self.solution_type = "chemical" # Starting guess and delta for pressure iteration self.min_V0 = min( [mbr[0].params["V_0"] for mbr in self.solution_model.endmembers] ) self.dV = 0.01 * self.min_V0 # Equation of state for i in range(self.n_endmembers): self.solution_model.endmembers[i][0].set_method( self.solution_model.endmembers[i][0].params["equation_of_state"] ) # Molar fractions if molar_fractions is not None: self.set_composition(molar_fractions)
(self, name=None, solution_model=None, molar_fractions=None)
[ 0.07166110724210739, -0.03342830017209053, 0.000925676547922194, 0.06316082179546356, -0.0329478494822979, -0.05558447912335396, -0.06375214457511902, -0.062162961810827255, -0.057358454912900925, 0.025001928210258484, -0.02147246152162552, 0.0263693667948246, -0.0211398433893919, 0.05865197628736496, -0.06988713890314102, 0.02306164614856243, -0.013692852109670639, -0.0021377757657319307, -0.012464006431400776, 0.034333765506744385, -0.04316667094826698, -0.028069423511624336, 0.014986374415457249, 0.11952141672372818, 0.015291276387870312, 0.03708712011575699, 0.015799446031451225, -0.024244295433163643, 0.026905253529548645, -0.06741096824407578, -0.05151912569999695, 0.04294492304325104, -0.04505151882767677, 0.015245079062879086, 0.031395621597766876, -0.02819877676665783, 0.05314526706933975, 0.0331326387822628, -0.08426370471715927, 0.02668350748717785, 0.01412710640579462, -0.028679227456450462, 0.0445341095328331, -0.003035156521946192, -0.007645638193935156, -0.03679145500063896, 0.010366653092205524, 0.0609433576464653, 0.04649287089705467, -0.020899616181850433, 0.0001917184126796201, -0.03906435891985893, 0.04338841885328293, -0.014893979765474796, -0.03980351611971855, 0.10436873137950897, 0.06057377904653549, 0.0482298843562603, 0.043979741632938385, -0.05783890560269356, -0.04527326300740242, 0.01464451476931572, 0.048082053661346436, -0.02078874409198761, -0.025426942855119705, -0.02749657817184925, -0.02965860813856125, 0.03304024413228035, 0.032873932272195816, 0.05358876287937164, 0.03198694810271263, -0.015799446031451225, 0.013739049434661865, 0.016714150086045265, 0.048821210861206055, 0.009969357401132584, -0.06999801099300385, -0.037290386855602264, -0.019107164815068245, -0.017176121473312378, -0.01749950274825096, -0.01204823236912489, -0.04087528958916664, -0.04368408024311066, -0.02413342148065567, -0.06327169388532639, 0.02666502818465233, -0.02226705476641655, 0.04353624954819679, -0.06375214457511902, -0.00845870841294527, 0.03679145500063896, -0.01316620409488678, 0.04368408024311066, 0.022340970113873482, 0.04050571098923683, -0.006222764030098915, -0.059649836272001266, -0.004758312366902828, -0.044053658843040466, -0.0353870615363121, 0.0837462991476059, -0.016575558111071587, 0.013535781763494015, 0.002158564515411854, -0.021620294079184532, -0.03562728688120842, -0.05166695639491081, 0.04161444678902626, -0.0311923548579216, -0.0453471802175045, 0.0771678164601326, -0.09224658459424973, -0.00007351852400461212, -0.051740873605012894, 0.01751798205077648, -0.023985590785741806, -0.0071097505278885365, -0.012075950391590595, 0.017896799370646477, 0.040283966809511185, 0.02483562007546425, -0.05599101632833481, 0.025500858202576637, -0.0001857993920566514, 0.009336455725133419, 0.041355740278959274, -0.011992795392870903, -0.005192566197365522, -0.06988713890314102, -0.011789527721703053, 0.03490661084651947, 0.0006386763998307288, 0.022414885461330414, -0.006264341529458761, 0.019033249467611313, -0.04357320815324783, -0.04978211224079132, -0.018876180052757263, 0.03869478031992912, 0.040653541684150696, 0.0326337069272995, 0.004437241703271866, 0.005954820197075605, -0.011170485056936741, 0.0334467776119709, 0.03339134156703949, -0.0015556910075247288, -0.02779223956167698, -0.013526542112231255, -0.006643158383667469, -0.03485117480158806, 0.02481714077293873, -0.010653075762093067, 0.012279218062758446, -0.007446989882737398, 0.04649287089705467, -0.015568459406495094, 0.01316620409488678, -0.017166882753372192, -0.059945497661828995, -0.03780779615044594, -0.0021909025963395834, 0.017148403450846672, -0.023893196135759354, -0.0527387335896492, -0.019569138064980507, -0.05007777363061905, -0.07805480062961578, 0.054734453558921814, -0.02531607076525688, -0.03943393751978874, -0.12173888087272644, 0.023505140095949173, -0.020973533391952515, 0.05654538422822952, 0.028716184198856354, 0.004970819689333439, 0.01851584017276764, -0.028013987466692924, 0.0019922545179724693, 0.0155961774289608, -0.048414673656225204, -0.03599686548113823, 0.006486088037490845, 0.024225816130638123, 0.019569138064980507, -0.03936002030968666, -0.02156485617160797, 0.002183973090723157, 0.01561465673148632, -0.010357414372265339, 0.008236962370574474, 0.029085762798786163, 0.009234822355210781, 0.035091400146484375, 0.07576341927051544, -0.012399330735206604, 0.04235360026359558, 0.028475958853960037, -0.014210261404514313, 0.013295556418597698, 0.03193151205778122, 0.005044735036790371, -0.03575664013624191, 0.013655894435942173, -0.009599779732525349, 0.011844963766634464, 0.011373752728104591, 0.01094873808324337, -0.003035156521946192, -0.020345250144600868, -0.01055144239217043, 0.04039483889937401, 0.017148403450846672, -0.04649287089705467, 0.05277569219470024, -0.005183326546102762, 0.07820263504981995, 0.014736909419298172, -0.0031460297759622335, -0.024669310078024864, -0.005349636543542147, 0.001190733048133552, -0.027293311432003975, -0.0033215791918337345, -0.021287674084305763, 0.03608926013112068, -0.027940072119235992, -0.055510565638542175, -0.012417810037732124, -0.05170391499996185, 0.01691741682589054, -0.03084125556051731, -0.032836977392435074, 0.016446206718683243, -0.015799446031451225, 0.01726851612329483, -0.06504566967487335, -0.025112802162766457, -0.015540740452706814, -0.0824897363781929, 0.01096721738576889, 0.011244400404393673, -0.03791866824030876, -0.02191595546901226, 0.07487643510103226, 0.04593850299715996, -0.016464684158563614, -0.013859162107110023, 0.008726652711629868, -0.054401833564043045, -0.04043179750442505, 0.03717951476573944, 0.024724746122956276, -0.056212764233350754, 0.056249719113111496, 0.05166695639491081, 0.02043764479458332, -0.03740125894546509, -0.027977028861641884, -0.058393269777297974, 0.026535676792263985, 0.0453471802175045, -0.023468181490898132, 0.036551229655742645, -0.008310877718031406, 0.039877429604530334, -0.014773867093026638, 0.018598996102809906, 0.10799059271812439, 0.011521583423018456, -0.047305941581726074, 0.013692852109670639, -0.01890389807522297, 0.011521583423018456, -0.041318781673908234, -0.024059506133198738, -0.07066325098276138, 0.019162602722644806, -0.017277756705880165, -0.021601814776659012, 0.02004958875477314, 0.040616586804389954, -0.065267413854599, 0.004169297870248556, -0.03233804553747177, -0.025500858202576637, 0.02518671751022339, -0.023486660793423653, -0.03043472021818161, 0.022082265466451645, 0.01890389807522297, -0.027274832129478455, 0.0845593735575676, -0.013794486410915852, -0.011983555741608143, -0.0030905932653695345, 0.012103668414056301, -0.05854110047221184, 0.018192460760474205, -0.0609433576464653, 0.00733149703592062, -0.033576130867004395, -0.06234775111079216, -0.0010763949248939753, 0.035830553621053696, 0.013286316767334938, 0.05458662286400795, -0.03499900549650192, 0.02043764479458332, 0.07066325098276138, 0.0028480577748268843, 0.015143444761633873, -0.012667274102568626, 0.018173981457948685, 0.013646655716001987, -0.02263663150370121, 0.04749073088169098, 0.061793386936187744, -0.02226705476641655, 0.04202098026871681, -0.002580114174634218, -0.028679227456450462, 0.009225582703948021, -0.03562728688120842, 0.008486427366733551, -0.009096230380237103, -0.007086651865392923, -0.0200126301497221, -0.04941253364086151, -0.023967111483216286, 0.02784767746925354, -0.02304316684603691, -0.013683613389730453, -0.03943393751978874, 0.04368408024311066, -0.024650830775499344, 0.031099960207939148, -0.025907393544912338, 0.10045120865106583, 0.034647904336452484, -0.030249932780861855, 0.026443282142281532, -0.003841297933831811, -0.01876530610024929, 0.01649240404367447, -0.04046875610947609, -0.0015914938412606716, -0.017148403450846672, -0.03825128823518753, 0.024650830775499344, -0.013434148393571377, 0.04032092168927193, 0.00732225738465786, 0.014404289424419403, -0.041318781673908234, -0.02110288478434086, -0.0019368180073797703, -0.00901307538151741, -0.03379787877202034, -0.024188857525587082, -0.06419564038515091, 0.008394032716751099, 0.007705694530159235, -0.09978596866130829, -0.012842823751270771, -0.0060472143813967705, 0.06637614965438843, -0.03865782544016838, -0.0010492540895938873, -0.0923205018043518, -0.03335438296198845, 0.00040509176324121654, -0.016769586130976677, 0.06486088037490845, -0.03821432963013649, 0.04035788029432297, -0.018100066110491753, -0.05857805907726288, 0.06966538727283478, -0.0052018058486282825, -0.008444849401712418, 0.007437750697135925, 0.030139058828353882, -0.024188857525587082, 0.054734453558921814, 0.01872834749519825, 0.054327916353940964, 0.03494356945157051, 0.035091400146484375, -0.03479573875665665, -0.012371612712740898, 0.014358092099428177, -0.01721308007836342, 0.02263663150370121, 0.058688934892416, 0.02673894353210926, -0.07358291000127792, -0.006176566705107689, 0.007174426224082708, -0.05044735223054886, -0.005668397527188063, 0.0229877308011055, -0.0002881550753954798, -0.05133433640003204, 0.0564345084130764, 0.023098604753613472, 0.007645638193935156, 0.06327169388532639, 0.017046770080924034, 0.012380851432681084, 0.004497298039495945, -0.026517197489738464, -0.09165526181459427, 0.0043125092051923275, 0.038436077535152435, -0.0667087659239769, 0.060684651136398315, 0.0032430440187454224, 0.0615716390311718, 0.03385331481695175, 0.05347788706421852, 0.011650935746729374, 0.009100849740207195, -0.009710652753710747, -0.026424802839756012, -0.04091224819421768, -0.044312361627817154, 0.01000631507486105, -0.029972748830914497, 0.009756850078701973, -0.015235839411616325, -0.012584119103848934, -0.00584394671022892, -0.0014944797148928046, -0.027699846774339676, 0.024743225425481796, 0.000759944086894393, 0.02078874409198761, 0.04667766019701958, -0.007100510876625776, -0.01895933412015438, -0.02864226885139942, -0.016621755436062813, -0.03379787877202034, 0.007493187207728624, -0.01074547041207552, -0.052516985684633255, 0.012694993056356907, 0.036551229655742645, 0.032485876232385635, 0.004423382692039013, -0.020936574786901474, 0.024761702865362167, 0.03189455345273018, 0.026073703542351723, -0.011031893081963062, 0.0030674946028739214, 0.025389986112713814, 0.0067771305330097675, 0.0013963106321170926, 0.013471106067299843, 0.042464472353458405, -0.04312971234321594, 0.002663268940523267, 0.02779223956167698, 0.005968679208308458, -0.013332514092326164, -0.009553582407534122, 0.014792346395552158, -0.00631515821442008, 0.008135328069329262, -0.018672911450266838, -0.036237090826034546, -0.031026044860482216, -0.06449130177497864, -0.0005881481920368969, -0.008823666721582413, -0.046936362981796265, -0.025426942855119705, -0.023190999403595924, 0.06515654176473618, 0.029991228133440018, -0.02967708744108677, 0.007724173367023468, 0.07380466163158417, -0.026868296787142754, 0.0047906506806612015, -0.053256142884492874, -0.06227383762598038, 0.03298480808734894, 0.05676712840795517, 0.09039869904518127, -0.021287674084305763, 0.06098031625151634, -0.011050372384488583, -0.02004958875477314, 0.03082277812063694, -0.01519888173788786, 0.03684689477086067, 0.011844963766634464, -0.06759575754404068, -0.032097820192575455, 0.05684104561805725, -0.018451165407896042, -0.04346233233809471, -0.025537816807627678, -0.00584394671022892, 0.031081480905413628, -0.026295451447367668, -0.07258505374193192, -0.017222318798303604, 0.024780182167887688, 0.01149386540055275, 0.03350221365690231, -0.03298480808734894, 0.01744406670331955, 0.024041026830673218, -0.02191595546901226, 0.01654784008860588, 0.013295556418597698, -0.0048414673656225204, -0.02566716820001602, 0.009045413695275784, 0.04645591229200363, -0.04161444678902626, -0.031044524163007736, 0.035830553621053696, 0.033631566911935806, -0.012131386436522007, -0.055104028433561325, -0.03969264030456543, 0.09365098178386688, 0.00021741561067756265, 0.026868296787142754, 0.03450007364153862, -0.05935417488217354, -0.033243510872125626, -0.029824918136000633, -0.036329485476017, 0.00467284768819809, 0.051075633615255356, -0.05909546837210655, 0.03503596410155296, -0.03154345229268074, 0.011632457375526428, 0.04490368813276291, -0.02269206941127777, -0.021324630826711655, 0.029122719541192055, 0.019790884107351303, -0.04442323371767998, 0.029399903491139412, 0.07835046201944351, 0.0006259721703827381, 0.005164847709238529, -0.008426371030509472, 0.026868296787142754, 0.021638771519064903, -0.003058255184441805, -0.025057366117835045, 0.03389027342200279, -0.002062705345451832, -0.02864226885139942, 0.02193443477153778, 0.038805656135082245, 0.0004925777320750058, -0.010606879368424416, -0.00097476108931005, -0.008583441376686096, 0.025833478197455406, -0.008218483068048954, -0.005899383686482906, 0.0015972685068845749, -0.0022128461860120296, 0.016400009393692017, -0.005917862523347139, -0.02485409751534462, -0.007123609539121389, 0.04564284160733223, -0.02932598814368248, -0.011281358078122139, -0.037641484290361404, 0.0009037329000420868, 0.03682841360569, -0.04686244949698448, 0.020918095484375954, 0.0060518342070281506, 0.00024600012693554163, -0.0035456358455121517, -0.03503596410155296, -0.017240798100829124, -0.029972748830914497, -0.023893196135759354, 0.030231453478336334, -0.0189778134226799, -0.02675742283463478, 0.07982877641916275, 0.0331326387822628, -0.07724173367023468, -0.024410605430603027, -0.02522367611527443, 0.0035964527633041143, 0.008019835688173771, -0.018598996102809906, -0.01558693777769804, 0.02483562007546425, 0.029141198843717575, -0.002052311087027192, 0.019753925502300262, -0.04531022161245346, -0.013027613051235676, -0.0170375294983387, -0.04006221890449524, -0.03832520544528961, -0.0400252602994442, 0.0329478494822979, 0.07036758959293365, 0.018672911450266838, -0.06316082179546356, 0.029991228133440018, -0.020659390836954117, -0.029843397438526154, -0.04242751747369766, -0.00753014488145709, 0.04667766019701958, -0.10377740859985352, 0.022396406158804893, 0.00389673444442451, 0.013277078047394753, -0.014718430116772652, 0.015171162784099579, -0.014284176751971245, 0.017924517393112183, -0.021361589431762695, 0.038362160325050354, 0.02927055023610592, -0.013535781763494015, 0.038805656135082245, 0.005529806017875671, 0.00899459607899189, -0.002183973090723157, -0.015263557434082031, -0.027588972821831703, 0.026868296787142754, 0.0031552694272249937, 0.004781411029398441, 0.034296806901693344, 0.033594608306884766, -0.038768697530031204, 0.033539172261953354, -0.03679145500063896, 0.012565640732645988, -0.02189747616648674, -0.03224565088748932, -0.017176121473312378, 0.00732225738465786, 0.03187607228755951, 0.0068094683811068535, -0.0422796867787838, 0.019162602722644806, 0.0400252602994442, -0.033539172261953354, 0.05968679487705231, -0.023597534745931625, 0.009923160076141357, 0.015762487426400185, 0.006375214550644159, 0.05831935629248619, 0.023505140095949173, -0.04046875610947609, 0.013120006769895554, -0.006305919028818607, -0.01056992169469595, 0.0467885322868824, 0.025815000757575035, 0.0024322830140590668, -0.013092288747429848, 0.011198203079402447, 0.036237090826034546, 0.07620691508054733, -0.03315111622214317, 0.03708712011575699, 0.034684862941503525, 0.0151896420866251, -0.04057962819933891, 0.020936574786901474, 0.05798673629760742, -0.03008362278342247, -0.0402100495994091, -0.00732225738465786, 0.032892413437366486, 0.014524402096867561, 0.03444463759660721, 0.008421750739216805, -0.05525186285376549, -0.0548083670437336, 0.010135667398571968, -0.04567980021238327, 0.07709389925003052, 0.003390875179320574, -0.03669906407594681, 0.049597322940826416, 0.014330374076962471, 0.04154052957892418, 0.004776791203767061, 0.029233593493700027, 0.0012403950095176697, -0.05894763767719269, 0.05569535493850708, 0.0572475790977478, 0.029141198843717575, -0.015744008123874664, 0.09505537897348404, 0.05458662286400795, 0.05532577633857727, 0.008569582365453243, -0.03498052433133125, 0.022802941501140594, -0.017591897398233414, -0.04497760161757469, 0.033539172261953354, 0.004725974518805742, 0.0015764797572046518, -0.008675836026668549, -0.01339719071984291, -0.03377939760684967, 0.011031893081963062, 0.03817737102508545, -0.02967708744108677, 0.0037904810160398483, -0.019513700157403946, -0.02967708744108677, 0.007123609539121389, -0.05569535493850708, 0.051112592220306396, 0.05754324421286583, -0.011272118426859379, 0.06430651247501373, -0.021232236176729202, -0.006074932869523764, -0.05344093218445778, -0.029972748830914497, 0.01097645703703165, 0.04686244949698448, -0.011965077370405197, 0.0467885322868824, -0.008638878352940083, -0.02259967476129532, 0.04571675881743431, -0.030952129513025284, 0.048488590866327286, 0.04342537745833397, 0.04301884025335312, -0.06426955759525299, 0.03969264030456543, -0.03202390298247337, -0.02306164614856243, -0.054364874958992004, -0.01244552806019783, -0.08034618198871613, 0.04109703749418259, 0.0353870615363121, -0.031377144157886505, 0.04294492304325104, 0.002205916680395603, 0.015836402773857117 ]
10,942
burnman.classes.elasticsolution
set_composition
Set the composition for this solution. Resets cached properties. :param molar_fractions: Molar abundance for each endmember, needs to sum to one. :type molar_fractions: list of float
def set_composition(self, molar_fractions): """ Set the composition for this solution. Resets cached properties. :param molar_fractions: Molar abundance for each endmember, needs to sum to one. :type molar_fractions: list of float """ assert len(self.solution_model.endmembers) == len(molar_fractions) if self.solution_type != "mechanical": assert sum(molar_fractions) > 0.9999 assert sum(molar_fractions) < 1.0001 self.reset() self.molar_fractions = np.array(molar_fractions) if self.temperature is not None: _ = self.molar_volume
(self, molar_fractions)
[ 0.04211268201470375, -0.0029782471247017384, -0.03422986716032028, 0.026258286088705063, -0.025193041190505028, -0.00842874962836504, -0.015490435995161533, -0.03518858924508095, -0.05588984861969948, 0.026329301297664642, 0.001549043576233089, 0.0034487303346395493, 0.02082553692162037, 0.021056341007351875, -0.05091870576143265, 0.011779832653701305, -0.016573434695601463, -0.016156213358044624, 0.004549483302980661, 0.019795799627900124, 0.0015201931819319725, -0.05532171577215195, -0.031868577003479004, 0.034744735807180405, -0.0012749648885801435, -0.018322210758924484, -0.00036451348569244146, 0.04094091057777405, 0.005335101392120123, -0.0008699499885551631, -0.011620045639574528, 0.038916945457458496, -0.05205496400594711, 0.025193041190505028, 0.02725251391530037, -0.014922305010259151, 0.06608068943023682, 0.034070082008838654, -0.06686186790466309, 0.06924091279506683, 0.030430495738983154, 0.029844610020518303, 0.03085659258067608, 0.05020854249596596, -0.019493980333209038, -0.020470455288887024, 0.012383471243083477, 0.085574671626091, 0.05894354730844498, 0.0167864840477705, 0.02719925157725811, -0.041153959929943085, -0.020523717626929283, -0.00008377707126783207, 0.00969372782856226, 0.10432297736406326, 0.05496663600206375, 0.0654415413737297, 0.059724729508161545, -0.02719925157725811, -0.03082108497619629, -0.020381685346364975, -0.001950729638338089, -0.044065628200769424, -0.015215247869491577, -0.016777606680989265, 0.008961372077465057, 0.04133149981498718, 0.0373900942504406, 0.004116727504879236, -0.03140696883201599, 0.03018193691968918, -0.0023723889607936144, 0.000471870182082057, 0.026861924678087234, -0.0014669309603050351, -0.0033688368275761604, 0.03288055956363678, -0.03495778515934944, 0.03080333024263382, -0.05209047347307205, 0.0025055445730686188, -0.03410559147596359, -0.0034664843697100878, 0.01363513432443142, -0.02134040556848049, 0.01258764322847128, -0.015197493135929108, 0.06853075325489044, -0.051912933588027954, 0.0006341536063700914, 0.013004864566028118, 0.02006211131811142, 0.04704831540584564, 0.00837548729032278, 0.04097642004489899, -0.046835266053676605, -0.05510866641998291, -0.029862364754080772, -0.03160226345062256, -0.04069235548377037, 0.005703498609364033, -0.006231682375073433, 0.015410542488098145, 0.01540166512131691, -0.029844610020518303, 0.002811802551150322, -0.06494443118572235, 0.0021782037802040577, -0.03563243895769119, -0.04917880520224571, 0.06554806977510452, -0.037425603717565536, 0.06824668496847153, -0.04282284155488014, -0.0015568109229207039, -0.029613807797431946, -0.04140251874923706, 0.08976463228464127, 0.0012416760437190533, 0.04012422263622284, 0.026719892397522926, -0.003934748005121946, 0.03817127272486687, 0.06000879406929016, 0.04726136475801468, 0.030430495738983154, 0.007882812060415745, -0.030306216329336166, -0.03728356957435608, 0.02565464749932289, -0.000018534288756200112, -0.026222778484225273, -0.06434079259634018, -0.02361292764544487, 0.031211674213409424, -0.05280063673853874, -0.09217918664216995, -0.02011537365615368, 0.030430495738983154, -0.019600505009293556, 0.03735458478331566, 0.003624051809310913, 0.05500214174389839, -0.03834881633520126, 0.07122937589883804, 0.009649342857301235, -0.015570329502224922, -0.10645347088575363, -0.014052354730665684, -0.0053262244910001755, -0.0014591634972020984, -0.010119826532900333, -0.05351080000400543, -0.013839306309819221, -0.012942724861204624, 0.017336860299110413, 0.03170878812670708, 0.00860185269266367, 0.047545429319143295, -0.02721700631082058, -0.03080333024263382, 0.03667993098497391, 0.0642697736620903, 0.006369276437908411, -0.048965755850076675, 0.03085659258067608, -0.08436739444732666, -0.05365283414721489, 0.040514811873435974, 0.014673748053610325, -0.026702137663960457, -0.09679524600505829, -0.005201945547014475, 0.04424316808581352, -0.0074389600194990635, 0.028317758813500404, -0.04875270649790764, -0.02150019258260727, 0.0007395684369839728, 0.0007673091604374349, -0.04015973210334778, 0.009800252504646778, -0.004223252180963755, 0.035525914281606674, 0.04363952949643135, 0.006497993599623442, -0.011744325049221516, 0.033572968095541, -0.06948947161436081, 0.02361292764544487, -0.001106301206164062, -0.04282284155488014, 0.02872610278427601, 0.020559225231409073, -0.05805584415793419, 0.056209418922662735, -0.054647061973810196, 0.0157301165163517, -0.017558787018060684, -0.05237453803420067, -0.034691475331783295, 0.053155720233917236, -0.02927647903561592, 0.02134040556848049, 0.029791347682476044, 0.0002682530612219125, -0.007310242857784033, 0.04580552875995636, -0.0010463811922818422, 0.024056779220700264, -0.020932061597704887, 0.055996373295784, -0.0128983398899436, -0.01580113172531128, -0.0387394055724144, 0.0747801885008812, -0.06231682375073433, 0.05063463747501373, 0.05365283414721489, -0.013351068831980228, 0.005654674954712391, -0.02584994211792946, -0.0055792201310396194, -0.06522849202156067, 0.002002882305532694, -0.059050071984529495, 0.0167864840477705, -0.03707052022218704, -0.024873467162251472, -0.05074116215109825, -0.007168210111558437, -0.06824668496847153, -0.06331105530261993, -0.04932083562016487, 0.02940075844526291, 0.003430976066738367, 0.05574781447649002, -0.0573456808924675, 0.012676414102315903, -0.01000442449003458, -0.04076337069272995, 0.0018131355755031109, 0.053865883499383926, -0.01775408163666725, -0.02423432096838951, 0.03243670612573624, 0.006351522635668516, -0.008628482930362225, 0.03087434731423855, -0.01363513432443142, -0.009951162151992321, -0.04502435028553009, 0.015233001671731472, 0.055428240448236465, -0.0690278634428978, -0.05557027459144592, 0.041935138404369354, 0.06348859518766403, -0.018304457888007164, -0.008335541002452374, -0.07314681261777878, 0.07225911319255829, 0.012880586087703705, 0.010039933025836945, 0.012623151764273643, -0.027607595548033714, 0.013803797774016857, -0.05248106271028519, -0.013324437662959099, 0.04935634508728981, 0.004931196104735136, 0.011318226344883442, 0.026276040822267532, -0.014300912618637085, 0.04378156363964081, 0.026187269017100334, -0.05500214174389839, -0.01574786938726902, 0.05855295807123184, 0.06753652542829514, -0.01924542337656021, 0.0124722421169281, 0.030199691653251648, 0.035401638597249985, 0.02865508757531643, -0.02151794545352459, -0.018979111686348915, 0.03888143599033356, -0.006679973099380732, -0.04928532987833023, -0.015179739333689213, 0.035525914281606674, -0.009533941745758057, 0.04790050908923149, -0.012170422822237015, 0.008384364657104015, -0.014105617068707943, 0.009791376069188118, -0.030927609652280807, 0.002281399443745613, -0.008624045178294182, 0.014558346010744572, 0.018304457888007164, -0.03169103339314461, -0.03149573877453804, 0.034052327275276184, 0.004107850603759289, 0.03075006790459156, 0.002627603942528367, 0.054078929126262665, 0.06877931207418442, -0.009800252504646778, 0.043959103524684906, 0.022636452689766884, 0.050386082381010056, 0.04388808831572533, -0.03987566754221916, 0.011575660668313503, 0.019032374024391174, 0.003968037199229002, -0.05656450241804123, 0.006777620408684015, 0.019529489800333977, 0.026062991470098495, -0.016449155285954475, -0.009418539702892303, 0.024500632658600807, 0.006968476809561253, -0.03014642931520939, -0.08756312727928162, -0.03391029313206673, -0.034726981073617935, 0.018091408535838127, 0.014567223377525806, -0.03012867458164692, 0.02086104452610016, -0.10219249129295349, 0.07825998961925507, -0.04101192578673363, 0.08330214768648148, 0.001337104244157672, -0.033342164009809494, 0.00518862996250391, 0.005876600742340088, 0.03438965603709221, 0.036857470870018005, 0.0015679072821512818, -0.030341723933815956, -0.023808222264051437, -0.06632924824953079, 0.003852635622024536, -0.0021193933207541704, 0.031069641932845116, -0.004598306957632303, 0.06842422485351562, -0.036182817071676254, -0.0157301165163517, -0.03007541410624981, -0.011176194064319134, 0.0085840979591012, -0.018748309463262558, 0.02155345492064953, -0.009312015026807785, -0.02572566270828247, -0.051806408911943436, -0.06284944713115692, 0.033342164009809494, 0.019050128757953644, -0.04410113766789436, 0.005068790167570114, -0.02284950204193592, 0.015960918739438057, -0.02371945232152939, -0.014363051392138004, 0.06352410465478897, -0.04086989536881447, 0.03653790056705475, -0.012765184044837952, -0.04385257884860039, 0.03920101001858711, -0.03147798404097557, -0.027288023382425308, 0.012232561595737934, -0.007598746567964554, 0.005672428756952286, 0.07435408979654312, -0.03506430983543396, 0.0487171970307827, 0.05351080000400543, 0.04204166308045387, 0.00928538478910923, 0.044740285724401474, -0.01463823951780796, -0.008988003246486187, 0.0067643048241734505, 0.047616444528102875, -0.0034487303346395493, -0.04289386048913002, 0.026009729132056236, 0.08024844527244568, -0.10027504712343216, 0.020346177741885185, 0.028264496475458145, -0.00266977003775537, -0.015295140445232391, 0.009560572914779186, -0.0028961345087736845, -0.00413226243108511, -0.018481997773051262, -0.015534820966422558, -0.0316377729177475, 0.0402662567794323, -0.012632028199732304, -0.045379430055618286, 0.05507316067814827, -0.02441186085343361, -0.11788709461688995, 0.02924097143113613, 0.026027482002973557, 0.036715440452098846, -0.013546363450586796, 0.03930753469467163, 0.05443401262164116, 0.017248090356588364, -0.014558346010744572, 0.010501539334654808, -0.03561468794941902, -0.03912999480962753, -0.012205930426716805, -0.04023074731230736, 0.05067014694213867, -0.04374605417251587, -0.018126916140317917, 0.053155720233917236, -0.0458410382270813, -0.029507283121347427, 0.04562798887491226, -0.07591644674539566, 0.009764744900166988, 0.021766502410173416, -0.006364838220179081, -0.007332435343414545, -0.07122937589883804, -0.027714120224118233, -0.002195957815274596, -0.017141565680503845, -0.0012805131264030933, -0.055534765124320984, 0.054789092391729355, -0.005570342764258385, 0.04452723637223244, -0.031158411875367165, 0.011966250836849213, 0.04669323191046715, 0.015321771614253521, 0.06576111912727356, -0.014194387942552567, -0.01853526011109352, -0.033572968095541, 0.005916547495871782, -0.005517080891877413, 0.014789149165153503, 0.05297817662358284, 0.014593854546546936, 0.024820204824209213, 0.04367503896355629, -0.00428761076182127, -0.06153564527630806, 0.014505084604024887, -0.017727449536323547, -0.024198811501264572, 0.04221920296549797, -0.0031003064941614866, -0.010208596475422382, -0.047509919852018356, -0.04289386048913002, 0.03852635622024536, -0.031886328011751175, -0.058375418186187744, -0.04136700928211212, 0.022316880524158478, -0.011158440262079239, 0.009063458070158958, -0.0186950471252203, 0.007323558442294598, 0.02995113469660282, -0.051202770322561264, -0.022636452689766884, -0.06434079259634018, -0.034673720598220825, 0.010608063079416752, -0.019458472728729248, 0.05521519109606743, 0.010954268276691437, 0.061926234513521194, -0.010448276996612549, 0.0006458046846091747, 0.01567685417830944, -0.01612958312034607, 0.007536607328802347, 0.05003099888563156, 0.005033282097429037, -0.04850414767861366, 0.01720370538532734, -0.0025166410487145185, -0.02497999183833599, -0.07201055437326431, -0.01108742319047451, -0.005987563636153936, -0.0035197464749217033, -0.08969362080097198, -0.02860182523727417, 0.008140246383845806, 0.02569015510380268, 0.023808222264051437, -0.04239674657583237, -0.026187269017100334, -0.013120265677571297, -0.006848636548966169, -0.01756766252219677, -0.012942724861204624, -0.007323558442294598, 0.058375418186187744, 0.019724784418940544, -0.0007639803225174546, -0.030519265681505203, -0.05585433915257454, 0.0019019059836864471, -0.026719892397522926, -0.029223216697573662, -0.042467761784791946, -0.03570345789194107, 0.10247655212879181, 0.018286703154444695, 0.010537046939134598, -0.004780286457389593, -0.03277403488755226, -0.006875267717987299, 0.02434084564447403, -0.08401231467723846, 0.048397623002529144, 0.04775847867131233, -0.063275545835495, 0.04591205343604088, -0.0036773139145225286, 0.018783817067742348, -0.024749189615249634, 0.0515933595597744, 0.009338646195828915, 0.02505100890994072, 0.01758541725575924, -0.06086099147796631, 0.016999533399939537, 0.03934304416179657, -0.015215247869491577, 0.007674201391637325, -0.019511735066771507, -0.00463381502777338, -0.0185175072401762, 0.027394546195864677, 0.0035286236088722944, 0.037603143602609634, -0.020292915403842926, 0.006063018459826708, 0.006000879220664501, 0.040514811873435974, -0.00330225913785398, -0.015596959739923477, 0.007896127179265022, -0.015738992020487785, 0.03272077068686485, 0.004900126252323389, 0.007913881912827492, 0.0263825636357069, -0.026808662340044975, 0.02709272690117359, -0.009986670687794685, -0.013883691281080246, -0.02640031836926937, 0.005357293877750635, -0.05713263154029846, -0.0030359479133039713, -0.019813554361462593, 0.04388808831572533, 0.05343978479504585, 0.008078106679022312, 0.050386082381010056, 0.055428240448236465, -0.0002319126797374338, -0.012765184044837952, -0.016999533399939537, 0.028069201856851578, -0.03225916624069214, -0.023133568465709686, -0.0030004396103322506, -0.08543264120817184, -0.039023470133543015, 0.057487715035676956, 0.0221570935100317, -0.0092587536200881, 0.017700819298624992, -0.0517708994448185, 0.05063463747501373, -0.022352388128638268, -0.025903204455971718, 0.006364838220179081, 0.03731907904148102, 0.053333260118961334, 0.03153124824166298, -0.023950254544615746, 0.013723904266953468, -0.024181058630347252, -0.041864123195409775, -0.00312027963809669, -0.03763865306973457, -0.03215264156460762, 0.010918759740889072, 0.0071504563093185425, 0.051238276064395905, -0.03664442151784897, 0.019156653434038162, -0.05652899295091629, 0.036023031920194626, -0.03126493841409683, 0.013644011691212654, 0.02206832356750965, -0.0515933595597744, -0.010075440630316734, -0.06434079259634018, 0.04101192578673363, -0.009462925605475903, -0.02641807310283184, -0.010980899445712566, 0.007492222357541323, -0.03630709648132324, -0.01256101205945015, -0.0005034946370869875, -0.0064758011139929295, 0.00428761076182127, 0.019600505009293556, -0.03421211242675781, 0.040479306131601334, -0.012907217256724834, -0.04953388497233391, 0.012933848425745964, 0.004221032839268446, -0.04715484008193016, 0.0018996866419911385, -0.005699059925973415, -0.021748749539256096, 0.06657780706882477, 0.004327557049691677, 0.011646676808595657, -0.025565877556800842, -0.0414380244910717, -0.0012971574906259775, -0.00879270862787962, 0.005410556215792894, -0.0026009727735072374, -0.030519265681505203, 0.013493101112544537, 0.0470128059387207, -0.03449618071317673, 0.10432297736406326, -0.0016533487942069769, -0.00013516681792680174, -0.0051930686458945274, 0.0011223908513784409, 0.06551256030797958, -0.036253832280635834, -0.016830869019031525, -0.018908096477389336, 0.015579205937683582, -0.01992007903754711, 0.03934304416179657, -0.006169543135911226, 0.008681745268404484, 0.015570329502224922, 0.03305809944868088, 0.023133568465709686, 0.04225471243262291, -0.01394583098590374, -0.014611608348786831, 0.0034021257888525724, 0.041899632662534714, -0.04172208905220032, 0.021837519481778145, 0.05454053729772568, -0.041224975138902664, -0.0016844184137880802, 0.0373900942504406, -0.019902324303984642, -0.036094047129154205, 0.013857060112059116, 0.048397623002529144, -0.046089593321084976, -0.02430533617734909, 0.017505524680018425, 0.006688850000500679, 0.05642246827483177, 0.03488676995038986, -0.039662618190050125, 0.0613936111330986, -0.014416313730180264, -0.027430055662989616, 0.015206370502710342, 0.029223216697573662, -0.0498889684677124, -0.04434969276189804, 0.0016111828153952956, 0.08884142339229584, -0.01993783377110958, -0.043355464935302734, 0.047545429319143295, 0.0002721367636695504, 0.04502435028553009, 0.05216148868203163, 0.011735447682440281, -0.03456719592213631, -0.002720812801271677, 0.02082553692162037, 0.07605848461389542, 0.007953828200697899, 0.05958269536495209, -0.05578332394361496, 0.05496663600206375, 0.009871268644928932, -0.0018908096244558692, 0.006804251577705145, -0.0035508160945028067, 0.03746110945940018, 0.0044030118733644485, 0.028459791094064713, 0.003639586502686143, -0.04516638070344925, 0.011735447682440281, 0.02783839963376522, -0.03383927792310715, 0.03561468794941902, 0.01106079202145338, -0.06533502042293549, -0.05063463747501373, -0.025530368089675903, -0.074425108730793, 0.017683064565062523, -0.009249876253306866, 0.02011537365615368, 0.002927204128354788, -0.01860627718269825, -0.018118038773536682, -0.004061245825141668, 0.023772714659571648, 0.056919582188129425, -0.01849975250661373, -0.0329870842397213, 0.041828613728284836, -0.0027030587662011385, 0.01358187198638916, -0.04626713693141937, -0.04502435028553009, -0.006311575882136822, 0.05059913173317909, 0.02212158404290676, -0.01671546697616577, 0.06384367495775223, 0.01711493358016014, -0.03795822337269783 ]
10,943
burnman.classes.elasticsolution
set_method
null
def set_method(self, method): for i in range(self.n_endmembers): self.solution_model.endmembers[i][0].set_method(method) # note: do not set self.method here! self.reset()
(self, method)
[ 0.03847936913371086, 0.01640273444354534, 0.01786419376730919, 0.020374465733766556, -0.12303770333528519, -0.054778940975666046, -0.004491839092224836, 0.015886925160884857, 0.041986871510744095, 0.02763018198311329, -0.028300734236836433, -0.021887505427002907, 0.052199896425008774, 0.01650589518249035, -0.05849276855587959, 0.005162390880286694, 0.01968671940267086, 0.05378171056509018, -0.021715570241212845, -0.0034000426530838013, 0.00027993397088721395, 0.030123259872198105, 0.04346552491188049, 0.003761109197512269, 0.03093136101961136, 0.07537692785263062, -0.005519159138202667, 0.027114372700452805, 0.0856931135058403, -0.003819137578830123, -0.06726152449846268, -0.016858365386724472, -0.055501073598861694, -0.01353139616549015, 0.06523267924785614, -0.021216953173279762, 0.004595000762492418, 0.045907024294137955, -0.03051871433854103, 0.11017685383558273, -0.017228029668331146, -0.005544949322938919, 0.04370623826980591, 0.030312390998005867, -0.005918911192566156, -0.030914166942238808, 0.04535682499408722, 0.05278448015451431, 0.044531531631946564, -0.06021213158965111, -0.009207194671034813, 0.010316184721887112, 0.07372633367776871, -0.03638174757361412, 0.00152271194383502, 0.07317613810300827, -0.0037460646126419306, 0.02496516704559326, 0.058389607816934586, 0.012035549618303776, 0.014296513050794601, -0.035831548273563385, -0.007307297550141811, -0.03531574085354805, 0.019927430897951126, -0.011897999793291092, -0.014382481575012207, 0.03971731290221214, 0.06024651974439621, 0.04026750847697258, 0.007419056259095669, 0.02056359499692917, 0.013539993204176426, 0.021113792434334755, 0.023538095876574516, 0.015474277548491955, -0.05082440376281738, 0.03381989151239395, 0.0016699325060471892, -0.025326233357191086, -0.01620500721037388, 0.04838290810585022, 0.005648111458867788, -0.02465568296611309, -0.05164970085024834, -0.011940984055399895, 0.02931515872478485, -0.04968962445855141, -0.011855015531182289, -0.09263934195041656, -0.027148760855197906, -0.02298789843916893, -0.02417425997555256, 0.005381609778851271, -0.02132011577486992, 0.01666923612356186, 0.013264894485473633, -0.06794927269220352, -0.09979189932346344, -0.03813549876213074, -0.03700071573257446, -0.001287373946979642, 0.0480734221637249, 0.01224187295883894, 0.026529788970947266, -0.016308169811964035, -0.026650143787264824, -0.05333467572927475, -0.05006788298487663, 0.04325920343399048, -0.037482138723134995, 0.07173187285661697, -0.016763800755143166, -0.0105053149163723, 0.005691095255315304, 0.01879264973104, -0.036588069051504135, -0.015285147354006767, 0.03437009081244469, 0.0062283966690301895, 0.032977405935525894, 0.006340155377984047, -0.04817658290266991, -0.013643154874444008, -0.022729994729161263, -0.037207040935754776, 0.016763800755143166, 0.054331906139850616, 0.04521927610039711, -0.10336817055940628, -0.03321811556816101, -0.0014109532348811626, -0.023073866963386536, 0.04913942888379097, -0.01608465239405632, -0.005764168221503496, -0.04322481527924538, -0.05457261949777603, -0.018380003049969673, 0.045597538352012634, 0.00010054250742541626, 0.03500625491142273, 0.06337576359510422, 0.027905279770493507, -0.01906774938106537, 0.05440068244934082, -0.02116537280380726, 0.058836642652750015, -0.03531574085354805, -0.020047785714268684, -0.034954674541950226, -0.01142517477273941, 0.01548287458717823, -0.018809843808412552, 0.006490599829703569, -0.0054632797837257385, -0.017090480774641037, 0.05378171056509018, -0.009482293389737606, -0.04098964110016823, -0.021388890221714973, -0.01789858192205429, -0.05426313355565071, 0.009791779331862926, 0.024260228499770164, 0.01579236052930355, 0.0008865471463650465, -0.02341773919761181, -0.05075563117861748, 0.05137460306286812, -0.03438728302717209, -0.030295196920633316, -0.037963561713695526, 0.04631967097520828, 0.0795721709728241, 0.02661575749516487, 0.03693194314837456, 0.000932755065150559, 0.012714697979390621, 0.020391659811139107, 0.010831994004547596, -0.023091061040759087, 0.011012527160346508, -0.051443375647068024, 0.012155904434621334, 0.029968516901135445, -0.014967065304517746, -0.020512014627456665, -0.05367854982614517, -0.03679439425468445, 0.03927027806639671, 0.011296222917735577, -0.007913373410701752, -0.007621081545948982, -0.002312544733285904, -0.01435669045895338, -0.011089898645877838, 0.02539500966668129, 0.0006291798199526966, -0.017374174669384956, 0.0015828895848244429, 0.023555289953947067, 0.024741649627685547, 0.016626251861453056, -0.003322671167552471, 0.08163540810346603, 0.022626832127571106, 0.005841539707034826, -0.005613724235445261, -0.012835053727030754, 0.04116157814860344, -0.011339206248521805, 0.03258195146918297, -0.026375045999884605, 0.0005641663447022438, -0.024604100733995438, 0.07771526277065277, -0.021543633192777634, -0.017339788377285004, 0.035969097167253494, 0.014201948419213295, 0.013952639885246754, -0.0316019132733345, -0.01755470782518387, -0.034799929708242416, -0.004238232504576445, -0.020959049463272095, -0.044256433844566345, -0.025876430794596672, -0.04542560130357742, -0.0028025635983794928, 0.03424973413348198, -0.0481421984732151, -0.02089027501642704, -0.04673231765627861, 0.007715646643191576, 0.013806493952870369, 0.025756075978279114, -0.07159432768821716, 0.025962399318814278, -0.03215210884809494, 0.025618525221943855, -0.01134780328720808, 0.03947659954428673, -0.05646391957998276, 0.05395364761352539, 0.04552876204252243, 0.004560613539069891, -0.01403860840946436, 0.009680020622909069, 0.026082754135131836, -0.043775010854005814, -0.061828333884477615, 0.011124285869300365, 0.02584204263985157, -0.0360722616314888, -0.019789882004261017, 0.03275388851761818, 0.0541255846619606, 0.026254691183567047, 0.008871919475495815, -0.050858791917562485, 0.027011211961507797, 0.002336186124011874, 0.045150503516197205, 0.07241962105035782, -0.00007146107236621901, 0.053403452038764954, -0.03937343880534172, 0.004560613539069891, 0.04762638732790947, -0.06946231424808502, -0.004543419927358627, 0.04123035445809364, 0.012878037989139557, 0.0825982540845871, -0.06636745482683182, -0.02886812388896942, -0.09594052284955978, -0.0526125431060791, 0.10240533202886581, -0.026289077475667, 0.016110442578792572, 0.025291847065091133, -0.03648490831255913, 0.03512661159038544, 0.026667337864637375, 0.06592041999101639, 0.01142517477273941, -0.0033785505220294, 0.023985130712389946, 0.023177029564976692, 0.018053323030471802, 0.0232801903039217, 0.03954537585377693, -0.05364416167140007, 0.00022392031678464264, 0.021079404279589653, 0.050721243023872375, -0.03445605933666229, -0.032547563314437866, -0.04790148511528969, -0.06626429408788681, -0.023486515507102013, -0.002523166825994849, -0.04267461970448494, 0.05498526617884636, 0.026976823806762695, 0.04714496433734894, -0.0660235807299614, 0.005940403323620558, 0.06478564441204071, -0.10446856915950775, -0.04312165454030037, 0.0660235807299614, 0.037482138723134995, -0.016789590939879417, 0.010917962528765202, 0.009104033000767231, 0.042433906346559525, -0.04587263613939285, -0.007113869301974773, -0.010427943430840969, 0.009714407846331596, 0.015723586082458496, 0.04446275904774666, -0.02687366120517254, 0.006916142534464598, -0.0646480917930603, -0.007986446842551231, 0.023211415857076645, -0.006873158272355795, 0.042124420404434204, 0.027423858642578125, -0.028644606471061707, 0.020855886861681938, 0.0021266385447233915, 0.00028745620511472225, 0.023228609934449196, 0.03485151007771492, 0.02448374591767788, 0.019738299772143364, -0.004158711992204189, -0.029418321326375008, 0.08954448252916336, 0.057770635932683945, 0.001063856529071927, 0.02042604610323906, 0.041092801839113235, 0.014597401954233646, 0.0005910314503125846, -0.021578019484877586, 0.017520321533083916, -0.017253819853067398, 0.004530524369329214, -0.02959025651216507, -0.000700103584676981, -0.012207485735416412, -0.013539993204176426, -0.06323821097612381, -0.032238077372312546, -0.03292582556605339, -0.04298410564661026, -0.0023017986677587032, 0.028197571635246277, -0.018964586779475212, -0.03634735941886902, 0.02795686200261116, 0.05622320994734764, -0.031636301428079605, 0.021251341328024864, -0.051787249743938446, 0.010780413635075092, 0.0225236713886261, -0.002965903142467141, 0.0585615448653698, 0.024260228499770164, 0.05388487130403519, 0.02283315546810627, -0.021079404279589653, 0.04762638732790947, -0.08968203514814377, 0.00992073118686676, 0.04645721986889839, 0.02391635626554489, 0.006688326597213745, 0.07228206843137741, -0.008992274291813374, 0.051615312695503235, 0.03562522679567337, 0.036106646060943604, -0.0390639528632164, -0.0690840557217598, -0.028008442372083664, -0.015053032897412777, -0.010634267702698708, -0.0029078747611492872, -0.03964853659272194, 0.0002451437176205218, 0.003988924901932478, 0.005867330357432365, -0.0072944024577736855, 0.01745154708623886, 0.062412917613983154, 0.035092223435640335, -0.015577439218759537, 0.011743257753551006, 0.02269560657441616, 0.01480372529476881, -0.06399473547935486, -0.00870857946574688, -0.00601347628980875, -0.02044324018061161, -0.012095727026462555, 0.025807656347751617, 0.0035504871048033237, 0.050583694130182266, -0.029968516901135445, 0.07551447302103043, 0.035659611225128174, 0.006215501576662064, 0.04081770405173302, -0.011975371278822422, 0.03038116544485092, -0.0038707186467945576, -0.03394024819135666, 0.023830387741327286, -0.06365086138248444, -0.018603520467877388, 0.0691184401512146, -0.025515364482998848, 0.03775723651051521, -0.04133351519703865, 0.04329359158873558, -0.010565493255853653, -0.0646137073636055, -0.04222758486866951, -0.03227246552705765, -0.011064108461141586, 0.02781931310892105, -0.01997901126742363, -0.018809843808412552, -0.03345882520079613, -0.06323821097612381, -0.018242454156279564, -0.05797696113586426, 0.0248104240745306, -0.024225840345025063, 0.007505024783313274, -0.008459271863102913, -0.026237497106194496, 0.05120266601443291, -0.012052742764353752, 0.016643445938825607, 0.042605843394994736, 0.004405870568007231, 0.017090480774641037, -0.012508374638855457, 0.06884334236383438, 0.0006624925299547613, -0.01893019862473011, 0.049827173352241516, -0.07049392908811569, 0.011536933481693268, -0.023211415857076645, 0.012061339803040028, -0.006589462980628014, 0.0036987820640206337, -0.030432745814323425, -0.005678200162947178, 0.006224098149687052, -0.08479904383420944, -0.04178055003285408, -0.05694534257054329, 0.014081592671573162, 0.005209673661738634, 0.00031700776889920235, -0.009611246176064014, -0.05801134556531906, -0.06726152449846268, -0.03679439425468445, -0.0195147842168808, 0.017193641513586044, 0.020976243540644646, -0.015517261810600758, -0.032650724053382874, -0.005897419061511755, -0.024105485528707504, -0.07860933244228363, -0.055225975811481476, 0.015276550315320492, -0.014829516410827637, -0.02133730985224247, 0.03951098769903183, -0.003997521474957466, 0.038685694336891174, -0.0018526149215176702, 0.0063315583392977715, -0.020701143890619278, -0.04735128954052925, 0.026976823806762695, 0.024604100733995438, 0.024380583316087723, -0.034180961549282074, 0.011029721237719059, 0.029418321326375008, 0.005020543467253447, -0.006735608913004398, -0.011837822385132313, 0.0016000833129510283, 0.07572079449892044, -0.03741336613893509, -0.045012954622507095, -0.007505024783313274, 0.0435343012213707, 0.01443406194448471, -0.03775723651051521, 0.018242454156279564, 0.027561407536268234, 0.03230685368180275, 0.003842778969556093, -0.05182163789868355, -0.023228609934449196, 0.01668643020093441, 0.0054632797837257385, -0.006215501576662064, -0.050411757081747055, 0.00810250360518694, 0.036003485321998596, 0.0011175867402926087, 0.07042515277862549, 0.0510651171207428, 0.03185981884598732, 0.032375626266002655, 0.012620133347809315, 0.02133730985224247, 0.04391255974769592, -0.06103742867708206, 0.038995180279016495, 0.05202795937657356, -0.0360722616314888, 0.013350863009691238, -0.05226866900920868, -0.023847581818699837, -0.0022566653788089752, -0.05460700765252113, 0.0043650357984006405, -0.0886504203081131, 0.06430421769618988, -0.014098785817623138, -0.008209964260458946, 0.029830968007445335, -0.0360722616314888, 0.04700741544365883, 0.009645633399486542, -0.02601397968828678, 0.001861211727373302, 0.015826746821403503, 0.04817658290266991, 0.015448487363755703, -0.06399473547935486, -0.006451914086937904, 0.04298410564661026, -0.012112920172512531, 0.018001742660999298, 0.04793587327003479, 0.013041377067565918, -0.00789188127964735, 0.02541220188140869, -0.045012954622507095, -0.02164679579436779, 0.01770945079624653, -0.01638554036617279, -0.051752861589193344, 0.02135450392961502, 0.02417425997555256, -0.006022072862833738, -0.036141034215688705, -0.05766747519373894, -0.05601688474416733, -0.05873348191380501, 0.006181114353239536, 0.033407244831323624, -0.04264023154973984, -0.04384378716349602, 0.030295196920633316, -0.033424440771341324, 0.04525366425514221, 0.0026413733139634132, 0.025584138929843903, -0.03559083864092827, -0.035522062331438065, -0.029126029461622238, -0.0766836404800415, -0.013256297446787357, 0.06151885166764259, 0.016342556104063988, -0.020512014627456665, -0.006898948922753334, 0.019893042743206024, 0.013333668932318687, 0.023538095876574516, 0.01164009515196085, 0.0540911965072155, 0.0010283946758136153, -0.01786419376730919, -0.06939353793859482, 0.01564621366560459, -0.006163920741528273, 0.058389607816934586, 0.026392240077257156, 0.00024312884488608688, 0.051305826753377914, -0.015379712916910648, -0.022145410999655724, -0.007040796335786581, 0.01548287458717823, 0.026203110814094543, 0.01193238701671362, 0.012431003153324127, -0.0932583138346672, 0.0278021190315485, -0.030879780650138855, -0.0247932318598032, -0.043946947902441025, 0.0285414457321167, 0.00018268244457431138, -0.002098698867484927, 0.012284857220947742, -0.013565783388912678, -0.04601018503308296, -0.05752992630004883, -0.046044573187828064, -0.03203175589442253, 0.022265765815973282, -0.059902649372816086, 0.0060478635132312775, -0.01621360331773758, -0.032255273312330246, -0.021749956533312798, -0.003404341172426939, -0.01923968456685543, 0.027853699401021004, 0.01164009515196085, -0.062275368720293045, 0.038101110607385635, -0.028816543519496918, -0.025291847065091133, -0.015577439218759537, -0.036725617945194244, -0.03440447524189949, -0.00540740042924881, -0.052646931260824203, 0.04497856646776199, 0.03435289487242699, -0.07324491441249847, -0.01970391348004341, -0.002875636564567685, 0.03682877868413925, -0.024844812229275703, -0.03655368089675903, 0.014373884536325932, 0.0218015369027853, -0.06963425129652023, 0.03019203431904316, 0.009422115981578827, 0.005244060885161161, 0.02871338091790676, 0.009430712088942528, 0.0315675251185894, 0.030432745814323425, -0.025738881900906563, -0.018448777496814728, 0.00248018279671669, 0.017099076882004738, 0.0044488548301160336, 0.0006614179001189768, -0.06361647695302963, -0.010350571945309639, 0.034473251551389694, -0.025945205241441727, 0.01819087378680706, -0.025893624871969223, 0.019119329750537872, -0.002602687571197748, 0.0781279057264328, 0.031619105488061905, 0.03786039724946022, 0.02977938763797283, -0.03512661159038544, -0.03820427134633064, -0.03497186675667763, 0.012671713717281818, 0.018981780856847763, 0.029951324686408043, 0.0420900359749794, -0.04927697777748108, -0.09972312301397324, 0.009250178933143616, 0.01819087378680706, 0.03951098769903183, 0.009104033000767231, -0.016944333910942078, 0.014004221186041832, 0.01922249235212803, -0.033269695937633514, 0.012568552047014236, 0.03271950036287308, -0.008360408246517181, 0.0033140743616968393, 0.03590032458305359, 0.013806493952870369, -0.0025876429863274097, -0.008545240387320518, 0.04270900785923004, 0.018414389342069626, 0.008291633799672127, -0.007664065808057785, -0.050549305975437164, 0.020821500569581985, 0.021285727620124817, -0.04728251323103905, 0.013204717077314854, -0.05336906388401985, 0.045907024294137955, 0.011614304967224598, -0.015396906062960625, 0.031051717698574066, -0.042158808559179306, 0.008265843614935875, -0.07276349514722824, -0.00007542366802226752, 0.021578019484877586, 0.02735508419573307, -0.02795686200261116, -0.0676053985953331, -0.02582485042512417, 0.02749263308942318, -0.027303503826260567, 0.04834851995110512, -0.05484771728515625, -0.030278002843260765, 0.010402153246104717, -0.007225628010928631, -0.010032489895820618, 0.039442215114831924, -0.021079404279589653, 0.016342556104063988, 0.011975371278822422, -0.04329359158873558, 0.024896392598748207, 0.04233074560761452, 0.03682877868413925, 0.05006788298487663, 0.02675330638885498, -0.02644382044672966, 0.03951098769903183, 0.037929173558950424, 0.031911399215459824, -0.005931806284934282, -0.030398357659578323, 0.0047325496561825275, 0.0390639528632164, -0.005024841986596584, 0.007552307099103928, 0.06186272203922272, 0.021062210202217102, 0.010789009742438793 ]
10,944
burnman.classes.elasticsolution
set_state
null
def set_state(self, pressure, temperature): Mineral.set_state(self, pressure, temperature) try: _ = self.molar_volume except AttributeError: pass
(self, pressure, temperature)
[ 0.021328741684556007, 0.026107216253876686, 0.03759997338056564, 0.019951004534959793, -0.016245070844888687, -0.01296640932559967, -0.011091643013060093, 0.005088029429316521, 0.004948512185364962, 0.011728191748261452, -0.03976249322295189, 0.005332185421139002, 0.01277457270771265, 0.022165846079587936, -0.0591554269194603, -0.008375410921871662, -0.03106008842587471, 0.013489600270986557, -0.026124656200408936, 0.013323923572897911, -0.019201098009943962, -0.03100776858627796, 0.027293113991618156, 0.06250385195016861, 0.024607403203845024, 0.028949884697794914, 0.010769008658826351, 0.019497573375701904, 0.013062328100204468, -0.06023668870329857, 0.012739693745970726, 0.0314263217151165, 0.02553170546889305, 0.05950422212481499, 0.02326454594731331, 0.026909440755844116, 0.029560275375843048, 0.00706743448972702, -0.044192176312208176, 0.0058204964734613895, -0.009103517979383469, 0.006042852532118559, 0.044715363532304764, 0.05259810388088226, 0.01972428895533085, -0.012155463919043541, 0.05926006659865379, 0.017526889219880104, 0.10394055396318436, 0.005798697005957365, 0.019079020246863365, 0.03958809748291969, -0.0028884487692266703, 0.0038781510666012764, -0.0018791266484186053, 0.019968444481492043, 0.0745023563504219, 0.059608861804008484, -0.016253791749477386, -0.022287923842668533, -0.008741644211113453, 0.047087162733078, -0.008776524104177952, -0.0985691249370575, -0.0042879837565124035, -0.04987751320004463, -0.003426899202167988, 0.05939958244562149, -0.002724951598793268, 0.07227007299661636, -0.0010818057926371694, 0.023735418915748596, -0.015294607728719711, -0.012530417181551456, -0.0014464042615145445, 0.009417432360351086, -0.078687883913517, 0.012905370444059372, -0.06006229296326637, -0.003320080926641822, -0.027641909196972847, -0.004787195008248091, 0.02640368975698948, 0.061876021325588226, -0.051377326250076294, -0.008414650335907936, 0.006164930295199156, 0.03310053050518036, 0.017997760325670242, -0.02436324767768383, 0.0036688747350126505, 0.05706266686320305, -0.020648593083024025, 0.017134495079517365, 0.07847860455513, 0.03693726286292076, -0.02392725460231304, -0.028949884697794914, 0.0023499983362853527, -0.024868998676538467, -0.06986340135335922, -0.0032394223380833864, 0.014483662322163582, -0.07035171240568161, 0.009112237952649593, -0.0432155504822731, 0.0075470260344445705, -0.002522215247154236, 0.060794759541749954, -0.05207491293549538, -0.031199606135487556, 0.008048417046666145, -0.07973426580429077, 0.03318772837519646, -0.06954948604106903, 0.016332270577549934, 0.04572686553001404, -0.02983930893242359, -0.04133206605911255, -0.0060908119194209576, 0.012844331562519073, 0.0157218798995018, -0.004822074435651302, 0.025008516386151314, 0.0433201901614666, 0.03969273343682289, 0.051307566463947296, 0.011989787220954895, 0.015957316383719444, -0.0295079555362463, -0.003808392211794853, 0.05849272012710571, -0.009818545542657375, 0.01729145273566246, -0.04457584768533707, -0.008357970975339413, -0.01928829774260521, -0.02432836778461933, -0.023142468184232712, -0.049737997353076935, 0.03805340453982353, 0.015469005331397057, -0.023473823443055153, 0.0003834006784018129, 0.03589088097214699, 0.04485488310456276, -0.02159033715724945, -0.03623967617750168, -0.0011433897307142615, 0.007254911120980978, -0.0073987883515655994, 0.007220031693577766, 0.0314786396920681, 0.005824856460094452, -0.026961760595440865, -0.01258273608982563, 0.009992942214012146, 0.010149899870157242, 0.039902009069919586, 0.012042106129229069, -0.025287549942731857, -0.01687289960682392, 0.009722626768052578, 0.03686750307679176, -0.054063040763139725, -0.037181418389081955, -0.0629572793841362, -0.026246733963489532, -0.014361584559082985, 0.005179587751626968, 0.030938010662794113, -0.040634479373693466, -0.06759624183177948, 0.02757214941084385, 0.03686750307679176, -0.01119628082960844, 0.01846863143146038, -0.05043558403849602, 0.005785617046058178, 0.011030604131519794, 0.0045386794954538345, -0.012050826102495193, -0.06550347805023193, 0.04837770015001297, 0.01845119148492813, -0.037913884967565536, -0.029194040223956108, -0.026246733963489532, -0.008266412653028965, -0.02945563569664955, 0.07247935235500336, 0.008205373771488667, -0.028461573645472527, -0.006195449735969305, 0.025252671912312508, 0.006723000667989254, 0.0745721161365509, -0.08922145515680313, 0.050121668726205826, 0.06557323783636093, 0.015277168713510036, -0.03868123143911362, 0.02748495154082775, 0.03306565061211586, 0.030397379770874977, 0.006583482958376408, 0.016672343015670776, 0.019549893215298653, 0.020142842084169388, -0.020230039954185486, -0.014082550071179867, -0.006919196806848049, -0.003963169641792774, 0.037216298282146454, 0.0014300545444712043, -0.0551791787147522, 0.029804430902004242, -0.0098534245043993, 0.094383604824543, -0.004137566313147545, 0.007507786620408297, 0.006247769109904766, 0.011850269511342049, -0.0006354586803354323, -0.0023935975041240454, 0.030205542221665382, -0.019079020246863365, -0.015878837555646896, -0.051342446357011795, 0.045866385102272034, -0.017509449273347855, 0.030519457533955574, -0.015477725304663181, -0.036414071917533875, -0.032123908400535583, -0.0009046838968060911, 0.015094052068889141, -0.019759168848395348, -0.10024333745241165, 0.003867251332849264, -0.001651320606470108, -0.09005855768918991, 0.016410747542977333, -0.010097580961883068, -0.05545821413397789, -0.0008638096624054015, 0.021747292950749397, 0.04963335767388344, -0.04987751320004463, 0.013341362588107586, -0.02317734807729721, -0.023909814655780792, -0.0022889592219144106, 0.05556285381317139, 0.039134662598371506, -0.03027530200779438, 0.04876137152314186, 0.033222608268260956, -0.012129303999245167, -0.010795168578624725, -0.05455135181546211, -0.06205041706562042, 0.02282855473458767, 0.03784412890672684, 0.03592576086521149, 0.015835238620638847, 0.02317734807729721, 0.0004656942328438163, -0.05155172199010849, -0.019183659926056862, 0.07917619496583939, -0.010333016514778137, -0.012870491482317448, 0.029630033299326897, 0.017710005864501, -0.04848233982920647, 0.03292613476514816, -0.021102024242281914, -0.047714993357658386, -0.011300919577479362, 0.0196196511387825, -0.002132002031430602, 0.0433550700545311, 0.06906117498874664, -0.053714245557785034, -0.01358551811426878, 0.0030410459730774164, 0.0016535005997866392, 0.002524395240470767, -0.04143670201301575, -0.04126230627298355, 0.011780510656535625, -0.029647473245859146, 0.010629490949213505, 0.05633020028471947, -0.028095340356230736, -0.08189678192138672, -0.01658514514565468, 0.03903002664446831, -0.03655359148979187, 0.060411084443330765, -0.08357099443674088, -0.03819292038679123, 0.0176664050668478, -0.008013537153601646, 0.019079020246863365, 0.06128307059407234, 0.030083464458584785, -0.0037190138828009367, -0.032786618918180466, 0.06958436220884323, 0.062713123857975, -0.04175061732530594, 0.017056016251444817, 0.0295079555362463, -0.03454802557826042, 0.022741355001926422, 0.010053981095552444, -0.014448783360421658, 0.04244820401072502, 0.012050826102495193, -0.053225934505462646, -0.023491261526942253, 0.0177361648529768, -0.040634479373693466, 0.011710751801729202, -0.009713907726109028, -0.021032266318798065, -0.0007144822739064693, -0.008911681361496449, -0.09954574704170227, 0.04209941253066063, 0.047784749418497086, -0.026961760595440865, -0.017858242616057396, -0.042622603476047516, -0.016402028501033783, -0.034844499081373215, -0.008266412653028965, -0.012425779365003109, 0.048168424516916275, 0.031147286295890808, -0.021799612790346146, 0.018747666850686073, 0.008375410921871662, 0.07896691560745239, 0.028897566720843315, -0.06487564742565155, 0.0549699030816555, 0.0030475857201963663, -0.10087116807699203, 0.03983225300908089, -0.029647473245859146, -0.0022911392152309418, 0.015381806530058384, 0.000051195027481298894, -0.017771044746041298, 0.05158660188317299, -0.03250758349895477, -0.017134495079517365, -0.007071794476360083, -0.033309806138277054, -0.026124656200408936, -0.02282855473458767, 0.007564465515315533, -0.032123908400535583, -0.01571316085755825, 0.0074118683114647865, -0.012861771509051323, -0.005798697005957365, 0.029246360063552856, -0.09905743598937988, -0.056818511337041855, 0.024258607998490334, 0.006343687418848276, 0.06763111799955368, -0.022985510528087616, -0.008009177632629871, 0.03510609641671181, 0.003509737551212311, 0.05608604475855827, -0.047226682305336, 0.014457503333687782, -0.00216579157859087, 0.03983225300908089, -0.00004080614962731488, -0.01886974461376667, -0.04014616459608078, 0.03465266525745392, 0.040704235434532166, 0.018189596012234688, 0.014204627834260464, 0.04987751320004463, -0.02396213449537754, 0.057690493762493134, 0.03027530200779438, 0.03979737311601639, -0.05259810388088226, 0.01379479467868805, 0.004017668776214123, -0.020979946479201317, -0.0551442988216877, -0.07980401813983917, -0.0016208011656999588, 0.027415193617343903, -0.004468920640647411, 0.028461573645472527, 0.02521779201924801, -0.042727239429950714, -0.07652536034584045, 0.03385043889284134, 0.021433379501104355, -0.03069385513663292, -0.02249719947576523, -0.013053608126938343, 0.017805922776460648, 0.06473612785339355, -0.09250011295080185, 0.04164598137140274, 0.0037255538627505302, 0.01239089947193861, 0.040634479373693466, 0.030955450609326363, -0.008000457659363747, 0.03822780027985573, -0.010612051002681255, 0.019410375505685806, -0.00620416970923543, 0.010158619843423367, 0.062713123857975, 0.0035947561264038086, -0.00921687576919794, -0.039518337696790695, -0.0005869545857422054, 0.023334305733442307, -0.0005858645890839398, 0.006130050867795944, -0.015966035425662994, -0.026979200541973114, -0.01843375153839588, 0.08015281707048416, -0.013306483626365662, 0.013079767115414143, -0.02003820426762104, -0.0012000686256214976, -0.03501889854669571, -0.0008272952982224524, 0.019201098009943962, -0.015416686423122883, -0.0006621632492169738, -0.06445709615945816, -0.013864553533494473, -0.04802890494465828, -0.01892206445336342, 0.06396878510713577, 0.028043022379279137, -0.06920068711042404, 0.01853839121758938, 0.005127268843352795, -0.04478512331843376, 0.01886974461376667, 0.03102520853281021, -0.04558734968304634, 0.03864635154604912, 0.02282855473458767, 0.03261221945285797, -0.03275173902511597, -0.026229294016957283, 0.003056305693462491, 0.00845388974994421, 0.014509822241961956, -0.04080887511372566, 0.010115019977092743, 0.030815932899713516, -0.03269941732287407, -0.022706476971507072, -0.046284936368465424, 0.01255657710134983, -0.015277168713510036, -0.040704235434532166, -0.0275372713804245, 0.021869370713829994, 0.04876137152314186, 0.015338207595050335, 0.009365113452076912, 0.000514743325766176, 0.032821495085954666, 0.0006894127582199872, 0.06051572412252426, -0.029333557933568954, -0.058004409074783325, -0.013838393613696098, 0.033658601343631744, 0.0016284310258924961, -0.03728605806827545, 0.024136530235409737, -0.056399956345558167, 0.015059172175824642, 0.02792094461619854, 0.027415193617343903, 0.004396982025355101, 0.021136904135346413, -0.006622722372412682, -0.02082299068570137, 0.020700912922620773, -0.03896026685833931, -0.0004517969791777432, -0.011492755264043808, 0.033623721450567245, 0.025723543018102646, 0.03100776858627796, 0.011109082959592342, 0.019009262323379517, 0.01178923062980175, 0.006452685222029686, 0.011675872839987278, -0.048935770988464355, 0.06327119469642639, -0.0035555167123675346, -0.0313740037381649, -0.004739235620945692, 0.0012164183426648378, 0.07282814383506775, -0.01618403196334839, -0.0015728420112282038, -0.027275675907731056, 0.004261824302375317, -0.08824483305215836, -0.03746045380830765, 0.0035555167123675346, -0.004669477231800556, -0.025793300941586494, -0.03958809748291969, 0.05852760002017021, -0.020945068448781967, -0.033623721450567245, 0.006413445807993412, -0.049040406942367554, -0.061910901218652725, -0.05423743650317192, -0.035280492156744, -0.020142842084169388, 0.04572686553001404, -0.04359922558069229, 0.03683262690901756, -0.028077900409698486, -0.08329196274280548, -0.001988124568015337, -0.04119254648685455, -0.013515760190784931, 0.013707596808671951, -0.08168751001358032, -0.04251796379685402, -0.019567331299185753, 0.04175061732530594, -0.028880126774311066, 0.0294730756431818, 0.008955281227827072, -0.005951294209808111, 0.017579207196831703, -0.002598513849079609, -0.0020164642482995987, 0.04597102105617523, 0.044296812266111374, 0.032054148614406586, -0.08189678192138672, -0.020666033029556274, -0.04293651506304741, 0.019776608794927597, -0.021904250606894493, 0.058004409074783325, 0.014448783360421658, 0.021851930767297745, 0.03885563090443611, 0.032437823712825775, -0.008288213051855564, 0.07031682878732681, -0.02047419548034668, 0.006740440148860216, 0.03787900507450104, 0.06201553717255592, 0.011309638619422913, -0.04408753663301468, -0.03210647031664848, 0.02990906871855259, 0.020613713189959526, 0.02673504501581192, 0.06518956273794174, -0.03496657684445381, -0.00921687576919794, -0.005497862119227648, -0.04366898536682129, 0.04157622158527374, -0.06634058058261871, -0.028199978172779083, -0.013524479232728481, 0.08092015981674194, -0.0588763952255249, 0.07003779709339142, 0.03571648523211479, -0.04499439895153046, -0.017788484692573547, -0.025671223178505898, -0.06808455288410187, -0.011606113985180855, -0.01846863143146038, 0.029385877773165703, 0.02471204102039337, 0.002038263715803623, -0.008955281227827072, 0.009112237952649593, -0.02983930893242359, -0.05259810388088226, 0.026595527306199074, 0.009155836887657642, 0.02441556565463543, 0.002188681159168482, -0.0008638096624054015, -0.004739235620945692, 0.02908940240740776, -0.06428270041942596, 0.0014300545444712043, -0.03496657684445381, -0.0275895893573761, -0.011492755264043808, -0.03379812091588974, 0.0026704524643719196, -0.0826641321182251, -0.013018728233873844, -0.03067641519010067, -0.00043871719390153885, -0.028531333431601524, 0.03303077444434166, -0.006443965248763561, -0.01726529374718666, -0.015817798674106598, 0.0016109913121908903, 0.030449699610471725, 0.012138023972511292, -0.006199809722602367, -0.024677161127328873, 0.02483411878347397, 0.0472615584731102, -0.014291825704276562, 0.022933192551136017, -0.007224391680210829, -0.011728191748261452, 0.026054896414279938, 0.001436594408005476, -0.006260848604142666, -0.025427067652344704, 0.005903335288167, -0.012042106129229069, 0.06135283038020134, -0.023683099076151848, 0.021067146211862564, 0.05817880481481552, -0.024555083364248276, 0.03766972944140434, -0.014379024505615234, -0.06470125168561935, 0.029699791222810745, -0.02600257843732834, 0.07533945888280869, 0.09396504610776901, -0.019985884428024292, -0.0394136980175972, -0.02396213449537754, -0.052493467926979065, 0.039378821849823, 0.021712414920330048, -0.0394136980175972, 0.04851721599698067, -0.04018104448914528, 0.017230413854122162, 0.0076691037975251675, 0.012242662720382214, -0.0023739777971059084, 0.06323631852865219, 0.03972761332988739, -0.020927628502249718, 0.05552797392010689, 0.01123987976461649, 0.04276211932301521, 0.058004409074783325, 0.12814684212207794, -0.08043184876441956, 0.02943819761276245, 0.03390275686979294, 0.0027859904803335667, -0.0032873814925551414, -0.045412953943014145, -0.060759879648685455, 0.0013341362355276942, -0.04046007990837097, -0.02676992490887642, -0.05270274356007576, -0.030432259663939476, 0.019096460193395615, -0.0315658375620842, 0.03787900507450104, 0.03107752837240696, -0.030798492953181267, -0.02286343276500702, -0.0029364076908677816, -0.052109792828559875, -0.007738862652331591, -0.01178923062980175, -0.02996138669550419, -0.051691241562366486, 0.019584771245718002, 0.01930573768913746, -0.019044142216444016, -0.02642112970352173, 0.03194951266050339, 0.018974382430315018, -0.00013181952817831188, -0.052458588033914566, -0.013088487088680267, 0.01221650280058384, -0.06871237605810165, -0.05992277339100838, -0.006321887485682964, -0.02082299068570137, 0.020195161923766136, -0.0015216129831969738, 0.022636717185378075, 0.03861147537827492, 0.0014289645478129387, 0.006417805794626474, -0.017579207196831703, 0.0197068490087986, -0.041157666593790054, -0.0315483994781971, 0.010184778831899166, -0.02872316911816597, 0.025740982964634895, 0.08098991960287094, 0.055702369660139084, 0.05469086766242981, 0.07132833451032639, -0.019968444481492043, -0.03111240640282631, -0.06445709615945816, 0.02078811079263687, -0.0032634020317345858, -0.04046007990837097, 0.011675872839987278, -0.04213429242372513, 0.04768011346459389, -0.012608896009624004, 0.02875804901123047, 0.02671760506927967, 0.02516547217965126, 0.04495951905846596, -0.014701658859848976, -0.021817052736878395, 0.03493170067667961, -0.022549519315361977, 0.013698876835405827, -0.03254246339201927, -0.013803514651954174, 0.05305153876543045, 0.054795507341623306, -0.01200722623616457, 0.05706266686320305, -0.039518337696790695, -0.012286261655390263 ]
10,961
burnman.classes.elasticsolutionmodel
ElasticSolutionModel
This is the base class for an Elastic solution model, intended for use in defining solutions and performing thermodynamic calculations on them. All minerals of type :class:`burnman.Solution` use a solution model for defining how the endmembers in the solution interact. A user wanting a new solution model should define the functions included in the base class. All of the functions in the base class return zero, so if the user-defined solution model does not implement them, they essentially have no effect, and the Helmholtz energy and pressure of a solution will be equal to the weighted arithmetic averages of the different endmember values.
class ElasticSolutionModel(object): """ This is the base class for an Elastic solution model, intended for use in defining solutions and performing thermodynamic calculations on them. All minerals of type :class:`burnman.Solution` use a solution model for defining how the endmembers in the solution interact. A user wanting a new solution model should define the functions included in the base class. All of the functions in the base class return zero, so if the user-defined solution model does not implement them, they essentially have no effect, and the Helmholtz energy and pressure of a solution will be equal to the weighted arithmetic averages of the different endmember values. """ def __init__(self): """ Does nothing. """ pass def excess_helmholtz_energy(self, volume, temperature, molar_fractions): """ Given a list of molar fractions of different phases, compute the excess Helmholtz free energy of the solution. The base class implementation assumes that the excess Helmholtz energy is zero. :param volume: Volume at which to evaluate the solution model. [m^3/mol] :type volume: float :param temperature: Temperature at which to evaluate the solution. [K] :type temperature: float :param molar_fractions: List of molar fractions of the different endmembers in solution. :type molar_fractions: list of floats :returns: The excess Helmholtz energy. :rtype: float """ return np.dot( np.array(molar_fractions), self.excess_partial_helmholtz_energies( volume, temperature, molar_fractions ), ) def excess_pressure(self, volume, temperature, molar_fractions): """ Given a list of molar fractions of different phases, compute the excess pressure of the solution. The base class implementation assumes that the excess pressure is zero. :param volume: Volume at which to evaluate the solution model. [m^3/mol] :type volume: float :param temperature: Temperature at which to evaluate the solution. [K] :type temperature: float :param molar_fractions: List of molar fractions of the different endmembers in solution. :type molar_fractions: list of floats :returns: The excess pressure of the solution. :rtype: float """ return np.dot( molar_fractions, self.excess_partial_pressures(volume, temperature, molar_fractions), ) def excess_entropy(self, volume, temperature, molar_fractions): """ Given a list of molar fractions of different phases, compute the excess entropy of the solution. The base class implementation assumes that the excess entropy is zero. :param volume: Volume at which to evaluate the solution model. [m^3/mol] :type volume: float :param temperature: Temperature at which to evaluate the solution. [K] :type temperature: float :param molar_fractions: List of molar fractions of the different endmembers in solution. :type molar_fractions: list of floats :returns: The excess entropy of the solution. :rtype: float """ return np.dot( molar_fractions, self.excess_partial_entropies(volume, temperature, molar_fractions), ) def excess_enthalpy(self, volume, temperature, molar_fractions): """ Given a list of molar fractions of different phases, compute the excess enthalpy of the solution. The base class implementation assumes that the excess enthalpy is zero. :param volume: Volume at which to evaluate the solution model. [m^3/mol] :type volume: float :param temperature: Temperature at which to evaluate the solution. [K] :type temperature: float :param molar_fractions: List of molar fractions of the different endmembers in solution. :type molar_fractions: list of floats :returns: The excess enthalpy of the solution. :rtype: float """ return ( self.excess_helmholtz_energy(volume, temperature, molar_fractions) + temperature * self.excess_entropy(volume, temperature, molar_fractions) - volume * self.excess_pressure(volume, temperature, molar_fractions) ) def excess_partial_helmholtz_energies(self, volume, temperature, molar_fractions): """ Given a list of molar fractions of different phases, compute the excess Helmholtz energy for each endmember of the solution. The base class implementation assumes that the excess Helmholtz energy is zero. :param volume: Volume at which to evaluate the solution model. [m^3/mol] :type volume: float :param temperature: Temperature at which to evaluate the solution. [K] :type temperature: float :param molar_fractions: List of molar fractions of the different endmembers in solution. :type molar_fractions: list of floats :returns: The excess Helmholtz energy of each endmember :rtype: numpy.array """ return np.zeros_like(molar_fractions) def excess_partial_entropies(self, volume, temperature, molar_fractions): """ Given a list of molar fractions of different phases, compute the excess entropy for each endmember of the solution. The base class implementation assumes that the excess entropy is zero (true for mechanical solutions). :param volume: Volume at which to evaluate the solution model. [m^3/mol] :type volume: float :param temperature: Temperature at which to evaluate the solution. [K] :type temperature: float :param molar_fractions: List of molar fractions of the different endmembers in solution. :type molar_fractions: list of floats :returns: The excess entropy of each endmember. :rtype: numpy.array """ return np.zeros_like(molar_fractions) def excess_partial_pressures(self, volume, temperature, molar_fractions): """ Given a list of molar fractions of different phases, compute the excess pressure for each endmember of the solution. The base class implementation assumes that the excess pressure is zero. :param volume: Volume at which to evaluate the solution model. [m^3/mol] :type volume: float :param temperature: Temperature at which to evaluate the solution. [K] :type temperature: float :param molar_fractions: List of molar fractions of the different endmembers in solution. :type molar_fractions: list of floats :returns: The excess pressure of each endmember. :rtype: numpy.array """ return np.zeros_like(np.array(molar_fractions))
()
[ 0.05493736267089844, -0.038725078105926514, -0.02403029426932335, 0.017854642122983932, -0.0003088425728492439, -0.06008533760905266, -0.07226376235485077, -0.052440207451581955, -0.0170670785009861, 0.0036905037704855204, -0.008850486017763615, -0.024087920784950256, 0.018373282626271248, -0.0011183163151144981, -0.06561749428510666, 0.06461863219738007, -0.027718396857380867, -0.004907865542918444, 0.014848454855382442, 0.003508019493892789, -0.04179849475622177, -0.04882894083857536, 0.009186641313135624, 0.049405209720134735, -0.03659289330244064, 0.030119504779577255, 0.03323134034872055, -0.015924151986837387, 0.004084285348653793, -0.07072705030441284, -0.053093310445547104, 0.010036633349955082, -0.018795877695083618, 0.003800954669713974, 0.02253200113773346, -0.06673160940408707, 0.05578255280852318, 0.029024599120020866, -0.09566016495227814, 0.08643990755081177, -0.012706666253507137, -0.013926428742706776, 0.07184116542339325, -0.02103370986878872, -0.0035728493239730597, -0.008730430155992508, 0.014070495963096619, 0.06288983672857285, 0.015770480036735535, 0.0027660769410431385, -0.013158074580132961, -0.04867527261376381, 0.04325836896896362, -0.009729291312396526, -0.03265507519245148, 0.09957876801490784, 0.051095589995384216, 0.010507251136004925, 0.01727837696671486, -0.06861407309770584, -0.014493091031908989, 0.01628912054002285, 0.06842198967933655, -0.0381103940308094, -0.03371156379580498, 0.030599726364016533, -0.03884033113718033, 0.04371938481926918, 0.03351947292685509, 0.0708807185292244, 0.010401601903140545, -0.04564027115702629, 0.0312720350921154, -0.0019701095297932625, 0.05639723688364029, 0.01211119070649147, -0.04475666210055351, -0.04452615603804588, 0.03175225853919983, -0.0425284318625927, -0.014166539534926414, 0.009138618595898151, -0.0054361093789339066, -0.02295459620654583, 0.06116103380918503, -0.014502694830298424, 0.015357489697635174, 0.02399187535047531, 0.0328279547393322, -0.048367928713560104, -0.019295306876301765, 0.042105838656425476, 0.005335262976586819, 0.03449912741780281, 0.060815274715423584, 0.00712168775498867, -0.022858552634716034, -0.09243307262659073, 0.012322488240897655, -0.06085369363427162, 0.0015078961150720716, 0.058817554265260696, 0.022858552634716034, 0.04952046275138855, -0.010997076518833637, -0.032040391117334366, -0.04010811448097229, -0.016788549721240997, 0.05040406808257103, -0.0063149151392281055, -0.08467268943786621, 0.07472249865531921, -0.052632298320531845, -0.01415693573653698, -0.05224812030792236, -0.03359631076455116, -0.03874428570270538, 0.050480905920267105, 0.019468188285827637, 0.025816718116402626, 0.03317371383309364, -0.010833801701664925, -0.07211008667945862, 0.02228228747844696, 0.042566850781440735, -0.01567443646490574, 0.013148469850420952, 0.005786671303212643, 0.005119163077324629, -0.08167610317468643, 0.004458858631551266, 0.028429124504327774, 0.00944115873426199, 0.023915041238069534, -0.02660428173840046, -0.00783721823245287, 0.029120642691850662, -0.0475611574947834, 0.010536064393818378, -0.018719041720032692, 0.03167542442679405, -0.0018620595801621675, 0.01702866144478321, 0.0063677397556602955, -0.022128615528345108, 0.016759736463427544, 0.032731909304857254, -0.011323628015816212, -0.046600714325904846, -0.016529230400919914, -0.04260526970028877, -0.01748967356979847, -0.0076451292261481285, -0.016193075105547905, 0.0143778370693326, -0.013551856391131878, 0.040838051587343216, -0.01995801366865635, 0.00531125208362937, 0.002876527840271592, -0.08290547132492065, -0.04809900373220444, 0.02681558020412922, 0.06116103380918503, -0.0214178878813982, -0.02316589467227459, -0.013667109422385693, -0.0690750852227211, -0.03150254487991333, 0.0391668826341629, -0.019823551177978516, -0.0383601076900959, -0.09204889088869095, 0.01221683993935585, 0.010247930884361267, 0.07491458207368851, 0.05593622475862503, -0.00942194927483797, -0.034191783517599106, 0.026489028707146645, 0.012399324215948582, -0.050480905920267105, -0.05251704528927803, -0.0214178878813982, -0.0006101817125454545, 0.04852160066366196, 0.03323134034872055, -0.007299369666725397, 0.0006831153878010809, -0.009791720658540726, 0.011823058128356934, -0.06692369282245636, 0.017854642122983932, 0.05101875215768814, 0.030542099848389626, 0.027699187397956848, 0.047484319657087326, 0.0038081579841673374, 0.027583934366703033, 0.005157581064850092, -0.05459160357713699, 0.02612406015396118, 0.02426080033183098, -0.02595118060708046, -0.024971527978777885, 0.017547300085425377, -0.034422289580106735, -0.00046911658137105405, -0.06865249574184418, 0.01995801366865635, -0.043027862906455994, -0.02612406015396118, -0.013993659988045692, 0.01745125651359558, 0.08067724108695984, -0.05643565207719803, 0.05870230123400688, -0.02403029426932335, 0.013503833673894405, 0.005791473668068647, -0.0054889339953660965, -0.055859386920928955, -0.01231288444250822, 0.013801571913063526, -0.0005276435986161232, 0.018181193619966507, -0.024990737438201904, 0.07222533971071243, 0.03167542442679405, -0.03578612208366394, 0.006170848850160837, 0.011102725751698017, -0.04713856056332588, -0.025355705991387367, 0.02506757155060768, 0.05121084302663803, -0.04671596735715866, 0.011736618354916573, -0.00005409997538663447, -0.0021585964132100344, -0.02426080033183098, -0.08313597738742828, -0.008562352508306503, 0.013753549195826054, -0.026431402191519737, -0.007400216534733772, 0.061007365584373474, 0.05474527180194855, -0.008202186785638332, -0.014108913019299507, 0.0007305372273549438, -0.046831220388412476, -0.005584978498518467, 0.02660428173840046, 0.007145698647946119, -0.05205603316426277, 0.0011615362018346786, 0.05055774003267288, 0.033346593379974365, -0.04348887503147125, 0.024183964356780052, -0.030945485457777977, 0.026469819247722626, 0.06073844060301781, -0.052632298320531845, 0.06073844060301781, -0.0011237188009545207, -0.0016927814576774836, -0.0005573573289439082, 0.02960086613893509, 0.006579037290066481, 0.049674130976200104, -0.028237035498023033, -0.018450116738677025, -0.0298121627420187, 0.03351947292685509, 0.0033975685946643353, 0.0027204558718949556, -0.07310894876718521, 0.050250399857759476, -0.03932055085897446, -0.0394165962934494, 0.008077329024672508, 0.01211119070649147, -0.016510020941495895, -0.014358628541231155, -0.041952166706323624, -0.034422289580106735, 0.07018920034170151, -0.008807266131043434, -0.028582794591784477, 0.003909004386514425, 0.02462576888501644, 0.003961829002946615, 0.10119231790304184, -0.012274466454982758, -0.04736906662583351, -0.02362690679728985, 0.03457596153020859, -0.04129906743764877, 0.032040391117334366, 0.023895831778645515, 0.05363116040825844, -0.05789552628993988, -0.04179849475622177, 0.00649259751662612, 0.09204889088869095, 0.004012252204120159, 0.08382749557495117, -0.05055774003267288, 0.007962075993418694, 0.009791720658540726, 0.032462988048791885, 0.03432624787092209, 0.037418875843286514, -0.03209801763296127, 0.02698845975100994, 0.007323381025344133, 0.03021554835140705, 0.07891003042459488, -0.0037529326509684324, 0.04183691367506981, 0.05762660503387451, 0.016846176236867905, 0.0646570473909378, -0.05424584075808525, 0.02892855554819107, -0.01664448343217373, 0.03768779709935188, -0.04310470074415207, -0.04798375070095062, -0.055014196783304214, 0.020956873893737793, -0.005877913441509008, -0.01974671520292759, -0.06550224125385284, 0.04975096881389618, -0.023108268156647682, 0.017268771305680275, -0.039147671312093735, 0.06550224125385284, 0.06892141699790955, -0.02787206694483757, 0.05451476573944092, 0.009383532218635082, -0.06803780794143677, 0.04890577867627144, -0.06039268150925636, -0.02616247721016407, 0.06212147697806358, -0.01941056177020073, 0.03924371674656868, 0.02612406015396118, 0.02612406015396118, 0.05059615895152092, -0.006468586158007383, -0.029850579798221588, -0.018795877695083618, -0.007083269767463207, -0.020476652309298515, -0.04775324463844299, -0.0013686318416148424, -0.06892141699790955, 0.026066433638334274, -0.032482195645570755, -0.06738470494747162, 0.0015163000207394361, 0.012812314555048943, 0.04037703946232796, -0.03618950769305229, -0.020303772762417793, -0.07433831691741943, -0.023722952231764793, -0.010670525953173637, 0.023530863225460052, 0.021398678421974182, -0.016385164111852646, 0.03945501521229744, -0.028890136629343033, -0.02977374568581581, 0.05589780583977699, 0.017748994752764702, -0.08175294101238251, 0.0010228721657767892, 0.022205451503396034, -0.02399187535047531, 0.05424584075808525, -0.0012869940837845206, 0.04779166355729103, 0.04006969928741455, 0.03517143800854683, -0.011083516292273998, 0.01972750760614872, -0.008792859502136707, -0.0227240901440382, 0.025547794997692108, 0.01584731601178646, 0.009417147375643253, -0.07710439711809158, -0.002626812784001231, 0.0004964291583746672, -0.02979295328259468, 0.008821672759950161, 0.044103559106588364, -0.004802216775715351, -0.07867952436208725, 0.03359631076455116, -0.015194213949143887, 0.017460860311985016, 0.06239040195941925, -0.026220103725790977, 0.011534925550222397, -0.02527887001633644, 0.011957520619034767, -0.08052357286214828, -0.004518886096775532, -0.023281147703528404, -0.06200622394680977, 0.03909004479646683, -0.010075051337480545, 0.006127628963440657, 0.007721964735537767, 0.0627361610531807, 0.024990737438201904, -0.005560967139899731, -0.03576691076159477, -0.05397691950201988, -0.007092874497175217, -0.03924371674656868, 0.008874497376382351, -0.012053564190864563, -0.005071141291409731, -0.0548989437520504, -0.023300357162952423, 0.00011067609011661261, -0.03242456912994385, -0.004773403517901897, -0.01329253613948822, 0.011957520619034767, 0.0015655227471143007, 0.022570420056581497, 0.01736481674015522, 0.043642546981573105, -0.002564383903518319, -0.004074681084603071, -0.028582794591784477, -0.010123073123395443, -0.03436466306447983, -0.04832950979471207, -0.006074804347008467, 0.03532510623335838, 0.004867047071456909, 0.02034219168126583, -0.012716270051896572, 0.008471110835671425, -0.01793147809803486, 0.008418286219239235, -0.017921874299645424, -0.024376053363084793, -0.022896969690918922, 0.00027222567587159574, 0.06169888377189636, 0.013446207158267498, 0.02356928028166294, -0.019016779959201813, -0.0017348008695989847, 0.03663131222128868, -0.05251704528927803, -0.004955887794494629, -0.004187533166259527, 0.04667754843831062, -0.019064800813794136, -0.013158074580132961, -0.045986030250787735, -0.023261938244104385, 0.007275358773767948, -0.028025738894939423, -0.012956381775438786, 0.019151240587234497, -0.07764224708080292, 0.030561309307813644, -0.007721964735537767, 0.04721539840102196, -0.01027674414217472, -0.0020781594794243574, 0.012937172316014767, 0.047676410526037216, -0.05124925822019577, 0.023511653766036034, -0.05597463995218277, -0.059278566390275955, -0.015059752389788628, 0.028890136629343033, 0.026047224178910255, -0.05224812030792236, 0.01467557530850172, 0.010449623689055443, -0.01062250416725874, 0.033961277455091476, -0.03405732288956642, 0.027372635900974274, 0.03284716233611107, -0.029255105182528496, -0.008898507803678513, 0.0354403592646122, -0.015117378905415535, -0.02787206694483757, 0.016231494024395943, 0.004989503417164087, 0.005584978498518467, -0.020649533718824387, -0.05747293308377266, 0.06680843979120255, 0.0036664926446974277, 0.025855135172605515, 0.037399664521217346, -0.04375780001282692, 0.05451476573944092, 0.04206741973757744, 0.018622998148202896, 0.003078221110627055, 0.03618950769305229, -0.010036633349955082, -0.0031454521231353283, 0.02124500833451748, 0.048982612788677216, -0.046408623456954956, -0.02612406015396118, 0.02185969240963459, 0.052401792258024216, -0.021533140912652016, -0.04076121747493744, 0.0004601124092005193, 0.05977799743413925, -0.017095891758799553, 0.006310113240033388, 0.012389719486236572, -0.07595186680555344, -0.019996430724859238, 0.012908359058201313, -0.047714825719594955, 0.01759532280266285, 0.03522906452417374, -0.08782294392585754, 0.04502558708190918, 0.002351885661482811, 0.03534431755542755, 0.0035368327517062426, -0.01673092320561409, -0.012994798831641674, 0.04398830607533455, 0.007313776295632124, 0.032924000173807144, 0.038052767515182495, 0.10534143447875977, 0.02612406015396118, -0.009815731085836887, 0.0016327537596225739, 0.015684040263295174, 0.01027674414217472, -0.009998215362429619, -0.045179255306720734, 0.011534925550222397, -0.038917165249586105, -0.02575909160077572, 0.030580516904592514, -0.006727905943989754, 0.01424337550997734, -0.05171027034521103, 0.013964846730232239, -0.06796097755432129, 0.04560185223817825, 0.011976729147136211, -0.01664448343217373, -0.03532510623335838, -0.0009502386674284935, -0.016980638727545738, -0.045525018125772476, -0.004266769625246525, -0.06181413680315018, 0.017249563708901405, -0.03801434859633446, -0.018152380362153053, -0.05313172936439514, 0.03584374859929085, 0.03300083428621292, -0.007251347415149212, 0.03136808052659035, 0.012937172316014767, 0.024990737438201904, 0.0007893643924035132, -0.022589627653360367, 0.0020889644511044025, -0.01605861261487007, 0.0022426352370530367, 0.03820643946528435, -0.04894419386982918, -0.005887518171221018, 0.06588641554117203, -0.026930833235383034, -0.029331941157579422, -0.009364322759211063, -0.009705280885100365, -0.0012185625964775681, 0.038917165249586105, 0.0137247359380126, 0.03219406306743622, -0.01729758456349373, 0.03242456912994385, -0.031617797911167145, 0.0029821766074746847, -0.023108268156647682, -0.00783721823245287, -0.035459570586681366, -0.014464277774095535, -0.035690076649188995, -0.019141636788845062, 0.012236048467457294, 0.034210994839668274, 0.028429124504327774, -0.02061111479997635, 0.049213118851184845, -0.01628912054002285, -0.01953541859984398, -0.015367094427347183, -0.01736481674015522, 0.049674130976200104, -0.06285141408443451, -0.012053564190864563, -0.00035476378980092704, 0.02785285748541355, 0.006247684359550476, -0.016231494024395943, -0.008427890948951244, 0.005930738057941198, 0.023204311728477478, 0.026661908254027367, 0.0007695552776567638, -0.01320609636604786, 0.026316149160265923, -0.0007977682980708778, 0.023473236709833145, -0.02639298513531685, 0.026431402191519737, -0.03801434859633446, 0.01687498949468136, -0.021072128787636757, -0.013503833673894405, 0.02399187535047531, 0.0009034170652739704, -0.02677716128528118, 0.037438083440065384, -0.024491306394338608, -0.03716915845870972, -0.06388869136571884, -0.005099954549223185, 0.019593045115470886, -0.030542099848389626, 0.012149608694016933, 0.021091336384415627, 0.0034071728587150574, 0.025125199928879738, -0.01797950081527233, -0.04379621893167496, 0.06200622394680977, -0.03801434859633446, 0.03326975926756859, -0.0009874558309093118, -0.014934894628822803, 0.07798800617456436, -0.0002258542663184926, -0.0711880624294281, 0.024548932909965515, 0.012629830278456211, -0.03240536153316498, 0.042144257575273514, 0.012264861725270748, 0.043873053044080734, -0.028640421107411385, 0.008360659703612328, 0.09950193762779236, 0.07241743057966232, -0.03215564414858818, 0.01664448343217373, 0.03109915740787983, 0.0184020958840847, -0.04564027115702629, 0.00023755966685712337, 0.02468339540064335, -0.045179255306720734, 0.006622257176786661, -0.021955735981464386, 0.005858704447746277, -0.007145698647946119, 0.03945501521229744, -0.012034355662763119, -0.04652387648820877, -0.017441652715206146, -0.003575250506401062, -0.0441419780254364, 0.04648546129465103, 0.023281147703528404, -0.030734188854694366, 0.021821273490786552, 0.006972819101065397, 0.02356928028166294, -0.0493667908012867, 0.019276099279522896, -0.003940219059586525, -0.03901321068406105, 0.03757254406809807, 0.054130587726831436, 0.05382324755191803, -0.0475611574947834, 0.04033862054347992, 0.02291617915034294, 0.058663882315158844, 0.05055774003267288, -0.015616809949278831, -0.003390365047380328, 0.008951332420110703, -0.02143709734082222, 0.054130587726831436, 0.007765184622257948, -0.02848675101995468, 0.006449377164244652, -0.0021333848126232624, -0.06419603526592255, 0.0037673392798751593, 0.03215564414858818, -0.018920734524726868, 0.03109915740787983, 0.007515469565987587, -0.02226307801902294, -0.00017558105173520744, -0.046024445444345474, 0.007573096081614494, 0.03659289330244064, -0.01028634887188673, 0.03749570995569229, 0.0022486380767077208, -0.02293538860976696, -0.03067656233906746, -0.06154521182179451, 0.04928995296359062, 0.03714995086193085, 0.02441447041928768, 0.0543995127081871, 0.011717408895492554, -0.022762509062886238, 0.04272052273154259, 0.011582947336137295, 0.03605504333972931, 0.035690076649188995, 0.04736906662583351, -0.008547945879399776, 0.022435957565903664, -0.046639129519462585, -0.01264903973788023, -0.053285397589206696, -0.007381007540971041, -0.06684686243534088, 0.005364076234400272, 0.0733010396361351, -0.03640080615878105, 0.07602869719266891, 0.0010384793858975172, 0.024126337841153145 ]
10,962
burnman.classes.elasticsolutionmodel
__init__
Does nothing.
def __init__(self): """ Does nothing. """ pass
(self)
[ -0.020432785153388977, -0.013404116034507751, 0.02898564003407955, -0.021861163899302483, -0.031459175050258636, -0.04835585132241249, 0.0068109286949038506, 0.06682025641202927, -0.0015644667437300086, -0.02065923623740673, -0.029856601729989052, 0.04664876312017441, 0.014736689627170563, 0.029543055221438408, -0.04957519844174385, 0.019666338339447975, 0.027139198035001755, -0.008169630542397499, -0.047031987458467484, -0.02769661508500576, -0.01926569454371929, 0.03706817328929901, 0.055880967527627945, 0.07183700799942017, -0.00805205013602972, 0.05811063200235367, -0.006397221237421036, -0.03307916596531868, 0.009667686186730862, -0.058389339596033096, -0.03734688088297844, 0.004685779567807913, 0.009624138474464417, 0.04490683972835541, 0.03142433613538742, -0.02074633166193962, -0.00376691366545856, 0.047101665288209915, -0.08967432379722595, -0.018307635560631752, 0.042502980679273605, 0.03678946569561958, 0.01832505501806736, -0.02787080779671669, -0.036336563527584076, -0.0027653067372739315, 0.0736486092209816, -0.021808907389640808, -0.05741386115550995, -0.015050236135721207, 0.003962880466133356, 0.05650806054472923, -0.0007337860879488289, -0.00046623722300864756, -0.04257265850901604, 0.05225776508450508, 0.044488776475191116, 0.03926299884915352, -0.024282440543174744, 0.037207528948783875, -0.05455710366368294, 0.08096469193696976, 0.010704131796956062, -0.03527399152517319, -0.008657369762659073, 0.018795374780893326, -0.0156860388815403, 0.00993768498301506, 0.050306808203458786, 0.03316625952720642, 0.004219814203679562, 0.03499528393149376, 0.00038050184957683086, 0.06695961207151413, 0.05703064054250717, -0.037207528948783875, -0.06584478169679642, 0.04079589247703552, 0.03570947051048279, -0.0015426927711814642, -0.007816890254616737, 0.011322515085339546, -0.018882472068071365, 0.030866919085383415, 0.016208617016673088, -0.02813209593296051, 0.02370760589838028, 0.005190937779843807, -0.026425009593367577, 0.056926123797893524, -0.03341012820601463, 0.024195345118641853, -0.012350250966846943, -0.02841080352663994, 0.018464408814907074, -0.009885426610708237, -0.0036841724067926407, -0.015433459542691708, 0.006183835212141275, 0.03081466071307659, -0.005308517720550299, 0.026337912306189537, -0.040586862713098526, -0.03116304613649845, 0.008012857288122177, -0.009005754254758358, -0.039646223187446594, -0.03280045464634895, -0.014318627305328846, 0.0043809423223137856, 0.0226624496281147, -0.004646586254239082, -0.0429210439324379, 0.005500129424035549, 0.021303748711943626, -0.034002386033535004, -0.005469645839184523, -0.028794027864933014, 0.035465601831674576, -0.007882212288677692, 0.01137477345764637, -0.004261184949427843, -0.11106516420841217, -0.00916252750903368, 0.06960733979940414, -0.04177137091755867, -0.015982165932655334, 0.012951215729117393, 0.018464408814907074, -0.030971433967351913, 0.06225641444325447, 0.010930581949651241, -0.00590512715280056, -0.0008018300286494195, -0.008670434355735779, -0.014066047966480255, 0.06215190142393112, -0.023394059389829636, -0.01909150369465351, 0.010390585288405418, 0.0068631861358881, -0.06396350264549255, 0.007803826127201319, 0.028166934847831726, -0.023498574271798134, 0.036336563527584076, -0.0346468985080719, -0.02900305949151516, 0.006915444042533636, 0.02172181010246277, 0.0213560052216053, -0.025588884949684143, 0.017201513051986694, 0.011069935746490955, 0.004694489296525717, 0.011592513881623745, 0.005347711034119129, -0.02769661508500576, 0.010077038779854774, -0.051700346171855927, 0.03863590583205223, -0.014431851916015148, 0.0494706816971302, -0.019474726170301437, 0.0019879722967743874, 0.02727855183184147, -0.06539188325405121, -0.04922681301832199, -0.01606055349111557, -0.009807039983570576, -0.03588366508483887, -0.029316606000065804, -0.05800611898303032, -0.001028824714012444, 0.021739229559898376, 0.03961138427257538, 0.009293172508478165, 0.07768987119197845, -0.01614764891564846, 0.013473792932927608, 0.029752086848020554, -0.04828617349267006, -0.04427974298596382, 0.029124993830919266, 0.058563534170389175, 0.00015527632785961032, 0.04131847247481346, 0.01996246539056301, 0.026599202305078506, 0.013047021813690662, 0.021251490339636803, -0.014536367729306221, -0.029717247933149338, 0.03435077145695686, 0.04396619647741318, -0.0400991253554821, -0.014527658000588417, 0.006571413949131966, 0.030065633356571198, -0.02050246298313141, 0.011191871017217636, 0.07117507606744766, 0.0368243046104908, -0.062221575528383255, 0.04929649084806442, 0.04602167010307312, 0.0010304577881470323, 0.01033832784742117, -0.06650671362876892, -0.003980299457907677, -0.009118979796767235, -0.014945720322430134, 0.016818290576338768, 0.013996371068060398, 0.0042350562289357185, -0.04724101722240448, 0.05654289945960045, 0.011949608102440834, -0.049366168677806854, 0.05107325315475464, 0.09768717736005783, 0.006044481415301561, -0.025937270373106003, -0.053024210035800934, -0.013273471966385841, 0.011514127254486084, 0.018865052610635757, -0.033479806035757065, -0.010277359746396542, -0.07504215091466904, -0.02534501440823078, -0.06114158406853676, -0.014963139779865742, -0.014667011797428131, -0.01599087566137314, -0.04992358386516571, -0.02085084840655327, -0.010564778000116348, -0.09768717736005783, -0.07998921722173691, -0.002956918440759182, -0.0025911140255630016, 0.023202447220683098, 0.03992493078112602, -0.015964746475219727, 0.004733682610094547, -0.03706817328929901, 0.04856488108634949, 0.007599149830639362, -0.009136399254202843, -0.018342474475502968, -0.06856218725442886, -0.03091917745769024, -0.02994369901716709, 0.022418580949306488, -0.05685644596815109, -0.016818290576338768, -0.02917725034058094, 0.01085219532251358, 0.02013665810227394, 0.02595468983054161, -0.04278168827295303, -0.016957644373178482, 0.09274011105298996, 0.07566924393177032, 0.01795925199985504, -0.004515941720455885, 0.010695422068238258, -0.039994608610868454, 0.0026782103814184666, 0.14757592976093292, -0.022348903119564056, 0.008091243915259838, 0.01592990756034851, -0.039890091866254807, -0.06284867227077484, -0.0018845455488190055, 0.014135724864900112, -0.03752107545733452, 0.04131847247481346, 0.07197635620832443, 0.02083342894911766, 0.03644108027219772, 0.03689398244023323, -0.008970916271209717, -0.004219814203679562, -0.012646378949284554, 0.01900440640747547, -0.057274509221315384, -0.013891855254769325, 0.03003079444169998, 0.05539323017001152, 0.011601223610341549, 0.04978422820568085, 0.11768448352813721, 0.04295588284730911, -0.01980569213628769, 0.03003079444169998, -0.02013665810227394, -0.053442273288965225, -0.016260873526334763, -0.04225911200046539, -0.021948261186480522, 0.01072155125439167, -0.031737882643938065, -0.009354139678180218, -0.04201524332165718, 0.029455959796905518, -0.003784333122894168, -0.003509979695081711, 0.03741655871272087, 0.031128207221627235, 0.06086287647485733, 0.04306039586663246, -0.003107159398496151, 0.009354139678180218, 0.01584281213581562, -0.044488776475191116, 0.008740111254155636, 0.04194556549191475, -0.058911919593811035, -0.026790812611579895, 0.038078490644693375, -0.06553123891353607, -0.017123127356171608, -0.037207528948783875, -0.008470112457871437, -0.0028545802924782038, -0.040238477289676666, 0.039994608610868454, 0.006144641898572445, -0.01876053772866726, 0.016617968678474426, -0.040168799459934235, -0.0716976523399353, -0.034246254712343216, -0.025048887357115746, -0.024857275187969208, -0.023202447220683098, -0.041283633559942245, 0.07302151620388031, -0.037381719797849655, -0.004650941118597984, 0.0282191913574934, 0.003621027572080493, -0.003044014796614647, 0.0022579708602279425, -0.053964849561452866, 0.05347711220383644, -0.04926165193319321, 0.0893259346485138, -0.018516667187213898, -0.014971849508583546, 0.03870558366179466, 0.049191974103450775, -0.03543076291680336, 0.016705064103007317, 0.03307916596531868, -0.022801803424954414, -0.05758805572986603, 0.009789621457457542, 0.028724350035190582, -0.04974938929080963, -0.005979158915579319, 0.005669967271387577, -0.006606252398341894, 0.021390844136476517, 0.02041536569595337, -0.013883145526051521, -0.0044723935425281525, -0.004720618017017841, -0.0823582336306572, -0.06138545274734497, -0.04811197891831398, -0.025223080068826675, -0.052327439188957214, 0.030588211491703987, 0.017576027661561966, -0.03968106210231781, 0.000579190207645297, -0.0295256357640028, 0.02943854033946991, 0.006066255271434784, -0.034873347729444504, -0.05236227810382843, -0.01636539027094841, -0.0025170822627842426, 0.029281767085194588, -0.010817357338964939, 0.03558753803372383, 0.014640883542597294, -0.022801803424954414, -0.043269429355859756, -0.0538254976272583, -0.028950801119208336, -0.0017604334279894829, 0.02536243386566639, 0.0033183679915964603, -0.04382684454321861, 0.004790294915437698, 0.09622395783662796, -0.02109471708536148, -0.019056664779782295, 0.01206283364444971, -0.00004790295133716427, 0.027574678882956505, 0.06194286793470383, -0.05877256393432617, 0.007542537059634924, -0.004934004042297602, 0.034681737422943115, 0.002207890385761857, -0.022801803424954414, -0.039019130170345306, 0.0804072767496109, -0.018865052610635757, 0.0400991253554821, 0.009868008084595203, 0.023725025355815887, -0.056995801627635956, -0.010477681644260883, 0.009998652152717113, 0.06650671362876892, 0.08681756258010864, -0.018812794238328934, 0.050062935799360275, 0.007856084033846855, -0.004594328347593546, 0.054835811257362366, -0.029403701424598694, -0.06197770684957504, 0.022888900712132454, -0.014397013932466507, -0.010651874355971813, -0.018203120678663254, -0.04661392420530319, -0.0192831140011549, -0.048739075660705566, 0.014275078661739826, 0.053895171731710434, -0.019910207018256187, -0.016347970813512802, 0.0512126088142395, 0.011993156746029854, 0.024857275187969208, -0.01267250720411539, -0.033915288746356964, 0.035639796406030655, 0.06131577491760254, -0.013447664678096771, -0.006223028525710106, 0.06727316230535507, 0.03602301701903343, -0.04027331620454788, -0.05434807389974594, -0.08221887797117233, -0.053024210035800934, -0.0009373736102133989, -0.005909482017159462, -0.018481828272342682, -0.02752242237329483, 0.07629633694887161, -0.013447664678096771, -0.05706547573208809, 0.02327212318778038, 0.050759706646203995, 0.03300948813557625, 0.0028915961738675833, -0.03100627288222313, -0.003941106144338846, -0.0009112447733059525, 0.0036841724067926407, -0.008592046797275543, -0.024944372475147247, 0.0070460885763168335, -0.009275753051042557, -0.0494706816971302, -0.01874311827123165, 0.015851521864533424, -0.018116025254130363, -0.001679869368672371, -0.012925086542963982, -0.0192831140011549, 0.024700501933693886, -0.018708279356360435, -0.002207890385761857, 0.011235418729484081, -0.07664471864700317, 0.06702928990125656, -0.045986831188201904, -0.051456477493047714, 0.008801078423857689, -0.0036776401102542877, -0.040412671864032745, 0.004973197355866432, 0.013447664678096771, -0.01211509108543396, 0.03665011003613472, -0.032957229763269424, -0.06744735687971115, -0.026860490441322327, -0.0028981284704059362, -0.02682565152645111, -0.04560360684990883, 0.03316625952720642, -0.03320109844207764, -0.011740577407181263, -0.0012465653708204627, -0.020694075152277946, -0.0008862045942805707, -0.006358027923852205, 0.023341801017522812, 0.005334646441042423, 0.007394473534077406, 0.05755321681499481, 0.042502980679273605, -0.04800746589899063, 0.017245061695575714, 0.0006902379682287574, 0.025588884949684143, 0.02909015491604805, 0.0074162473902106285, 0.022958576679229736, 0.0012041059089824557, 0.0018159572500735521, 0.006266576703637838, -0.016487324610352516, 0.006514801178127527, 0.04152750223875046, 0.000551156117580831, 0.03919332101941109, -0.052675824612379074, -0.01271605584770441, -0.016382809728384018, -0.059782881289720535, 0.04076105356216431, -0.01935279183089733, -0.021808907389640808, 0.04964487627148628, 0.044419098645448685, 0.030344340950250626, 0.004611747805029154, 0.03766042739152908, -0.01636539027094841, -0.0282191913574934, 0.016739903017878532, -0.05741386115550995, -0.003300948766991496, -0.007642698008567095, 0.03161594644188881, 0.04549909383058548, -0.025170823559165, -0.0108957439661026, -0.022470837458968163, 0.041632018983364105, 0.025327596813440323, 0.04152750223875046, 0.013482502661645412, 0.037904296070337296, 0.02119923196732998, -0.020276011899113655, 0.006719477474689484, -0.02353341318666935, -0.041806209832429886, -0.00787785742431879, 0.0444539375603199, 0.051700346171855927, -0.031650785356760025, -0.005247550550848246, -0.0038322359323501587, -0.0038235264364629984, -0.029891440644860268, 0.05051583796739578, 0.06615833193063736, -0.05619451403617859, 0.02207019552588463, -0.03933267667889595, 0.02780112996697426, -0.028846286237239838, -0.05319840461015701, -0.02719145640730858, 0.0010625745635479689, 0.0010228368919342756, -0.04643973335623741, -0.060549329966306686, -0.05859837308526039, -0.020450204610824585, -0.032086268067359924, -0.005125615745782852, -0.035204313695430756, 0.016687646508216858, 0.019039245322346687, 0.027714034542441368, -0.03436818718910217, -0.011270257644355297, 0.0394371934235096, 0.018882472068071365, -0.06263963878154755, 0.03248690813779831, 0.02736564911901951, -0.016443775966763496, 0.061698999255895615, -0.0383571982383728, 0.0634060874581337, 0.029508216306567192, 0.051979053765535355, -0.008030276745557785, 0.014963139779865742, -0.014701850712299347, 0.009728653356432915, 0.006619316525757313, -0.01893473044037819, 0.019230857491493225, -0.0042307013645768166, -0.01937021128833294, -0.014484110288321972, 0.012245736084878445, 0.02126890979707241, 0.01349992211908102, 0.03048369474709034, -0.01797667145729065, 0.009275753051042557, 0.01223702635616064, 0.018185701221227646, -0.04274684935808182, 0.02233148366212845, -0.03107595071196556, -0.0546964593231678, -0.011792834848165512, 0.025205660611391068, 0.024595987051725388, -0.04616102576255798, -0.0307275652885437, -0.037730105221271515, 0.018882472068071365, -0.00794318038970232, -0.026808232069015503, 0.011993156746029854, 0.04588231444358826, 0.03745139762759209, 0.01858634501695633, -0.01919601857662201, 0.024561148136854172, 0.012550572864711285, -0.056055162101984024, -0.01727990061044693, -0.04427974298596382, -0.016739903017878532, 0.03975073993206024, -0.03665011003613472, -0.04818165674805641, 0.06110674515366554, 0.037207528948783875, 0.016208617016673088, -0.025466950610280037, -0.005038519389927387, -0.06368479132652283, 0.023376639932394028, -0.011871221475303173, -0.04152750223875046, -0.006323189474642277, -0.014919591136276722, -0.03492560610175133, 0.03440302610397339, 0.022732127457857132, 0.028375964611768723, 0.00458126375451684, -0.058145470917224884, -0.04664876312017441, 0.01445798110216856, -0.003697236767038703, 0.1148277223110199, 0.03908880800008774, 0.009850588627159595, 0.0020010368898510933, -0.02109471708536148, -0.028724350035190582, -0.03281787410378456, -0.0009879983263090253, 0.006706412881612778, -0.03665011003613472, 0.0068631861358881, -0.030675306916236877, -0.1200534999370575, -0.006985120940953493, 0.06459059566259384, -0.06392866373062134, -0.0034141738433390856, 0.02482243813574314, -0.09726911783218384, -0.018359893932938576, -0.018342474475502968, 0.027121778577566147, 0.028619835153222084, 0.028288869187235832, 0.022993415594100952, -0.02684307098388672, -0.029995955526828766, 0.062117062509059906, -0.017044739797711372, 0.059782881289720535, -0.004729327745735645, -0.019753433763980865, 0.028724350035190582, -0.0013761210720986128, 0.05831966549158096, -0.008221887983381748, -0.009101560339331627, 0.016548290848731995, -0.019910207018256187, 0.0021556327119469643, 0.10911420732736588, -0.011688319966197014, -0.009571880102157593, 0.021512778475880623, -0.031563688069581985, 0.027121778577566147, 0.011871221475303173, -0.005064648110419512, -0.01987536996603012, 0.02083342894911766, -0.03926299884915352, -0.013735082000494003, -0.019579242914915085, 0.04828617349267006, 0.01549442671239376, -0.0852149948477745, -0.047624241560697556, 0.02665145881474018, 0.0061010937206447124, 0.023237286135554314, -0.009728653356432915, -0.029560474678874016, 0.02691274881362915, 0.010355746373534203, -0.016983773559331894, 0.04556876793503761, 0.007869148626923561, 0.03828752040863037, 0.013412825763225555, -0.050829384475946426, -0.02675597555935383, -0.00094172841636464, 0.03832235932350159, 0.0038082844112068415, 0.006410285830497742, 0.040517184883356094, 0.05685644596815109, 0.026163719594478607, 0.08800207078456879, -0.021059878170490265, -0.027539841830730438, -0.028497900813817978, 0.05365130305290222, -0.023934055119752884, -0.01549442671239376, 0.013491212390363216, 0.0420500785112381, -0.0074946340173482895, -0.012324122712016106, -0.0307275652885437, -0.052397117018699646, 0.08103436976671219, 0.0024125666823238134, 0.03239981457591057, 0.05365130305290222, 0.030866919085383415, 0.05288485810160637 ]
10,963
burnman.classes.elasticsolutionmodel
excess_enthalpy
Given a list of molar fractions of different phases, compute the excess enthalpy of the solution. The base class implementation assumes that the excess enthalpy is zero. :param volume: Volume at which to evaluate the solution model. [m^3/mol] :type volume: float :param temperature: Temperature at which to evaluate the solution. [K] :type temperature: float :param molar_fractions: List of molar fractions of the different endmembers in solution. :type molar_fractions: list of floats :returns: The excess enthalpy of the solution. :rtype: float
def excess_enthalpy(self, volume, temperature, molar_fractions): """ Given a list of molar fractions of different phases, compute the excess enthalpy of the solution. The base class implementation assumes that the excess enthalpy is zero. :param volume: Volume at which to evaluate the solution model. [m^3/mol] :type volume: float :param temperature: Temperature at which to evaluate the solution. [K] :type temperature: float :param molar_fractions: List of molar fractions of the different endmembers in solution. :type molar_fractions: list of floats :returns: The excess enthalpy of the solution. :rtype: float """ return ( self.excess_helmholtz_energy(volume, temperature, molar_fractions) + temperature * self.excess_entropy(volume, temperature, molar_fractions) - volume * self.excess_pressure(volume, temperature, molar_fractions) )
(self, volume, temperature, molar_fractions)
[ 0.01732758805155754, -0.04356754198670387, 0.01580905169248581, 0.04269980639219284, 0.02227187156677246, -0.04306136444211006, -0.020391779020428658, -0.09574012458324432, -0.03966273367404938, 0.030858835205435753, 0.033805519342422485, -0.059873733669519424, 0.013223923742771149, -0.044760677963495255, -0.07889159768819809, 0.03564945608377457, -0.03575792536139488, -0.005129580851644278, 0.02565242350101471, -0.010729185305535793, 0.016369463875889778, -0.016062140464782715, -0.039301175624132156, 0.036300260573625565, -0.05061789229512215, 0.010819573886692524, 0.03489018976688385, -0.007552008610218763, -0.04971399903297424, -0.07664994895458221, 0.0003270955348853022, 0.019704822450876236, -0.016559280455112457, 0.008840053342282772, -0.011090741492807865, -0.020373700186610222, 0.035468678921461105, 0.04335060715675354, -0.10586370527744293, 0.0511963814496994, -0.03167233616113663, -0.007940681651234627, 0.07115428894758224, 0.006991595961153507, -0.023031139746308327, -0.008478496223688126, 0.02841833047568798, 0.028490642085671425, 0.01137094758450985, 0.03384167701005936, 0.005839135032147169, -0.027857918292284012, 0.0217656921595335, -0.022073015570640564, -0.0241700429469347, 0.07780692726373672, 0.0658755674958229, -0.007719228509813547, -0.006941881962120533, -0.031310781836509705, -0.009834333322942257, 0.0046211420558393, 0.037457238882780075, -0.014706305228173733, -0.004083327017724514, 0.0350167341530323, -0.014814771711826324, 0.05784901604056358, 0.016532164067029953, 0.02689979411661625, -0.022723818197846413, -0.049063198268413544, -0.007213049568235874, -0.00012357883679214865, 0.02999109961092472, -0.006801778916269541, -0.0022947529796510935, -0.03557714447379112, 0.03498057648539543, -0.010340511798858643, -0.0671771690249443, -0.030189955607056618, -0.016143491491675377, 0.04881010949611664, 0.01775241643190384, -0.026267070323228836, -0.0004485558602027595, -0.04201284795999527, 0.01217541005462408, 0.010503211989998817, -0.04530301317572594, 0.03854190930724144, 0.0019331966759636998, 0.033895909786224365, 0.054052677005529404, 0.04201284795999527, -0.02856295183300972, -0.07925315201282501, 0.027857918292284012, -0.05907830968499184, 0.010593601502478123, 0.08482111990451813, 0.04215747117996216, 0.015275755897164345, 0.018285712227225304, -0.04696617275476456, -0.012717745266854763, -0.008044629357755184, 0.09060602635145187, 0.0003078878507949412, -0.08055476099252701, 0.046749237924814224, -0.08496574312448502, -0.023139607161283493, -0.05032864585518837, -0.049243975430727005, -0.03396822139620781, 0.04978631064295769, 0.005247086752206087, -0.01326007954776287, 0.05011171102523804, -0.024151964113116264, -0.057523615658283234, 0.013043145649135113, 0.07925315201282501, 0.02500162273645401, 0.04664077237248421, -0.020735258236527443, -0.052751071751117706, -0.02639361470937729, 0.029774166643619537, 0.0741913691163063, 0.04204900562763214, 0.00310712493956089, -0.003696913830935955, 0.014109737239778042, -0.01220252737402916, -0.030280346050858498, 0.04125358164310455, -0.011407103389501572, 0.00251959590241313, -0.0422297827899456, -0.005540851037949324, 0.01137094758450985, -0.008731585927307606, 0.048412397503852844, 0.013232963159680367, -0.034962501376867294, -0.014371865428984165, 0.023374618962407112, -0.04063893482089043, 0.04251902922987938, 0.017734339460730553, -0.03919271007180214, -0.007868370041251183, 0.003909328021109104, 0.04168744757771492, 0.01692083850502968, 0.013910881243646145, -0.012862367555499077, -0.04917166382074356, -0.015031705610454082, 0.04664077237248421, 0.0714796930551529, -0.01137094758450985, -0.04034968838095665, -0.04154282435774803, -0.0363183356821537, -0.018819008022546768, 0.029032975435256958, 0.01885516382753849, -0.018837086856365204, -0.04570072516798973, 0.019108254462480545, 0.037601862102746964, 0.0347636453807354, 0.032738927751779556, -0.009301037527620792, -0.02360963076353073, 0.01021396741271019, -0.013603557832539082, -0.03244968503713608, -0.03384167701005936, 0.02422427572309971, 0.01815916784107685, 0.03575792536139488, 0.03973504528403282, -0.00996087770909071, -0.03738492727279663, -0.03731261566281319, 0.02422427572309971, -0.04866548627614975, -0.0027207115199416876, 0.03657142445445061, 0.03886730968952179, -0.007990395650267601, 0.06508014351129532, -0.006173574831336737, 0.02250688336789608, 0.012012709863483906, -0.06931035220623016, -0.003346655983477831, 0.013675869442522526, -0.0032336697913706303, -0.004173716064542532, 0.024386975914239883, -0.03575792536139488, 0.028074851259589195, -0.07115428894758224, 0.013395663350820541, -0.006566767580807209, -0.028779886662960052, 0.011379986070096493, 0.04472452029585838, 0.05202795937657356, -0.002128663007169962, 0.04870164021849632, -0.027243271470069885, 0.009888566099107265, 0.013919919729232788, -0.037601862102746964, -0.07621607929468155, 0.005229008849710226, 0.03933733329176903, 0.03120231442153454, 0.020952191203832626, -0.017137771472334862, 0.056728191673755646, 0.005699031986296177, -0.012518889270722866, -0.04671308025717735, 0.06674330681562424, -0.042410559952259064, -0.025164322927594185, -0.009364309720695019, 0.09248612076044083, -0.04656846076250076, -0.03572176769375801, 0.011316713877022266, -0.0006479768198914826, -0.02505585551261902, -0.060379911214113235, -0.02140413597226143, 0.04363985359668732, 0.006385989021509886, -0.03017187863588333, 0.011271519586443901, 0.06620097160339355, -0.0041036647744476795, 0.009047947824001312, -0.04089202359318733, -0.03145540505647659, 0.011614997871220112, 0.004327377770096064, 0.04298905283212662, -0.04909935221076012, -0.030479202046990395, 0.0560050792992115, 0.014950355514883995, -0.04783390834927559, -0.009798177517950535, -0.04114511236548424, 0.04664077237248421, 0.018819008022546768, -0.07628839462995529, 0.03940964490175247, -0.02078949101269245, -0.020120611414313316, 0.0003468681243248284, 0.0415789820253849, 0.026140524074435234, 0.04920782148838043, -0.02357347495853901, -0.0531487837433815, 0.0017399899661540985, 0.05643894895911217, 0.04645999148488045, 0.017571639269590378, -0.06970806419849396, 0.07010577619075775, -0.01824955828487873, -0.046423837542533875, -0.0005160652217455208, 0.0037398487329483032, -0.02883411943912506, 0.025110090151429176, -0.04324214160442352, -0.09118451178073883, 0.0857611671090126, -0.018276674672961235, -0.023229995742440224, 0.035794079303741455, 0.025580111891031265, 0.01909017562866211, 0.10130809247493744, -0.014227243140339851, -0.04917166382074356, -0.030262267217040062, 0.03376936540007591, -0.03432977572083473, 0.03022611141204834, 0.0069328430108726025, -0.0020947670564055443, -0.0586082860827446, -0.049750156700611115, 0.01700218766927719, 0.07296207547187805, 0.035974856466054916, 0.04635152593255043, -0.05022018030285835, 0.013043145649135113, 0.039301175624132156, 0.041795916855335236, 0.04982246831059456, 0.01746317185461521, -0.007610761560499668, 0.040928181260824203, 0.009798177517950535, 0.005757784936577082, 0.06045222282409668, 0.014480331912636757, 0.04551994428038597, 0.06728564202785492, 0.03919271007180214, 0.04729157313704491, -0.07354056090116501, 0.018430335447192192, -0.015781935304403305, 0.04917166382074356, -0.034546710550785065, -0.10036804527044296, -0.023916954174637794, -0.026230914518237114, -0.0272251944988966, -0.037276461720466614, -0.046749237924814224, 0.04125358164310455, -0.037963416427373886, 0.016559280455112457, -0.04056662321090698, 0.03940964490175247, 0.013811453245580196, -0.022976906970143318, 0.04971399903297424, -0.007737305946648121, -0.03738492727279663, 0.04454374313354492, -0.052606452256441116, -0.006345313973724842, 0.0935707837343216, -0.04881010949611664, 0.025254711508750916, 0.030298423022031784, 0.014290515333414078, 0.048918575048446655, 0.0231938399374485, -0.047074638307094574, -0.013142573647201061, -0.02310345135629177, -0.019813288003206253, -0.018837086856365204, 0.017535483464598656, -0.016514087095856667, 0.026881715282797813, -0.027984462678432465, -0.08098862320184708, 0.00611030263826251, 0.005355553701519966, -0.017851844429969788, -0.018150130286812782, -0.05083482339978218, -0.04747235029935837, 0.0036246024537831545, -0.012681589461863041, 0.017535483464598656, 0.04204900562763214, -0.017915118485689163, 0.011298635974526405, -0.06229615956544876, 0.0025286348536610603, 0.030858835205435753, 0.0021772473119199276, -0.0787469744682312, -0.0009558646124787629, -0.0018123012268915772, -0.02422427572309971, 0.03483595699071884, -0.035143278539180756, 0.0496416874229908, 0.062223851680755615, 0.04100049287080765, -0.023537319153547287, 0.0505455806851387, 0.017589716240763664, -0.040783558040857315, 0.01584520749747753, 0.017526444047689438, -0.028454486280679703, -0.07954239845275879, 0.02556203491985798, 0.041289735585451126, -0.06027144566178322, 0.01751740649342537, -0.0003222936065867543, -0.01894555427134037, -0.038758840411901474, -0.0011394674656912684, -0.0018631451530382037, 0.027785606682300568, 0.008849091827869415, -0.027930228039622307, 0.01750836707651615, 0.003122942987829447, 0.025254711508750916, -0.06555017083883286, 0.011922321282327175, -0.03425746411085129, -0.05419730022549629, -0.0354144461452961, 0.019560199230909348, 0.018457451835274696, -0.045736879110336304, 0.0347636453807354, 0.04935244470834732, 0.03308240696787834, -0.022091094404459, -0.024368898943066597, -0.03049727901816368, -0.05983757972717285, -0.00655320892110467, -0.026737092062830925, -0.01824955828487873, -0.03425746411085129, -0.03839728608727455, 0.05011171102523804, -0.0003296377253718674, 0.019017864018678665, 0.0016834967536851764, -0.007416424807161093, 0.019198643043637276, 0.020355623215436935, 0.044182188808918, 0.029611466452479362, 0.014832849614322186, 0.009070545434951782, -0.03610140457749367, 0.001081844442524016, -0.03673412650823593, -0.02366386353969574, -0.01815916784107685, 0.02024715580046177, -0.001752418465912342, -0.011786737479269505, 0.013910881243646145, 0.047580815851688385, -0.0166315920650959, 0.007249204907566309, -0.01770722307264805, -0.03731261566281319, 0.0051341005600988865, -0.004645999055355787, 0.08590579032897949, 0.06374238431453705, 0.014218203723430634, 0.014950355514883995, -0.04230209439992905, 0.03599293529987335, -0.03221467137336731, 0.007768942508846521, -0.03165426105260849, 0.03628218173980713, 0.002149000531062484, -0.019054019823670387, 0.006896687671542168, -0.005748745985329151, -0.022163404151797295, -0.032467760145664215, 0.015682507306337357, 0.022633427754044533, -0.07205818593502045, 0.00002173222128476482, 0.019560199230909348, 0.026628626510500908, -0.027207115665078163, 0.009490854106843472, 0.04302520677447319, 0.006598403677344322, -0.040458157658576965, 0.030027255415916443, -0.04920782148838043, -0.045411478728055954, 0.01174154318869114, 0.006327236536890268, -0.010367629118263721, -0.04436296597123146, -0.0023794928565621376, -0.00959028210490942, 0.008505613543093204, 0.0166315920650959, -0.008808417245745659, 0.017445094883441925, 0.020717179402709007, 0.005902407690882683, -0.02236226014792919, 0.005378150846809149, 0.01617060787975788, -0.00479514105245471, -0.013169690035283566, -0.022615350782871246, 0.039771199226379395, -0.017969351261854172, -0.024567754939198494, 0.030768446624279022, 0.03376936540007591, 0.04866548627614975, 0.019813288003206253, -0.05896984413266182, 0.019198643043637276, 0.07802386581897736, 0.02912336401641369, -0.012075982056558132, 0.015565001405775547, -0.0012134735006839037, -0.005260644946247339, 0.009825293906033039, 0.019289031624794006, -0.059222932904958725, -0.036625660955905914, -0.038144197314977646, 0.020066378638148308, -0.06710486114025116, -0.04635152593255043, -0.018195323646068573, 0.0688764899969101, -0.03836112841963768, 0.01765298843383789, -0.03922886401414871, -0.049569375813007355, -0.01672198250889778, 0.015546923503279686, -0.06273002922534943, -0.015781935304403305, 0.037493396550416946, -0.06573094427585602, 0.037276461720466614, -0.002150130458176136, -0.02402541972696781, 0.03185311704874039, -0.03328126296401024, 0.029774166643619537, 0.004777063615620136, -0.022976906970143318, -0.009789138101041317, 0.034872110933065414, 0.10550214350223541, 0.027460206300020218, 0.0006186003447510302, 0.013648753054440022, -0.020482167601585388, 0.004677635617554188, 0.028074851259589195, -0.05531812459230423, 0.0400242879986763, -0.046604614704847336, -0.008776780217885971, -0.000886377994902432, 0.03599293529987335, 0.04038584604859352, -0.0369691364467144, 0.016613515093922615, -0.04063893482089043, 0.062043070793151855, 0.033480118960142136, 0.009689710102975368, -0.034872110933065414, -0.005423345603048801, 0.013928959146142006, -0.07426367700099945, -0.010729185305535793, -0.035559069365262985, 0.005075347609817982, -0.06175382807850838, -0.03720415011048317, -0.007312477566301823, 0.050256334245204926, 0.04269980639219284, 0.015546923503279686, 0.01733662746846676, 0.02019292302429676, 0.04255518317222595, -0.03064190223813057, -0.05763208493590355, 0.013223923742771149, 0.012771978043019772, 0.00006948661030037329, -0.020536402240395546, -0.049605533480644226, -0.010186850093305111, 0.033118560910224915, -0.007985875941812992, -0.017824728041887283, -0.0024653624277561903, -0.016712943091988564, 0.025580111891031265, 0.035287901759147644, -0.004722829908132553, 0.03526982292532921, -0.03622794896364212, 0.0022631168831139803, -0.05499272421002388, 0.0013660051627084613, -0.025778967887163162, 0.006593883968889713, -0.006837934721261263, -0.001060941955074668, 0.02407965436577797, 0.0025557514745742083, -0.025543956086039543, 0.05502887815237045, 0.0531487837433815, -0.0345647893846035, 0.04747235029935837, -0.04291674122214317, 0.001358096138574183, -0.012301955372095108, -0.013829531148076057, 0.0675748810172081, -0.07061195373535156, -0.0350167341530323, -0.031093847006559372, 0.010448979213833809, 0.031871192157268524, -0.0013727842597290874, 0.02167530357837677, -0.05351034179329872, 0.03984351083636284, 0.001518536708317697, -0.007814137265086174, -0.017173927277326584, -0.008333873935043812, -0.03290162980556488, 0.03789110854268074, -0.023537319153547287, -0.00085191719699651, 0.0001553562469780445, -0.000020355199012556113, -0.0415789820253849, -0.007963279262185097, 0.012374266050755978, -0.0067339870147407055, -0.006797259673476219, 0.07386596500873566, 0.009346231818199158, -0.009572205133736134, -0.05152178183197975, -0.012211565859615803, 0.01816820725798607, -0.03335357457399368, 0.015881363302469254, 0.028020618483424187, -0.0005818797508254647, 0.007371230516582727, -0.03673412650823593, -0.003434785408899188, 0.09465545415878296, -0.042410559952259064, -0.02556203491985798, -0.05846366286277771, 0.0013739141868427396, 0.0047002327628433704, -0.014742461033165455, -0.029557231813669205, 0.010241083800792694, 0.006191652733832598, -0.03922886401414871, 0.03572176769375801, 0.037963416427373886, 0.055535055696964264, -0.002086858032271266, -0.022308027371764183, 0.027785606682300568, 0.032051973044872284, 0.014869005419313908, -0.012600239366292953, 0.021982626989483833, 0.013766258023679256, -0.051557935774326324, 0.030949223786592484, 0.012509849853813648, -0.04389294236898422, -0.017173927277326584, -0.014154931530356407, -0.04049431160092354, -0.0005629545776173472, 0.03785495087504387, -0.008953039534389973, -0.030262267217040062, -0.0005965679883956909, 0.011732503771781921, -0.02532702311873436, 0.04935244470834732, 0.01793319545686245, -0.033805519342422485, 0.024802766740322113, -0.009527009911835194, -0.029231831431388855, 0.017173927277326584, -0.03259430453181267, -0.06515245884656906, -0.022615350782871246, 0.01719200424849987, 0.04230209439992905, 0.03429362177848816, -0.04219362884759903, 0.02606821432709694, 0.03789110854268074, 0.06985268741846085, 0.03821650892496109, 0.0062323277816176414, -0.005577006842941046, -0.03554099053144455, -0.04747235029935837, 0.1107085570693016, 0.04316982999444008, -0.021729538217186928, -0.001288044499233365, 0.06609250605106354, -0.037601862102746964, -0.008184731937944889, 0.03272084891796112, -0.03503481298685074, 0.009653555229306221, -0.006006354931741953, -0.03667989373207092, 0.020446011796593666, -0.024929311126470566, -0.04367600753903389, 0.028454486280679703, 0.0005686038639396429, 0.009183531627058983, 0.050075557082891464, -0.014371865428984165, -0.015682507306337357, -0.05792132765054703, 0.051557935774326324, -0.02125951461493969, 0.010566485114395618, 0.06876801699399948, -0.0018439374398440123, -0.03331741690635681, 0.023410774767398834, 0.01750836707651615, 0.060705311596393585, 0.018909398466348648, 0.08171173930168152, 0.009481815621256828, 0.0415789820253849, -0.02773137204349041, -0.005088905803859234, 0.0002485699951648712, -0.03628218173980713, -0.0343659333884716, 0.0387226864695549, 0.08106093853712082, -0.049243975430727005, 0.054884254932403564, -0.0017162628937512636, 0.0008310147095471621 ]
10,964
burnman.classes.elasticsolutionmodel
excess_entropy
Given a list of molar fractions of different phases, compute the excess entropy of the solution. The base class implementation assumes that the excess entropy is zero. :param volume: Volume at which to evaluate the solution model. [m^3/mol] :type volume: float :param temperature: Temperature at which to evaluate the solution. [K] :type temperature: float :param molar_fractions: List of molar fractions of the different endmembers in solution. :type molar_fractions: list of floats :returns: The excess entropy of the solution. :rtype: float
def excess_entropy(self, volume, temperature, molar_fractions): """ Given a list of molar fractions of different phases, compute the excess entropy of the solution. The base class implementation assumes that the excess entropy is zero. :param volume: Volume at which to evaluate the solution model. [m^3/mol] :type volume: float :param temperature: Temperature at which to evaluate the solution. [K] :type temperature: float :param molar_fractions: List of molar fractions of the different endmembers in solution. :type molar_fractions: list of floats :returns: The excess entropy of the solution. :rtype: float """ return np.dot( molar_fractions, self.excess_partial_entropies(volume, temperature, molar_fractions), )
(self, volume, temperature, molar_fractions)
[ 0.000996394082903862, -0.023082111030817032, 0.02005903050303459, 0.04769354686141014, 0.0566205270588398, -0.0240246020257473, -0.02686985395848751, -0.09773442894220352, -0.00046263140393421054, 0.054308757185935974, 0.02384677343070507, -0.03435642644762993, 0.015222101472318172, -0.023206591606140137, -0.06131519377231598, 0.022068491205573082, -0.043959151953458786, -0.00034509802935644984, 0.018796449527144432, 0.00127036077901721, 0.0014381862711161375, 0.01899206079542637, -0.022708673030138016, 0.02912827394902706, -0.06576090306043625, 0.00932709313929081, 0.035405613481998444, -0.016146808862686157, -0.05829211324453354, -0.06515628099441528, -0.00856687780469656, 0.0296617578715086, 0.021268263459205627, 0.04730232432484627, -0.030355287715792656, -0.027012117207050323, 0.050432100892066956, 0.021783964708447456, -0.13778135180473328, 0.03081764280796051, -0.05103671923279762, -0.002551835961639881, 0.04595082998275757, -0.00392555957660079, -0.012750288471579552, -0.003923336509615183, 0.016733640804886818, 0.034143030643463135, -0.01465305034071207, 0.030853208154439926, -0.01890314742922783, -0.028274698182940483, 0.005548242479562759, -0.014048434793949127, -0.02982180379331112, 0.08941206336021423, 0.05928795039653778, -0.02377564273774624, -0.007668844889849424, -0.004374575801193714, -0.01965002529323101, 0.014226262457668781, 0.03752176836133003, -0.018529707565903664, 0.009051459841430187, 0.0059083448722958565, -0.03777072951197624, 0.07945367693901062, 0.04392358660697937, 0.036668192595243454, -0.011905604042112827, -0.05928795039653778, 0.023064328357577324, 0.0048369294963777065, 0.03826864808797836, 0.021037086844444275, -0.018867580220103264, -0.04360349476337433, 0.05964360758662224, 0.0084023866802454, -0.06469392776489258, -0.042856618762016296, 0.014715290628373623, 0.04431480914354324, 0.02502043917775154, -0.03819751739501953, 0.0029608409386128187, -0.015053164213895798, 0.008549095131456852, -0.009549379348754883, -0.03553009033203125, 0.06255999207496643, 0.00018352434562984854, 0.03730837255716324, 0.032293617725372314, 0.060852840542793274, -0.028665918856859207, -0.029946282505989075, 0.05871890112757683, -0.05761636421084404, 0.025927364826202393, 0.08628228306770325, 0.072198286652565, 0.04033145681023598, 0.010598565451800823, -0.024149080738425255, -0.0073576453141868114, 0.01499092485755682, 0.07280290126800537, 0.016004545614123344, -0.06665004044771194, 0.05551799014210701, -0.02838139422237873, -0.020307989791035652, -0.05082332342863083, -0.05619373917579651, -0.017098190262913704, 0.04374575987458229, 0.005085888784378767, -0.0058994535356760025, 0.02829248085618019, -0.046057526022195816, -0.039691273123025894, 0.001897205482237041, 0.06398262083530426, 0.00646850373595953, 0.036668192595243454, -0.03919335454702377, -0.058078717440366745, -0.013995085842907429, 0.029359450563788414, 0.06206207349896431, 0.05605147406458855, 0.022317450493574142, 0.020877040922641754, -0.04385245591402054, -0.010153994895517826, -0.04964965581893921, 0.07867123186588287, -0.036668192595243454, 0.009149265475571156, -0.02839917689561844, 0.0035298913717269897, 0.02384677343070507, 0.025553924962878227, 0.039584577083587646, 0.025731753557920456, -0.03533447906374931, 0.015204318799078465, -0.01465305034071207, -0.04079381003975868, 0.054451022297143936, 0.02738555520772934, -0.026354152709245682, 0.002378453267738223, 0.014679725281894207, 0.04299888014793396, -0.025340531021356583, -0.0026918756775557995, -0.0187253188341856, -0.016226831823587418, -0.024504737928509712, 0.02123269811272621, 0.05658496171236038, -0.014377417042851448, -0.05285056680440903, -0.018280748277902603, -0.03611692413687706, -0.02912827394902706, 0.013541623950004578, 0.013870606198906898, -0.034978825598955154, -0.02174839936196804, 0.001385949202813208, 0.05676278844475746, 0.04267878830432892, 0.0069575319066643715, -0.025180485099554062, -0.05558912083506584, 0.022975414991378784, -0.01142546720802784, -0.0408293753862381, -0.02039690501987934, 0.015639998018741608, -0.00044929428258910775, 0.04499055817723274, 0.051427941769361496, -0.014724181964993477, -0.019454414024949074, -0.034729864448308945, 0.01050076074898243, -0.05078775808215141, -0.02982180379331112, 0.025927364826202393, 0.07009991258382797, -0.029501711949706078, 0.05032540485262871, 0.0016171259339898825, -0.0005873890477232635, 0.03595687821507454, -0.05473554506897926, 0.00029786236700601876, 0.007077565882354975, -0.0032609261106699705, -0.013239315710961819, 0.01982785388827324, -0.03972683846950531, 0.0559447780251503, -0.05260160565376282, -0.03140447661280632, -0.008740260265767574, -0.017427172511816025, 0.023704510182142258, 0.054202061146497726, 0.062026504427194595, -0.018182942643761635, 0.033894069492816925, -0.035974662750959396, -0.022779803723096848, -0.02133939415216446, -0.03314719349145889, -0.049329567700624466, -0.01066969707608223, 0.045559607446193695, 0.010936439968645573, 0.03257814049720764, -0.02847030945122242, 0.043318971991539, 0.023828990757465363, 0.024415824562311172, -0.0352989137172699, 0.050360970199108124, -0.017782827839255333, -0.010153994895517826, -0.001797177130356431, 0.07426109164953232, -0.045132819563150406, -0.0027007670141756535, 0.013923955149948597, 0.010145103558897972, -0.06401818245649338, -0.08108969777822495, -0.00038205296732485294, 0.03983353450894356, 0.02125048078596592, -0.013212641701102257, 0.0010030627017840743, 0.07675068825483322, 0.008264569565653801, 0.01158551312983036, -0.04829816147685051, -0.03458760306239128, 0.01863640360534191, 0.004287884570658207, 0.05889672785997391, -0.059003423899412155, -0.026158541440963745, 0.046164222061634064, 0.021108217537403107, -0.059501346200704575, -0.02039690501987934, -0.03135112673044205, 0.025642838329076767, 0.03670375794172287, -0.0999394953250885, 0.0016015659784898162, -0.020361337810754776, 0.013923955149948597, -0.03376959264278412, 0.04011806100606918, 0.015506626106798649, 0.058327678591012955, -0.00646850373595953, -0.06938859820365906, 0.014412982389330864, 0.022477494552731514, 0.06953085958957672, 0.019721155986189842, -0.05416649580001831, 0.08172988146543503, -0.008415723219513893, -0.04520395025610924, -0.00571273360401392, 0.00978944730013609, -0.015328798443078995, 0.034391991794109344, -0.04751571640372276, -0.08919867128133774, 0.07298073172569275, -0.01385282352566719, -0.023615596815943718, 0.04139842465519905, 0.02679872326552868, 0.04730232432484627, 0.07888462394475937, -0.02141052484512329, -0.05082332342863083, -0.009842795319855213, 0.016475791111588478, -0.008642454631626606, 0.002985292347148061, 0.030195243656635284, -0.005188140086829662, -0.06327130645513535, -0.05285056680440903, -0.005308174528181553, 0.06743248552083969, 0.007682181894779205, 0.029839586466550827, -0.01838744431734085, 0.02041468769311905, 0.07369203865528107, 0.030550898984074593, 0.07369203865528107, 0.02023685909807682, -0.01528434082865715, 0.0453462116420269, 0.014919793233275414, 0.036241404712200165, 0.06302234530448914, 0.034889910370111465, 0.07795991748571396, 0.0611373633146286, 0.04239426180720329, 0.04424367845058441, -0.0760393738746643, 0.03905109316110611, -0.04435037449002266, 0.05889672785997391, -0.04125616326928139, -0.10463416576385498, -0.024220213294029236, -0.01491090189665556, -0.02215740457177162, -0.05644269660115242, -0.033129408955574036, 0.0394778810441494, -0.06127962842583656, 0.0005779419443570077, -0.030124111101031303, 0.007833335548639297, 0.002291762037202716, -0.008669128641486168, 0.05039653554558754, -0.017756154760718346, -0.04683997109532356, 0.021801747381687164, -0.05676278844475746, -0.04029588773846626, 0.04776467755436897, -0.017578326165676117, 0.02822134830057621, 0.05473554506897926, 0.0296617578715086, 0.07273177057504654, 0.029750673100352287, -0.03805525228381157, 0.008531312458217144, -0.03979796916246414, -0.00830902624875307, -0.007175371516495943, 0.01612013392150402, 0.006833051797002554, -0.030515333637595177, -0.006881954614073038, -0.03730837255716324, 0.005957247689366341, -0.0033187204971909523, -0.03199131041765213, -0.012492436915636063, -0.06309347599744797, -0.04474159702658653, -0.0038121938705444336, 0.009647184051573277, 0.027225511148571968, 0.01050076074898243, -0.05534016340970993, -0.01491090189665556, -0.05861220136284828, 0.023900121450424194, -0.004587969742715359, 0.012679156847298145, -0.05494894087314606, -0.010820851661264896, -0.014946467243134975, -0.01221680361777544, 0.005059214774519205, -0.015746694058179855, 0.025500576943159103, 0.056478261947631836, 0.011407684534788132, -0.0171426460146904, 0.03688158467411995, -0.0019016512669622898, -0.04036702215671539, 0.01074972003698349, 0.026318585500121117, -0.022868717089295387, -0.07504353672266006, -0.023811208084225655, 0.02174839936196804, -0.05612260848283768, -0.000047166173317236826, 0.013995085842907429, -0.024593651294708252, -0.0322580523788929, -0.017951766029000282, -0.012599133886396885, 0.015435495413839817, -0.013701669871807098, -0.044136982411146164, 0.03588574752211571, 0.028168000280857086, 0.03232918307185173, -0.05871890112757683, 0.0011008682195097208, -0.041042767465114594, -0.08642454445362091, -0.024558085948228836, 0.01205675769597292, 0.016982601955533028, -0.029501711949706078, 0.031777914613485336, 0.04780024290084839, 0.014377417042851448, -0.039264485239982605, 0.0028341382276266813, -0.012101215310394764, -0.05139237642288208, -0.006993097253143787, -0.04886721447110176, -0.002032799646258354, -0.03117329813539982, -0.013239315710961819, 0.0374506376683712, -0.021037086844444275, 0.007699964568018913, 0.029537279158830643, -0.025553924962878227, 0.014466331340372562, 0.008193437941372395, 0.04979192093014717, 0.06024822220206261, 0.030124111101031303, 0.0048680491745471954, -0.03629475459456444, -0.008460180833935738, -0.02023685909807682, -0.05377527326345444, -0.010100646875798702, 0.015435495413839817, -0.031866829842329025, -0.002585178706794977, 0.012456871569156647, 0.0505388006567955, 0.019169889390468597, -0.011790015734732151, -0.015577757731080055, -0.026763157919049263, -0.01940106600522995, 0.014493005350232124, 0.07945367693901062, 0.058398809283971786, 0.011541055515408516, 0.014261828735470772, -0.02375785820186138, 0.010776394046843052, -0.011469924822449684, 0.02863035351037979, -0.007606605067849159, 0.057829760015010834, 0.03670375794172287, -0.0055171228013932705, 0.003736616810783744, -0.01822739839553833, -0.028452524915337563, -0.03617027401924133, 0.017862850800156593, 0.0062640015967190266, -0.06736135482788086, -0.015826717019081116, 0.003776628291234374, 0.047906938940286636, -0.053384050726890564, -0.0013426035875454545, 0.011781124398112297, 0.01653803139925003, -0.0485115572810173, 0.043141141533851624, -0.041042767465114594, -0.05402423441410065, 0.014075108803808689, 0.002325104782357812, -0.012528003193438053, -0.027990171685814857, -0.009100362658500671, 0.0033476175740361214, 0.02478926256299019, 0.0037677367217838764, -0.017782827839255333, 0.006806377787142992, 0.04456377029418945, -0.0012270151637494564, -0.017782827839255333, 0.024077950045466423, 0.02445138990879059, -0.0016449115937575698, 0.0003748286981135607, -0.005730516742914915, 0.03437420725822449, -0.027154378592967987, -0.02898601070046425, 0.02486039511859417, 0.025998495519161224, 0.046733275055885315, 0.02551835961639881, -0.057331837713718414, 0.019632242619991302, 0.06284451484680176, 0.05779419466853142, -0.022957632318139076, 0.03257814049720764, 0.0003603801305871457, -0.004894723650068045, -0.00022034035646356642, 0.015995655208826065, -0.06007039546966553, -0.035227783024311066, -0.02251306176185608, 0.03344950079917908, -0.09332428127527237, -0.05050323158502579, -0.03940674662590027, 0.08073404431343079, -0.06053274869918823, 0.010296258144080639, -0.03058646433055401, -0.041860777884721756, -0.010651914402842522, 0.01638687588274479, -0.06223990023136139, -0.00961161870509386, 0.0764661654829979, -0.051178980618715286, 0.049436263740062714, 0.015097621828317642, -0.01385282352566719, 0.03787742555141449, -0.020539166405797005, 0.012874768115580082, 0.0038033025339245796, -0.018778666853904724, -0.03965570777654648, 0.0045057241804897785, 0.10292701423168182, 0.012590242549777031, 0.017702806740999222, -0.0059928130358457565, -0.027243293821811676, -0.005952802021056414, 0.04356792941689491, -0.05373970791697502, 0.03844647482037544, -0.03375180810689926, -0.00013997031783219427, 0.0005657162400893867, 0.011309878900647163, 0.004587969742715359, -0.06014152616262436, 0.029003793373703957, -0.05814984813332558, 0.051285676658153534, 0.03282710164785385, 0.016342420130968094, -0.042287565767765045, -0.018832014873623848, 0.024220213294029236, -0.07902689278125763, 0.010465194471180439, -0.06462279707193375, -0.0016249059699475765, -0.052459344267845154, -0.015657780691981316, 0.0045435125939548016, 0.0466977097094059, 0.032115787267684937, 0.01125653088092804, 0.02158835344016552, 0.01087419968098402, 0.02478926256299019, -0.019863419234752655, -0.06288008391857147, 0.010171777568757534, 0.013817258179187775, 0.012367957271635532, -0.01899206079542637, -0.04694666713476181, 0.00032148021273314953, 0.01612013392150402, -0.00690418342128396, -0.010554108768701553, -0.016840338706970215, -0.01297257374972105, 0.02912827394902706, 0.03248922899365425, -0.021570570766925812, 0.02528718300163746, -0.02318880893290043, 0.02813243493437767, -0.04207417368888855, -0.026638677343726158, 0.006415155250579119, 0.0006607432151213288, 0.01578226126730442, 0.016431333497166634, 0.015391037799417973, 0.008918088860809803, -0.04257209226489067, 0.055802516639232635, 0.050360970199108124, -0.027901258319616318, 0.03256035968661308, -0.032791536301374435, -0.023615596815943718, -0.028025737032294273, -0.014261828735470772, 0.023917904123663902, -0.03063981421291828, -0.050360970199108124, -0.009504921734333038, 0.005379305686801672, 0.015853391960263252, 0.019205454736948013, 0.04456377029418945, -0.021961793303489685, 0.020628081634640694, 0.001631574472412467, -0.022779803723096848, -0.01662694476544857, -0.00008689967944519594, -0.03773516044020653, 0.047088928520679474, -0.03954901173710823, -0.0019349940121173859, -0.015177643857896328, -0.008575769141316414, -0.037486203014850616, 0.0421808697283268, 0.005886116065084934, -0.009664967656135559, -0.001241463702172041, 0.062097638845443726, 0.04360349476337433, 0.004574632737785578, -0.013061488047242165, -0.009682750329375267, 0.020965954288840294, -0.042963314801454544, 0.008531312458217144, 0.021979575976729393, 0.008597997948527336, 0.01899206079542637, -0.01881423220038414, 0.009193722158670425, 0.06216876953840256, -0.07009991258382797, -0.021268263459205627, -0.06736135482788086, -0.03848204016685486, 0.02274423837661743, 0.0010980896186083555, -0.02176618203520775, 0.020965954288840294, 0.0048547121696174145, -0.026265237480401993, 0.03224026784300804, 0.035565655678510666, 0.037592899054288864, 0.009007002227008343, 0.0030030752532184124, 0.01289255078881979, 0.0421808697283268, 0.01847635954618454, -0.02763451635837555, 0.014315176755189896, 0.01956111192703247, -0.05921681970357895, 0.028754834085702896, -0.01797843910753727, -0.057829760015010834, -0.001241463702172041, -0.015933414921164513, -0.02452252060174942, -0.024807045236229897, -0.011043136939406395, 0.013168185018002987, -0.026603111997246742, 0.02486039511859417, 0.028452524915337563, -0.02923496998846531, 0.02989293448626995, 0.04587969928979874, -0.03200909122824669, 0.01142546720802784, -0.026051843538880348, -0.0367748886346817, -0.0010036183521151543, -0.025820666924118996, -0.06736135482788086, -0.005268163047730923, 0.027314424514770508, 0.0336095467209816, 0.04139842465519905, -0.03426751121878624, 0.008958100341260433, 0.06095953658223152, 0.06053274869918823, 0.042963314801454544, -0.0007652173517271876, -0.02806130424141884, -0.02551835961639881, -0.04797807335853577, 0.10036628693342209, 0.05224595218896866, -0.020877040922641754, -0.0013592749601230025, 0.0663299486041069, -0.035423394292593, 0.021428309381008148, 0.023722292855381966, -0.015026490204036236, -0.0033276118338108063, -0.007753313053399324, -0.06686343252658844, 0.010598565451800823, -0.028772616758942604, -0.03291601687669754, 0.009940600953996181, 0.0029964065179228783, 0.015977870672941208, 0.023633379489183426, -0.013301555998623371, -0.007228720001876354, -0.032293617725372314, 0.03684601932764053, -0.03819751739501953, 0.00436568446457386, 0.05032540485262871, 0.016475791111588478, -0.026051843538880348, 0.01297257374972105, 0.0015537746949121356, 0.023082111030817032, 0.007210936862975359, 0.05960804224014282, 0.0015948974760249257, 0.03940674662590027, -0.0401536263525486, -0.00297195534221828, -0.004403472878038883, -0.033538416028022766, -0.0453462116420269, 0.0187253188341856, 0.06554750353097916, -0.06931746751070023, 0.053206223994493484, 0.016360202804207802, -0.02132161147892475 ]
10,965
burnman.classes.elasticsolutionmodel
excess_helmholtz_energy
Given a list of molar fractions of different phases, compute the excess Helmholtz free energy of the solution. The base class implementation assumes that the excess Helmholtz energy is zero. :param volume: Volume at which to evaluate the solution model. [m^3/mol] :type volume: float :param temperature: Temperature at which to evaluate the solution. [K] :type temperature: float :param molar_fractions: List of molar fractions of the different endmembers in solution. :type molar_fractions: list of floats :returns: The excess Helmholtz energy. :rtype: float
def excess_helmholtz_energy(self, volume, temperature, molar_fractions): """ Given a list of molar fractions of different phases, compute the excess Helmholtz free energy of the solution. The base class implementation assumes that the excess Helmholtz energy is zero. :param volume: Volume at which to evaluate the solution model. [m^3/mol] :type volume: float :param temperature: Temperature at which to evaluate the solution. [K] :type temperature: float :param molar_fractions: List of molar fractions of the different endmembers in solution. :type molar_fractions: list of floats :returns: The excess Helmholtz energy. :rtype: float """ return np.dot( np.array(molar_fractions), self.excess_partial_helmholtz_energies( volume, temperature, molar_fractions ), )
(self, volume, temperature, molar_fractions)
[ 0.07133128494024277, -0.009881428442895412, 0.008658479899168015, 0.0214349627494812, 0.015876103192567825, -0.04425741732120514, -0.0053498465567827225, -0.059164054691791534, -0.03724880516529083, 0.013919384218752384, 0.050590068101882935, -0.0447554886341095, 0.012060501612722874, -0.07656106352806091, -0.05308043956756592, 0.06418036669492722, -0.08154179900884628, -0.015671536326408386, 0.03326421603560448, -0.004687230568379164, 0.010423973202705383, -0.08054564893245697, -0.01112661324441433, 0.0447554886341095, -0.03203681856393814, 0.013545828871428967, 0.012096078135073185, 0.01577826775610447, -0.025953203439712524, -0.0673111155629158, -0.03417142108082771, 0.02670031413435936, -0.039134372025728226, 0.029831064864993095, -0.03781803324818611, -0.02244889922440052, 0.04689009115099907, 0.008907516486942768, -0.09783592820167542, 0.060089047998189926, 0.013190061785280704, 0.012389586307108402, 0.0422295443713665, 0.00047667219769209623, 0.016454223543405533, -0.009063164703547955, 0.0492025762796402, 0.040023788809776306, 0.011455697938799858, 0.0387430265545845, 0.013323474675416946, -0.0447554886341095, 0.0017465937417000532, -0.03280171751976013, -0.02527724578976631, 0.08075911551713943, 0.06407363712787628, -0.016125140711665154, -0.008467255160212517, -0.024530135095119476, -0.03845841437578201, 0.01743258349597454, 0.033193062990903854, -0.011010989546775818, -0.0233383160084486, 0.03374450281262398, 0.02435225248336792, 0.05404100939631462, 0.020616699010133743, 0.022520052269101143, -0.010326137766242027, -0.033637769520282745, -0.0031663263216614723, -0.010450655594468117, 0.03977475315332413, 0.009970370680093765, -0.03458055481314659, -0.04991411045193672, -0.0000769207181292586, 0.002697158604860306, -0.0647851750254631, -0.02067006379365921, -0.023409469053149223, 0.05727848783135414, 0.0331752747297287, -0.01747705414891243, 0.040593016892671585, -0.015547018498182297, 0.03742669150233269, -0.009632391855120659, -0.045858368277549744, 0.03337094560265541, -0.004976291209459305, 0.01892680488526821, 0.03717765212059021, -0.0003599361516535282, -0.03653727099299431, -0.05261794105172157, 0.030151253566145897, -0.05571311339735985, 0.045040104538202286, 0.012247279286384583, 0.04849104583263397, 0.010797528550028801, 0.038814179599285126, -0.033833444118499756, -0.010690798982977867, -0.02851472608745098, 0.0657101646065712, -0.012585258111357689, -0.0666707381606102, 0.04895354062318802, -0.06233038008213043, -0.015956150367856026, -0.04429299384355545, -0.018713345751166344, 0.005718954838812351, 0.039703600108623505, 0.035256512463092804, -0.031485382467508316, 0.04660547897219658, -0.03490074351429939, -0.0619034618139267, 0.0014586447505280375, 0.045644909143447876, 0.03639496490359306, 0.017619362100958824, -0.04215839132666588, -0.012772035785019398, -0.010557386092841625, 0.05571311339735985, 0.07513799518346786, 0.029421932995319366, -0.021648423746228218, -0.008369418792426586, -0.009783593006432056, 0.007426636293530464, -0.046142980456352234, 0.053542934358119965, -0.031218554824590683, -0.030169043689966202, -0.02022535540163517, -0.019513821229338646, 0.03150317072868347, -0.03692861646413803, 0.022217649966478348, 0.014773225411772728, -0.02984885312616825, -0.02527724578976631, 0.004753936547785997, -0.02536618895828724, 0.06261499226093292, 0.010584068484604359, -0.0742841511964798, -0.00952566135674715, -0.006390464957803488, 0.03329979255795479, 0.003962355200201273, 0.009134317748248577, -0.011624687351286411, -0.040877629071474075, 0.0017821703804656863, -0.0017187993507832289, 0.08353409171104431, -0.024565711617469788, -0.05361408740282059, -0.0005294813890941441, -0.050020843744277954, -0.03685746341943741, 0.07222070544958115, 0.0009422266739420593, -0.0016743284650146961, -0.05293813347816467, 0.0033953513484448195, 0.06499863415956497, 0.02936856634914875, 0.019389301538467407, -0.025597436353564262, -0.030524810776114464, 0.026558008044958115, -0.026522431522607803, -0.031609900295734406, -0.03463391959667206, 0.021257078275084496, 0.00820932351052761, 0.020367661491036415, 0.017094604671001434, 0.00973022822290659, -0.022021979093551636, -0.04660547897219658, 0.01225617341697216, -0.05514388903975487, -0.005211986601352692, 0.06720438599586487, 0.03329979255795479, 0.010103783570230007, 0.06439383327960968, 0.009161001071333885, 0.0014419681392610073, -0.0019767305348068476, -0.08851483464241028, 0.013901595957577229, 0.01144680380821228, -0.048277582973241806, -0.0017087934538722038, 0.020047470927238464, -0.02742963656783104, -0.0003585464437492192, -0.08830137550830841, -0.007168705575168133, 0.0013908266555517912, -0.02342725731432438, -0.01917584240436554, 0.04101993516087532, 0.06745342910289764, -0.011411227285861969, 0.039988212287425995, -0.04180262237787247, -0.0034131398424506187, 0.019229207187891006, -0.053009286522865295, -0.049451615661382675, -0.0033486569300293922, 0.040343981236219406, 0.017014557495713234, 0.029599815607070923, -0.016694366931915283, 0.03226806968450546, -0.010930941440165043, 0.0001473097800044343, -0.029066165909171104, 0.039952635765075684, -0.027536366134881973, -0.0546102374792099, -0.019922953099012375, 0.08531293272972107, -0.03756899759173393, -0.023391680791974068, 0.056531377136707306, 0.007173152640461922, -0.008075911551713943, -0.06325537711381912, -0.032588258385658264, 0.04077089950442314, 0.03095173090696335, -0.04536029323935509, 0.0033153039403259754, 0.06400248408317566, 0.00043192339944653213, 0.011900406330823898, -0.04333242401480675, -0.04073532298207283, 0.034936320036649704, 0.013038860633969307, 0.03749784454703331, -0.053863126784563065, -0.013803760521113873, 0.05379197373986244, 0.024103214964270592, -0.03595025837421417, 0.00023110958863981068, -0.03139643743634224, 0.0473170131444931, 0.02807001769542694, -0.06482075154781342, 0.03498968482017517, -0.016329705715179443, -0.012380692176520824, -0.04447087645530701, 0.05468139052391052, 0.04365261271595955, 0.02981327660381794, -0.012469633482396603, -0.0371420755982399, 0.0068929861299693584, 0.03806706890463829, 0.04429299384355545, -0.011437909677624702, -0.05258236452937126, 0.05162179470062256, -0.027607521042227745, -0.04977180436253548, 0.009712439961731434, 0.030169043689966202, -0.0288882814347744, 0.037604574114084244, -0.04479106888175011, -0.0768456757068634, 0.06933899223804474, -0.016196293756365776, -0.03257047012448311, -0.015004473738372326, 0.0028683715499937534, -0.015262405388057232, 0.07506684213876724, -0.016187399625778198, -0.021257078275084496, -0.009032035246491432, 0.03671515733003616, -0.01930036023259163, 0.033353157341480255, 0.0011201101588085294, -0.004651653580367565, -0.0492025762796402, -0.0704774484038353, 0.012798718176782131, 0.05955539643764496, 0.03175220638513565, 0.06393133103847504, -0.04098435863852501, -0.0011301161721348763, 0.018553249537944794, 0.0187311340123415, 0.02549070678651333, 0.021595057100057602, 0.04671220853924751, 0.06770246475934982, 0.014933320693671703, 0.007262094411998987, 0.040272824466228485, 0.02006525918841362, 0.019246995449066162, 0.05941309034824371, 0.050020843744277954, 0.04689009115099907, -0.06514094024896622, -0.02835463173687458, -0.038244955241680145, 0.07442645728588104, -0.05966212972998619, -0.06563901156187057, -0.03988148272037506, -0.009410037659108639, -0.03803149238228798, -0.029706545174121857, -0.024209944531321526, 0.05219102278351784, -0.03817380219697952, -0.00952566135674715, -0.03984590619802475, 0.042087238281965256, 0.009321095421910286, -0.02965318039059639, 0.054112162441015244, -0.02616666443645954, -0.02956423908472061, 0.03356661647558212, -0.0720783993601799, -0.0422295443713665, 0.07990527153015137, -0.03450940176844597, 0.001053403946571052, 0.023035913705825806, 0.024903690442442894, 0.06104962155222893, 0.015040050260722637, -0.018535461276769638, -0.0048161959275603294, -0.019033534452319145, 0.003597693983465433, -0.023854177445173264, 0.011962666176259518, -0.012042713351547718, -0.0028283477295190096, -0.04400837793946266, -0.09705324470996857, 0.028425784781575203, 0.039134372025728226, -0.013528040610253811, -0.04425741732120514, -0.028977222740650177, -0.0381026454269886, 0.019264783710241318, -0.014212892390787601, 0.019762856885790825, -0.0019667246378958225, -0.02933298982679844, 0.034811802208423615, -0.07236301153898239, -0.010263877920806408, 0.024743596091866493, -0.011055460199713707, -0.07357262074947357, -0.02742963656783104, 0.0028995012398809195, -0.018188588321208954, 0.009085400030016899, -0.019246995449066162, 0.05051891505718231, 0.04386607185006142, 0.01949603296816349, -0.005452129524201155, 0.043296847492456436, 0.020438814535737038, -0.014524188823997974, 0.050590068101882935, 0.016391964629292488, -0.042941078543663025, -0.08808791637420654, 0.02451234683394432, 0.03312190994620323, -0.07204282283782959, -0.01666768454015255, 0.003035137429833412, 0.0005394873442128301, -0.03193008899688721, -0.00458939466625452, -0.023676294833421707, 0.023533988744020462, 0.029315201565623283, -0.0017388112610206008, 0.0082137705758214, -0.009917005896568298, 0.006732890848070383, -0.08246679604053497, 0.008204876445233822, -0.053009286522865295, -0.07385723292827606, -0.025295034050941467, 0.024423405528068542, 0.013750394806265831, -0.052440058439970016, 0.04393722489476204, 0.04137570410966873, 0.038849759846925735, -0.03511420264840126, -0.034331515431404114, -0.0381026454269886, -0.04849104583263397, -0.006661737337708473, -0.02305370196700096, -0.012371798045933247, -0.0409487821161747, -0.016116246581077576, 0.04898911714553833, 0.001217390294186771, 0.015191251412034035, 0.00803143996745348, -0.032054606825113297, 0.007577837444841862, 0.04955834522843361, 0.022786878049373627, 0.035985834896564484, 0.006181451957672834, -0.004129121080040932, -0.02276908978819847, 0.005598883610218763, -0.026148876175284386, -0.02070564031600952, -0.0012251726584509015, -0.0005786772817373276, -0.005625566001981497, -0.01149127446115017, -0.004318122286349535, 0.061227504163980484, -0.005385423079133034, 0.02131044492125511, -0.007017504423856735, -0.04600067436695099, -0.010166042484343052, -0.0043158987537026405, 0.08887059986591339, 0.053578510880470276, 0.0057545313611626625, 0.012069395743310452, -0.0037711304612457752, 0.02365850657224655, -0.04393722489476204, 0.008195982314646244, -0.03406469151377678, 0.04831315949559212, 0.013287898153066635, -0.003740000771358609, 0.0026549112517386675, -0.0214349627494812, -0.011384544894099236, -0.061547692865133286, 0.030613752081990242, 0.03251710534095764, -0.07663221657276154, 0.035096414387226105, 0.03118297830224037, 0.049095846712589264, -0.02911953069269657, 0.013785972259938717, 0.030933942645788193, 0.010246089659631252, -0.07083321362733841, 0.01286097802221775, -0.05165737122297287, -0.07570721954107285, 0.03653727099299431, 0.01344799343496561, 0.009125423617661, -0.008765209466218948, -0.0028528068214654922, -0.005309822503477335, 0.02654021978378296, 0.02006525918841362, 0.018304212018847466, -0.010210513137280941, 0.05834579095244408, 0.006559454370290041, -0.012149443849921227, -0.0016209634486585855, -0.02305370196700096, 0.014070585370063782, -0.014106161892414093, 0.019282571971416473, 0.027376271784305573, -0.02673589065670967, -0.03959687054157257, 0.04760162532329559, 0.05393427982926369, 0.02026093192398548, 0.0045226882211863995, -0.07343031466007233, 0.037284381687641144, 0.0742841511964798, 0.055926576256752014, -0.029030587524175644, 0.03931225463747978, -0.01076195202767849, 0.006350441370159388, 0.0075867315754294395, 0.0015953927068039775, -0.04664105549454689, -0.039988212287425995, -0.009436720050871372, 0.034118056297302246, -0.05823906138539314, -0.018820075318217278, 0.004115779418498278, 0.056531377136707306, -0.03283729404211044, -0.0024748044088482857, -0.032019030302762985, -0.05510830879211426, -0.0460362508893013, -0.0037066475488245487, -0.059804435819387436, 0.011517956852912903, 0.07947835326194763, -0.07791297882795334, 0.016205187886953354, -0.00153202167712152, -0.0010923158843070269, 0.029866641387343407, -0.014186209999024868, 0.009472296573221684, 0.009347778744995594, -0.01122444961220026, -0.003946790471673012, 0.015484759584069252, 0.06353998929262161, 0.01876671053469181, 0.0008410554728470743, 0.013154485262930393, -0.004847325384616852, -0.02451234683394432, 0.032143548130989075, -0.022715723142027855, 0.054183315485715866, 0.00011333124712109566, -0.0250815749168396, 0.018250847235322, 0.009614603593945503, 0.014719860628247261, -0.052048712968826294, 0.03667958080768585, -0.05336505174636841, 0.05727848783135414, 0.06371787190437317, -0.0008877498912625015, -0.0212748683989048, -0.01203381922096014, 0.024814749136567116, -0.07357262074947357, 0.002657134784385562, -0.04511125758290291, -0.0062259226106107235, -0.057420797646045685, -0.04052186384797096, -0.005114150699228048, 0.05258236452937126, 0.04557375609874725, 0.03667958080768585, 0.007391059771180153, -0.01049512717872858, 0.05464581400156021, 0.026469066739082336, -0.06140538677573204, 0.03523872420191765, 0.027233965694904327, 0.0016854462446644902, -0.02597099170088768, -0.03312190994620323, -0.019407089799642563, 0.0033708924893289804, 0.0025837579742074013, -0.01488884910941124, 0.01152685098350048, -0.0005870155873708427, -0.0036199293099343777, 0.0450756810605526, 0.018188588321208954, 0.03667958080768585, 0.008845257572829723, 0.006439383141696453, -0.055641960352659225, -0.02666473761200905, -0.039952635765075684, 0.01787729188799858, 0.007342141587287188, 0.013474675826728344, 0.02374744787812233, -0.0004811192920897156, -0.028550302609801292, 0.039418984204530716, 0.032179124653339386, -0.0558909997344017, 0.042905502021312714, -0.026878198608756065, 0.010824211873114109, -0.0005175298429094255, -0.01816190592944622, 0.0377824567258358, -0.02876376360654831, -0.05322274565696716, -0.013376839458942413, 0.02180851809680462, 0.025419553741812706, -0.0018677768530324101, 0.015244616195559502, -0.04493337497115135, 0.023000337183475494, -0.012380692176520824, -0.001207384280860424, -0.024458982050418854, -0.012140549719333649, -0.04368818923830986, 0.04681893810629845, -0.007186493836343288, -0.009650180116295815, -0.031609900295734406, 0.037319958209991455, -0.01312780287116766, -0.018695557489991188, 0.003946790471673012, -0.02070564031600952, -0.01230064406991005, 0.06453613936901093, 0.004322569351643324, -0.005825684871524572, -0.07097551971673965, 0.004173591732978821, 0.016836674883961678, -0.07136686146259308, -0.011313390918076038, 0.0054610236547887325, 0.021826306357979774, 0.015048944391310215, -0.05895059555768967, -0.015991726890206337, 0.09520325064659119, -0.023249374702572823, -0.003126302734017372, -0.022182073444128036, 0.0028995012398809195, 0.023320527747273445, -0.0031529851257801056, -0.029866641387343407, 0.047352589666843414, -0.009125423617661, -0.06332653015851974, 0.06620824337005615, 0.004238074645400047, 0.06257941573858261, -0.012282855808734894, -0.0011345632374286652, 0.05375639721751213, 0.03175220638513565, -0.015680430456995964, 0.04279877245426178, 0.015111204236745834, 0.03289065882563591, -0.06279287487268448, 0.04155358672142029, 0.018215270712971687, -0.03057817555963993, 0.026753678917884827, 0.026308970525860786, -0.04013051837682724, 0.00663505494594574, 0.03771130368113518, 0.026469066739082336, -0.04806412383913994, -0.0011529074981808662, 0.0460362508893013, -0.024370040744543076, 0.032019030302762985, 0.046178556978702545, -0.03089836612343788, 0.027678674086928368, -0.005772319622337818, -0.04959392175078392, -0.023854177445173264, -0.009294413030147552, -0.07805528491735458, -0.00256819324567914, 0.015760479494929314, 0.04251415655016899, 0.029706545174121857, -0.020847946405410767, 0.0018733356846496463, -0.012914342805743217, 0.08687830716371536, 0.021666212007403374, 0.05528619512915611, -0.005278693046420813, -0.008542855270206928, -0.03692861646413803, 0.0809725746512413, 0.04689009115099907, -0.018250847235322, 0.023267162963747978, 0.025295034050941467, -0.03888533636927605, -0.037070922553539276, 0.031218554824590683, -0.02330273948609829, -0.020403238013386726, 0.02742963656783104, 0.0015642631333321333, 0.0657101646065712, -0.016409752890467644, -0.0233383160084486, 0.053293898701667786, -0.007608966901898384, 0.025597436353564262, 0.04123339802026749, -0.008751868270337582, -0.016285235062241554, -0.03102288395166397, 0.026878198608756065, -0.03977475315332413, -0.0008282701019197702, 0.0942782610654831, -0.011384544894099236, -0.001522015780210495, -0.021755153313279152, -0.016614319756627083, 0.045289140194654465, 0.02447677031159401, 0.02276908978819847, 0.01686335727572441, 0.00027947165654040873, -0.03806706890463829, -0.014266257174313068, 0.008440572768449783, -0.03500747308135033, -0.02629118226468563, 0.006737337913364172, 0.06659958511590958, -0.05400543287396431, 0.03134307265281677, 0.0008577320259064436, -0.003713318146765232 ]
10,966
burnman.classes.elasticsolutionmodel
excess_partial_entropies
Given a list of molar fractions of different phases, compute the excess entropy for each endmember of the solution. The base class implementation assumes that the excess entropy is zero (true for mechanical solutions). :param volume: Volume at which to evaluate the solution model. [m^3/mol] :type volume: float :param temperature: Temperature at which to evaluate the solution. [K] :type temperature: float :param molar_fractions: List of molar fractions of the different endmembers in solution. :type molar_fractions: list of floats :returns: The excess entropy of each endmember. :rtype: numpy.array
def excess_partial_entropies(self, volume, temperature, molar_fractions): """ Given a list of molar fractions of different phases, compute the excess entropy for each endmember of the solution. The base class implementation assumes that the excess entropy is zero (true for mechanical solutions). :param volume: Volume at which to evaluate the solution model. [m^3/mol] :type volume: float :param temperature: Temperature at which to evaluate the solution. [K] :type temperature: float :param molar_fractions: List of molar fractions of the different endmembers in solution. :type molar_fractions: list of floats :returns: The excess entropy of each endmember. :rtype: numpy.array """ return np.zeros_like(molar_fractions)
(self, volume, temperature, molar_fractions)
[ 0.015218202024698257, -0.013361670076847076, 0.0003891017404384911, 0.030347147956490517, 0.04298584163188934, -0.02593788504600525, -0.016101839020848274, -0.10396575927734375, -0.010068112052977085, 0.020332587882876396, 0.01196034625172615, -0.03486351668834686, -0.013174232095479965, -0.04412832111120224, -0.05648139491677284, 0.025098875164985657, -0.05241130664944649, 0.008791746571660042, 0.006752240005880594, 0.001387935713864863, -0.0006733273039571941, 0.021314408630132675, -0.04123641923069954, 0.05287544056773186, -0.057338256388902664, -0.01219241227954626, 0.026651935651898384, -0.028062185272574425, -0.03213227167725563, -0.05737395957112312, 0.009309433400630951, 0.018797380849719048, 0.018404651433229446, 0.02734813466668129, -0.029597394168376923, -0.038630131632089615, 0.0725475326180458, 0.037237733602523804, -0.10296608507633209, 0.0603729709982872, -0.04544931650161743, -0.01440596953034401, 0.023224493488669395, 0.010085963644087315, 0.005609759595245123, -0.010291253216564655, 0.05626717954874039, 0.03727343678474426, 0.0073859598487615585, 0.062158096581697464, -0.018333246931433678, -0.03015078231692314, -0.0044204192236065865, -0.010523319244384766, -0.004192815627902746, 0.10296608507633209, 0.038201704621315, -0.013986464589834213, -0.00611405773088336, -0.0015854153316468, -0.025259537622332573, -0.003960749134421349, 0.047234442085027695, -0.029044004157185555, 0.0018107874784618616, 0.01391505915671587, -0.022206971421837807, 0.07626059651374817, 0.03486351668834686, 0.007202984765172005, -0.02684829942882061, -0.03295342996716499, 0.025509454309940338, 0.002916450146585703, 0.02533094212412834, 0.031828802078962326, -0.017869114875793457, -0.03445293754339218, 0.053018249571323395, 0.014486299827694893, -0.05705263838171959, -0.03022218868136406, -0.004074550699442625, 0.06244371831417084, 0.027508797124028206, -0.021742837503552437, -0.01578051596879959, -0.01178183313459158, 0.03848732262849808, -0.0277765654027462, -0.029472434893250465, 0.06929860264062881, 0.014941507019102573, 0.027223175391554832, 0.035702526569366455, 0.042843032628297806, -0.032810620963573456, -0.021243002265691757, 0.033274754881858826, -0.07847414910793304, 0.01005918625742197, 0.03509558364748955, 0.059230491518974304, 0.04509229212999344, 0.024242015555500984, 0.0063416613265872, -0.0027624829672276974, -0.009702161885797977, 0.0623009093105793, 0.02725887857377529, -0.050197750329971313, 0.052982550114393234, -0.05905197933316231, 0.009255879558622837, -0.05191147327423096, -0.03345326706767082, -0.0028227309230715036, 0.03545260801911354, 0.018440354615449905, -0.007377034518867731, 0.05369659885764122, -0.06508570164442062, -0.057231150567531586, 0.016458865255117416, 0.07768869400024414, 0.0025415734853595495, 0.025509454309940338, -0.031971611082553864, -0.05226849764585495, -0.019422173500061035, 0.015914401039481163, 0.06933430582284927, 0.02449193224310875, -0.010291253216564655, 0.00342074828222394, -0.0074127367697656155, -0.00016498472541570663, -0.0657997578382492, 0.0671207457780838, -0.04502088576555252, -0.02063605934381485, -0.029972270131111145, -0.015468119643628597, 0.032292935997247696, 0.00621670251712203, 0.035309799015522, 0.025259537622332573, -0.023117385804653168, -0.0000924639607546851, -0.022456888109445572, -0.05191147327423096, 0.049626510590314865, -0.0012495884438976645, -0.03659508749842644, 0.009157697670161724, 0.017288947477936745, 0.03593459352850914, -0.010764311999082565, -0.0023876065388321877, -0.014022166840732098, -0.020832423120737076, -0.03738054633140564, 0.0043869479559361935, 0.07140505313873291, -0.016699856147170067, -0.0470559298992157, -0.0055071148090064526, -0.06833463162183762, -0.03884434700012207, 0.025116726756095886, 0.0036305005196481943, -0.01974349655210972, -0.02447408065199852, 0.0006577074527740479, 0.05134023353457451, 0.03827310726046562, 0.012245966121554375, -0.04312865063548088, -0.07468968629837036, 0.0301864854991436, -0.012968942523002625, -0.04402121528983116, 0.003135128179565072, 0.007341331802308559, -0.0008663440821692348, 0.04312865063548088, 0.05176866427063942, -0.016931923106312752, 0.002510333899408579, -0.04023674502968788, 0.013361670076847076, -0.037094924598932266, -0.02161788009107113, 0.06269363313913345, 0.05276833474636078, -0.028401359915733337, 0.05066188424825668, 0.005806123372167349, -0.0008814061293378472, -0.004567692056298256, -0.09675384312868118, -0.0230459813028574, -0.019440025091171265, -0.013575885444879532, -0.02402780018746853, 0.04259311407804489, -0.03170384466648102, 0.048198409378528595, -0.03791608288884163, -0.03684500604867935, -0.00819372944533825, -0.017529940232634544, 0.03920137509703636, 0.044842373579740524, 0.0509118027985096, -0.027615902945399284, 0.030811280012130737, -0.04255741089582443, -0.01869027316570282, -0.011817536316812038, -0.04884105548262596, -0.05408932641148567, 0.008207118138670921, 0.0230459813028574, -0.018476057797670364, 0.05326816812157631, -0.0432000569999218, 0.050626181066036224, 0.011157039552927017, 0.014281010255217552, -0.044842373579740524, 0.06944141536951065, -0.022296227514743805, -0.016699856147170067, -0.011353403329849243, 0.0894705280661583, -0.05569593980908394, -0.01028232742100954, 0.05755247175693512, 0.02161788009107113, -0.05469626933336258, -0.08083052188158035, -0.02629491128027439, 0.013816877268254757, 0.02008267119526863, -0.011719354428350925, 0.002907524351030588, 0.06929860264062881, 0.023153088986873627, 0.003962980583310127, -0.0595875158905983, -0.021974904462695122, 0.02924036793410778, 0.00659157894551754, 0.07069100439548492, -0.05783809348940849, -0.028615575283765793, 0.06269363313913345, 0.02540234662592411, -0.04905527085065842, 0.01223704032599926, -0.032292935997247696, 0.03880864754319191, 0.01867242157459259, -0.08247283846139908, 0.030436404049396515, -0.009532574564218521, 0.012058528140187263, -0.003675128798931837, 0.044342536479234695, -0.054374948143959045, 0.044806670397520065, 0.009175549261271954, -0.06737066805362701, 0.014298861846327782, 0.033346157521009445, 0.06465727090835571, 0.017645973712205887, -0.042878732085227966, 0.05094750598073006, -0.025795074179768562, -0.03970120847225189, 0.022867467254400253, 0.010425137355923653, 0.005065295845270157, 0.00561868492513895, -0.04409261792898178, -0.06986984610557556, 0.06919149309396744, -0.020296886563301086, -0.03507773205637932, 0.002141035860404372, 0.019993415102362633, 0.035202689468860626, 0.05030485987663269, -0.006551413331180811, -0.04369989037513733, -0.028454912826418877, 0.00044460801291279495, -0.02825854904949665, 0.007631415035575628, 0.010862493887543678, -0.013986464589834213, -0.05858784541487694, -0.04826981574296951, -0.005600833799690008, 0.06312206387519836, 0.0024322345852851868, 0.03991542384028435, -0.05241130664944649, 0.018386801704764366, 0.03439938277006149, 0.042914435267448425, 0.051554448902606964, 0.019850604236125946, -0.005846288520842791, 0.03902285918593407, 0.00987174827605486, 0.02868697978556156, 0.05690982565283775, 0.030025824904441833, 0.06351479142904282, 0.065192811191082, 0.06315776705741882, 0.05798090249300003, -0.03966550529003143, 0.046806011348962784, -0.0215107724070549, 0.03354252502322197, -0.03545260801911354, -0.09125565737485886, -0.04355708137154579, -0.020350439473986626, -0.015494896098971367, -0.057766687124967575, -0.049590807408094406, 0.047698576003313065, -0.08568606525659561, 0.02011837251484394, -0.046734604984521866, 0.031061196699738503, -0.00576149532571435, -0.0004752898821607232, 0.051018908619880676, -0.017181839793920517, -0.05455346032977104, 0.041522037237882614, -0.04544931650161743, -0.009157697670161724, 0.06101561710238457, -0.014173902571201324, 0.029936568811535835, 0.04255741089582443, 0.03734484314918518, 0.06697794049978256, 0.01820828765630722, -0.029151111841201782, 0.01777985878288746, -0.05330387130379677, 0.002077440731227398, -0.01967209205031395, 0.01652134396135807, 0.0024545486085116863, -0.01363836508244276, -0.0030257890466600657, -0.03297128155827522, 0.0009243607055395842, 0.025098875164985657, -0.025670116767287254, -0.028972599655389786, -0.05740966275334358, -0.053982220590114594, 0.005819511599838734, 0.01635175757110119, 0.022331930696964264, -0.009068441577255726, -0.05908767879009247, -0.020993085578083992, -0.055874451994895935, 0.005676701664924622, -0.008055382408201694, -0.012486958876252174, -0.06737066805362701, -0.012031751684844494, -0.018833082169294357, -0.005310750566422939, 0.02201060764491558, -0.02686615101993084, 0.017583493143320084, 0.05662420764565468, 0.010728608816862106, -0.01150513906031847, 0.033310458064079285, 0.01313852984458208, -0.024670446291565895, 0.019279364496469498, 0.018458206206560135, -0.05501759424805641, -0.06397892534732819, -0.008573069237172604, 0.03873724117875099, -0.0748324915766716, -0.006823645438998938, 0.03215012326836586, -0.021724987775087357, -0.0509118027985096, 0.0007296703988686204, -0.046199068427085876, 0.03024004027247429, -0.02110019326210022, -0.03502417728304863, 0.04262881726026535, 0.03156103193759918, 0.02449193224310875, -0.057266850024461746, 0.013611587695777416, -0.04834121838212013, -0.09811054170131683, -0.014718366786837578, 0.005462486296892166, 0.02584862895309925, -0.034220870584249496, 0.038558728992938995, 0.03927277773618698, 0.010460840538144112, -0.04170054942369461, -0.003048103069886565, -0.04180765897035599, -0.04780568182468414, 0.011041006073355675, -0.05808800831437111, -0.015584152191877365, -0.06337198615074158, -0.03063276782631874, 0.03552401438355446, -0.021207300946116447, 0.008100010454654694, 0.03880864754319191, -0.021707136183977127, 0.02733028307557106, 0.010567947290837765, 0.07083380967378616, 0.04255741089582443, 0.017476387321949005, 0.009336210787296295, -0.03977261483669281, -0.008706953376531601, -0.025295238941907883, -0.055446021258831024, -0.0027446316089481115, 0.020903829485177994, -0.04362848773598671, 0.0011502907145768404, -0.0026843836531043053, 0.05598156154155731, 0.01869027316570282, 0.009300507605075836, 0.0024612429551780224, -0.03393525257706642, -0.03680930286645889, 0.026027141138911247, 0.08075911551713943, 0.05608866736292839, 0.030561361461877823, 0.01743175834417343, -0.05516040325164795, 0.0036818229127675295, -0.018074404448270798, 0.015021838247776031, 0.0139329107478261, 0.04459245502948761, 0.03564897179603577, -0.007078025955706835, -0.005020667798817158, 0.00648893415927887, -0.01672663353383541, -0.04448534920811653, 0.024813255295157433, 0.017271097749471664, -0.07208339869976044, -0.031418222934007645, 0.017155064269900322, 0.030882684513926506, -0.04637758061289787, 0.0011770676355808973, 0.010612576268613338, 0.0004033269651699811, -0.03705922141671181, 0.027687309309840202, -0.0449494794011116, -0.044770967215299606, 0.017440684139728546, -0.011701502837240696, 0.020921681076288223, -0.014646961353719234, 0.013084976002573967, 0.023849288001656532, 0.02925821952521801, 0.03937988728284836, 0.0030257890466600657, 0.025027470663189888, 0.045235101133584976, 0.033863846212625504, -0.02351011335849762, -0.0017973990179598331, -0.013004644773900509, -0.004574385937303305, -0.007488604635000229, -0.0002520096313674003, 0.029936568811535835, -0.0112373698502779, -0.036220211535692215, 0.02110019326210022, 0.031418222934007645, 0.03352467343211174, 0.031025495380163193, -0.035220541059970856, 0.016771262511610985, 0.06147975102066994, 0.05287544056773186, -0.023831436410546303, 0.023224493488669395, -0.004402567632496357, 0.009202325716614723, -0.0027669458650052547, 0.033399712294340134, -0.06412173807621002, -0.03834451362490654, -0.04855543375015259, 0.020939530804753304, -0.0844721794128418, -0.01827969402074814, 0.00656926492229104, 0.06358619779348373, -0.04519939795136452, 0.0010169640881940722, -0.003846947103738785, -0.0586235485970974, 0.02108234167098999, 0.02208201214671135, -0.05512470006942749, 0.02165358141064644, 0.0814017578959465, -0.062479421496391296, 0.04973362013697624, 0.02533094212412834, 0.007394885644316673, 0.011630097404122353, -0.010853568091988564, 0.019993415102362633, 0.020011266693472862, -0.030418552458286285, -0.03127541393041611, 0.005614222027361393, 0.06297925859689713, 0.0014426051639020443, 0.008680176921188831, -0.012138858437538147, -0.030043676495552063, -0.009479020722210407, 0.05755247175693512, -0.042057573795318604, 0.04059377312660217, 0.002624135697260499, -0.006413066294044256, 0.023153088986873627, 0.03341756388545036, 0.013611587695777416, -0.05762387812137604, 0.04594914987683296, -0.056802719831466675, 0.07568935304880142, 0.0019469034159556031, 0.008108936250209808, -0.012058528140187263, -0.04255741089582443, 0.03122185915708542, -0.09175549447536469, -0.001058245194144547, -0.06737066805362701, 0.005172403529286385, -0.07090521603822708, -0.004145955666899681, -0.022189119830727577, 0.047198738902807236, 0.05119742080569267, 0.01440596953034401, 0.03677360340952873, 0.041022203862667084, 0.028990451246500015, 0.0010219848481938243, -0.047198738902807236, 0.008126787841320038, 0.005556205753237009, 0.009782492183148861, 0.001131323748268187, -0.06283644586801529, 0.013959687203168869, 0.005511577241122723, -0.016655229032039642, 0.0025147965643554926, -0.004177195485681295, -0.020368291065096855, 0.036220211535692215, 0.0248846597969532, -0.02351011335849762, 0.030918387696146965, 0.0006309305899776518, 0.043914105743169785, -0.028615575283765793, -0.025687968358397484, -0.003576946910470724, 0.014093572273850441, 0.007310091983526945, 0.007167282048612833, 0.01129984948784113, -0.005609759595245123, -0.04255741089582443, 0.03784467652440071, 0.0470559298992157, -0.05987313762307167, 0.041022203862667084, -0.028401359915733337, -0.014459523372352123, -0.019939860329031944, -0.02063605934381485, 0.03109689988195896, -0.015923326835036278, -0.041486334055662155, -0.030489956960082054, -0.014896878972649574, 0.02252829447388649, 0.0043601710349321365, 0.03941559046506882, -0.018493909388780594, 0.029525989666581154, -0.002066283719614148, -0.027044663205742836, -0.034256573766469955, 0.004757361486554146, -0.038558728992938995, 0.02631276100873947, -0.02834780514240265, 0.013950762338936329, -0.023188790306448936, 0.006060503888875246, -0.0403081513941288, 0.025027470663189888, -0.001486117602325976, -0.005591908004134893, -0.0015307457651942968, 0.0821872130036354, 0.04216468334197998, -0.0003885439073201269, -0.04045096039772034, -0.012451255694031715, 0.036666493862867355, -0.03991542384028435, 0.017396055161952972, 0.030989792197942734, 0.022135566920042038, 0.009220177307724953, -0.012094230391085148, -0.02258184738457203, 0.09246954321861267, -0.05262552201747894, -0.007564472500234842, -0.062479421496391296, -0.024688296020030975, 0.02727673016488552, 0.0031172768212854862, -0.025241686031222343, 0.024063503369688988, 0.021350109949707985, -0.02022548019886017, 0.04120071604847908, 0.0009410962811671197, 0.03834451362490654, 0.0036282693035900593, 0.01363836508244276, 0.028633425012230873, 0.00982712022960186, 0.0009734517079778016, -0.0340423583984375, 0.015262830071151257, 0.035274095833301544, -0.05173296108841896, 0.02881193906068802, -0.01153191551566124, -0.05990883708000183, 0.03222152963280678, -0.014736217446625233, -0.020511101931333542, 0.001647894736379385, 0.006770091596990824, 0.02834780514240265, -0.0162982027977705, 0.030079377815127373, 0.026973258703947067, -0.00656926492229104, 0.03402450680732727, 0.037166330963373184, -0.020725315436720848, 0.00937191303819418, -0.020725315436720848, -0.02881193906068802, 0.006649595685303211, -0.015441342256963253, -0.07547514140605927, 0.0019714487716555595, 0.025098875164985657, 0.05740966275334358, 0.03070417232811451, -0.025741521269083023, -0.005498189013451338, 0.04159344360232353, 0.060194458812475204, 0.03841591626405716, 0.007028935011476278, -0.025188131257891655, -0.01440596953034401, -0.021885648369789124, 0.0798308476805687, 0.056802719831466675, -0.0064041404984891415, 0.010014558210968971, 0.059301894158124924, -0.005707941483706236, -0.010487616993486881, 0.018868785351514816, -0.025081025436520576, -0.004708270542323589, 0.00017307356756646186, -0.060087352991104126, 0.009479020722210407, -0.017922667786478996, -0.033721037209033966, 0.02393854409456253, -0.02486681006848812, 0.011246295645833015, 0.013968612998723984, -0.01974349655210972, 0.005083146970719099, -0.022742509841918945, -0.00228049885481596, -0.017083657905459404, 0.01974349655210972, 0.0545891635119915, -0.00048449443420395255, -0.04544931650161743, -0.0012585140066221356, 0.03172169253230095, 0.021421516314148903, 0.014227456413209438, 0.03172169253230095, 0.008965796791017056, 0.045235101133584976, -0.04155774042010307, -0.011799684725701809, -0.014352415688335896, -0.0509118027985096, -0.04123641923069954, 0.01869027316570282, 0.08954193443059921, -0.06997694820165634, 0.06647810339927673, 0.007519844453781843, -0.024117056280374527 ]
10,967
burnman.classes.elasticsolutionmodel
excess_partial_helmholtz_energies
Given a list of molar fractions of different phases, compute the excess Helmholtz energy for each endmember of the solution. The base class implementation assumes that the excess Helmholtz energy is zero. :param volume: Volume at which to evaluate the solution model. [m^3/mol] :type volume: float :param temperature: Temperature at which to evaluate the solution. [K] :type temperature: float :param molar_fractions: List of molar fractions of the different endmembers in solution. :type molar_fractions: list of floats :returns: The excess Helmholtz energy of each endmember :rtype: numpy.array
def excess_partial_helmholtz_energies(self, volume, temperature, molar_fractions): """ Given a list of molar fractions of different phases, compute the excess Helmholtz energy for each endmember of the solution. The base class implementation assumes that the excess Helmholtz energy is zero. :param volume: Volume at which to evaluate the solution model. [m^3/mol] :type volume: float :param temperature: Temperature at which to evaluate the solution. [K] :type temperature: float :param molar_fractions: List of molar fractions of the different endmembers in solution. :type molar_fractions: list of floats :returns: The excess Helmholtz energy of each endmember :rtype: numpy.array """ return np.zeros_like(molar_fractions)
(self, volume, temperature, molar_fractions)
[ 0.07175697386264801, -0.004236024804413319, -0.01209277380257845, 0.010520091280341148, 0.012741394340991974, -0.03746005520224571, 0.0003315294743515551, -0.059424299746751785, -0.038135331124067307, 0.004467040300369263, 0.034350231289863586, -0.03888168931007385, 0.007143710274249315, -0.07847419381141663, -0.04712716490030289, 0.04940177872776985, -0.07541768252849579, -0.003845075611025095, 0.018410159274935722, -0.016410985961556435, 0.012110544368624687, -0.06727882474660873, -0.029072413221001625, 0.060774851590394974, -0.030476277694106102, -0.0000973902569967322, 0.00182257906999439, 0.005273373331874609, -0.0070548583753407, -0.05185409635305405, -0.020915789529681206, 0.01774376817047596, -0.03980575129389763, 0.031258177012205124, -0.04307550936937332, -0.03916601464152336, 0.0680607259273529, 0.012741394340991974, -0.07399604469537735, 0.07477794587612152, 0.025998130440711975, 0.006597269792109728, 0.03781546279788017, 0.008289902471005917, 0.027313141152262688, -0.0021868727635592222, 0.0687360018491745, 0.04382186383008957, 0.024914134293794632, 0.06027727946639061, 0.006721662823110819, -0.042862262576818466, -0.00400945171713829, -0.03195122256875038, -0.003309741383418441, 0.09489406645298004, 0.05075233057141304, -0.022017555311322212, -0.005624338984489441, -0.019440844655036926, -0.0388106070458889, 0.002332368167117238, 0.04133400693535805, -0.009844815358519554, -0.023616893216967583, 0.03116932325065136, 0.020133890211582184, 0.04513687640428543, 0.013025720603764057, 0.004731375258415937, -0.016810821369290352, -0.022053096443414688, 0.0030165293719619513, -0.015095975250005722, 0.03287528455257416, 0.027064355090260506, -0.032324399799108505, -0.04371524229645729, 0.005819813814014196, 0.017717111855745316, -0.06226756423711777, -0.01887219026684761, -0.038526277989149094, 0.05594129487872124, 0.037531133741140366, -0.012474837712943554, 0.00996920745819807, -0.013496637344360352, 0.05608345940709114, -0.032928597182035446, -0.04009007662534714, 0.0378510020673275, -0.0015193712897598743, 0.013976438902318478, 0.0388106070458889, -0.002172434236854315, -0.042329151183366776, -0.04176049679517746, 0.006939350627362728, -0.060774851590394974, 0.03052958846092224, -0.01846347004175186, 0.06308500468730927, 0.0250740684568882, 0.041262924671173096, -0.01437627337872982, -0.016659772023558617, -0.037957627326250076, 0.050361379981040955, -0.002072475617751479, -0.052742619067430496, 0.05363113805651665, -0.06546624004840851, -0.0005683759227395058, -0.04382186383008957, -0.0049623907543718815, 0.01968963071703911, 0.04016115888953209, 0.04016115888953209, -0.036287207156419754, 0.06461326032876968, -0.058286990970373154, -0.06482650339603424, 0.015273679047822952, 0.056225620210170746, 0.011932839639484882, 0.011604086495935917, -0.03234217315912247, -0.019316451624035835, -0.024860823526978493, 0.040374401956796646, 0.0742092877626419, 0.00502903014421463, -0.034279149025678635, -0.021857621148228645, 0.009178424254059792, 0.01680193655192852, -0.05963754281401634, 0.04940177872776985, -0.04538566246628761, -0.036233894526958466, -0.01578902266919613, -0.02542947605252266, 0.038526277989149094, -0.0449591726064682, 0.02047152817249298, 0.018552321940660477, -0.00961379986256361, -0.019831793382763863, -0.00518896384164691, -0.026175834238529205, 0.04826446995139122, -0.008414295502007008, -0.07122386246919632, -0.002825497416779399, -0.0026855552569031715, 0.030085327103734016, 0.008116641081869602, 0.004829112906008959, -0.004922407679259777, -0.0352565199136734, -0.017112918198108673, -0.010369042865931988, 0.0865064263343811, -0.017957013100385666, -0.03927263617515564, 0.011604086495935917, -0.0677763968706131, -0.042506854981184006, 0.06290730088949203, -0.0031164882238954306, 0.005686535499989986, -0.04627418518066406, -0.010991007089614868, 0.07428037375211716, 0.014953811652958393, 0.014989352785050869, -0.03612727299332619, -0.05153422802686691, 0.027242060750722885, -0.02105795219540596, -0.03561193123459816, -0.011346415616571903, 0.009898126125335693, 0.009249505586922169, 0.023101551458239555, 0.021022411063313484, 0.01572682522237301, -0.009125112555921078, -0.04993489012122154, 0.012101658619940281, -0.0475536547601223, -0.0064328936859965324, 0.09183754771947861, 0.016579804942011833, 0.006623925641179085, 0.05203180015087128, 0.021910931915044785, 0.000534778693690896, -0.01775265298783779, -0.10392144322395325, -0.003722903784364462, -0.014784992672502995, -0.05558588728308678, -0.01197726558893919, 0.035931795835494995, -0.017717111855745316, 0.005788715556263924, -0.07197021692991257, -0.024914134293794632, -0.0013472202699631453, -0.022159717977046967, -0.0038717312272638083, 0.03484779968857765, 0.05164085328578949, -0.017024066299200058, 0.032981906086206436, -0.04335983470082283, -0.010173567570745945, 0.01763714663684368, -0.0582159087061882, -0.05153422802686691, 0.0001366795477224514, 0.029676608741283417, 0.00140830606687814, 0.043750785291194916, -0.02253289707005024, 0.03927263617515564, -0.02390122041106224, -0.0012794705107808113, -0.03820641338825226, 0.04780244082212448, -0.02614029310643673, -0.05786050111055374, -0.03406590223312378, 0.10001194477081299, -0.04449714347720146, -0.017948128283023834, 0.07534659653902054, 0.02265729010105133, -0.015158171765506268, -0.05650994926691055, -0.04016115888953209, 0.02075585536658764, 0.027295371517539024, -0.033870428800582886, 0.007903396151959896, 0.05928213521838188, 0.0005969752091914415, 0.004547007381916046, -0.04780244082212448, -0.027188748121261597, 0.041547250002622604, 0.012279363349080086, 0.04453268274664879, -0.04993489012122154, -0.003443019697442651, 0.07492011040449142, 0.03706910461187363, -0.034225836396217346, 0.016135545447468758, -0.027526386082172394, 0.04726932942867279, 0.0125370342284441, -0.05387992411851883, 0.05263599753379822, -0.008876326493918896, -0.001667087897658348, -0.028379367664456367, 0.05423533543944359, -0.043928489089012146, 0.026424620300531387, -0.010209108702838421, -0.036642614752054214, 0.006841613445430994, 0.05228058621287346, 0.04748257249593735, -0.023794597014784813, -0.04602539911866188, 0.03040519542992115, -0.029960934072732925, -0.04826446995139122, 0.03004978783428669, 0.027526386082172394, 0.0011795118916779757, 0.02064923197031021, -0.041547250002622604, -0.06304946541786194, 0.07378280162811279, -0.021200116723775864, -0.03959250450134277, -0.04051656648516655, 0.004538122098892927, -0.022444045171141624, 0.05910443142056465, -0.002652235794812441, -0.009169538505375385, -0.02454095520079136, 0.018188029527664185, -0.02626468613743782, 0.029481133446097374, -0.0046203103847801685, -0.0037651085294783115, -0.050894495099782944, -0.08081988990306854, 0.011150941252708435, 0.053986549377441406, 0.027704091742634773, 0.06752761453390121, -0.0680607259273529, 0.0002448986633680761, 0.010546746663749218, 0.025358395650982857, 0.02189316228032112, 0.018356848508119583, 0.039841290563344955, 0.05519493669271469, 0.019138745963573456, 0.017184000462293625, 0.0325198769569397, 0.0158512182533741, 0.024914134293794632, 0.0666746273636818, 0.05803820490837097, 0.06560840457677841, -0.040836434811353683, -0.011577431112527847, -0.03230663016438484, 0.050716791301965714, -0.05558588728308678, -0.05459074303507805, -0.05750509351491928, -0.011915069073438644, -0.020204972475767136, -0.03763775900006294, -0.03955696523189545, 0.047056082636117935, -0.05665211006999016, 0.009436095133423805, -0.04584769532084465, 0.056581031531095505, 0.00017881489475257695, -0.01644652709364891, 0.052316129207611084, -0.024469874799251556, -0.03241325169801712, 0.04087197408080101, -0.044568222016096115, -0.030600670725107193, 0.08380532264709473, -0.022141948342323303, 0.009471636265516281, 0.027775172144174576, 0.027952877804636955, 0.06528853625059128, 0.013532177545130253, -0.016579804942011833, -0.0026744487695395947, -0.03802870586514473, 0.01709514856338501, -0.010306846350431442, 0.007490233518183231, -0.004664736334234476, -0.005486618261784315, -0.03724680840969086, -0.07349847257137299, 0.024150006473064423, 0.050894495099782944, 0.0035563060082495213, -0.05032584071159363, -0.034332457929849625, -0.03596733883023262, 0.027721861377358437, 0.003642936935648322, 0.021555524319410324, -0.020969100296497345, -0.038241952657699585, 0.026406850665807724, -0.06560840457677841, -0.022213030606508255, 0.017139574512839317, -0.03609172999858856, -0.07349847257137299, -0.026175834238529205, -0.01846347004175186, -0.011790676042437553, 0.036891400814056396, -0.02443433366715908, 0.04204482212662697, 0.05594129487872124, 0.025482788681983948, -0.00668612215667963, 0.03657153248786926, 0.020915789529681206, -0.00895629357546568, 0.051783014088869095, 0.0068815965205430984, -0.05085895210504532, -0.08202827721834183, 0.013603259809315205, 0.0370335653424263, -0.08039339631795883, -0.025980360805988312, 0.016313249245285988, 0.008365427143871784, -0.04808676615357399, 0.0020702544134110212, -0.04549228399991989, 0.031133782118558884, 0.019298680126667023, -0.01851678267121315, 0.01558466162532568, 0.00003613088119891472, -0.004542564507573843, -0.07783445715904236, 0.012545919045805931, -0.06109471619129181, -0.08934969455003738, -0.017779309302568436, 0.0215910654515028, 0.027046585455536842, -0.047766901552677155, 0.04471038654446602, 0.035754092037677765, 0.027775172144174576, -0.03502550721168518, -0.0334794782102108, -0.04417727515101433, -0.044212814420461655, -0.006579499691724777, -0.03207561373710632, -0.00860532745718956, -0.06063268706202507, -0.02301269955933094, 0.03923709690570831, 0.0004109410510864109, 0.01928091049194336, 0.0334794782102108, -0.022213030606508255, 0.01761937513947487, 0.032804202288389206, 0.03937926143407822, 0.023101551458239555, 0.00320089771412313, -0.0005150646320544183, -0.024469874799251556, 0.008281017653644085, -0.02921457774937153, -0.026246916502714157, 0.003267536638304591, 0.002265729010105133, -0.007703478913754225, -0.010102486237883568, -0.014864959754049778, 0.07506226748228073, 0.0023945646826177835, 0.0291079543530941, 0.000034516964660724625, -0.05039692297577858, -0.03360387310385704, 0.008036674000322819, 0.08792805671691895, 0.05220950394868851, 0.018978813663125038, 0.00966711062937975, -0.02265729010105133, 0.01928091049194336, -0.03898831084370613, -0.003576297778636217, -0.005486618261784315, 0.045279040932655334, 0.016766395419836044, -0.000588645285461098, 0.0019147632410749793, -0.008489820174872875, -0.010404583066701889, -0.049899350851774216, 0.03282197192311287, 0.02560718171298504, -0.07268103212118149, 0.01922759972512722, 0.0357363224029541, 0.04076535254716873, -0.02974768914282322, 0.009329472668468952, 0.02502075769007206, 0.00555770006030798, -0.06546624004840851, -0.009142883121967316, -0.05405763164162636, -0.0645066425204277, 0.033390626311302185, 0.0024323267862200737, 0.030120868235826492, -0.002652235794812441, 0.0050956690683960915, 0.02791733667254448, 0.02845044806599617, 0.04424835741519928, 0.03004978783428669, 0.014047520235180855, 0.060419440269470215, 0.025482788681983948, -0.017494982108473778, -0.01540695782750845, -0.03376380726695061, 0.01197726558893919, -0.02199978567659855, 0.011097629554569721, 0.03052958846092224, -0.0026278013829141855, -0.04346645623445511, 0.03458124399185181, 0.05082341283559799, 0.0034385770559310913, 0.010591172613203526, -0.045918773859739304, 0.0333373136818409, 0.07143710553646088, 0.06017065420746803, -0.023990072309970856, 0.033497247844934464, -0.013407784514129162, 0.004646965768188238, -0.005144537892192602, 0.023794597014784813, -0.05981524661183357, -0.04122738540172577, -0.03141811117529869, 0.025447247549891472, -0.067918561398983, -0.007032645400613546, 0.02349250018596649, 0.05128544196486473, -0.041724953800439835, -0.002032492309808731, -0.009898126125335693, -0.05324019119143486, -0.02093355916440487, 0.007881183177232742, -0.05526601895689964, 0.03674923628568649, 0.07591525465250015, -0.08046448230743408, 0.028006188571453094, 0.01425188034772873, 0.013487751595675945, 0.009205079637467861, -0.018303535878658295, 0.015815677121281624, 0.024238858371973038, -0.015717940405011177, -0.005539929494261742, 0.01227047760039568, 0.022568438202142715, 0.004271565470844507, 0.0031853485852479935, -0.002189094200730324, -0.01555800624191761, -0.017024066299200058, 0.05181855708360672, -0.012901327572762966, 0.057220764458179474, 0.011177596636116505, -0.023332566022872925, 0.028432678431272507, 0.028592612594366074, 0.018836649134755135, -0.04854879900813103, 0.052316129207611084, -0.06909140944480896, 0.07712364196777344, 0.02804172970354557, -0.005846469663083553, -0.006090812850743532, -0.025802655145525932, 0.026815569028258324, -0.08785697817802429, -0.0012372657656669617, -0.05508831515908241, -0.005522159393876791, -0.0653240755200386, -0.017557179555296898, -0.025127379223704338, 0.0582159087061882, 0.058535777032375336, 0.03070729225873947, 0.028414908796548843, 0.013940897770226002, 0.0591755136847496, 0.02342141978442669, -0.04584769532084465, 0.01357660349458456, 0.025802655145525932, 0.008969621732831001, -0.010315731167793274, -0.043324295431375504, 0.0012394870864227414, -0.005873125046491623, -0.012581460177898407, -0.007192579098045826, 0.02082693763077259, -0.006486204918473959, 0.005522159393876791, 0.03710464388132095, 0.009720422327518463, 0.03625166416168213, 0.022550668567419052, 0.02047152817249298, -0.036820318549871445, -0.03403036296367645, -0.035043276846408844, 0.02898356132209301, 0.0002498965768609196, 0.009418324567377567, 0.016544265672564507, -0.01263477187603712, -0.01815248839557171, 0.032555416226387024, 0.036056190729141235, -0.06212540343403816, 0.04016115888953209, -0.028077270835638046, 0.016339905560016632, 0.0018925501499325037, -0.018534552305936813, 0.036535993218421936, -0.01047566533088684, -0.03442130982875824, -0.022746141999959946, 0.009489406831562519, 0.038241952657699585, -0.010182453319430351, 0.01555800624191761, -0.019849563017487526, 0.026371309533715248, -0.00881857331842184, -0.013674341142177582, -0.03004978783428669, -0.009267276152968407, -0.050965577363967896, 0.029072413221001625, -0.004740260541439056, 0.004429277963936329, -0.02834382653236389, 0.04869096353650093, -0.01727285236120224, -0.019600776955485344, 0.005224504508078098, -0.017965897917747498, -0.002612252254039049, 0.07612849771976471, 0.008205492980778217, 0.001223937957547605, -0.07726580649614334, -0.011772905476391315, 0.01266142725944519, -0.06870046257972717, -0.0009212854201905429, 0.01150634977966547, 0.029090184718370438, 0.01543361321091652, -0.04062318801879883, -0.04193820059299469, 0.10299737751483917, -0.0176282599568367, 0.002881030086427927, -0.02608698233962059, 0.0008840786176733673, 0.039130475372076035, -0.009071801789104939, -0.03461678698658943, 0.04627418518066406, 0.013336703181266785, -0.043573081493377686, 0.052316129207611084, -0.010999892838299274, 0.05803820490837097, -0.0141097167506814, 0.00708151375874877, 0.05974416434764862, 0.012181625701487064, -0.021022411063313484, 0.028539301827549934, 0.007090399041771889, 0.0338171161711216, -0.048762042075395584, 0.03154250234365463, 0.017708227038383484, -0.03834857419133186, 0.04655851051211357, 0.01615331508219242, -0.03040519542992115, 0.012999065220355988, 0.03520321100950241, 0.03561193123459816, -0.0449591726064682, -0.0018470134818926454, 0.03738897293806076, -0.009014047682285309, 0.027775172144174576, 0.04513687640428543, -0.019920645281672478, 0.027366453781723976, -0.012021691538393497, -0.03987682983279228, -0.019796252250671387, 0.0008579783025197685, -0.07175697386264801, -0.0044803679920732975, 0.009213964454829693, 0.050077054649591446, 0.020364906638860703, -0.02029382437467575, -0.0028388253413140774, -0.02816612273454666, 0.08259692788124084, 0.022639520466327667, 0.05139206722378731, -0.005411094054579735, -0.0007874519214965403, -0.022213030606508255, 0.07179251313209534, 0.047340407967567444, -0.008183280006051064, 0.01976071111857891, 0.023865679278969765, -0.01357660349458456, -0.04787352308630943, 0.028539301827549934, -0.029676608741283417, -0.022444045171141624, 0.026229145005345345, -0.00887188408523798, 0.057576172053813934, -0.01750386692583561, -0.030565129593014717, 0.041724953800439835, -0.03045850619673729, 0.027117667719721794, 0.022568438202142715, -0.02194647304713726, -0.0002721096097957343, -0.021342279389500618, 0.005637667141854763, -0.018374618142843246, 0.0033786019776016474, 0.08735940605401993, -0.011568546295166016, -0.025820426642894745, -0.03283974528312683, 0.002872144803404808, 0.0338171161711216, 0.020009497180581093, 0.004873538855463266, 0.01904989406466484, 0.006988219451159239, -0.03230663016438484, -0.012999065220355988, -0.00019880662148352712, -0.05341789498925209, -0.022195259109139442, 0.009675995446741581, 0.07989582419395447, -0.04627418518066406, 0.04364416003227234, 0.002379015553742647, -0.003982796333730221 ]
10,968
burnman.classes.elasticsolutionmodel
excess_partial_pressures
Given a list of molar fractions of different phases, compute the excess pressure for each endmember of the solution. The base class implementation assumes that the excess pressure is zero. :param volume: Volume at which to evaluate the solution model. [m^3/mol] :type volume: float :param temperature: Temperature at which to evaluate the solution. [K] :type temperature: float :param molar_fractions: List of molar fractions of the different endmembers in solution. :type molar_fractions: list of floats :returns: The excess pressure of each endmember. :rtype: numpy.array
def excess_partial_pressures(self, volume, temperature, molar_fractions): """ Given a list of molar fractions of different phases, compute the excess pressure for each endmember of the solution. The base class implementation assumes that the excess pressure is zero. :param volume: Volume at which to evaluate the solution model. [m^3/mol] :type volume: float :param temperature: Temperature at which to evaluate the solution. [K] :type temperature: float :param molar_fractions: List of molar fractions of the different endmembers in solution. :type molar_fractions: list of floats :returns: The excess pressure of each endmember. :rtype: numpy.array """ return np.zeros_like(np.array(molar_fractions))
(self, volume, temperature, molar_fractions)
[ 0.037586383521556854, -0.023468922823667526, -0.04379662126302719, 0.035763029009103775, 0.006291476543992758, 0.0010752828093245625, 0.016626829281449318, -0.07445064187049866, -0.023143967613577843, 0.013855691067874432, 0.023811930790543556, -0.017132313922047615, 0.0033894539810717106, -0.05202879756689072, -0.06473811715841293, 0.015940815210342407, -0.019298676401376724, -0.0002775651519186795, 0.009658364579081535, -0.02413688413798809, 0.01509232260286808, 0.004165733698755503, -0.018955668434500694, 0.08239397406578064, -0.03838071599602699, -0.0006538577144965529, 0.02989579737186432, -0.025635285302996635, -0.03643098846077919, -0.04740722477436066, 0.005072897765785456, 0.05925000458955765, 0.004483918193727732, 0.024028565734624863, -0.03978884965181351, 0.006512626074254513, 0.06766270846128464, 0.042352378368377686, -0.10203565657138824, 0.06950411945581436, 0.011274109594523907, -0.004402679391205311, 0.005045818164944649, -0.003982946742326021, 0.013088437728583813, -0.0023581753484904766, 0.06073034927248955, 0.0113102151080966, 0.04462705925107002, 0.0752449780702591, 0.008922703564167023, -0.02050822786986828, -0.02586997300386429, 0.00018645382078830153, -0.013630027882754803, 0.10405759513378143, 0.021374773234128952, 0.0334341898560524, 0.003931044600903988, -0.036701783537864685, -0.026718465611338615, 0.016220636665821075, 0.04448263347148895, -0.04213574156165123, 0.015110375359654427, -0.0066299703903496265, 0.01743018813431263, 0.03372303768992424, 0.019641682505607605, -0.0035316215362399817, -0.049284737557172775, -0.031737204641103745, -0.012257998809218407, -0.014920818619430065, 0.05188437178730965, 0.008376600220799446, 0.014929844997823238, -0.02462431602180004, 0.02413688413798809, 0.016040105372667313, -0.033452242612838745, -0.019063986837863922, -0.01797177828848362, 0.048995889723300934, 0.034409049898386, -0.010759598575532436, -0.02213299833238125, -0.033993832767009735, 0.032224636524915695, -0.022891225293278694, -0.03128587827086449, 0.04747943580150604, 0.0213928259909153, 0.041377514600753784, 0.03552833944559097, 0.00792978797107935, -0.0452408604323864, -0.04141362011432648, -0.006390768103301525, -0.07329525053501129, -0.00011438279034337029, -0.012402422726154327, 0.017809301614761353, 0.0030893227085471153, 0.05231764540076256, 0.0009968650992959738, 0.002899765968322754, -0.02173583209514618, 0.049970753490924835, 0.030852606520056725, -0.034336838871240616, 0.02610466256737709, -0.09813620150089264, 0.016644882038235664, -0.06318555772304535, -0.018612660467624664, -0.019136197865009308, 0.029137570410966873, 0.03437294438481331, -0.039897169917821884, 0.058672305196523666, -0.06798766553401947, -0.04809323698282242, 0.03063596971333027, 0.05235375091433525, 0.004416219424456358, 0.03209826350212097, 0.003454896155744791, -0.0535813570022583, -0.017168419435620308, -0.0018605891382321715, 0.08780987560749054, 0.0005088694160804152, -0.05018738657236099, -0.016040105372667313, 0.005397852044552565, 0.010894996114075184, -0.06780713051557541, 0.04116087779402733, -0.0442659966647625, -0.03052765317261219, -0.008480404503643513, -0.04217184707522392, 0.055964354425668716, -0.006887225899845362, 0.031538620591163635, 0.03780301660299301, 0.011427559889853, -0.0346798449754715, 0.013431444764137268, -0.05462843179702759, 0.06159689649939537, 0.02444378472864628, -0.04516864940524101, 0.03357861191034317, -0.017863459885120392, 0.05787797272205353, 0.0194250475615263, -0.019406992942094803, -0.01854044944047928, -0.007198640611022711, -0.008629342541098595, -0.011129684746265411, 0.06755439192056656, -0.01857655495405197, -0.02615882270038128, 0.012510741129517555, -0.08441591262817383, -0.01450559962540865, 0.05860009416937828, 0.04022212326526642, -0.014000114984810352, -0.04184689372777939, -0.01035340502858162, 0.050223495811223984, 0.031683046370744705, 0.021067870780825615, -0.04401325806975365, -0.04924863204360008, 0.03715310990810394, 0.022584324702620506, -0.03747806325554848, -0.002872686367481947, 0.012610032223165035, 0.015146481804549694, 0.027404479682445526, 0.02487705834209919, -0.018396025523543358, -0.006390768103301525, -0.04025822877883911, 0.020436014980077744, 0.003978433553129435, 0.002689899643883109, 0.05491727963089943, 0.0407998189330101, -0.035365860909223557, 0.05246206745505333, -0.012086494825780392, 0.025635285302996635, 0.007997486740350723, -0.10297440737485886, -0.07430621981620789, -0.025779709219932556, -0.027025366201996803, -0.006900765933096409, 0.006977491080760956, -0.023974407464265823, 0.026032451540231705, -0.054339583963155746, -0.01427993644028902, 0.0037053818814456463, -0.013936929404735565, 0.04704616218805313, 0.028704296797513962, 0.022060787305235863, -0.0023333525750786066, 0.04282175749540329, -0.05123446136713028, -0.019822213798761368, 0.012745430693030357, -0.062210697680711746, -0.009053587913513184, -0.019731948152184486, 0.010660306550562382, -0.019479205831885338, 0.048454299569129944, -0.03726142644882202, 0.06972075253725052, 0.0003052088140975684, -0.005849177483469248, -0.027097579091787338, 0.03078039549291134, -0.06582130491733551, -0.023216180503368378, -0.0037437444552779198, 0.04455484822392464, -0.06426873803138733, -0.01951531134545803, 0.08224954456090927, -0.0029155623633414507, 0.0025454754941165447, -0.04794881492853165, -0.03747806325554848, 0.014316042885184288, 0.02866819128394127, -0.0373697467148304, -0.022746801376342773, 0.044807590544223785, 0.028180759400129318, 0.004409449640661478, -0.032874543219804764, -0.022403795272111893, 0.004486174788326025, 0.01025411393493414, 0.03146640956401825, -0.034445155411958694, -0.03078039549291134, 0.06444927304983139, 0.02231352962553501, -0.020616546273231506, 0.03563665598630905, -0.03809186816215515, 0.06401599943637848, 0.015327012166380882, -0.03395772725343704, 0.03552833944559097, -0.002879456151276827, -0.013828611001372337, -0.02216910570859909, 0.036755941808223724, -0.07806124538183212, 0.033307816833257675, -0.00015387377061415464, -0.059358321130275726, 0.005145109724253416, 0.05285923555493355, 0.04433821141719818, 0.03430073335766792, -0.025202011689543724, 0.02767527475953102, -0.007135455030947924, -0.05275091528892517, 0.06188574433326721, 0.020959552377462387, 0.032874543219804764, -0.002196826506406069, -0.011021367274224758, -0.032910652458667755, 0.06632678210735321, -0.013016225770115852, -0.031881630420684814, -0.0199124775826931, 0.024660421535372734, -0.003897195216268301, 0.04141362011432648, 0.004364316817373037, -0.05220932513475418, -0.05722806602716446, -0.01857655495405197, -0.03986106067895889, 0.03254958987236023, -0.006305016111582518, -0.00658935122191906, -0.02345087006688118, -0.07217596471309662, 0.029679160565137863, 0.04625182971358299, 0.009992345236241817, 0.03661151975393295, -0.07957769930362701, 0.011021367274224758, 0.013350206427276134, 0.026176875457167625, 0.05296755209565163, 0.014099406078457832, 0.0021945699118077755, 0.057047534734010696, 0.017881514504551888, 0.0018177131423726678, 0.02104981802403927, 0.012068442068994045, 0.04581855982542038, 0.04184689372777939, 0.07091224938631058, 0.07213985919952393, -0.009694470092654228, -0.014099406078457832, -0.01902787946164608, 0.02444378472864628, -0.016590723767876625, -0.08882084488868713, 0.013377285562455654, -0.03715310990810394, 0.001379927503876388, -0.03375914320349693, -0.07603930681943893, 0.0290111992508173, -0.09127605706453323, 0.012086494825780392, -0.045204754918813705, 0.05040402337908745, -0.014740288257598877, -0.007234746590256691, 0.05318418890237808, 0.006810500752180815, -0.018251599743962288, 0.05249817296862602, -0.04657678306102753, 0.020779022946953773, 0.010425617918372154, -0.03755027428269386, 0.0233606044203043, -0.00037572841392830014, 0.05517002195119858, 0.03332586959004402, 0.016310900449752808, -0.016383113339543343, 0.017222577705979347, -0.043435558676719666, 0.018215494230389595, 0.03495064005255699, 0.02890288084745407, -0.011436586268246174, -0.011003314517438412, 0.01897372119128704, -0.03924725949764252, -0.002953924937173724, 0.03939168527722359, -0.059719379991292953, -0.030744288116693497, -0.046829525381326675, -0.035726919770240784, -0.0043236976489424706, 0.014668076299130917, 0.00044201684067957103, -0.008787306025624275, -0.03437294438481331, -0.004086751956492662, -0.03303702175617218, -0.006029707845300436, -0.01165322307497263, -0.029769426211714745, -0.06397989392280579, -0.02168167382478714, -0.020923446863889694, -0.028198812156915665, -0.0004025258822366595, -0.03260374814271927, 0.02664625272154808, 0.04773217812180519, 0.00658935122191906, -0.013449497520923615, 0.018558502197265625, 0.00231755618005991, 0.013485603965818882, 0.015218693763017654, 0.007270852569490671, -0.04686563462018967, -0.04784049466252327, 0.015317984856665134, 0.03579913452267647, -0.0899762362241745, -0.07553382217884064, 0.02000274322926998, 0.0005334102315828204, -0.047515541315078735, 0.00848943181335926, -0.03848903253674507, 0.03240516781806946, 0.005406878888607025, -0.0005083052674308419, 0.024010512977838516, 0.024515997618436813, -0.003100605681538582, -0.052245430648326874, 0.00848943181335926, -0.05423126369714737, -0.09972486644983292, -0.03924725949764252, 0.01834186539053917, 0.04087202996015549, -0.0007503285305574536, 0.03375914320349693, 0.04386883229017258, 0.01649143174290657, -0.03594355657696724, 0.00026882070233114064, -0.032964810729026794, -0.018937615677714348, 0.05123446136713028, -0.04578245058655739, -0.012005256488919258, -0.07640036940574646, -0.03180941566824913, 0.02964305505156517, 0.002290476579219103, 0.0216275155544281, 0.04892367869615555, -0.010154821909964085, 0.013043304905295372, 0.04238848388195038, 0.0604776069521904, 0.016753200441598892, -0.01460489071905613, 0.017710009589791298, -0.04989853873848915, -0.022782908752560616, -0.05271480977535248, -0.07430621981620789, -0.004357547033578157, -0.024010512977838516, -0.008769253268837929, 0.01410843338817358, -0.016085239127278328, 0.07892779260873795, -0.015065242536365986, 0.0022803216706961393, -0.011472692713141441, -0.0501512810587883, -0.048057131469249725, 0.02881261520087719, 0.07878337055444717, 0.04516864940524101, 0.01826062612235546, 0.011021367274224758, -0.010524909012019634, 0.010660306550562382, -0.011571983806788921, -0.02399246022105217, 0.0006465236656367779, 0.0535813570022583, 0.018071070313453674, -0.012149680405855179, -0.01219481322914362, -0.01196915004402399, -0.004411706235259771, -0.05025960132479668, 0.059719379991292953, 0.04704616218805313, -0.05249817296862602, -0.002290476579219103, 0.019136197865009308, 0.02778359316289425, 0.0017364745726808906, -0.01614842377603054, 0.03946389630436897, -0.01047074981033802, -0.01882929727435112, -0.008715094067156315, -0.07213985919952393, -0.05069287121295929, 0.007898194715380669, 0.011274109594523907, 0.0589972622692585, -0.054881174117326736, 0.013729319907724857, 0.02054433338344097, 0.01917230524122715, 0.06676005572080612, 0.024822898209095, 0.04224406182765961, 0.018666820600628853, 0.03375914320349693, -0.027982177212834358, -0.002138154348358512, -0.02473263442516327, 0.0004033721052110195, 0.009676417335867882, 0.011174817569553852, 0.0349145345389843, -0.012230919674038887, -0.06127193942666054, 0.002484546508640051, 0.03838071599602699, 0.009730576537549496, 0.031791362911462784, -0.030130485072731972, -0.0015299932565540075, 0.03877788037061691, 0.010958181694149971, -0.027639169245958328, 0.039752744138240814, -0.020905394107103348, 0.005876257084310055, 0.0021246145479381084, 0.03599771484732628, -0.07148994505405426, -0.05119835585355759, -0.027711382135748863, 0.01828770712018013, -0.03903062269091606, -0.007744744420051575, 0.03298286348581314, 0.025003429502248764, -0.01976805366575718, 0.007911735214293003, -0.002394281327724457, -0.09582541882991791, 0.022728748619556427, 0.017105234786868095, -0.038525138050317764, 0.04903199523687363, 0.07748354971408844, -0.06574908643960953, 0.04296617954969406, 0.02408272586762905, 0.008611288852989674, -0.01882929727435112, -0.001944084302522242, 0.012375343590974808, 0.038416821509599686, -0.04903199523687363, -0.029408365488052368, 0.026231033727526665, 0.06506307423114777, 0.04809323698282242, 0.028144653886556625, -0.021176189184188843, -0.017195498570799828, -0.03200799971818924, 0.05589214339852333, -0.04581855982542038, 0.07979433983564377, 0.008313414640724659, -0.06791545450687408, -0.0018278680508956313, 0.02016521990299225, 0.03794744238257408, -0.03426462784409523, 0.03755027428269386, -0.021699726581573486, 0.025400595739483833, 0.004847235046327114, -0.01352171041071415, 0.000268115516519174, -0.06008044257760048, 0.05993601679801941, -0.08968739211559296, -0.009974292479455471, -0.04950137436389923, 0.02247600629925728, -0.06434095650911331, 0.013936929404735565, -0.07380073517560959, 0.028054388239979744, 0.04809323698282242, 0.02747669257223606, 0.028866775333881378, 0.055278338491916656, 0.010136769153177738, 0.006282450165599585, -0.022873172536492348, 0.0216275155544281, -0.006936871912330389, -0.0037572842556983232, -0.0021054332610219717, -0.06527970731258392, 0.004213123116642237, 0.001762425759807229, -0.005072897765785456, 0.005709266755729914, 0.01614842377603054, -0.022584324702620506, 0.04386883229017258, -0.011427559889853, -0.024660421535372734, 0.033361975103616714, 0.006300502922385931, 0.04087202996015549, -0.028794562444090843, -0.010660306550562382, -0.007275365758687258, 0.024209097027778625, 0.005646081175655127, -0.00011332499707350507, 0.013449497520923615, -0.05939442664384842, -0.0019847035873681307, 0.03529364988207817, 0.0782056674361229, -0.0831160917878151, 0.039644427597522736, -0.033109232783317566, -0.00006283296534093097, -0.0031931274570524693, 0.0019034650176763535, 0.04379662126302719, -0.05726417154073715, -0.03161083161830902, -0.021067870780825615, 0.027260055765509605, 0.006070327013731003, 0.004666705150157213, 0.03220658376812935, -0.05925000458955765, 0.02182609774172306, -0.010488803498446941, -0.019984690472483635, -0.02812660112977028, 0.005145109724253416, -0.030997030436992645, -0.01325091440230608, -0.026664307340979576, 0.0020332210697233677, 0.017240632325410843, 0.00188992521725595, -0.02689899504184723, -0.035672761499881744, 0.015904707834124565, 0.008954296819865704, -0.019262569025158882, 0.06914305686950684, 0.025545019656419754, -0.0074874889105558395, -0.07401736825704575, 0.025689443573355675, 0.02502148225903511, -0.02841544896364212, -0.010389511473476887, 0.034192413091659546, -0.005876257084310055, 0.00009548353409627452, -0.019948584958910942, -0.03617824614048004, 0.09423675388097763, -0.04264122620224953, 0.00278467801399529, -0.05127057060599327, -0.03711700439453125, 0.05787797272205353, 0.0008597749401815236, -0.015083296224474907, 0.03126782551407814, 0.01278153620660305, -0.009595178999006748, 0.04617961868643761, -0.0018301246454939246, 0.03446321189403534, -0.000720428244676441, 0.01462294440716505, 0.05856398865580559, -0.005889797117561102, -0.02675457112491131, 0.005682187154889107, 0.016726121306419373, 0.03740585222840309, -0.062355123460292816, 0.04242458939552307, 0.0073972237296402454, -0.01416259165853262, 0.045746345072984695, 0.0014938871609047055, 0.01270932424813509, 0.009076154790818691, -0.017195498570799828, 0.04170247167348862, -0.016437271609902382, 0.023866089060902596, 0.04116087779402733, -0.019244516268372536, 0.02576165646314621, 0.010904022492468357, -0.025942185893654823, 0.011003314517438412, -0.04253290966153145, -0.027260055765509605, 0.011581010185182095, -0.0009551174589432776, -0.05314808338880539, -0.014875686727464199, 0.008836952038109303, 0.07878337055444717, 0.04542139172554016, -0.03603382408618927, -0.012285077944397926, 0.0022983746603131294, 0.05748080834746361, 0.02438962645828724, 0.03801965340971947, -0.0398249551653862, -0.016356034204363823, 0.015742231160402298, 0.07192321866750717, 0.033704984933137894, -0.012113574892282486, 0.03397578001022339, 0.05722806602716446, -0.01817036233842373, -0.012519767507910728, 0.009775708429515362, -0.015994973480701447, 0.01186985895037651, -0.0013866974040865898, -0.05780576169490814, 0.024552103132009506, -0.01310649048537016, -0.008669961243867874, 0.006783421151340008, -0.025545019656419754, 0.02527422457933426, -0.006950411479920149, -0.028632085770368576, -0.0038633455988019705, -0.02373971790075302, -0.004028079565614462, -0.016112318262457848, 0.02177193947136402, 0.06896252930164337, -0.015904707834124565, -0.05502559617161751, 0.009902079589664936, 0.055278338491916656, 0.005799531936645508, 0.0057137799449265, 0.002047889167442918, 0.018206467851996422, 0.05477285385131836, -0.04123309254646301, -0.0072934189811348915, -0.018612660467624664, -0.07286197692155838, -0.015697099268436432, 0.00845783855766058, 0.1204497292637825, -0.03755027428269386, 0.08289945870637894, -0.019406992942094803, -0.011409507133066654 ]
10,969
burnman.classes.elasticsolutionmodel
excess_pressure
Given a list of molar fractions of different phases, compute the excess pressure of the solution. The base class implementation assumes that the excess pressure is zero. :param volume: Volume at which to evaluate the solution model. [m^3/mol] :type volume: float :param temperature: Temperature at which to evaluate the solution. [K] :type temperature: float :param molar_fractions: List of molar fractions of the different endmembers in solution. :type molar_fractions: list of floats :returns: The excess pressure of the solution. :rtype: float
def excess_pressure(self, volume, temperature, molar_fractions): """ Given a list of molar fractions of different phases, compute the excess pressure of the solution. The base class implementation assumes that the excess pressure is zero. :param volume: Volume at which to evaluate the solution model. [m^3/mol] :type volume: float :param temperature: Temperature at which to evaluate the solution. [K] :type temperature: float :param molar_fractions: List of molar fractions of the different endmembers in solution. :type molar_fractions: list of floats :returns: The excess pressure of the solution. :rtype: float """ return np.dot( molar_fractions, self.excess_partial_pressures(volume, temperature, molar_fractions), )
(self, volume, temperature, molar_fractions)
[ 0.03456750512123108, -0.026891857385635376, -0.013391747139394283, 0.04204448685050011, 0.01827707141637802, -0.0013229204341769218, 0.010619483888149261, -0.07325276732444763, -0.015847954899072647, 0.02216004580259323, 0.04587328061461449, -0.03389926999807358, 0.021726597100496292, -0.034874528646469116, -0.07968225330114365, 0.015549958683550358, -0.016588428989052773, -0.015315174125134945, 0.03041362389922142, -0.0032463474199175835, -0.004749871324747801, -0.006519785150885582, 0.0004402209597174078, 0.056853972375392914, -0.03462168574333191, 0.012895087711513042, 0.048329487442970276, -0.009319138713181019, -0.05656500533223152, -0.06884603947401047, -0.023370089009404182, 0.06924337148666382, -0.013301445171236992, 0.03868526220321655, -0.03326715901494026, 0.04255017638206482, 0.036680564284324646, 0.047281987965106964, -0.133718803524971, 0.0477154366672039, -0.003919095266610384, -0.0030815466307103634, 0.029944054782390594, -0.004219348542392254, -0.0002855792408809066, -0.013030540198087692, 0.02620556391775608, 0.015270023606717587, 0.027542028576135635, 0.062488801777362823, 0.026277804747223854, -0.006808750797063112, -0.012759635224938393, -0.010583363473415375, -0.025085821747779846, 0.09283018112182617, 0.05750414356589317, 0.030449744313955307, 0.0089669618755579, -0.03792672976851463, -0.027307244017720222, 0.03570530563592911, 0.024417588487267494, -0.05508405715227127, 0.013491079211235046, -0.003684310708194971, 0.008059429936110973, 0.028372805565595627, 0.0223767701536417, 0.01190176885575056, -0.03404375538229942, -0.04713750630617142, -0.020697157829999924, -0.011685044504702091, 0.07029087096452713, -0.008578664623200893, 0.0194148737937212, -0.03539827838540077, 0.01602855883538723, -0.002602947410196066, -0.05020776391029358, -0.03485646843910217, -0.0012393912766128778, 0.04211672767996788, 0.028264442458748817, -0.012127523310482502, -0.0074228025041520596, -0.037601642310619354, 0.01849379576742649, 0.004406724590808153, -0.02909521944820881, 0.033176857978105545, 0.01391549687832594, 0.04944923147559166, 0.03763776272535324, 0.02609720081090927, -0.04096086695790291, -0.06747345626354218, 0.009644225239753723, -0.051833197474479675, 0.0009645354002714157, 0.04464517906308174, -0.006804235745221376, -0.029510606080293655, 0.04413948953151703, -0.04135819524526596, 0.002169499173760414, -0.0026503559201955795, 0.09015725553035736, 0.005052382126450539, -0.05486733466386795, 0.028968796133995056, -0.09333587437868118, -0.0012619667686522007, -0.06743733584880829, -0.011685044504702091, -0.0442117303609848, 0.022828279063105583, 0.00998737197369337, -0.02483297698199749, 0.04013008996844292, -0.017536597326397896, -0.025447029620409012, 0.02367711439728737, 0.06743733584880829, 0.029113279655575752, 0.050677333027124405, -0.01329241506755352, -0.04655957594513893, -0.012705453671514988, 0.022340649738907814, 0.08343880623579025, 0.03610263392329216, -0.04392276331782341, -0.008465787395834923, 0.0031628182623535395, -0.01860215701162815, -0.050352245569229126, 0.034657806158065796, -0.03463974595069885, 0.014213493093848228, -0.000029154056392144412, -0.04175552353262901, 0.037493281066417694, -0.002812898950651288, 0.04023845121264458, 0.03321297839283943, -0.016344614326953888, -0.04468129947781563, 0.027198882773518562, -0.0636446624994278, 0.05967138707637787, 0.03200293332338333, -0.052483368664979935, 0.028192201629281044, -0.00668684346601367, 0.06350018084049225, 0.01919814944267273, -0.0026277804281562567, -0.03686116635799408, -0.0237312950193882, 0.0016570368316024542, 0.01279575563967228, 0.08531708270311356, -0.029637029394507408, -0.03807121142745018, -0.008759268559515476, -0.05880448967218399, -0.015531898476183414, 0.05255560949444771, 0.05031612515449524, -0.02750590816140175, -0.045150868594646454, 0.0013680713018402457, 0.047570955008268356, 0.040346816182136536, 0.033176857978105545, -0.019450994208455086, -0.03238220140337944, 0.031154097989201546, 0.020588794723153114, -0.02526642568409443, -0.028354745358228683, 0.030558107420802116, 0.03379090875387192, 0.03283371031284332, 0.02582629583775997, -0.006921628024429083, -0.028950735926628113, -0.04052741825580597, 0.02577211521565914, -0.007260259706526995, 0.01485463511198759, 0.04590940102934837, 0.0539281964302063, -0.035687245428562164, 0.08611173182725906, -0.014069010503590107, 0.03341164067387581, 0.03763776272535324, -0.0628138855099678, -0.04890741780400276, 0.010565303266048431, -0.0033750273287296295, -0.0049259597435593605, 0.005833492148667574, -0.037168193608522415, 0.017861682921648026, -0.058985091745853424, -0.01827707141637802, 0.010583363473415375, -0.01601952686905861, 0.04634284973144531, 0.030106598511338234, 0.0314069427549839, 0.024417588487267494, 0.07296380400657654, -0.06274164468050003, -0.0022202939726412296, 0.022286467254161835, -0.043019745498895645, -0.019288450479507446, -0.015387415885925293, 0.024544011801481247, 0.012895087711513042, 0.027722632512450218, -0.035795606672763824, 0.05649276450276375, 0.006637177430093288, 0.006632662378251553, -0.02313530445098877, 0.014791424386203289, -0.045367591083049774, -0.028138021007180214, -0.0011016811477020383, 0.04190000519156456, -0.06447543948888779, -0.038974229246377945, 0.03212935850024223, -0.011784376576542854, -0.010601423680782318, -0.05363922938704491, -0.03200293332338333, 0.045656558126211166, 0.023640993982553482, -0.0428752638399601, -0.015116509981453419, 0.05143586918711662, 0.026006899774074554, 0.011919829063117504, -0.019703838974237442, -0.03138888254761696, 0.0005604351172223687, 0.012326186522841454, 0.017085088416934013, -0.017852652817964554, -0.027939356863498688, 0.04197224602103233, 0.01624528132379055, -0.014737242832779884, 0.005386498291045427, -0.04720974713563919, 0.06519785523414612, 0.02412862330675125, -0.05107466131448746, 0.022611554712057114, -0.0033953452948480844, -0.028047718107700348, -0.03160560876131058, 0.040996987372636795, 0.013229204341769218, 0.046415090560913086, 0.0017608838388696313, -0.058334920555353165, 0.0019708352629095316, 0.032960131764411926, 0.05591483414173126, 0.04013008996844292, -0.02216004580259323, 0.04377828165888786, -0.0028061263728886843, -0.05819043889641762, 0.035416338592767715, 0.01471015252172947, -0.005806401371955872, 0.01230812631547451, -0.0015204554656520486, -0.05335026606917381, 0.062019232660532, -0.0009165626252070069, -0.021311208605766296, -0.012082371860742569, 0.018069377169013023, 0.01520681194961071, 0.06613699346780777, -0.009725497104227543, -0.053530868142843246, -0.041105348616838455, 0.0010350836673751473, -0.05212216079235077, 0.03734879568219185, -0.0006806493038311601, -0.0012879285495728254, -0.03404375538229942, -0.06852095574140549, 0.039371557533741, 0.060466039925813675, 0.008361940272152424, 0.019125906750559807, -0.04410336911678314, 0.012461639009416103, 0.031750090420246124, 0.012687393464148045, 0.07260259240865707, 0.008185852319002151, -0.004156137350946665, 0.0711938887834549, 0.01052918191999197, 0.010718815959990025, 0.016976725310087204, 0.02013728767633438, 0.03294207155704498, 0.041213713586330414, 0.044392332434654236, 0.03615681454539299, -0.0026097202207893133, -0.03792672976851463, -0.02143763191998005, 0.05378371477127075, -0.036463841795921326, -0.09586431831121445, 0.031027676537632942, -0.03817957267165184, -0.02806577831506729, -0.008389031514525414, -0.08423345535993576, 0.03500095382332802, -0.08235517889261246, 0.003871686989441514, -0.0284450463950634, 0.037384919822216034, -0.014394096098840237, -0.02116672694683075, 0.05454224720597267, 0.000048396086640423164, -0.012913147918879986, 0.024760736152529716, -0.05154423043131828, 0.006099882069975138, 0.03303237631917, -0.052158281207084656, 0.05136362835764885, -0.010980690829455853, 0.03850466012954712, 0.024110563099384308, 0.013120842166244984, -0.026404228061437607, 0.029492545872926712, -0.025519270449876785, 0.009833859279751778, 0.01952323503792286, 0.01946905441582203, -0.001127078547142446, 0.013771014288067818, 0.012804785743355751, -0.06801526993513107, -0.0016683245776221156, 0.01337368693202734, -0.06382526457309723, -0.023370089009404182, -0.03807121142745018, -0.043995004147291183, -0.030991556122899055, -0.02707245945930481, -0.016371704638004303, 0.03500095382332802, -0.018999485298991203, 0.007445378229022026, -0.028571469709277153, -0.00005626221536658704, -0.01570347137749195, -0.03648190200328827, -0.07141061127185822, -0.012533880770206451, -0.005178804509341717, -0.033176857978105545, -0.017536597326397896, -0.050135523080825806, 0.028047718107700348, 0.05613155663013458, 0.013716833665966988, -0.011224505491554737, 0.010727846063673496, -0.002697764430195093, -0.012163643725216389, 0.007296380121260881, 0.011829527094960213, -0.03817957267165184, -0.06924337148666382, 0.025916598737239838, 0.033718667924404144, -0.09998208284378052, -0.04215284809470177, 0.008321304805576801, -0.01296732947230339, -0.040888626128435135, -0.008759268559515476, -0.0015498035354539752, 0.02197944186627865, 0.02040819264948368, 0.023333968594670296, 0.016760002821683884, 0.011621832847595215, 0.017473386600613594, -0.07021863013505936, 0.024164743721485138, -0.03106379695236683, -0.08777328580617905, -0.03297819197177887, 0.010303428396582603, 0.038143452256917953, -0.014999117702245712, 0.0477154366672039, 0.03890198841691017, 0.027433667331933975, -0.039732761681079865, 0.00430739251896739, -0.01854797638952732, -0.031533364206552505, 0.04453681409358978, -0.03063034825026989, -0.01293120812624693, -0.06042991951107979, -0.03341164067387581, 0.041538797318935394, 0.0002841682580765337, 0.019758019596338272, 0.03173203021287918, -0.01564929075539112, 0.018999485298991203, 0.056962333619594574, 0.046415090560913086, 0.03203905373811722, -0.0032982707489281893, -0.004871778655797243, -0.04146655648946762, -0.020588794723153114, -0.0544700063765049, -0.096514493227005, -0.0171212088316679, -0.016100799664855003, -0.000660331454128027, 0.020101165398955345, -0.0076575870625674725, 0.06292224675416946, -0.011549592018127441, -0.005138168577104807, -0.03418823704123497, -0.044825781136751175, -0.030178839340806007, 0.02434534765779972, 0.07903207838535309, 0.04814888536930084, 0.007355076260864735, -0.004436072893440723, 0.011883708648383617, 0.021564053371548653, -0.025916598737239838, -0.006474634166806936, -0.012317156419157982, 0.05241112783551216, 0.0013150189770385623, -0.020263709127902985, -0.005142683628946543, -0.0487990565598011, 0.0040703509002923965, -0.04901578277349472, 0.05363922938704491, 0.054614488035440445, -0.046848539263010025, -0.005264590959995985, 0.017590777948498726, 0.02976345270872116, 0.010303428396582603, -0.002846762305125594, 0.047570955008268356, 0.007206078618764877, -0.03205711767077446, 0.01195594947785139, -0.07318052649497986, -0.06187474727630615, 0.014294764958322048, 0.02909521944820881, 0.02418280392885208, -0.076575867831707, -0.010601423680782318, -0.01667873002588749, 0.0037994454614818096, 0.04255017638206482, 0.009206261485815048, 0.032689228653907776, 0.03402569517493248, -0.000850529468152672, -0.039299316704273224, 0.018240951001644135, -0.017473386600613594, 0.0018794048810377717, 0.012190734036266804, 0.0023060806561261415, 0.03565112501382828, -0.051941558718681335, -0.029889874160289764, -0.0003555630682967603, 0.05775699019432068, 0.026006899774074554, 0.027144702151417732, -0.05049673095345497, 0.020859701558947563, 0.04370604082942009, -0.011089053004980087, -0.01663357950747013, 0.028896555304527283, -0.013445928692817688, 0.015080389566719532, 0.007197048049420118, 0.015080389566719532, -0.07708156108856201, -0.05819043889641762, -0.02647646889090538, 0.02243095077574253, -0.04406724497675896, -0.032346080988645554, -0.00016578834038227797, 0.03402569517493248, -0.03046780452132225, -0.004822112619876862, -0.017319872975349426, -0.07686483860015869, -0.032689228653907776, 0.026404228061437607, -0.037493281066417694, 0.030558107420802116, 0.07888759672641754, -0.06808751076459885, 0.03958828002214432, 0.006081821862608194, -0.014294764958322048, 0.009364290162920952, -0.00883150938898325, 0.012840907089412212, 0.018240951001644135, -0.03966052085161209, -0.0558064728975296, 0.045656558126211166, 0.14014829695224762, 0.053314145654439926, 0.016118859872221947, 0.0043976944871246815, -0.019234269857406616, -0.02774069271981716, 0.01914396695792675, -0.06295836716890335, 0.06978517770767212, -0.015260993503034115, -0.05443388596177101, 0.002896428108215332, 0.0020317889284342527, 0.024544011801481247, -0.03310461714863777, 0.010249246843159199, -0.0009741299436427653, -0.013482049107551575, 0.023713234812021255, -0.006018610671162605, -0.008036854676902294, -0.04139431565999985, 0.05956302583217621, -0.06021319702267647, -0.017807502299547195, -0.019162029027938843, 0.014394096098840237, -0.047281987965106964, -0.016118859872221947, -0.041105348616838455, 0.030648408457636833, 0.04211672767996788, 0.01701284758746624, 0.004539919551461935, 0.051833197474479675, 0.010673665441572666, -0.005914763547480106, -0.047932159155607224, 0.0221058651804924, -0.010601423680782318, -0.021961381658911705, -0.014674032106995583, -0.05158035084605217, -0.021816899999976158, 0.0312805213034153, 0.007300895173102617, -0.017274722456932068, 0.011251595802605152, 0.0008048142190091312, 0.023966079577803612, -0.0005186705966480076, -0.008885690942406654, 0.023695174604654312, -0.0001568992593092844, 0.03122634068131447, -0.040166210383176804, -0.004993685986846685, -0.027722632512450218, -0.008700571954250336, -0.001640105270780623, -0.007079656235873699, 0.0199566837400198, -0.058660008013248444, -0.00809555035084486, 0.045042503625154495, 0.0798267349600792, -0.05367534980177879, 0.03648190200328827, -0.03456750512123108, 0.00021869951160624623, -0.006741024553775787, 0.019559355452656746, 0.04442845284938812, -0.09694794565439224, -0.04215284809470177, -0.02439952827990055, 0.039371557533741, 0.00790591724216938, 0.024038322269916534, 0.02510388195514679, -0.08127155900001526, 0.0021141893230378628, 0.00306348642334342, -0.01979414001107216, -0.019162029027938843, -0.014050950296223164, -0.02577211521565914, 0.0023726781364530325, -0.027578148990869522, -0.007427317555993795, 0.027758752927184105, -0.014249613508582115, -0.03241832181811333, -0.021365391090512276, 0.028806254267692566, -0.002107416745275259, -0.019613536074757576, 0.05562586709856987, 0.01849379576742649, 0.0009492969838902354, -0.0458371601998806, 0.039732761681079865, 0.027993537485599518, -0.018394462764263153, -0.01908978633582592, 0.023315908387303352, -0.014890756458044052, -0.0024449194315820932, -0.029456425458192825, 0.007698222994804382, 0.08994052559137344, -0.0407080203294754, -0.015568018890917301, -0.055987074971199036, -0.015495778061449528, 0.03969664126634598, 0.006145033054053783, -0.004196773283183575, 0.024688493460416794, -0.010222156532108784, -0.018394462764263153, 0.047932159155607224, 0.024381468072533607, 0.02510388195514679, 0.00009291202150052413, 0.000723542645573616, 0.03901034966111183, 0.014601790346205235, 0.0055851624347269535, 0.017383083701133728, 0.033501945436000824, 0.02477879635989666, -0.06461992114782333, 0.04587328061461449, 0.011423169635236263, -0.009206261485815048, 0.009111445397138596, 0.012281036004424095, -0.003724946640431881, -0.009233352728188038, -0.0032508624717593193, 0.024164743721485138, -0.034549444913864136, 0.0025261910632252693, 0.025230305269360542, -0.03259892761707306, 0.027198882773518562, -0.0022112636361271143, -0.03817957267165184, 0.027722632512450218, -0.028788192197680473, -0.0320751778781414, 0.01822289079427719, -0.02176271751523018, -0.059382420033216476, -0.03417017683386803, 0.00023224476899486035, 0.06292224675416946, 0.05316966027021408, -0.06061052531003952, -0.004736326169222593, 0.026133321225643158, 0.07079655677080154, 0.029944054782390594, 0.021473752334713936, -0.029727330431342125, -0.04370604082942009, -0.005318772047758102, 0.0824996680021286, 0.02833668515086174, -0.013220174238085747, 0.017798472195863724, 0.06610087305307388, -0.06288612633943558, -0.009915130212903023, 0.03261698782444, -0.011784376576542854, 0.024688493460416794, -0.015604139305651188, -0.055987074971199036, 0.03603039309382439, -0.024092502892017365, -0.022611554712057114, 0.029962114989757538, 0.006081821862608194, 0.022449010983109474, 0.02149181254208088, -0.02176271751523018, -0.014926876872777939, -0.05894897133111954, 0.016335584223270416, -0.04146655648946762, 0.017211509868502617, 0.09702018648386002, -0.017211509868502617, -0.042080607265233994, 0.016823213547468185, 0.03420629724860191, 0.028950735926628113, 0.00597345968708396, 0.02620556391775608, 0.016055649146437645, 0.05219440162181854, -0.05168871209025383, -0.015297113917768002, -0.008072975091636181, -0.0644393190741539, 0.007337016053497791, 0.03521767631173134, 0.10243828594684601, -0.03052198700606823, 0.07242199033498764, -0.020263709127902985, -0.0071654426865279675 ]
10,970
burnman.classes.mineral_helpers
HelperLowHighPressureRockTransition
A Helper that represents a Material that switches between two given rocks based on a given transition pressure.
class HelperLowHighPressureRockTransition(HelperRockSwitcher): """ A Helper that represents a Material that switches between two given rocks based on a given transition pressure. """ def __init__(self, transition_pressure, low_pressure_rock, high_pressure_rock): self.transition_pressure = transition_pressure self.rocks = [low_pressure_rock, high_pressure_rock] HelperRockSwitcher.__init__(self) self._name = ( "HelperLowHighPressureRockTransition(" + str(self.transition_pressure) + " GPa, " + self.rocks[0].name + ", " + self.rocks[1].name + ")" ) def select_rock(self): if self._pressure < self.transition_pressure: return self.rocks[0] else: return self.rocks[1] def set_method(self, method): for r in self.rocks: r.set_method(method) def debug_print(self, indent=""): print( "%sHelperLowHighPressureRockTransition (%f GPa):" % (indent, self.transition_pressure) ) indent += " " for r in self.rocks: r.debug_print(indent)
(transition_pressure, low_pressure_rock, high_pressure_rock)
[ 0.010263877920806408, -0.04759793356060982, -0.04252571985125542, 0.03069055825471878, -0.014720441773533821, -0.06446854770183563, -0.04278300702571869, 0.06226323917508125, -0.008302072063088417, -0.014720441773533821, -0.003328639082610607, 0.03208725526928902, 0.06174866855144501, 0.06527716666460037, -0.07317952066659927, 0.024736221879720688, 0.036663271486759186, -0.004043067339807749, 0.01186272781342268, -0.018644055351614952, 0.022824954241514206, 0.05410359427332878, 0.04785521700978279, 0.053589023649692535, -0.02514052949845791, 0.09806276857852936, -0.026059407740831375, 0.010585485957562923, -0.017421945929527283, -0.0335574597120285, -0.06608577817678452, 0.016392800956964493, -0.001417370862327516, 0.03418229892849922, 0.013875072821974754, -0.019792653620243073, -0.02231038175523281, 0.04715687036514282, -0.08108188211917877, 0.04447374492883682, 0.07222388684749603, -0.008793671615421772, 0.07380436360836029, -0.05733804777264595, -0.022200116887688637, -0.004562234040349722, 0.012799984775483608, 0.02039911411702633, 0.08152294158935547, -0.08314017206430435, 0.07564211636781693, -0.003452687757089734, 0.02183256484568119, 0.01423343550413847, -0.03035976178944111, 0.05932282656431198, 0.03203212097287178, -0.0049389745108783245, 0.0654609426856041, 0.018046783283352852, -0.0017206008778885007, 0.03217914327979088, 0.018451090902090073, -0.02032560296356678, -0.021409880369901657, -0.07045964151620865, -0.053037695586681366, -0.004438185598701239, -0.0035951139871031046, 0.07542158663272858, 0.029312239959836006, 0.021630411967635155, 0.03557899594306946, -0.0038799664471298456, 0.0025315117090940475, 0.024148140102624893, -0.0629248321056366, -0.06887917220592499, 0.034053657203912735, -0.05700725317001343, 0.022089850157499313, 0.01594255119562149, -0.003811050672084093, 0.00549949100241065, -0.03138890489935875, -0.06527716666460037, 0.028117697685956955, -0.027492860332131386, 0.040063124150037766, -0.024405425414443016, -0.056345660239458084, 0.027015041559934616, -0.014022093266248703, 0.005761371459811926, 0.006496474612504244, -0.009257705882191658, -0.016787918284535408, -0.06336589902639389, -0.025655101984739304, -0.02317412756383419, -0.013985338620841503, 0.022586045786738396, -0.048590321093797684, 0.030708935111761093, 0.006004874128848314, -0.043775394558906555, -0.030102476477622986, 0.03793132305145264, -0.0028531192801892757, 0.010521164163947105, -0.047414157539606094, -0.041790615767240524, -0.10056211799383163, 0.010521164163947105, -0.039107490330934525, -0.03138890489935875, -0.00023919569503050297, 0.006450530607253313, 0.03282235935330391, -0.0827726200222969, 0.007277521770447493, -0.022347137331962585, -0.009997403249144554, 0.010061725042760372, 0.019902918487787247, -0.016429556533694267, 0.0073280599899590015, 0.02736421674489975, 0.018377579748630524, -0.01448153331875801, -0.014766385778784752, 0.004860870074480772, -0.031591061502695084, 0.014113981276750565, 0.028301473706960678, -0.0013335231924429536, -0.019811030477285385, 0.016319291666150093, 0.016870617866516113, 0.03899722546339035, 0.010410899296402931, -0.061087075620889664, -0.018248936161398888, 0.037288110703229904, -0.029551148414611816, -0.01889215223491192, 0.027547992765903473, 0.033649347722530365, -0.012937815859913826, 0.021023951470851898, -0.03969557210803032, 0.030911089852452278, 0.02909170836210251, 0.03052516095340252, 0.04112902283668518, -0.024975130334496498, -0.005729210563004017, -0.004366972483694553, -0.012827550992369652, 0.017026828601956367, -0.01380156259983778, -0.006946725305169821, -0.02484648860991001, 0.017725175246596336, 0.005844070576131344, 0.029624659568071365, -0.006496474612504244, -0.06016819551587105, 0.015216636471450329, -0.00020387627591844648, -0.013737240806221962, -0.07229740172624588, -0.043701883405447006, 0.02436867170035839, 0.0004499635542742908, 0.026279939338564873, -0.022089850157499313, -0.0003859291900880635, -0.0043715666979551315, -0.05072212219238281, 0.009786061011254787, -0.03866642713546753, -0.07615669071674347, -0.013819940388202667, -0.005384630989283323, -0.004916002508252859, 0.04642176628112793, -0.03636923059821129, 0.0029082519467920065, 0.0069605084136128426, -0.0011038033990189433, -0.020454246550798416, -0.018873775377869606, 0.03987934812903404, 0.04373864084482193, -0.0196823887526989, 0.013057270087301731, -0.016429556533694267, 0.04881085082888603, 0.05906554311513901, 0.0024580012541264296, 0.014261001721024513, 0.023688700050115585, 0.03304288908839226, 0.024460559710860252, 0.008109106682240963, 0.0521923266351223, 0.008733944967389107, -0.02791554294526577, -0.0298268124461174, -0.02427678368985653, 0.008926909416913986, 0.027952298521995544, 0.01383831724524498, 0.04943569004535675, -0.05362577736377716, 0.05527976155281067, -0.007387787103652954, -0.01831325888633728, 0.03037813864648342, -0.00957471877336502, 0.005182477645576, -0.0778474286198616, 0.01661333255469799, -0.02879766747355461, 0.03734324127435684, -0.043077047914266586, -0.017026828601956367, -0.029992209747433662, 0.013902639038860798, 0.02745610475540161, -0.050023771822452545, -0.034752003848552704, -0.02221849374473095, -0.07310601323843002, 0.026684245094656944, -0.029698168858885765, -0.00394428800791502, -0.067114919424057, -0.0036387608852237463, -0.00891772098839283, 0.015078804455697536, 0.04043067619204521, 0.03510117903351784, 0.03693893551826477, -0.0657549798488617, 0.017412757501006126, 0.0016895887674763799, -0.0326569601893425, 0.010410899296402931, 0.03241804987192154, -0.04737740010023117, 0.011706518009305, 0.032528314739465714, 0.007415353320538998, -0.031223507598042488, -0.029404127970337868, 0.017532210797071457, -0.020454246550798416, -0.029955456033349037, -0.015115559101104736, -0.02444218099117279, 0.018230559304356575, 0.032381296157836914, -0.008458280935883522, -0.013029703870415688, -0.011302211321890354, 0.028981443494558334, -0.009629852138459682, -0.013590220361948013, 0.047818463295698166, -0.013875072821974754, -0.06229999661445618, 0.054691676050424576, -0.0246075801551342, -0.0035491702146828175, 0.0011187351774424314, -0.005536246113479137, -0.025985898450016975, -0.06321887671947479, 0.026555603370070457, 0.025673478841781616, -0.015574999153614044, 0.027088552713394165, 0.009942270815372467, -0.028283094987273216, 0.014132359065115452, 0.019039172679185867, 0.06105032190680504, 0.0008304368820972741, -0.001312848413363099, 0.0037880786694586277, 0.028522003442049026, 0.013305367901921272, 0.0942402258515358, -0.029054954648017883, -0.07762689888477325, 0.03335530683398247, 0.03427418693900108, -0.04278300702571869, 0.05292743071913719, -0.07549510151147842, -0.0351930670440197, 0.015547432936728, -0.05072212219238281, 0.0031954017467796803, 0.027253951877355576, -0.03013923019170761, -0.007226983085274696, -0.020307226106524467, 0.03195860981941223, 0.03421905264258385, 0.025122150778770447, 0.024295160546898842, 0.04998701810836792, -0.0547284334897995, -0.016604144126176834, 0.019186193123459816, 0.04785521700978279, 0.09196140617132187, -0.005862447898834944, 0.004897625185549259, -0.023357903584837914, 0.09526937454938889, 0.0036364635452628136, -0.04278300702571869, -0.03811509907245636, 0.008972853422164917, 0.023523302748799324, -0.048369791358709335, -0.13739079236984253, -0.0031058110762387514, 0.04050418734550476, -0.012956193648278713, 0.005563812330365181, 0.019167816266417503, -0.006496474612504244, -0.023210883140563965, 0.020196959376335144, -0.02245740219950676, 0.08461038023233414, 0.0175230223685503, -0.023835720494389534, 0.002802580827847123, 0.05039132386445999, 0.02798905409872532, 0.04759793356060982, 0.020343981683254242, 0.031609438359737396, 0.04579693078994751, 0.008490442298352718, -0.04208465665578842, 0.034604981541633606, 0.01594255119562149, 0.01780787482857704, -0.023045485839247704, 0.0035652504302561283, -0.041092269122600555, -0.004994107410311699, -0.010668185539543629, 0.051383715122938156, -0.024772977456450462, -0.020821798592805862, 0.04186412692070007, 0.008871776983141899, -0.08512494713068008, -0.030580293387174606, -0.001185353845357895, 0.01490421686321497, -0.030102476477622986, -0.0077783106826245785, -0.040761470794677734, -0.025599969550967216, -0.013277801685035229, -0.024791354313492775, 0.015244202688336372, 0.02664749138057232, 0.04520884528756142, 0.07027586549520493, -0.06601226329803467, 0.1046786978840828, -0.015758775174617767, -0.05355226621031761, 0.03796808049082756, 0.0439959280192852, -0.04395917057991028, 0.026555603370070457, 0.04873734340071678, 0.045760173350572586, -0.008609896525740623, 0.01628253608942032, 0.007594534661620855, 0.023229261860251427, -0.03818861022591591, -0.027033420279622078, -0.023615190759301186, 0.005242204759269953, -0.025526458397507668, -0.04991350695490837, -0.02152014523744583, 0.0012255548499524593, -0.05616188421845436, -0.040283653885126114, -0.00602784613147378, 0.00793452002108097, -0.010364955291152, 0.03574439138174057, 0.05906554311513901, -0.014022093266248703, -0.022953597828745842, -0.0301208533346653, 0.016218213364481926, -0.05395657569169998, -0.027731768786907196, 0.013268612325191498, -0.055867843329906464, 0.029440883547067642, -0.02025209367275238, 0.00826991070061922, 0.0419008806347847, -0.0123037900775671, 0.05362577736377716, 0.024478936567902565, 0.04763468727469444, 0.024625957012176514, -0.039181001484394073, -0.0052559878677129745, 0.042341943830251694, -0.024331916123628616, 0.07255468517541885, -0.010217934846878052, -0.006831865292042494, -0.06299834698438644, -0.03425581008195877, 0.027162063866853714, -0.027070175856351852, -0.03188510239124298, 0.005802720785140991, -0.004392241593450308, -0.0018469467759132385, 0.06105032190680504, 0.027400972321629524, -0.011651385575532913, -0.001504664309322834, -0.05796288698911667, -0.05230259150266647, -0.017697609961032867, 0.009519586339592934, -0.031903479248285294, 0.005926769692450762, -0.01308483723551035, 0.0703861340880394, 0.009138251654803753, 0.03061704896390438, 0.02260442264378071, -0.03482551500201225, -0.007902359589934349, -0.018928907811641693, 0.021079083904623985, -0.06564471870660782, 0.06766624748706818, 0.0047184438444674015, -0.039585307240486145, 0.02071153186261654, -0.022824954241514206, 0.08233156055212021, 0.024956753477454185, -0.025122150778770447, -0.054213859140872955, -0.010024969466030598, 0.07325303554534912, -0.026298316195607185, -0.015795530751347542, -0.019829409196972847, -0.013746430166065693, 0.019443480297923088, -0.0879918560385704, -0.0196823887526989, -0.04197439178824425, -0.054140351712703705, -0.012845928780734539, -0.047818463295698166, 0.046862829476594925, 0.017026828601956367, -0.02150176838040352, 0.0017665448831394315, 0.007787499576807022, 0.011136813089251518, 0.0069605084136128426, -0.0350460447371006, -0.06671061366796494, -0.0013185912976041436, 0.008315854705870152, 0.025342682376503944, -0.08240506798028946, 0.030231118202209473, -0.021244483068585396, -0.005324903875589371, -0.000752332154661417, -0.05116318166255951, 0.042341943830251694, 0.011853539384901524, 0.01568526402115822, 0.00015491725935135037, 0.05601486191153526, -0.03162781521677971, -0.008325044065713882, 0.007861009798943996, 0.002130650682374835, 0.02008669450879097, 0.06130760535597801, -0.021630411967635155, 0.03352070599794388, -0.002247807802632451, -0.012634586542844772, -0.06391721963882446, -0.044106192886829376, 0.07450270652770996, 0.00003501431638142094, -0.02104232832789421, 0.04645852372050285, -0.032951001077890396, 0.010806016623973846, -0.028981443494558334, -0.007916142232716084, -0.0035790337715297937, -0.0442899689078331, 0.01620902493596077, 0.013966960832476616, 0.025802122429013252, 0.0032183737494051456, 0.02697828784584999, -0.030010588467121124, 0.03837238624691963, 0.007764527574181557, 0.05006052926182747, 0.03456822782754898, -0.017752742394804955, 0.00915662944316864, -0.007534807547926903, 0.05042807757854462, 0.026059407740831375, -0.006831865292042494, -0.02221849374473095, 0.03374123573303223, -0.03155430406332016, -0.0036387608852237463, -0.0010572851169854403, -0.028025809675455093, -0.034604981541633606, 0.0023247639182955027, -0.019902918487787247, -0.03339206427335739, -0.010815205983817577, 0.08269911259412766, 0.020601266995072365, 0.014086415059864521, -0.005637322552502155, 0.03383312374353409, 0.017872195690870285, -0.014251813292503357, 0.03028625249862671, 0.010282255709171295, -0.026702623814344406, -0.002478676149621606, -0.0018159346655011177, 0.04289327189326286, 0.019590500742197037, 0.022990351542830467, -0.04564990848302841, 0.03557899594306946, -0.008710972964763641, 0.029753301292657852, 0.009409320540726185, -0.034917403012514114, 0.018248936161398888, 0.03273047134280205, 0.006808893289417028, 0.0030644615180790424, -0.06773976236581802, 0.022439025342464447, -0.006115139927715063, -0.004038473125547171, -0.09475480020046234, 0.008733944967389107, -0.04351810738444328, -0.02049100212752819, 0.03633247688412666, 0.002239767462015152, 0.025434570387005806, 0.012855117209255695, -0.023357903584837914, -0.06395398080348969, -0.05403008311986923, 0.023266015574336052, -0.024148140102624893, 0.009363376535475254, -0.010447653941810131, -0.027327461168169975, 0.030396517366170883, -0.02405625209212303, 0.003294181078672409, 0.026555603370070457, -0.004052256233990192, 0.013571842573583126, -0.036810293793678284, 0.02411138452589512, -0.016650088131427765, -0.022880086675286293, 0.017183037474751472, 0.017660854384303093, -0.014205869287252426, 0.010897904634475708, 0.0005676949513144791, 0.04958270862698555, -0.025030264630913734, -0.06513014435768127, -0.02657398022711277, 0.05417710542678833, 0.040761470794677734, -0.06075627729296684, 0.017247358337044716, -0.04300353676080704, 0.009657418355345726, -0.022402269765734673, -0.004874653182923794, 0.01695331744849682, -0.046789318323135376, 0.017587343230843544, -0.06520365178585052, 0.05520625039935112, -0.03379637002944946, 0.07652424275875092, -0.08924152702093124, -0.04046742990612984, -0.028117697685956955, 0.04245220869779587, 0.03561574965715408, -0.031517550349235535, -0.0006811190396547318, 0.0015494596445932984, 0.014141547493636608, -0.011412477120757103, 0.019792653620243073, -0.02420327253639698, -0.027878789231181145, -0.021850941702723503, 0.013176724314689636, -0.022255249321460724, -0.024166516959667206, -0.054691676050424576, 0.04304029047489166, -0.06704141199588776, 0.031829968094825745, -0.017614910379052162, -0.0019560635555535555, 0.09703361988067627, -0.028209585696458817, 0.026316694915294647, 0.026041030883789062, -0.06343940645456314, 0.042194921523332596, 0.04373864084482193, 0.03377799317240715, 0.06185893341898918, 0.00763129023835063, 0.02530592679977417, 0.048296280205249786, -0.00014170836948323995, -0.021079083904623985, 0.005867042578756809, -0.06476259231567383, 0.00048585727927275, -0.06435828655958176, -0.040614452213048935, 0.0023385470267385244, 0.030819201841950417, -0.013792373239994049, 0.027088552713394165, 0.0012692016316577792, 0.02872415818274021, 0.04870058596134186, -0.06803379952907562, 0.02381734363734722, 0.08144943416118622, 0.06810731440782547, -0.022181738168001175, 0.01713709346950054, -0.027327461168169975, -0.051273446530103683, 0.022328758612275124, -0.025122150778770447, -0.007162661757320166, -0.008729350753128529, -0.017412757501006126, -0.04237869754433632, -0.04509858042001724, -0.05322147160768509, 0.02387247607111931, -0.04833303391933441, 0.05678672343492508, -0.031444039195775986, -0.0006070344243198633, 0.029312239959836006, -0.003409041091799736, -0.01922294870018959, -0.004502506926655769, 0.0023270610254257917, 0.07674477249383926, -0.04484129324555397, 0.03171970322728157, 0.0548754520714283, -0.0005909540341235697, -0.018735943362116814, 0.05042807757854462, -0.067997045814991, 0.005113561637699604, 0.00575677677989006, -0.029790056869387627, 0.05480194464325905, -0.012956193648278713, -0.0022535508032888174, 0.03203212097287178, -0.06152813881635666, -0.011026548221707344, 0.05704400688409805, 0.005912986118346453, -0.008959069848060608, -0.008949881419539452, -0.00031442890758626163, 0.00114917301107198, 0.015556621365249157, -0.019976429641246796, -0.010346577502787113, 0.05869799107313156, -0.05601486191153526, 0.006579173728823662, 0.012432432733476162, 0.05678672343492508, 0.05678672343492508, -0.04032041132450104, -0.017155470326542854, -0.004047662019729614, -0.04270949587225914, -0.0033929606433957815, 0.03899722546339035, 0.031609438359737396, 0.03585465997457504, 0.03126026317477226, -0.010263877920806408, 0.050575099885463715, -0.0013737240806221962, 0.031352151185274124, -0.008720161393284798, 0.06950400769710541, -0.010925470851361752, -0.012882683426141739, -0.03352070599794388, 0.017679231241345406, -0.05899203196167946, -0.014463155530393124, 0.005049239844083786, 0.04359161853790283, 0.0550224743783474, 0.017614910379052162, 0.09475480020046234, -0.01756896637380123, 0.033575836569070816 ]
10,971
burnman.classes.mineral_helpers
__init__
null
def __init__(self, transition_pressure, low_pressure_rock, high_pressure_rock): self.transition_pressure = transition_pressure self.rocks = [low_pressure_rock, high_pressure_rock] HelperRockSwitcher.__init__(self) self._name = ( "HelperLowHighPressureRockTransition(" + str(self.transition_pressure) + " GPa, " + self.rocks[0].name + ", " + self.rocks[1].name + ")" )
(self, transition_pressure, low_pressure_rock, high_pressure_rock)
[ -0.04828665032982826, -0.0297420471906662, -0.053717970848083496, 0.024924542754888535, -0.011820557527244091, -0.028216814622282982, -0.021595070138573647, 0.06491541117429733, 0.012843579985201359, -0.029593244194984436, 0.026189370080828667, 0.05055589973926544, 0.054127179086208344, 0.04438056796789169, -0.04691022261977196, 0.011290445923805237, 0.041032493114471436, -0.0012555273715406656, -0.03216009959578514, -0.021595070138573647, 0.003536402015015483, 0.05118831619620323, 0.03271811455488205, 0.033052921295166016, -0.0031527685932815075, 0.11279285699129105, -0.030727868899703026, 0.026654381304979324, -0.0552804060280323, -0.03610338643193245, -0.058740079402923584, 0.0012566898949444294, -0.019772231578826904, 0.0517091266810894, 0.01776338741183281, 0.027119390666484833, -0.04185091331601143, 0.0030620917677879333, -0.09873095154762268, 0.01552203856408596, 0.12075383216142654, -0.030095456168055534, -0.0052220639772713184, -0.030300060287117958, -0.04798904433846474, -0.002318075392395258, 0.020534846931695938, -0.025705760344862938, 0.07332279533147812, -0.054722391068935394, 0.03143468499183655, -0.007556414697319269, -0.015689441934227943, 0.001549646258354187, -0.05673123523592949, 0.0823625922203064, 0.06268336623907089, 0.03954446315765381, 0.01674036495387554, 0.023938721045851707, -0.023120304569602013, 0.05275074765086174, 0.025556957349181175, -0.0036898553371429443, -0.013355091214179993, -0.03173229098320007, -0.04028847813606262, -0.016982169821858406, -0.015252332203090191, 0.05066750571131706, 0.07027233392000198, 0.020739451050758362, 0.0034480502363294363, 0.01378289982676506, 0.015131429769098759, 0.016452059149742126, -0.08771950751543045, -0.04884466528892517, 0.0297420471906662, -0.02920263633131981, 0.002822611480951309, -0.0069984025321900845, -0.05040709674358368, -0.009542007930576801, 0.003917710389941931, -0.07648486644029617, -0.015754543244838715, -0.030039655044674873, 0.014461815357208252, -0.0019030539551749825, -0.058777280151844025, 0.011076541617512703, -0.01716817356646061, 0.02806801162660122, 0.004008387215435505, -0.009886115789413452, -0.017391378059983253, -0.06461780518293381, 0.010062819346785545, 0.0068495990708470345, -0.002261111745610833, -0.04289253428578377, -0.09136518836021423, 0.021502068266272545, -0.024961743503808975, -0.05751245468854904, -0.016386957839131355, 0.02174387313425541, -0.0148710235953331, -0.028867829591035843, -0.030802270397543907, -0.043859753757715225, -0.0549083948135376, 0.02362251468002796, -0.042706530541181564, -0.02362251468002796, 0.009030496701598167, 0.0000996865492197685, 0.06346458196640015, -0.06033971533179283, 0.013968904502689838, -0.015363934449851513, -0.05554081127047539, 0.03736821562051773, 0.015754543244838715, 0.003836333518847823, 0.006937951315194368, -0.0016775240655988455, 0.007881921716034412, -0.010769634507596493, 0.06450620293617249, 0.008119076490402222, -0.048993468284606934, -0.02122306264936924, 0.03206709772348404, -0.017893590033054352, -0.00474310340359807, 0.04125569760799408, 0.02120446227490902, 0.017568083480000496, -0.002313425298780203, -0.039321254938840866, -0.034745555371046066, 0.04434336721897125, 0.007840070873498917, 0.016331156715750694, 0.02695198729634285, 0.03801922872662544, -0.008495735004544258, 0.03318312391638756, -0.012992382980883121, 0.029388640075922012, 0.009100248105823994, 0.005212763790041208, 0.03515476733446121, -0.04467817395925522, -0.021018458530306816, -0.017549483105540276, -0.0042153168469667435, 0.012359969317913055, 0.011374147608876228, -0.02762160263955593, -0.019958235323429108, -0.0022029855754226446, -0.002090220572426915, 0.006533392239362001, -0.00885844323784113, -0.04917947202920914, 0.050741907209157944, 0.004719852935522795, 0.01600564830005169, -0.06785427778959274, -0.06294377148151398, 0.023287707939743996, -0.019883833825588226, -0.008239979855716228, -0.01488962396979332, -0.007654066663235426, -0.012071662582457066, -0.027249593287706375, 0.002618007129058242, -0.021353265270590782, -0.07049553841352463, -0.02471993863582611, 0.002413402544334531, -0.017912190407514572, 0.04181371256709099, 0.010546430014073849, 0.0275471992790699, 0.02241348847746849, -0.00890494417399168, 0.01033252477645874, -0.03686600178480148, 0.03712640702724457, 0.07056993991136551, -0.026654381304979324, 0.023827118799090385, -0.03087667189538479, 0.022004280239343643, 0.04177651181817055, -0.0022959874477237463, 0.06372498720884323, 0.0026040568482130766, -0.001313653658144176, 0.05639642849564552, 0.017065871506929398, 0.03573137894272804, 0.006821698509156704, -0.016861267387866974, -0.04181371256709099, -0.0022797121200710535, 0.014489715918898582, 0.022506490349769592, 0.020460445433855057, 0.025556957349181175, -0.02979784831404686, 0.02857022173702717, -0.02750999853014946, 0.00913279876112938, 0.011392747983336449, 0.006472941022366285, 0.004324594046920538, -0.05100231245160103, -0.02016283944249153, -0.025110546499490738, 0.010034918785095215, -0.028384217992424965, -0.0007556414348073304, -0.02403172291815281, 0.024887342005968094, -0.008267880417406559, -0.04824944958090782, -0.039246853440999985, -0.024961743503808975, -0.07347159832715988, 0.03573137894272804, -0.03426194563508034, -0.009895415976643562, -0.07447602599859238, -0.04363654926419258, -0.020758051425218582, 0.022153083235025406, -0.0013706173049286008, -0.0038688841741532087, 0.06792867928743362, -0.09791253507137299, -0.0042199669405817986, 0.016154451295733452, -0.046129003167152405, 0.028365617617964745, 0.026245171204209328, -0.038168031722307205, -0.002292499877512455, 0.022766895592212677, -0.02700778841972351, -0.03145328536629677, -0.03835403546690941, -0.011839157901704311, -0.015336033888161182, -0.03147188574075699, -0.03744261711835861, 0.005068610422313213, -0.021892676129937172, 0.03599178418517113, -0.02181827463209629, -0.024943143129348755, -0.02698918804526329, 0.005482469219714403, -0.03210429847240448, -0.04802624508738518, 0.07789849489927292, -0.003947935998439789, -0.04586859792470932, 0.058256469666957855, -0.023250507190823555, -0.06454340368509293, 0.015568539500236511, -0.007788919843733311, -0.028998032212257385, -0.020813852548599243, 0.05297395586967468, 0.018563203513622284, -0.008565486408770084, 0.03197409585118294, 0.03162068873643875, -0.0437481515109539, 0.012359969317913055, -0.008709639310836792, 0.043934158980846405, -0.019921034574508667, -0.03281111642718315, 0.014945426024496555, 0.01608004979789257, 0.04069768637418747, 0.06413419544696808, 0.012508772313594818, -0.0229714997112751, 0.03225310146808624, 0.024868741631507874, -0.02003263682126999, 0.07548044621944427, -0.05680563673377037, -0.013615496456623077, -0.0023204004392027855, -0.06361338496208191, -0.010974239557981491, -0.010546430014073849, -0.025091946125030518, -0.009076997637748718, -0.008658488281071186, 0.007017002906650305, 0.03943286091089249, 0.0378890261054039, 0.06878429651260376, 0.043227341026067734, -0.03954446315765381, -0.004691952373832464, 0.016340456902980804, 0.041553303599357605, 0.07276478409767151, 0.008742190897464752, -0.03444794937968254, -0.021037058904767036, 0.061678942292928696, 0.012518072500824928, -0.020906856283545494, -0.06673825532197952, 0.0053336662240326405, 0.035340771079063416, -0.03251350671052933, -0.13913102447986603, -0.01727047562599182, 0.02931423857808113, -0.02116726152598858, -0.012750578112900257, 0.011894959025084972, 0.0011671754764392972, 0.0010009342804551125, 0.005956779699772596, -0.048361051827669144, 0.059372492134571075, -0.006403189618140459, -0.0698259249329567, 0.04010247439146042, 0.04891906678676605, 0.0018693407764658332, 0.022636692970991135, -0.0297420471906662, 0.04635221138596535, 0.0050779106095433235, -0.03273671492934227, -0.049142271280288696, 0.004961658269166946, 0.028979431837797165, 0.06926790624856949, 0.04545938968658447, -0.001479894737713039, -0.014508316293358803, 0.001023022341541946, 0.010230222716927528, 0.05922368913888931, -0.04300413653254509, 0.005096510984003544, 0.04140450060367584, 0.011290445923805237, -0.053159959614276886, 0.023734116926789284, 0.026840385049581528, -0.012694776989519596, -0.014526916667819023, -0.03150908648967743, -0.033536531031131744, -0.020739451050758362, -0.009932616725564003, -0.06729626655578613, 0.033536531031131744, 0.0459429994225502, 0.03106267750263214, 0.024273529648780823, -0.13035163283348083, 0.04285533353686333, 0.009249051101505756, -0.02871902659535408, 0.0606745220720768, 0.010025618597865105, -0.023269107565283775, -0.0027017088141292334, 0.050816308706998825, 0.07045833766460419, 0.00828648079186678, 0.02285989746451378, 0.008667788468301296, 0.05922368913888931, -0.02918403595685959, 0.018060993403196335, -0.02003263682126999, 0.011299746111035347, -0.027677403762936592, -0.05781006067991257, 0.011690354906022549, 0.006575243081897497, -0.09612689167261124, -0.05926088988780975, -0.003306221915408969, -0.011364847421646118, -0.011411348357796669, 0.060600120574235916, 0.07042113691568375, -0.0005652779364027083, 0.01721467450261116, -0.020404644310474396, 0.00885844323784113, -0.07745208591222763, -0.07581525295972824, 0.004640800878405571, -0.003385273739695549, -0.023938721045851707, -0.0274541974067688, 0.01713097281754017, -0.014852423220872879, -0.04776583984494209, 0.03796342760324478, 0.04929107427597046, 0.07968413829803467, 0.023752717301249504, -0.0067984480410814285, 0.01149505004286766, 0.05516880378127098, 0.025928964838385582, 0.0459429994225502, -0.03980486840009689, 0.016238152980804443, -0.041702110320329666, -0.04207411780953407, 0.05617322400212288, -0.022171683609485626, -0.020832454785704613, 0.015633640810847282, -0.016610162332654, -0.002903988352045417, 0.05810766667127609, 0.020274441689252853, 0.037591420114040375, 0.0068635493516922, -0.042669329792261124, -0.023641115054488182, -0.05621042475104332, -0.010109320282936096, -0.041627705097198486, 0.0004196716472506523, -0.0007916797767393291, 0.05896328389644623, 0.005566171370446682, -0.0038154080975800753, 0.05267634615302086, -0.03772162273526192, -0.0435621477663517, -0.0052778651006519794, 0.011541551910340786, -0.09575488418340683, 0.009802413173019886, 0.02989085204899311, 0.00837018247693777, 0.04006527364253998, -0.002462228760123253, 0.07042113691568375, 0.032420504838228226, -0.028551621362566948, -0.04709622636437416, -0.02693338692188263, 0.03792622685432434, 0.010007018223404884, 0.010555730201303959, -0.004840755369514227, -0.02762160263955593, -0.0010096532059833407, -0.07983294129371643, 0.007230907678604126, 0.011615953408181667, -0.03375973552465439, 0.011820557527244091, -0.040511682629585266, 0.058777280151844025, 0.05182072892785072, -0.02014423906803131, 0.02070225030183792, -0.005319715943187475, 0.005426668096333742, -0.011560152284801006, -0.015680141746997833, -0.050221092998981476, 0.013141185976564884, -0.021037058904767036, 0.00387120945379138, -0.07135115563869476, 0.029035232961177826, -0.01032322458922863, 0.008584086783230305, -0.032308902591466904, -0.008398083038628101, 0.010062819346785545, -0.007356460206210613, 0.007300659082829952, -0.036996204406023026, 0.06394819170236588, -0.031323082745075226, 0.003338772803544998, 0.010676632635295391, -0.02475713938474655, 0.008439933881163597, 0.04412016272544861, -0.04196251556277275, 0.02406892366707325, -0.000982915167696774, -0.013494594022631645, -0.02181827463209629, -0.04359934851527214, 0.061158131808042526, -0.014750121161341667, 0.020832454785704613, 0.03835403546690941, -0.022692494094371796, 0.004794254433363676, -0.014471115544438362, 0.005291815381497145, -0.007840070873498917, -0.008049325086176395, 0.0356011763215065, 0.009021196514368057, 0.0779728963971138, -0.023362109437584877, -0.006612443830817938, -0.020423244684934616, 0.047356631606817245, -0.009076997637748718, 0.05840527266263962, -0.014936125837266445, -0.002985364990308881, 0.026635780930519104, 0.002030931646004319, 0.03794482722878456, 0.019642027094960213, 0.026747383177280426, -0.04988628625869751, 0.038651641458272934, -0.030616266652941704, -0.012229766696691513, 0.04478977620601654, -0.019735030829906464, -0.016861267387866974, 0.015410435386002064, -0.06275776773691177, -0.058182068169116974, -0.038205232471227646, 0.04862146079540253, 0.013792200945317745, -0.005863777827471495, -0.014982626773416996, 0.022655293345451355, 0.023324908688664436, -0.008746840991079807, 0.013652697205543518, 0.0137270987033844, -0.0037782073486596346, -0.028849229216575623, -0.013913103379309177, 0.01142994873225689, 0.0016531109577044845, 0.01665666326880455, -0.023864319548010826, 0.05040709674358368, -0.029686246067285538, 0.07280198484659195, 0.021018458530306816, -0.06536182761192322, -0.014526916667819023, 0.0481378473341465, 0.03398294001817703, 0.02633817307651043, -0.03615918755531311, 0.021948479115962982, 0.024478133767843246, -0.03511756658554077, -0.07488523423671722, -0.002041394589468837, -0.019735030829906464, -0.014294411055743694, -0.006063732318580151, 0.014266510494053364, 0.00704025337472558, 0.0040153623558580875, -0.014257210306823254, -0.04002807289361954, -0.011197444051504135, 0.016266053542494774, -0.040920890867710114, 0.010369725525379181, -0.025594158098101616, -0.0032155450899153948, 0.002964439569041133, 0.0037038056179881096, 0.034168943762779236, -0.015856845304369926, 0.024403732270002365, 0.029593244194984436, -0.021892676129937172, 0.03424334526062012, 0.00179493916220963, -0.027286794036626816, 0.030672067776322365, 0.034615352749824524, -0.0005504557630047202, 0.00837018247693777, -0.005454568658024073, 0.039842069149017334, -0.017512282356619835, -0.02760300226509571, -0.05275074765086174, 0.024868741631507874, 0.0388004444539547, -0.07042113691568375, 0.026747383177280426, -0.015410435386002064, 0.04292973503470421, -0.027844807133078575, -0.014154908247292042, 0.03664279729127884, -0.06379938870668411, 0.02877482771873474, -0.09679650515317917, 0.050816308706998825, -0.02633817307651043, 0.029556043446063995, -0.10847756266593933, -0.05029549449682236, 0.011150943115353584, 0.04300413653254509, 0.02922123670578003, -0.01895381323993206, -0.014750121161341667, -0.027193792164325714, 0.033052921295166016, -0.012294868007302284, 0.010983539745211601, -0.015549939125776291, -0.026003366336226463, -0.014313011430203915, -0.017456481233239174, -0.015894046053290367, -0.007756369188427925, -0.02408752404153347, 0.04307853803038597, -0.034745555371046066, 0.05963289737701416, -0.010778934694826603, 0.06454340368509293, 0.05211833491921425, -0.041590504348278046, 0.0206836499273777, -0.002687758533284068, -0.04363654926419258, 0.0205906480550766, 0.05003508925437927, 0.03255070745944977, 0.07161156088113785, 0.029667645692825317, 0.03266231343150139, 0.0070542036555707455, -0.02403172291815281, -0.016898468136787415, -0.03744261711835861, -0.054722391068935394, 0.02985365130007267, -0.0722067728638649, -0.03599178418517113, 0.002699383767321706, 0.0389864481985569, 0.05122551694512367, 0.041702110320329666, -0.007226257584989071, 0.023734116926789284, 0.0008887505973689258, -0.04880746454000473, -0.07685687392950058, 0.0803537517786026, 0.07455042749643326, -0.05501999706029892, 0.021929876878857613, 0.013280689716339111, -0.006333438213914633, 0.0033829486928880215, 0.007970273494720459, -0.022115882486104965, 0.0024041023571044207, 0.009895415976643562, -0.042780932039022446, -0.013169086538255215, -0.057103242725133896, 0.020200040191411972, -0.057103242725133896, 0.04363654926419258, -0.008983995765447617, -0.0026714832056313753, 0.014805922284722328, -0.024961743503808975, -0.02399452216923237, 0.022729694843292236, -0.009081647731363773, 0.06026531383395195, -0.04992348700761795, 0.0053336662240326405, 0.03612198680639267, 0.012183265760540962, -0.0025343052111566067, 0.018051693215966225, -0.06093492731451988, 0.030504664406180382, 0.036940403282642365, -0.045570991933345795, 0.039321254938840866, 0.02635677345097065, 0.03455955162644386, 0.054833993315696716, -0.03902364894747734, -0.0002723215438891202, 0.025705760344862938, 0.019363021478056908, -0.0251663476228714, 0.011411348357796669, -0.0005423180409707129, 0.007142555434256792, 0.03442934900522232, -0.03887484595179558, -0.017670385539531708, 0.0723927766084671, -0.0344107486307621, 0.03850283846259117, 0.041553303599357605, 0.08526425808668137, 0.05100231245160103, -0.021483467891812325, -0.013280689716339111, -0.005268564913421869, -0.03543377295136452, -0.010444127954542637, 0.03576857969164848, 0.0552804060280323, 0.005501070059835911, 0.008467834442853928, 0.02003263682126999, 0.037535618990659714, 0.01176475640386343, 0.0037038056179881096, -0.032959919422864914, 0.010844036005437374, -0.044566571712493896, 0.030597666278481483, -0.014517616480588913, -0.00588702829554677, -0.044529370963573456, -0.00292956386692822, 0.010732433758676052, 0.05345756560564041, 0.04720782861113548, 0.04066048562526703, 0.06774267554283142, 0.025631358847022057, 0.010053519159555435 ]
10,973
burnman.classes.mineral_helpers
debug_print
null
def debug_print(self, indent=""): print( "%sHelperLowHighPressureRockTransition (%f GPa):" % (indent, self.transition_pressure) ) indent += " " for r in self.rocks: r.debug_print(indent)
(self, indent='')
[ -0.01621405966579914, 0.0070167426019907, -0.04704972729086876, 0.03686165064573288, 0.030111825093626976, -0.015689274296164513, -0.018530353903770447, 0.005935503635555506, -0.006039556115865707, -0.017254581674933434, -0.024827778339385986, -0.007862732745707035, 0.03494346886873245, 0.03105281852185726, -0.03497966006398201, 0.011165262199938297, 0.022457195445895195, -0.008934923447668552, 0.008514191024005413, 0.013861573301255703, 0.044226743280887604, 0.08092553168535233, 0.005668587051331997, 0.012965818867087364, -0.03530539199709892, 0.05320238322019577, -0.034672029316425323, -0.027216456830501556, -0.06514577567577362, -0.005265950225293636, -0.041838064789772034, -0.029243214055895805, 0.014522078447043896, 0.017109813168644905, -0.02605830878019333, 0.041838064789772034, -0.02213146723806858, -0.048244066536426544, -0.07933307439088821, 0.000041529016016284004, 0.046217307448387146, 0.030473744496703148, -0.00974472239613533, -0.03821885585784912, -0.038942694664001465, 5.655015229422133e-7, 0.08700580149888992, 0.03367674723267555, 0.06022365018725395, -0.02956894226372242, 0.0734337642788887, -0.01145479828119278, -0.015200680121779442, 0.00534738227725029, -0.00654624542221427, -0.006686490029096603, 0.042561907321214676, -0.05472245067358017, 0.044480085372924805, -0.01974278874695301, -0.01238674484193325, 0.03727785870432854, 0.007125318981707096, 0.028519371524453163, -0.02202288992702961, -0.055156756192445755, -0.008351325988769531, -0.01691075786948204, -0.010577140375971794, 0.011527182534337044, 0.02200479432940483, 0.008473474532365799, 0.00015325090498663485, 0.008179414086043835, -0.027741242200136185, -0.002632975112646818, -0.04429912567138672, -0.06199705973267555, 0.03195762261748314, -0.06833067536354065, -0.02529827505350113, -0.0071388911455869675, -0.01087572518736124, 0.018801793456077576, -0.011843863874673843, -0.051501352339982986, 0.039557959884405136, 0.0026013068854808807, 0.02176954597234726, 0.021679066121578217, -0.030745185911655426, 0.04267048090696335, -0.013888716697692871, 0.010522851720452309, -0.006849354133009911, 0.018150337040424347, -0.02225814014673233, -0.04632588475942612, -0.013011058792471886, -0.011147165670990944, 0.007659152615815401, -0.020285669714212418, -0.06275709718465805, 0.013952053152024746, -0.058920733630657196, -0.03749501332640648, -0.014286830089986324, 0.032518599182367325, 0.0005578672280535102, 0.04994509369134903, -0.019525635987520218, -0.046470653265714645, -0.03032897785305977, -0.01678408496081829, 0.028845101594924927, -0.04440770298242569, 0.042091406881809235, 0.025732580572366714, 0.050487976521253586, -0.04831644892692566, 0.015924522653222084, -0.060694146901369095, 0.008627290837466717, -0.019815173000097275, -0.018819890916347504, -0.0040263705886900425, 0.00005700961992261, 0.05758162587881088, -0.008989212103188038, -0.011337174102663994, 0.07983976602554321, -0.016883613541722298, -0.02542494796216488, -0.0063019488006830215, 0.045457273721694946, -0.0007933985907584429, 0.021081896498799324, -0.025714484974741936, 0.053021419793367386, 0.014467790722846985, -0.03179475665092468, -0.0899735540151596, -0.06279328465461731, 0.012070064432919025, -0.0143501665443182, 0.0019147881539538503, -0.011789575219154358, 0.04122279956936836, -0.004383767489343882, 0.013861573301255703, -0.01621405966579914, 0.026257365942001343, 0.02278292551636696, -0.019688500091433525, 0.020303765311837196, 0.0054152426309883595, -0.0006689882720820606, -0.00962709728628397, -0.006998646538704634, -0.00956376176327467, -0.03836362063884735, -0.047990720719099045, 0.0022574819158762693, 0.002651071175932884, -0.026492614299058914, 0.007609388325363398, -0.04335813224315643, -0.017788415774703026, 0.03912365809082985, 0.023470574989914894, 0.01790603995323181, -0.029080349951982498, -0.015625936910510063, 0.010767148807644844, 0.03373103588819504, 0.02705359272658825, -0.012938674539327621, 0.0008770928252488375, -0.05823308229446411, -0.037531204521656036, -0.011780527420341969, -0.040317997336387634, -0.013047250919044018, 0.011291934177279472, 0.0006774708162993193, -0.049619365483522415, 0.02933369390666485, -0.04889552295207977, 0.01472113560885191, 0.007428427692502737, 0.006030508317053318, 0.029605135321617126, -0.012368649244308472, -0.002875009784474969, 0.050234630703926086, -0.0056369188241660595, 0.05910169333219528, -0.04455247148871422, 0.09887681156396866, -0.018376536667346954, 0.0010795423295348883, 0.00477735698223114, -0.043828628957271576, -0.0027935774996876717, 0.03070899471640587, -0.003693855833262205, -0.02426679991185665, -0.009400896728038788, 0.013499652035534382, -0.05222519487142563, -0.005605251062661409, 0.007125318981707096, 0.05928265303373337, -0.07404903322458267, 0.020955223590135574, -0.004953793250024319, -0.022221947088837624, -0.002614879049360752, -0.038942694664001465, 0.011382414028048515, -0.008672530762851238, -0.028646044433116913, -0.047628797590732574, -0.031016627326607704, -0.04125899076461792, 0.03876173496246338, 0.028609853237867355, -0.00955471396446228, -0.04643445834517479, 0.0066050575114786625, 0.011472894810140133, -0.01988755725324154, -0.07213085144758224, 0.01599690690636635, -0.019218003377318382, 0.04129518195986748, -0.08418281376361847, 0.00018760512466542423, -0.005704779177904129, -0.0470135323703289, -0.019453251734375954, 0.023325806483626366, 0.030473744496703148, -0.011997680179774761, -0.00108463189098984, -0.09475091099739075, 0.01784270443022251, -0.004700448364019394, 0.00046484224731102586, 0.06235898286104202, -0.0005205441266298294, -0.05349192023277283, 0.006320044863969088, 0.03222906216979027, -0.0016094172606244683, -0.024248704314231873, -0.0015098890289664268, 0.0283203162252903, -0.005645967088639736, 0.012404841370880604, -0.02490016259253025, 0.018819890916347504, -0.03244621306657791, 0.033387210220098495, 0.029496558010578156, 0.03657211363315582, -0.048859331756830215, -0.05522913858294487, 0.013734900392591953, -0.04078849405050278, 0.03157760575413704, -0.006627677474170923, -0.05345572531223297, 0.04386482015252113, -0.015924522653222084, 0.002664643106982112, 0.025443043559789658, 0.015824994072318077, -0.052406154572963715, -0.041078031063079834, 0.024863969534635544, -0.020158998668193817, -0.00034919718746095896, 0.030600417405366898, -0.011192405596375465, -0.03143283724784851, -0.008794679306447506, 0.017824606969952583, 0.030383264645934105, -0.024737298488616943, -0.010405227541923523, 0.017661742866039276, 0.05863119661808014, 0.014630654826760292, 0.09923873096704483, -0.00026013070601038635, -0.016078338027000427, 0.029840383678674698, -0.013472507707774639, 0.02491825819015503, 0.03923223167657852, -0.0823008269071579, 0.026311654597520828, 0.021099992096424103, -0.019055139273405075, 0.058812156319618225, 0.008627290837466717, 0.009482329711318016, -0.01841272972524166, -0.048244066536426544, -0.031269971281290054, 0.024321088567376137, 0.059934113174676895, 0.04628968983888626, 0.015843089669942856, -0.03432820364832878, -0.04867836833000183, 0.029152734205126762, 0.006709109991788864, 0.07643771171569824, -0.004700448364019394, 0.02842889167368412, 0.004732116591185331, 0.08324182033538818, 0.00477735698223114, -0.07050220668315887, -0.04060753062367439, 0.028754619881510735, 0.002307246206328273, -0.041186604648828506, -0.07658247649669647, -0.015508313663303852, -0.012929626740515232, 0.008943972177803516, 0.028103163465857506, 0.025859253481030464, -0.044950585812330246, -0.011509086936712265, -0.008514191024005413, -0.017806511372327805, 0.07071935385465622, 0.02665547840297222, 0.004958317149430513, 0.013427267782390118, 0.0698869377374649, 0.029387982562184334, -0.015273064374923706, 0.00505784573033452, 0.019959941506385803, 0.027596473693847656, 0.013743949122726917, -0.0037843361496925354, 0.004695924464613199, 0.01872940920293331, 0.0021183686330914497, -0.008220129646360874, 0.024230608716607094, -0.014947336167097092, -0.024447761476039886, 0.061454180628061295, 0.028646044433116913, 0.006709109991788864, 0.00414851913228631, 0.07433856278657913, 0.05222519487142563, -0.045457273721694946, -0.000021436040697153658, -0.01813223958015442, 0.02680024690926075, 0.03105281852185726, -0.0508137047290802, -0.005116657819598913, -0.01923609897494316, -0.007378663867712021, -0.08932209759950638, 0.050632745027542114, 0.038182660937309265, 0.0284469872713089, 0.030528033152222633, -0.07198607921600342, 0.059680767357349396, 0.01529116090387106, -0.005048797465860844, 0.016132626682519913, -0.009654241614043713, -0.04831644892692566, -0.019797077402472496, 0.030889954417943954, 0.003390747122466564, -0.01948944479227066, -0.0255335234105587, 0.005424290429800749, 0.024845873937010765, 0.024737298488616943, -0.023470574989914894, -0.05725589767098427, -0.005795259494334459, -0.034907277673482895, -0.08526857942342758, 0.0006520232418552041, 0.01440445426851511, -0.10017972439527512, -0.07296326756477356, -0.03253669664263725, 0.014494935050606728, -0.057545434683561325, 0.018394632264971733, 0.052008043974637985, -0.015824994072318077, 0.07491763681173325, 0.023850591853260994, 0.006912690587341785, -0.04708591848611832, 0.028374603018164635, 0.03347769007086754, -0.06619534641504288, -0.007745108567178249, 0.012667234055697918, -0.020539015531539917, 0.02377820760011673, 0.010568092577159405, -0.015933571383357048, 0.020955223590135574, 0.05392622575163841, 0.03664449602365494, -0.05218900367617607, -0.019435156136751175, 0.0777406245470047, 0.054903410375118256, 0.04343051463365555, -0.01509210467338562, 0.001366251613944769, -0.016476452350616455, 0.013219163753092289, 0.06666584312915802, -0.002056163502857089, 0.006220516748726368, 0.010414275340735912, 0.03897888958454132, 0.03134235739707947, 0.08751249313354492, 0.011717190966010094, 0.007220323197543621, -0.04361147806048393, 0.007831064984202385, 0.034038666635751724, -0.012676281854510307, -0.018693218007683754, -0.03876173496246338, 0.06666584312915802, -0.04223617538809776, 0.004709496628493071, -0.024954451248049736, -0.028899388387799263, 0.013743949122726917, -0.048244066536426544, 0.009536617435514927, 0.023742014542222023, -0.0449867770075798, -0.08772964030504227, 0.018340345472097397, 0.04328574612736702, -0.030528033152222633, 0.041838064789772034, 0.029026061296463013, 0.020719975233078003, -0.012260072864592075, 0.019290387630462646, -0.0878744125366211, -0.04111422225832939, 0.09062501043081284, 0.030383264645934105, -0.03611971065402031, -0.022077178582549095, 0.005053321365267038, 0.011934343725442886, -0.06225040555000305, 0.016892660409212112, -0.006935310550034046, 0.010776196606457233, -0.054794833064079285, -0.0706469714641571, -0.00416887691244483, 0.02113618515431881, 0.011861959472298622, 0.02100951224565506, 0.007283659651875496, 0.014865904115140438, -0.0017078145174309611, -0.0503070130944252, -0.006772445980459452, -0.010658572427928448, -0.03481679782271385, -0.06192467734217644, -0.034762509167194366, -0.024737298488616943, -0.03069089725613594, -0.010215219110250473, -0.008744915015995502, -0.012106256559491158, 0.0007063113735057414, 0.00943708885461092, 0.03908746317028999, -0.012359601445496082, 0.011843863874673843, -0.01642216369509697, 0.05280426889657974, 0.05627870932221413, 0.012033872306346893, 0.024212513118982315, 0.06395143270492554, -0.013599180616438389, 0.006912690587341785, -0.0043498375453054905, -0.023181037977337837, -0.034653931856155396, -0.002890843665227294, 0.06185229495167732, 0.04918505996465683, -0.019579924643039703, 0.018186528235673904, -0.061707526445388794, -0.0073650917038321495, -0.014250637963414192, -0.003709689946845174, 0.010224266909062862, -0.005293094087392092, 0.0696335956454277, -0.04657922685146332, 0.045348696410655975, 0.03394818678498268, 0.034798700362443924, 0.023579150438308716, -0.01784270443022251, -0.018892275169491768, 0.11422225832939148, -0.021552393212914467, -0.05595298111438751, -0.01599690690636635, 0.00591740757226944, 0.06101987510919571, 0.007229371462017298, 0.012287217192351818, -0.053274765610694885, 0.0019272291101515293, 0.009590905159711838, 0.01089382078498602, 0.02251148410141468, -0.002655595075339079, 0.02026757411658764, 0.006016936153173447, -0.04426293447613716, -0.022421004250645638, -0.003058232134208083, 0.05645966902375221, 0.03496156632900238, 0.024321088567376137, -0.00055475695990026, 0.05935503914952278, -0.0000834114762255922, 0.029152734205126762, 0.02605830878019333, 0.024321088567376137, -0.0009059334406629205, 0.004754736553877592, -0.029912767931818962, -0.00505784573033452, -0.00698507484048605, 0.004101017024368048, 0.04415435716509819, 0.03293480724096298, -0.02868223749101162, -0.008410138078033924, 0.012359601445496082, -0.05921027064323425, -0.01182576734572649, 0.02564210072159767, 0.06290186196565628, 0.011237646453082561, -0.023199133574962616, 0.0017768057296052575, -0.021697161719202995, 0.04940221086144447, -0.06691918522119522, -0.023959167301654816, -0.01705552637577057, 0.011183357797563076, -0.03686165064573288, 0.04654303565621376, -0.05598917230963707, -0.008998259902000427, -0.07803016155958176, -0.05888454243540764, -0.03523300588130951, 0.03345959261059761, -0.029406078159809113, 0.026203077286481857, 0.013617276214063168, -0.0020448535215109587, 0.02417632006108761, -0.01552640926092863, 0.03117949143052101, 0.01036903541535139, 0.004614492412656546, 0.01032379548996687, -0.008129649795591831, 0.06677442044019699, 0.006998646538704634, -0.007360567804425955, 0.007993929088115692, -0.024610625579953194, 0.0069488827139139175, -0.004585086368024349, -0.026492614299058914, -0.011880056001245975, -0.05222519487142563, 0.03183094784617424, -0.015055912546813488, 0.01106573361903429, 0.04505915939807892, -0.016123579815030098, 0.042960017919540405, -0.07397664338350296, 0.012793906033039093, 0.005134753882884979, 0.04039037972688675, 0.0030265641398727894, -0.0543605275452137, 0.04755641520023346, -0.07803016155958176, 0.050270821899175644, 0.029496558010578156, -0.0004221468698233366, -0.06355331838130951, -0.09844250231981277, -0.0747004896402359, 0.020050421357154846, 0.004659732338041067, -0.07955022901296616, -0.02466491423547268, 0.0013866097433492541, 0.033007193356752396, -0.040933262556791306, 0.01686551794409752, 0.01578880287706852, 0.0033500308636575937, -0.05153754726052284, -0.028519371524453163, 0.013979197479784489, 0.023705823346972466, -0.03735024482011795, 0.0031487124506384134, -0.04180186986923218, 0.06695538014173508, -0.026130693033337593, 0.056785400956869125, 0.0757138654589653, 0.008971115574240685, 0.019833268597722054, 0.020303765311837196, -0.026583094149827957, -0.004481033887714148, -0.034020569175481796, -0.0010529637802392244, 0.07328899204730988, 0.0019317531259730458, 0.00006969806418055668, 0.006030508317053318, 0.01629549078643322, -0.08157698810100555, -0.022077178582549095, -0.011789575219154358, 0.008591098710894585, -0.03782074153423309, -0.06163514032959938, 0.004343051463365555, 0.030292784795165062, 0.04277905821800232, 0.03568540886044502, -0.0676068365573883, 0.03231954202055931, -0.007717964705079794, -0.013816332444548607, -0.06941644102334976, 0.04889552295207977, 0.09699481725692749, -0.04846121743321419, 0.010902869515120983, -0.02576877363026142, 0.022203851491212845, -0.04129518195986748, -0.04556585103273392, -0.004320431500673294, -0.0013820857275277376, -0.005175469908863306, -0.015924522653222084, 0.04614492133259773, -0.047882143408060074, 0.06373428553342819, -0.09113170206546783, 0.04049895703792572, 0.02077426388859749, 0.03948557749390602, 0.021660970523953438, 0.02052091807126999, 0.0033749130088835955, 0.052261386066675186, -0.028465084731578827, -0.023470574989914894, 0.005786211229860783, 0.04556585103273392, 0.050994664430618286, -0.010866677388548851, -0.025605907663702965, -0.012241976335644722, -0.02993086352944374, -0.006953406613320112, -0.002985847881063819, 0.017281726002693176, 0.046723995357751846, -0.06952501833438873, 0.007966785691678524, -0.039449386298656464, -0.04469723999500275, -0.007351519539952278, 0.10083118081092834, -0.008459902368485928, 0.003641829825937748, 0.022348619997501373, 0.023434381932020187, -0.01703742891550064, 0.0038612443022429943, -0.019797077402472496, -0.004309121519327164, 0.01271247398108244, 0.01813223958015442, -0.0045760381035506725, 0.026583094149827957, 0.10054164379835129, -0.01164480671286583, 0.006107416469603777, 0.024212513118982315, 0.04965555667877197, -0.03472631797194481, 0.028827004134655, 0.017073621973395348, 0.032771944999694824, 0.058703579008579254, -0.02931559830904007, 0.034292012453079224, 0.08439996838569641, 0.015562601387500763, -0.00961804948747158, -0.011662903241813183, 0.025117315351963043, 0.022963885217905045, 0.007808445021510124, -0.03633686527609825, 0.019091330468654633, -0.04455247148871422, -0.04267048090696335, -0.04603634774684906, 0.04831644892692566, 0.09033547341823578, -0.0015517361462116241, 0.08657149225473404, -0.02765076234936714, 0.005030701402574778 ]
10,977
burnman.classes.mineral_helpers
select_rock
null
def select_rock(self): if self._pressure < self.transition_pressure: return self.rocks[0] else: return self.rocks[1]
(self)
[ 0.020471997559070587, 0.017308294773101807, -0.0549379363656044, 0.0012167280074208975, 0.012386981397867203, 0.009306974709033966, 0.025326354429125786, 0.020790042355656624, 0.04666879028081894, 0.0022660642862319946, 0.017375251278281212, -0.02497483231127262, 0.027552664279937744, 0.045497048646211624, -0.004465172067284584, -0.0033436480443924665, 0.05021749064326286, -0.011683936230838299, 0.006097240373492241, 0.005264467094093561, 0.0464344397187233, 0.007792080752551556, 0.04817531257867813, -0.004306149668991566, -0.01691492460668087, 0.0455305241048336, 0.009265127591788769, -0.010997630655765533, -0.08985583484172821, -0.02124199829995632, -0.05423489212989807, 0.042617909610271454, 0.02664874866604805, 0.02070634625852108, 0.006536643486469984, 0.08041494339704514, -0.026447879150509834, 0.02815527282655239, -0.008855017833411694, -0.0024313635658472776, -0.02487439662218094, 0.003303892444819212, 0.025092005729675293, -0.024539614096283913, -0.04877792298793793, -0.011926653794944286, 0.008838278241455555, -0.01919982023537159, 0.08550364524126053, 0.002232586033642292, 0.07639754563570023, 0.041613560169935226, -0.043555304408073425, -0.02070634625852108, -0.05041836202144623, 0.00555740250274539, -0.004984085913747549, -0.0020149769261479378, 0.018831558525562286, 0.01354198344051838, 0.04804139956831932, 0.04703705012798309, 0.026966793462634087, 0.006574306637048721, 0.05815185606479645, -0.06173403561115265, 0.024188091978430748, 0.027017010375857353, -0.038600511848926544, 0.04268486797809601, 0.012253067456185818, 0.042450521141290665, 0.008871756494045258, -0.009934693574905396, -0.01682285964488983, -0.020756563171744347, -0.0565783753991127, -0.022145913913846016, 0.01674753427505493, -0.02638092264533043, 0.04047529771924019, 0.02487439662218094, -0.010478716343641281, 0.01201034989207983, -0.029109405353665352, -0.01573481410741806, 0.04158008471131325, -0.01636253297328949, -0.009817519225180149, -0.03786398842930794, -0.00455723749473691, 0.05949098989367485, -0.013977201655507088, 0.0005764549714513123, 0.016429489478468895, 0.009432518854737282, -0.03916964307427406, -0.009273496456444263, 0.023518525063991547, -0.05754924565553665, -0.038466598838567734, 0.0630062147974968, -0.07224623113870621, 0.00038970867171883583, 0.02166047878563404, 0.030482016503810883, 0.01387676689773798, 0.0650818720459938, -0.0014876931672915816, -0.015508835203945637, 0.0003941550094168633, 0.004544682800769806, -0.08818191289901733, 0.03937051445245743, -0.05811837688088417, -0.04014051333069801, -0.03244049847126007, 0.02611309476196766, 0.010662847198545933, -0.005494630429893732, -0.014872747473418713, -0.0056410981342196465, 0.0014311985578387976, 0.0400066003203392, -0.010118824429810047, 0.02321721985936165, 0.016052858904004097, -0.003128131153061986, 0.014755573123693466, 0.025761572644114494, 0.06819535046815872, -0.004138758406043053, -0.022397000342607498, -0.06156664341688156, -0.049347054213285446, -0.03712746500968933, 0.00025749541237019, -0.0003360910341143608, 0.04737183451652527, -0.009825889021158218, 0.012905895709991455, -0.0007171685574576259, -0.008721103891730309, 0.013809810392558575, 0.005406749900430441, 0.01553394366055727, -0.010704695247113705, 0.008156158030033112, 0.03629050776362419, 0.053766194730997086, -0.0009128075325861573, 0.03311006724834442, 0.0529961921274662, -0.010420129634439945, 0.031955063343048096, -0.05152314528822899, -0.019902866333723068, -0.04623357206583023, -0.01621188037097454, -0.028356144204735756, 0.022045478224754333, 0.0004992978647351265, -0.005005009938031435, -0.015483726747334003, -0.043990522623062134, -0.02428852580487728, -0.03669224679470062, 0.017710035666823387, 0.044392261654138565, 0.03890181705355644, 0.02196178212761879, -0.00741544971242547, -0.06849665939807892, -0.009775672107934952, -0.07706710696220398, 0.030398322269320488, -0.020923955366015434, 0.0419483445584774, -0.01931699551641941, -0.00679610064253211, 0.005896370392292738, -0.06457969546318054, -0.038600511848926544, -0.020070256665349007, 0.005766641814261675, -0.006804469972848892, 0.029494406655430794, 0.019082646816968918, 0.010286216624081135, 0.025209181010723114, 0.010989260859787464, -0.007436373736709356, -0.03883485868573189, -0.021509826183319092, 0.0347839817404747, -0.031151583418250084, -0.0002435025235172361, -0.004707889631390572, -0.012621329165995121, 0.04104442894458771, -0.013901875354349613, -0.0227652620524168, -0.040240950882434845, -0.0034147894475609064, -0.020187431946396828, -0.0383661650121212, 0.01139937061816454, -0.008218929171562195, 0.020622650161385536, -0.019635038450360298, -0.039136163890361786, 0.027284836396574974, 0.02984592877328396, -0.012386981397867203, 0.040609210729599, -0.02303308993577957, -0.0051305536180734634, -0.04579835385084152, 0.02209569700062275, 0.01043686829507351, -0.051020972430706024, -0.01878134161233902, -0.02611309476196766, 0.023685917258262634, -0.03465006873011589, 0.0014709540409967303, -0.05339793115854263, 0.007340123411267996, -0.010378281585872173, 0.04365573823451996, 0.038031380623579025, -0.043689217418432236, 0.008302625268697739, -0.072848841547966, -0.09427496790885925, 0.07766971737146378, -0.03505180776119232, 0.0386674702167511, -0.08235668390989304, 0.024673527106642723, 0.011265457607805729, 0.013215569779276848, 0.006473871413618326, 0.030030060559511185, 0.019551344215869904, -0.03779703006148338, 0.0037746813613921404, -0.007377786561846733, -0.02321721985936165, 0.07124187797307968, 0.03756268322467804, -0.050619229674339294, -0.010026759468019009, 0.039571382105350494, 0.015333074145019054, -0.020220909267663956, -0.052125755697488785, -0.013190461322665215, -0.04697009548544884, -0.006900720298290253, -0.037328336387872696, 0.0019699903205037117, -0.021158302202820778, 0.010194150730967522, -0.04034138470888138, 0.0049087596125900745, -0.04774009436368942, 0.023970482870936394, -0.006988600827753544, -0.0009326852741651237, 0.035955723375082016, -0.04137921333312988, -0.041479647159576416, 0.00835284311324358, 0.007478221319615841, -0.04184791073203087, -0.018279166892170906, 0.06504838913679123, 0.018178731203079224, 0.02043851837515831, 0.029059188440442085, 0.07104101032018661, -0.003939980641007423, 0.0032745988573879004, -0.0023434830363839865, 0.0017199490685015917, 0.02912614494562149, -0.02693331427872181, 0.04151312634348869, -0.007340123411267996, -0.018881777301430702, 0.010194150730967522, -0.0019239576067775488, -0.0491127073764801, 0.10224281251430511, -0.045095305889844894, -0.0019877757877111435, -0.018295906484127045, 0.0646466538310051, 0.005134738516062498, 0.08751235157251358, -0.07512536644935608, -0.0562770701944828, 0.02775353379547596, -0.04322052001953125, 0.06009359657764435, -0.0006643355591222644, -0.0016739163547754288, -0.03317702189087868, -0.018831558525562286, -0.034884415566921234, -0.026698965579271317, 0.0370270311832428, -0.0056410981342196465, -0.04385660961270332, -0.04697009548544884, 0.007729308679699898, 0.01139937061816454, 0.00510544516146183, 0.013608939945697784, -0.012303285300731659, -0.024070916697382927, -0.00820219051092863, 0.0019532511942088604, -0.01110643520951271, -0.015458617359399796, -0.12915939092636108, -0.001376796280965209, -0.03893529623746872, 0.022581132128834724, -0.10311324894428253, 0.005184955894947052, 0.006570121739059687, 0.001747150206938386, 0.025209181010723114, 0.02057243324816227, 0.04462661221623421, 0.03424832969903946, 0.005494630429893732, -0.046601831912994385, 0.0037872358225286007, -0.04104442894458771, 0.01849677599966526, 0.0347839817404747, 0.06009359657764435, 0.06943405419588089, 0.045229218900203705, -0.004067617002874613, 0.02058917097747326, -0.007800450548529625, -0.013801440596580505, 0.024355484172701836, 0.00897219218313694, 0.04154660552740097, 0.020806780084967613, 0.03232332691550255, -0.006687296088784933, 0.0018475851975381374, 0.006005174946039915, -0.0012261437950655818, 0.05386662855744362, -0.01889851503074169, -0.008118494413793087, 0.013081656768918037, -0.018714385107159615, -0.0036323985550552607, -0.02721787989139557, 0.03689311817288399, -0.09320366382598877, -0.02514222450554371, -0.04917966201901436, -0.020220909267663956, -0.06930013746023178, -0.019015690311789513, -0.014286876656115055, -0.009549693204462528, -0.01685633882880211, 0.0016686853487044573, 0.0646466538310051, -0.088382788002491, 0.026966793462634087, 0.007340123411267996, -0.0780714601278305, 0.04486095905303955, -0.004460987169295549, -0.003370849182829261, -0.0607631653547287, -0.05189140886068344, 0.04375617578625679, -0.027368532493710518, 0.04395704343914986, 0.022865697741508484, 0.05356532335281372, -0.04626704752445221, 0.02803809940814972, 0.0237361341714859, 0.016580142080783844, -0.0419483445584774, 0.0008887449512258172, 0.0002642956969793886, 0.0040801712311804295, -0.024539614096283913, -0.05209227651357651, 0.005331423599272966, -0.03163702040910721, -0.017977861687541008, 0.06585186719894409, 0.03394702449440956, -0.03311006724834442, -0.04004007950425148, -0.0780714601278305, 0.02167721651494503, -0.0709071010351181, -0.035821810364723206, -0.009290236048400402, -0.0120187196880579, 0.017425470054149628, 0.00265524978749454, -0.006892350502312183, 0.02360222116112709, -0.04238356277346611, 0.004155497532337904, 0.003293430432677269, 0.03505180776119232, 0.05979229137301445, -0.010445238091051579, 0.029460927471518517, 0.0643453449010849, -0.006047022994607687, 0.07914276421070099, -0.019635038450360298, -0.04774009436368942, -0.0005319915362633765, -0.048811402171850204, 0.057080548256635666, 0.015626009553670883, -0.028473317623138428, 0.015140573494136333, -0.02209569700062275, -0.023535264655947685, 0.1149645745754242, 0.04512878507375717, 0.02857375331223011, 0.011776002123951912, 0.013374592177569866, -0.057247940450906754, -0.03796442225575447, 0.02057243324816227, -0.0601605549454689, -0.001026843092404306, -0.03669224679470062, 0.0021551672834903, 0.004707889631390572, 0.0347839817404747, 0.059725336730480194, -0.008821539580821991, -0.08048190176486969, -0.005046857986599207, 0.02279874123632908, -0.102108895778656, 0.05015053600072861, 0.035553984344005585, 0.013952093198895454, 0.021744173020124435, -0.004862727131694555, 0.06260447204113007, -0.017860688269138336, -0.027653098106384277, -0.03605615720152855, -0.008813169784843922, 0.02221287041902542, -0.011893175542354584, -0.02721787989139557, -0.04020747169852257, 0.009198170155286789, -0.00231000455096364, -0.05918968468904495, 0.028356144204735756, 0.04891183599829674, -0.024941354990005493, -0.0013977201888337731, -0.03130223602056503, 0.013952093198895454, 0.0032871533185243607, 0.010244368575513363, -0.010713065043091774, -0.07854015380144119, 0.014320354908704758, -0.04780705273151398, -0.021041128784418106, -0.022815480828285217, -0.0032181041315197945, -0.020773302763700485, 0.008252407424151897, -0.08302625268697739, 0.030833540484309196, 0.03398050367832184, 0.01637927256524563, 0.029075928032398224, 0.042751822620630264, 0.01931699551641941, 0.03809833526611328, -0.004791585728526115, -0.00002687420419533737, 0.002303727436810732, -0.07358536124229431, 0.006528273690491915, -0.004490280523896217, 0.03393028676509857, 0.05580837279558182, 0.05898881331086159, 0.0014343371149152517, 0.01450448576360941, 0.0068421331234276295, 0.011792740784585476, -0.014245028607547283, -0.0036470452323555946, 0.0740540623664856, 0.029360493645071983, -0.010403390042483807, -0.00731919938698411, -0.036257028579711914, 0.011642088182270527, 0.02348504774272442, -0.010537303984165192, 0.021007651463150978, -0.0076832761988043785, -0.016621990129351616, 0.0029084295965731144, 0.0014981551794335246, -0.0012753150658681989, -0.024070916697382927, -0.04666879028081894, 0.06678926199674606, -0.025477007031440735, 0.0013056547613814473, -0.019819170236587524, 0.02042178064584732, 0.01567622646689415, -0.03893529623746872, -0.003973458893597126, 0.01450448576360941, 0.10110455006361008, 0.022145913913846016, 0.033210501074790955, 0.005025933962315321, -0.06488099694252014, 0.04720444232225418, -0.012520894408226013, 0.020371561869978905, 0.0019877757877111435, -0.022129174321889877, 0.0018078297143802047, -0.07559406012296677, 0.11476370692253113, 0.036524854600429535, 0.0012230051215738058, 0.020103735849261284, 0.012512524612247944, 0.01601937972009182, 0.028473317623138428, -0.04556400328874588, 0.059591423720121384, -0.032239630818367004, -0.022681567817926407, -0.0562770701944828, 0.020471997559070587, -0.02045525796711445, 0.061231862753629684, -0.03752920404076576, 0.04760618135333061, -0.01567622646689415, 0.01305654738098383, 0.03200528025627136, -0.003243213053792715, 0.002937723184004426, 0.04184791073203087, 0.0034043274354189634, -0.04435878247022629, 0.018128514289855957, 0.06407751888036728, -0.021208520978689194, 0.07827232778072357, -0.06340795010328293, -0.029226580634713173, -0.013441548682749271, 0.0028163644019514322, 0.00800968986004591, -0.02731831558048725, 0.024070916697382927, 0.055038370192050934, -0.03317702189087868, -0.023284176364541054, 0.013290896080434322, -0.0017136718379333615, -0.03217267245054245, 0.03379637002944946, -0.05647793784737587, -0.023719394579529762, 0.014345463365316391, 0.023233959451317787, 0.00641528470441699, 0.008855017833411694, -0.008754583075642586, 0.024221569299697876, -0.013408070430159569, 0.0285904910415411, -0.015918944031000137, 0.03726137802004814, -0.02927679754793644, 0.04325399920344353, -0.01727481745183468, -0.061231862753629684, -0.05480402335524559, 0.04462661221623421, 0.03572137653827667, -0.0055908807553350925, -0.031837888062000275, 0.008281701244413853, 0.006720774341374636, -0.02514222450554371, 0.02664874866604805, -0.03280876204371452, 0.005314684472978115, 0.03218941017985344, -0.049514446407556534, 0.044794000685214996, -0.05346488952636719, 0.0012439291458576918, -0.04057573154568672, 0.04559748247265816, -0.05426836758852005, 0.05758272483944893, -0.0813523381948471, -0.0930027961730957, 0.019517865031957626, 0.028824839740991592, 0.00986773706972599, -0.03413115441799164, -0.011441218666732311, -0.023518525063991547, 0.06903231143951416, 0.020957432687282562, 0.023434828966856003, -0.003835360985249281, -0.056009240448474884, -0.030147233977913857, 0.06263794749975204, -0.04124530032277107, -0.04569791629910469, -0.012889156118035316, 0.012253067456185818, -0.0018224765080958605, 0.033461589366197586, -0.088382788002491, 0.02607961744070053, 0.11282196640968323, 0.00579593563452363, -0.0100016500800848, -0.0035800887271761894, -0.03441572189331055, 0.052661407738924026, 0.01310676522552967, 0.017710035666823387, 0.055975764989852905, -0.0027556847780942917, 0.002053686184808612, -0.02263134904205799, -0.03106788732111454, -0.0000010625445838741143, -0.05453619733452797, -0.040107037872076035, -0.015316334553062916, -0.07532623410224915, 0.0011801110813394189, -0.0018235226161777973, 0.01567622646689415, -0.026397662237286568, 0.04171399772167206, -0.02541005052626133, 0.02788744680583477, 0.023970482870936394, -0.040642689913511276, 0.006160012446343899, 0.05885490030050278, 0.058319248259067535, -0.04375617578625679, 0.00205996329896152, 0.0013339021243155003, -0.0003060128365177661, -0.00791343953460455, 0.0021300585940480232, -0.03552050516009331, 0.03394702449440956, -0.013617309741675854, -0.03008027747273445, 0.0012104507768526673, 0.0027159294113516808, 0.007474036421626806, -0.003998567815870047, 0.048141833394765854, -0.031837888062000275, -0.02182786911725998, -0.0007564009865745902, -0.051556624472141266, -0.004364736843854189, 0.01672242395579815, -0.023535264655947685, 0.05125531926751137, -0.04117834195494652, -0.05969185754656792, 0.03716094419360161, -0.03783050924539566, 0.060796644538640976, -0.02843983843922615, -0.0004809894016943872, -0.0012209127889946103, 0.04117834195494652, -0.05969185754656792, 0.048945315182209015, -0.04928009957075119, -0.019852647557854652, -0.026481356471776962, 0.0010012112325057387, -0.0025966628454625607, 0.07766971737146378, 0.07492449879646301, -0.009164691902697086, -0.022832218557596207, 0.043990522623062134, 0.0012460214784368873, 0.008386321365833282, 0.03562093898653984, -0.03521919995546341, 0.06049533933401108, 0.0020934417843818665, 0.03903573006391525, -0.003519409103319049, 0.06391012668609619, 0.0013694728258997202, 0.009767302311956882, -0.013952093198895454, -0.011098065413534641, -0.047840531915426254, -0.022413739934563637, -0.013993941247463226, 0.0008992069633677602, 0.006339958403259516, 0.025041788816452026, -0.002648972673341632, 0.02028786577284336, 0.03024766966700554, 0.08811496198177338, -0.019082646816968918, -0.060260988771915436, 0.00020570862398017198, -0.013751222752034664, 0.013265787623822689, 0.007051372900605202, 0.052694886922836304, -0.03136919438838959, 0.04887835681438446, -0.019149603322148323, 0.07646450400352478, -0.0020369470585137606, 0.039571382105350494, -0.022597871720790863, -0.028339404612779617 ]
10,978
burnman.classes.mineral_helpers
set_method
null
def set_method(self, method): for r in self.rocks: r.set_method(method)
(self, method)
[ 0.01120398286730051, -0.024000154808163643, -0.029899634420871735, 0.012410694733262062, -0.04270418733358383, -0.0002235087740700692, -0.014212382026016712, 0.045653924345970154, 0.04625728353857994, 0.07810106128454208, 0.014765458181500435, 0.004187876358628273, 0.07924073189496994, 0.05745288357138634, -0.038514215499162674, -0.03670414909720421, 0.017832517623901367, 0.06191101297736168, -0.008698380552232265, -0.043676260858774185, 0.01084364578127861, 0.04183267429471016, 0.05115116760134697, -0.003972092643380165, 0.010550347156822681, 0.09941963851451874, -0.008191393688321114, 0.0416315533220768, 0.023363279178738594, -0.0010799650335684419, -0.02731861174106598, -0.011312922462821007, 0.018553191795945168, -0.002597782062366605, 0.042838264256715775, 0.003123623551800847, -0.03546391800045967, 0.03452536091208458, -0.03831309825181961, 0.08346422761678696, 0.020731978118419647, 0.030670588836073875, 0.04743047431111336, -0.027151012793183327, -0.005656461231410503, -0.001790165202692151, -0.002792615909129381, 0.04743047431111336, 0.08440277725458145, -0.03948628902435303, -0.016433067619800568, 0.012595053762197495, 0.031391263008117676, -0.02227388694882393, -0.02820688672363758, 0.04253658652305603, -0.04049188271164894, 0.05567633733153343, 0.05641377344727516, 0.031307466328144073, 0.035631515085697174, -0.02679905667901039, -0.024318592622876167, -0.020748738199472427, 0.04538576677441597, -0.04706175625324249, -0.004332430195063353, 0.031173385679721832, 0.06201157346367836, 0.001144909649156034, 0.026296259835362434, 0.025642624124884605, 0.028441524133086205, 0.004734667483717203, -0.010357609018683434, 0.024285072460770607, -0.03596671298146248, 0.015628593042492867, 0.008832459338009357, -0.012846451252698898, 0.005727690644562244, 0.06479371339082718, -0.0006876790430396795, -0.028441524133086205, -0.047195836901664734, -0.011958178132772446, 0.039989084005355835, -0.03152534365653992, 0.02024594135582447, -0.06422387808561325, -0.015050376765429974, 0.011974937282502651, 0.0043198601342737675, -0.043676260858774185, -0.06408979743719101, 0.031240426003932953, -0.0007028676918707788, -0.06385516375303268, -0.03760918229818344, -0.03372088819742203, -0.07052559405565262, 0.051519885659217834, 0.025676144286990166, -0.019893983379006386, 0.003402256639674306, 0.0042612007819116116, -0.02448619157075882, -0.032866135239601135, -0.03311753273010254, 0.05718472599983215, -0.017514079809188843, 0.037977900356054306, -0.009494475089013577, 0.009444194845855236, 0.004688577726483345, -0.025743182748556137, -0.013583886437118053, -0.0022919143084436655, 0.025575583800673485, -0.027905208989977837, -0.009217936545610428, 0.019106268882751465, -0.00021460508287418634, -0.004070557188242674, -0.00078928581206128, 0.010491687804460526, 0.014296181499958038, 0.08004520833492279, 0.04551984742283821, -0.0520562008023262, -0.04122931510210037, -0.007210940588265657, 0.012402314692735672, 0.021335333585739136, -0.0014664898626506329, -0.014379980973899364, -0.05111764743924141, -0.06114006042480469, -0.010558727197349072, 0.015310154296457767, -0.005706740543246269, 0.004345000255852938, 0.050078537315130234, 0.04749751463532448, -0.0549389012157917, 0.02820688672363758, -0.04096115753054619, 0.04253658652305603, -0.024117473512887955, -0.013818524777889252, -0.03690526634454727, 0.019793424755334854, 0.10149785876274109, -0.018201235681772232, 0.0057360706850886345, -0.006272386759519577, -0.03754214197397232, 0.07394461333751678, -0.0022311597131192684, -0.03868181258440018, 0.019793424755334854, -0.006364566273987293, -0.05681600794196129, 0.0042528207413852215, -0.011723539792001247, -0.015695631504058838, -0.03740806132555008, -0.03630191087722778, -0.011078284122049809, 0.048637185245752335, 0.0310728270560503, -0.04055892303586006, -0.03469296172261238, 0.026497377082705498, 0.03687174618244171, -0.002262584399431944, 0.00041664025047793984, 0.010868784971535206, 0.0028240405954420567, 0.021435892209410667, -0.019290627911686897, -0.0639222040772438, -0.007185800466686487, -0.0030042093712836504, -0.012041977606713772, 0.035597994923591614, 0.0065992046147584915, -0.04846958816051483, -0.03229629620909691, 0.009678833186626434, 0.033435970544815063, 0.02513982728123665, -0.04699471592903137, 0.014371600933372974, -0.00269624637439847, -0.03734102472662926, 0.0018257799092680216, 0.009176037274301052, -0.03945276886224747, 0.05564281716942787, 0.0008212343673221767, 0.04960925877094269, 0.022676123306155205, 0.03968740627169609, 0.028257165104150772, 0.037810299545526505, 0.009527994319796562, -0.014212382026016712, 0.011907897889614105, -0.04230194911360741, 0.057318806648254395, 0.0345924012362957, 0.03962036594748497, -0.05745288357138634, 0.032145459204912186, 0.003150858450680971, 0.07562059909105301, -0.030670588836073875, -0.011530800722539425, 0.0020656557753682137, -0.019240347668528557, 0.05098357051610947, -0.07548651844263077, -0.0016948434058576822, -0.0672406554222107, 0.011706779710948467, 0.0014664898626506329, -0.06422387808561325, -0.021201254799962044, -0.02019566111266613, -0.003986757714301348, 0.040726520121097565, 0.0008102356805466115, -0.01575429178774357, -0.09164305031299591, -0.011346441693603992, -0.025642624124884605, 0.057218246161937714, -0.07897257804870605, 0.018486153334379196, 0.007110381033271551, 0.039285171777009964, -0.004730477463454008, 0.04260362684726715, -0.04317346215248108, 0.030083993449807167, 0.016156528145074844, 0.013508467003703117, -0.03294993191957474, 0.009075477719306946, 0.07260382175445557, -0.07642507553100586, -0.030586790293455124, 0.017581118270754814, 0.02160349115729332, -0.034257203340530396, -0.03593319281935692, 0.03992204740643501, 0.0000636679251329042, -0.01719564199447632, 0.011254262179136276, -0.025525305420160294, 0.04602264240384102, -0.010759846307337284, -0.002012233715504408, 0.04897238314151764, -0.005149474833160639, 0.08534133434295654, -0.05463722348213196, -0.01188275869935751, 0.017480559647083282, -0.07220158725976944, -0.011555940844118595, 0.04913998395204544, 0.02446943148970604, 0.07072671502828598, -0.029195718467235565, 0.015645353123545647, -0.0909726545214653, -0.05480482429265976, 0.09077153354883194, -0.002844990463927388, 0.05276011675596237, 0.02445267140865326, -0.0019535741303116083, 0.019190067425370216, 0.013206789270043373, 0.10203418135643005, -0.013969363644719124, -0.01800011657178402, 0.032882895320653915, -0.002991639543324709, -0.016106249764561653, 0.02245824597775936, 0.039251651614904404, -0.014120202511548996, -0.025676144286990166, 0.01593027077615261, 0.04320698231458664, -0.05762048438191414, 0.007269599940627813, -0.048033829778432846, -0.05034669488668442, 0.04471537098288536, -0.024318592622876167, -0.022156568244099617, 0.0058031100779771805, 0.03103930689394474, -0.025843743234872818, -0.06154229864478111, -0.0029518348164856434, 0.055072981864213943, -0.11229123175144196, -0.016424687579274178, -0.0016058064065873623, -0.006553114857524633, -0.0432405024766922, 0.03465944156050682, -0.012745892629027367, 0.04813439026474953, -0.025424744933843613, -0.017530839890241623, -0.035128720104694366, 0.03227953985333443, 0.03385496884584427, 0.03898349031805992, -0.04032428190112114, -0.023530878126621246, -0.08500613272190094, -0.012930250726640224, -0.008421842008829117, 0.042201388627290726, 0.020748738199472427, 0.017597878351807594, -0.05048077180981636, 0.024100713431835175, -0.021921928972005844, 0.00046272994950413704, -0.001465442474000156, 0.01124588306993246, 0.0273856520652771, 0.006812893319875002, -0.0019640489481389523, -0.0195420254021883, 0.023949874565005302, 0.08024632930755615, -0.017011282965540886, 0.0028282306157052517, 0.011807339265942574, -0.02249176613986492, 0.056581370532512665, -0.04753103479743004, 0.01870403066277504, 0.025508545339107513, 0.0273018516600132, -0.03234657645225525, -0.022190086543560028, -0.010081070475280285, -0.022743163630366325, -0.06509539484977722, -0.01547775324434042, -0.013382768258452415, -0.001361740636639297, 0.0061257379129529, 0.000598118407651782, 0.01367606595158577, -0.02599458210170269, 0.012519634328782558, 0.0007479098858311772, -0.05906183272600174, 0.012972150929272175, -0.03325160965323448, -0.037642702460289, 0.012963770888745785, 0.008279383182525635, 0.024988988414406776, 0.03700582683086395, 0.03035215102136135, 0.026949895545840263, 0.026212459430098534, 0.0730060562491417, -0.03465944156050682, 0.045754484832286835, 0.009628553874790668, 0.049408141523599625, -0.04340810328722, 0.008166253566741943, 0.009150897152721882, 0.02745269052684307, 0.013340868055820465, 0.01950850524008274, -0.012687232345342636, -0.07072671502828598, -0.004927406087517738, -0.04055892303586006, -0.04746399447321892, -0.005124334711581469, -0.017463799566030502, 0.004529358819127083, 0.0010768226347863674, 0.01591351069509983, -0.07314013689756393, 0.018854869529604912, 0.04759807139635086, 0.0273018516600132, 0.021519692614674568, 0.006649484392255545, 0.044380173087120056, 0.015301775187253952, -0.07635803520679474, -0.004634107928723097, 0.010307328775525093, -0.021787850186228752, -0.02451971173286438, 0.006393895950168371, -0.0093687754124403, 0.06083838269114494, -0.010701186023652554, 0.038648296147584915, 0.05902831256389618, 0.0140950633212924, 0.0317935012280941, 0.006967922206968069, 0.0909726545214653, 0.026514137163758278, -0.03093874640762806, 0.05554225668311119, -0.011312922462821007, -0.020078342407941818, 0.07025744020938873, 0.018921909853816032, 0.010365989059209824, -0.04183267429471016, 0.02249176613986492, -0.00398466270416975, -0.049408141523599625, -0.052290841937065125, -0.03388848528265953, -0.03147506341338158, -0.013910704292356968, 0.028491804376244545, -0.02158673107624054, -0.028709683567285538, -0.0619780533015728, -0.022944282740354538, -0.04984389618039131, -0.0008437554351985455, 0.014388361014425755, -0.005715120583772659, -0.005819870159029961, -0.05570985749363899, 0.03740806132555008, -0.001173191936686635, 0.04813439026474953, 0.053765710443258286, 0.014195622876286507, 0.020614657551050186, -0.03241361677646637, 0.03958684951066971, -0.00033126960624940693, 0.04126283526420593, 0.018184475600719452, -0.07139711081981659, -0.02014538086950779, -0.00397628266364336, 0.062413811683654785, -0.06147525832056999, 0.010190010070800781, -0.0208995770663023, -0.03174322098493576, 0.040726520121097565, -0.06610098481178284, -0.03868181258440018, -0.04712879657745361, 0.00004314360921853222, 0.01083526574075222, -0.026983413845300674, -0.0024888429325073957, -0.10096154361963272, -0.03553095459938049, -0.03539687767624855, -0.048570144921541214, -0.011815718375146389, -0.007143900729715824, -0.007340829353779554, -0.03945276886224747, -0.005593611393123865, -0.01224309578537941, -0.042871784418821335, -0.042201388627290726, 0.004784947261214256, 0.012997291050851345, -0.019860463216900826, 0.0302683524787426, -0.0244191512465477, 0.04176563397049904, -0.004378519952297211, 0.04495001211762428, -0.024083955213427544, -0.044279616326093674, 0.015662113204598427, -0.01794983632862568, 0.00776401674374938, 0.029128680005669594, 0.018603472039103508, 0.01727944053709507, 0.00979615282267332, 0.02232416719198227, -0.005237463861703873, -0.009511234238743782, 0.05976574867963791, -0.03023483231663704, -0.04528521001338959, 0.001818447490222752, 0.02896108105778694, -0.047262873500585556, -0.04025724157691002, 0.028609123080968857, -0.024352112784981728, 0.03834661468863487, 0.028659403324127197, -0.08379942178726196, -0.0016120914369821548, 0.03606727346777916, -0.025542063638567924, -0.019055988639593124, -0.007701166905462742, 0.004801706876605749, 0.01655038632452488, -0.004349190276116133, 0.04927406087517738, 0.04253658652305603, -0.03313429281115532, 0.021871648728847504, 0.006745853461325169, 0.07226862013339996, 0.04156451299786568, -0.04840254783630371, 0.06905072182416916, 0.06006742641329765, -0.008648100309073925, 0.028525324538350105, 0.003825443796813488, -0.026866095140576363, 0.004275865387171507, -0.047933269292116165, -0.016164908185601234, -0.09720733016729355, 0.07039151340723038, -0.013240309432148933, -0.033469490706920624, -0.0012308040168136358, -0.05758696421980858, 0.012318515218794346, 0.049408141523599625, -0.05255899950861931, 0.024234794080257416, -0.027938727289438248, 0.02235768549144268, 0.0016948434058576822, -0.03373764827847481, -0.016022449359297752, 0.03025159239768982, -0.007784966379404068, 0.0518886037170887, 0.05906183272600174, 0.02173756994307041, -0.019893983379006386, 0.004952545743435621, -0.07857034355401993, 0.037977900356054306, -0.005451152566820383, 0.004960925783962011, -0.04313994199037552, 0.03600023314356804, 0.023346519097685814, -0.013139749877154827, -0.05406738817691803, -0.06891664862632751, -0.06620154529809952, -0.04924054071307182, -0.01117884274572134, 0.03246389701962471, -0.05262603983283043, -0.042871784418821335, -0.004236060660332441, 0.002907840069383383, 0.06720713526010513, -0.004688577726483345, 0.006892502773553133, -0.00558942137286067, -0.05825736001133919, -0.03700582683086395, -0.06080486252903938, 0.02803928777575493, 0.017111841589212418, 0.0403578020632267, -0.09150896966457367, -0.07488316297531128, 0.02803928777575493, 0.035698555409908295, 0.03189406171441078, -0.006385515909641981, 0.00015777860244270414, -0.010986104607582092, -0.020447058603167534, -0.056581370532512665, 0.03445832431316376, 0.01262019295245409, 0.024150993674993515, 0.004960925783962011, 0.013198409229516983, 0.03834661468863487, -0.00022193753102328628, 0.012695612385869026, -0.018553191795945168, -0.004525168798863888, 0.01187437865883112, 0.03407284617424011, -0.023480597883462906, -0.038614775985479355, -0.008790559135377407, -0.024067195132374763, -0.010466547682881355, -0.056715451180934906, 0.027854928746819496, -0.00895815808326006, -0.018217993900179863, -0.019776664674282074, -0.03630191087722778, 0.03177674114704132, -0.08346422761678696, 0.054503146559000015, -0.042268428951501846, -0.006708143744617701, -0.0549389012157917, 0.01729620061814785, -0.012888351455330849, -0.0331510528922081, -0.023581158369779587, 0.026832574978470802, -0.01369282603263855, 0.07273790240287781, -0.016751505434513092, -0.012804551981389523, 0.03028511255979538, -0.02371523715555668, -0.013483326882123947, -0.02951415628194809, -0.01791631616652012, -0.046525441110134125, -0.012125777080655098, -0.07320717722177505, 0.06348644196987152, 0.023346519097685814, 0.016039209440350533, 0.03407284617424011, -0.02160349115729332, 0.005568471737205982, -0.0009139374596998096, -0.013500086963176727, 0.04384385794401169, -0.0028952700085937977, -0.017547599971294403, 0.014581100083887577, -0.0049064564518630505, 0.016005689278244972, 0.007730497047305107, 0.019139789044857025, 0.04458129405975342, 0.03824605792760849, 0.0004514693864621222, -0.017128601670265198, -0.024704070761799812, 0.04897238314151764, 0.019910743460059166, -0.011279402300715446, -0.05004501715302467, 0.024687310680747032, -0.009134137071669102, -0.11664880067110062, 0.03294993191957474, -0.04662599787116051, 0.041396915912628174, 0.0024616080336272717, 0.08286087214946747, 0.017463799566030502, 0.019324148073792458, -0.001620471361093223, -0.040089644491672516, -0.016081109642982483, -0.0017084607388824224, -0.013047570362687111, 0.004797516856342554, 0.008371562696993351, 0.028307445347309113, -0.020681697875261307, -0.10934148728847504, 0.04126283526420593, -0.014262662269175053, 0.06154229864478111, -0.009938611648976803, 0.005371543113142252, 0.0009762633126229048, 0.0065279752016067505, -0.03254769742488861, 0.023430319502949715, 0.011782199144363403, -0.012326895259320736, 0.011405101977288723, -0.01187437865883112, 0.025508545339107513, -0.005480482243001461, -0.022910762578248978, 0.028709683567285538, -0.018972190096974373, 0.05899479612708092, -0.020028062164783478, -0.03817901760339737, 0.050883010029792786, 0.024871669709682465, -0.041497476398944855, 0.009687213227152824, -0.03400580585002899, 0.0518886037170887, 0.003756309160962701, 0.03616783022880554, 0.03888293355703354, -0.024184513837099075, 0.0018142575863748789, -0.040022604167461395, -0.034257203340530396, 0.01082688570022583, 0.013131369836628437, 0.022575564682483673, -0.04193323105573654, -0.01596379093825817, 0.01366768591105938, 0.005505622364580631, 0.0012643238296732306, -0.04662599787116051, -0.06264845281839371, -0.023396799340844154, -0.03532983735203743, -0.00015280301158782095, -0.012955390848219395, 0.03452536091208458, 0.01446378044784069, 0.012452594004571438, 0.025726422667503357, 0.007089431397616863, 0.04555336758494377, 0.0035321456380188465, 0.059430550783872604, 0.004780757240951061, 0.017815757542848587, 0.02311188168823719, 0.016433067619800568, 0.05336347222328186, 0.006783563178032637, -0.033435970544815063, -0.004093601834028959, -0.0011271022958680987, 0.024670550599694252, 0.05208972096443176, 0.0650283545255661, 0.05101709067821503, -0.0012716562487185001 ]
10,979
burnman.classes.mineral_helpers
set_state
null
def set_state(self, pressure, temperature): Material.set_state(self, pressure, temperature) self.current_rock = self.select_rock() self.current_rock.set_state(pressure, temperature)
(self, pressure, temperature)
[ -0.00794963538646698, 0.012990538962185383, 0.004520204849541187, 0.01132968906313181, -0.032426971942186356, -0.008048388175666332, -0.01994815282523632, -0.007433425169438124, 0.036466874182224274, 0.0022241922561079264, -0.03709530457854271, 0.004037660546600819, 0.01311622466892004, 0.058605555444955826, -0.04926888644695282, -0.02892572060227394, 0.024113744497299194, 0.022408006712794304, -0.044169627130031586, -0.00781497173011303, -0.003263345453888178, -0.002724691526964307, 0.0503821037709713, 0.041799549013376236, 0.012056872248649597, 0.04118907451629639, -0.0025788061320781708, -0.00885636918246746, 0.0086005087941885, -0.030954649671912193, -0.015378572046756744, 0.028979584574699402, 0.028315246105194092, 0.037885330617427826, 0.03564094007015228, 0.015181065537035465, -0.010288291610777378, 0.01616859808564186, -0.022192545235157013, 0.01917608268558979, -0.010422955267131329, 0.0096149742603302, 0.008515221998095512, 0.02253369241952896, 0.009803502820432186, -0.02513718605041504, 0.07612976431846619, 0.004834419582039118, 0.12058667838573456, -0.04783247411251068, 0.017165107652544975, 0.028117738664150238, -0.00038070493610575795, -0.005884794984012842, -0.005956615321338177, -0.0038962638936936855, 0.047150179743766785, 0.021617980673909187, 0.0013500015484169126, -0.02964392490684986, 0.023575089871883392, 0.03565889596939087, -0.0100548742339015, -0.07735071331262589, -0.017201017588377, -0.04248184710741043, 0.0028593549504876137, 0.036843933165073395, -0.012487795203924179, 0.06244795396924019, -0.007563599850982428, 0.030990559607744217, 0.015782563015818596, -0.04434917867183685, -0.021869352087378502, 0.017802514135837555, -0.0816599428653717, 0.0025226962752640247, -0.03727485612034798, -0.030469860881567, -0.009588041342794895, 0.003274567425251007, -0.005974570754915476, 0.048083845525979996, -0.06912726163864136, 0.00651771342381835, 0.016500767320394516, 0.012676323764026165, -0.0025249405298382044, -0.039716754108667374, 0.012191535905003548, 0.04650379717350006, -0.013089291751384735, -0.015611988492310047, 0.09099661558866501, 0.005265343002974987, -0.015782563015818596, -0.013295776210725307, -0.011473330669105053, -0.016024956479668617, -0.08029535412788391, 0.0071775647811591625, -0.03538956865668297, -0.061801567673683167, -0.0017741916235536337, -0.05943148955702782, -0.00490624038502574, 0.03878308832645416, 0.05907239019870758, -0.052321258932352066, -0.04165590927004814, 0.007011479698121548, -0.06603898108005524, 0.025388559326529503, -0.057959169149398804, 0.008012478239834309, 0.03713121637701988, -0.027363622561097145, -0.008820459246635437, -0.03749031946063042, 0.01358305849134922, -0.0008798015187494457, 0.02650177665054798, 0.0468628965318203, 0.02596312202513218, 0.03526388108730316, 0.024813994765281677, 0.026645418256521225, 0.01944540999829769, -0.05914421007037163, -0.01989428699016571, 0.04237411543726921, -0.02237209677696228, 0.0038244433235377073, -0.020953640341758728, -0.012532683089375496, -0.03321699798107147, -0.018601518124341965, -0.004075815435498953, -0.03709530457854271, 0.02657359652221203, -0.015172087587416172, -0.028261380270123482, 0.009040409699082375, 0.0260708536952734, 0.015908248722553253, -0.0032723229378461838, -0.03709530457854271, 0.012604503892362118, 0.03456363081932068, -0.005121701862663031, 0.02027134597301483, 0.018368100747466087, 0.01141048688441515, -0.029967118054628372, 0.013843407854437828, 0.011437419801950455, -0.031044425442814827, 0.038100793957710266, 0.015441414900124073, -0.01182345487177372, -0.0019537429325282574, 0.01052170805633068, 0.04327187314629555, -0.03565889596939087, 0.012137670069932938, -0.08072628080844879, -0.06266341358423233, 0.0014072335325181484, -0.05339856818318367, 0.015324706211686134, -0.05422450229525566, -0.03118806704878807, 0.027812501415610313, 0.017982065677642822, -0.040470872074365616, 0.004170079715549946, -0.027794545516371727, 0.014310241676867008, -0.007298761513084173, 0.00036948296474292874, -0.03102646954357624, -0.057959169149398804, 0.04783247411251068, -0.01262245886027813, -0.06316615641117096, -0.03185240551829338, 0.008474823087453842, 0.010817968286573887, -0.013870340771973133, 0.05110030993819237, -0.0028638436924666166, -0.04165590927004814, -0.0014274331042543054, 0.031008515506982803, 0.0076354206539690495, 0.059611041098833084, -0.08029535412788391, 0.05099257826805115, 0.08683102577924728, 0.00024337622744496912, -0.04531875625252724, 0.009372579865157604, 0.03118806704878807, 0.04873023182153702, 0.0008955122902989388, 0.03903445973992348, -0.0021400274708867073, 0.0290514063090086, -0.029410507529973984, -0.03504842147231102, 0.00025417734286747873, 0.014382061548531055, 0.03145739436149597, 0.017407501116394997, -0.04783247411251068, 0.01159901637583971, -0.026878833770751953, 0.0669008269906044, -0.00744240265339613, -0.016770094633102417, 0.014732186682522297, -0.02711225114762783, -0.02601698786020279, -0.016393037512898445, 0.019373588263988495, -0.03996812552213669, -0.015378572046756744, -0.05655866861343384, 0.04636015370488167, -0.007545644883066416, 0.03553320840001106, -0.0030972606036812067, -0.027309758588671684, -0.04337960109114647, 0.01951722986996174, 0.0023857883643358946, -0.030541682615876198, -0.11455374956130981, 0.018888799473643303, -0.004104992374777794, -0.023682821542024612, 0.0384598970413208, -0.03935765102505684, -0.05716914311051369, -0.0008938289829529822, 0.017353637143969536, 0.017640918493270874, -0.02750726416707039, 0.01562096644192934, -0.03102646954357624, -0.028261380270123482, -0.013493282720446587, 0.04991526901721954, 0.007092277519404888, -0.003916463349014521, 0.04118907451629639, 0.01632121577858925, -0.03400702401995659, -0.0052249436266720295, -0.04628833383321762, -0.0302005335688591, 0.016958624124526978, 0.02700452134013176, 0.04718609154224396, -0.01391522865742445, 0.00124675955157727, 0.024921724572777748, -0.056845951825380325, -0.012873830273747444, 0.1434255987405777, -0.007595021277666092, -0.01736261323094368, 0.04068633168935776, 0.0020951395854353905, -0.043738704174757004, -0.00037284957943484187, 0.013259866274893284, -0.04535466805100441, -0.03003893792629242, 0.023000525310635567, 0.01608780026435852, 0.025370603427290916, 0.04359506443142891, -0.01126684620976448, -0.041081346571445465, 0.013394529931247234, 0.05487088859081268, 0.028800033032894135, -0.03935765102505684, -0.03118806704878807, 0.039932217448949814, -0.025657884776592255, 0.008636418730020523, 0.056235477328300476, -0.03289380297064781, -0.08144448697566986, -0.0034226973075419664, 0.02921300195157528, 0.0015317973447963595, 0.09200210124254227, -0.09272030740976334, -0.03490477800369263, 0.019427454099059105, -0.001838156720623374, 0.027740681543946266, 0.04531875625252724, 0.029913252219557762, 0.00004762318712892011, -0.03059554658830166, 0.03817261382937431, 0.04420553892850876, -0.030020982027053833, 0.037885330617427826, 0.010503753088414669, -0.06345344334840775, -0.002068206900730729, 0.006199009716510773, -0.0018549896776676178, 0.015647899359464645, 0.023323718458414078, -0.06855270266532898, -0.00035601662239059806, 0.008106742985546589, -0.04636015370488167, 0.0048074871301651, -0.03989630565047264, 0.0017865357222035527, -0.013089291751384735, 0.0026169607881456614, -0.11117818206548691, 0.05070529505610466, 0.051172129809856415, -0.028351156041026115, -0.012182557955384254, -0.03075714409351349, -0.013807497918605804, -0.038998547941446304, -0.01691373623907566, -0.009929188527166843, 0.043846435844898224, 0.036466874182224274, -0.01016260590404272, -0.022677334025502205, 0.043235961347818375, 0.06266341358423233, 0.032049912959337234, -0.036574605852365494, 0.0639202743768692, 0.03687984496355057, -0.07742253690958023, 0.02668132819235325, 0.01696760021150112, -0.015576078556478024, -0.0096149742603302, 0.0260708536952734, -0.024490801617503166, 0.020307255908846855, -0.024975590407848358, -0.026196539402008057, 0.00761746522039175, -0.025765616446733475, -0.021294787526130676, -0.013753632083535194, 0.010530686005949974, -0.012406997382640839, -0.037454407662153244, 0.02348531410098076, -0.03201400116086006, 0.007200008258223534, 0.039609022438526154, -0.06776267290115356, -0.059934236109256744, 0.03262447565793991, 0.002545140217989683, 0.03806488215923309, -0.04898160323500633, 0.006360605824738741, 0.06542850285768509, -0.04061451181769371, 0.05681004375219345, -0.08747740834951401, -0.01515413261950016, 0.005391028709709644, 0.02413169853389263, -0.005682799499481916, 0.0037301790434867144, -0.027920233085751534, 0.06291478872299194, 0.035515252500772476, 0.03666438162326813, 0.018386056646704674, 0.07419060915708542, -0.059826504439115524, 0.0484788604080677, 0.01802695356309414, 0.046431973576545715, -0.06625444442033768, 0.029859386384487152, -0.0004788970691151917, -0.05102849006652832, -0.04133271798491478, -0.06503349542617798, -0.010243403725326061, 0.028225470334291458, 0.0137805650010705, 0.04557012766599655, 0.04029132053256035, -0.045282844454050064, -0.07598612457513809, 0.008721706457436085, 0.03003893792629242, -0.04926888644695282, -0.019373588263988495, 0.01600700058043003, -0.020073838531970978, 0.08094174414873123, -0.07670433074235916, 0.03716712445020676, 0.032319240272045135, 0.0013746898621320724, 0.05576864257454872, 0.005907238926738501, 0.030380085110664368, 0.0216000247746706, 0.009444399736821651, 0.009686794131994247, 0.020468851551413536, 0.002480052877217531, 0.07336467504501343, -0.020019974559545517, -0.035299792885780334, -0.05246489867568016, 0.01460650097578764, 0.01879902370274067, -0.011159115470945835, 0.0012983805499970913, -0.009992031380534172, -0.0093456469476223, -0.04237411543726921, 0.10528890043497086, -0.0018774336203932762, 0.03059554658830166, -0.02072022296488285, 0.002343144966289401, -0.03289380297064781, -0.010467843152582645, 0.021151147782802582, -0.03163694590330124, 0.026106763631105423, -0.05347038805484772, 0.03336063772439957, -0.0409017950296402, -0.0023655889090150595, 0.04783247411251068, 0.027202026918530464, -0.056522760540246964, 0.010782057419419289, 0.04061451181769371, -0.050561655312776566, 0.04463646188378334, 0.021743666380643845, -0.04327187314629555, 0.05835418403148651, -0.00029177090618759394, 0.006845394615083933, -0.06266341358423233, -0.02364690974354744, 0.01440899446606636, 0.004125191830098629, 0.01358305849134922, -0.029805520549416542, -0.008793526329100132, 0.009920211508870125, -0.02111523598432541, -0.01858356222510338, -0.030775098130106926, 0.004104992374777794, -0.0012938918080180883, -0.023054391145706177, -0.022551648318767548, -0.02226436510682106, 0.06611080467700958, 0.02540651336312294, 0.01595313660800457, -0.00651771342381835, 0.013888295739889145, 0.006809484213590622, 0.01765887439250946, -0.0045965141616761684, -0.03824443370103836, -0.06277114897966385, 0.02815364859998226, 0.005561602767556906, -0.06945045292377472, 0.007774572819471359, -0.04937661811709404, 0.02066635899245739, -0.01344839483499527, 0.0031017493456602097, 0.009399511851370335, 0.01091672107577324, -0.0100548742339015, 0.010117718018591404, 0.017937177792191505, -0.024041922762989998, 0.033989068120718, -0.011150137521326542, 0.05099257826805115, 0.028297290205955505, 0.03874717652797699, -0.018314236775040627, 0.03641301020979881, -0.0034384080208837986, -0.0021321719978004694, -0.013134179636836052, -0.029069360345602036, 0.08403002470731735, -0.007361604832112789, -0.05379357933998108, 0.007222452200949192, -0.012685301713645458, 0.061083365231752396, 0.009749636985361576, 0.003965840209275484, -0.005651378072798252, 0.03608981892466545, -0.05440405383706093, -0.03438407927751541, 0.0174703449010849, 0.009659862145781517, 0.007738662417978048, -0.04151226952672005, 0.050023000687360764, -0.016877824440598488, -0.021815486252307892, 0.025478335097432137, -0.039752665907144547, -0.005884794984012842, -0.031098291277885437, -0.020037928596138954, 0.00012351167970336974, 0.049951180815696716, -0.03946538269519806, 0.029033450409770012, -0.025011500343680382, -0.08668738603591919, -0.01632121577858925, -0.04460055008530617, -0.022246411070227623, 0.021402519196271896, -0.09329487383365631, -0.04409780725836754, -0.0426613986492157, 0.06427937746047974, 0.0011760612251237035, 0.03488682582974434, 0.006387538742274046, -0.019876332953572273, 0.02138456329703331, -0.0026483822148293257, 0.005803996697068214, 0.051674872636795044, 0.03301949054002762, 0.03296562656760216, -0.08927292376756668, -0.02039703167974949, -0.02237209677696228, 0.022174589335918427, -0.041907280683517456, 0.06571578979492188, 0.020522717386484146, 0.023790551349520683, 0.06510531157255173, 0.022443916648626328, -0.018421966582536697, 0.06201703101396561, -0.021240923553705215, 0.015450391918420792, 0.05598410591483116, 0.07034821063280106, 0.021671846508979797, -0.0467192567884922, -0.04237411543726921, 0.03831625357270241, 0.022856885567307472, 0.01757807470858097, 0.06844496726989746, -0.021582070738077164, -0.022838929668068886, -0.0011019962839782238, -0.020307255908846855, 0.018547652289271355, -0.05329083651304245, -0.02032521180808544, -0.008569087833166122, 0.07505245506763458, -0.061370644718408585, 0.02468830905854702, -0.0003153370344080031, -0.04140453785657883, -0.0006491902749985456, -0.0017023710533976555, -0.04434917867183685, -0.01946336403489113, -0.03709530457854271, 0.04244593530893326, 0.010620461776852608, 0.028010008856654167, 0.02098955027759075, 0.05041801556944847, -0.04851476848125458, -0.059323761612176895, 0.008658862672746181, 0.014947648160159588, 0.016608498990535736, -0.022641422227025032, -0.017317725345492363, -0.006926192902028561, 0.0027381577529013157, -0.05831827223300934, -0.0057097324170172215, -0.04876614362001419, -0.014400016516447067, 0.009112230502068996, -0.027740681543946266, 0.0003773383505176753, -0.07806891947984695, 0.00005435636194306426, -0.014247397892177105, 0.005215966142714024, -0.0316908098757267, -0.003653869731351733, -0.018924711272120476, -0.04065042361617088, 0.0013690788764506578, 0.020576583221554756, 0.04546239599585533, -0.011024451814591885, -0.0011749389814212918, -0.03158307820558548, 0.04018358886241913, 0.03185240551829338, -0.013223955407738686, 0.004789531696587801, -0.017183061689138412, -0.018834935501217842, 0.005808485671877861, -0.025173097848892212, -0.012909741140902042, -0.01826934888958931, 0.003456363221630454, -0.0020547406747937202, 0.06456665694713593, -0.03172672167420387, 0.044672369956970215, 0.06535668671131134, -0.040363140404224396, 0.04294867813587189, 0.014983559027314186, -0.05171078443527222, 0.05142350122332573, 0.0013432684354484081, 0.07289784401655197, 0.09523402899503708, 0.00453367130830884, -0.002756112953647971, -0.014498770236968994, -0.06409982591867447, 0.05289582163095474, -0.0074783130548894405, -0.05598410591483116, 0.023126211017370224, -0.07329285144805908, 0.010360111482441425, 0.0006216964684426785, 0.013969093561172485, -0.015450391918420792, 0.06787040084600449, 0.03542547672986984, 0.0002352402952965349, 0.02585539221763611, -0.0023005015682429075, 0.039214011281728745, 0.06923499703407288, 0.12058667838573456, -0.058390092104673386, 0.027561130002141, -0.016797026619315147, 0.0012164602521806955, 0.0007434547296725214, -0.04151226952672005, -0.043020498007535934, -0.003384542651474476, -0.06467439234256744, -0.0324987918138504, -0.03680802509188652, -0.052931733429431915, 0.020361121743917465, -0.02887185476720333, 0.016895780339837074, 0.034850914031267166, -0.0035528719890862703, -0.028746169060468674, -0.002547384472563863, -0.0438823476433754, 0.012802010402083397, -0.02364690974354744, 0.014058869332075119, -0.060867901891469955, 0.025532199069857597, 0.0026820481289178133, -0.028476841747760773, 0.022084813565015793, 0.03752622753381729, -0.022336184978485107, 0.0047760652378201485, -0.040039949119091034, -0.038998547941446304, 0.027489308267831802, -0.039537202566862106, -0.032426971942186356, -0.013888295739889145, -0.06927090138196945, 0.006311229430139065, 0.01632121577858925, 0.020181570202112198, 0.06341753154993057, 0.021187057718634605, 0.004313720855861902, -0.008016967214643955, 0.01989428699016571, -0.03526388108730316, -0.06453075259923935, 0.025262871757149696, -0.04007585719227791, 0.04697062820196152, 0.04072224348783493, 0.07756617665290833, 0.028512751683592796, 0.03542547672986984, 0.0026416489854454994, -0.03197809308767319, -0.06682900339365005, 0.023628955706954002, 0.023126211017370224, -0.02937459759414196, -0.004753621760755777, -0.024831948801875114, 0.04032722860574722, 0.020127704367041588, 0.0640639141201973, 0.03301949054002762, -0.034473855048418045, 0.03924992308020592, -0.0019099772907793522, -0.00191895489115268, 0.02364690974354744, -0.025424469262361526, 0.01800002157688141, -0.0027179582975804806, 0.01912221685051918, 0.0484788604080677, 0.031493302434682846, -0.00807083211839199, 0.0474015511572361, -0.03445589914917946, -0.026088809594511986 ]
10,982
burnman.classes.mineral_helpers
unroll
null
def unroll(self): return self.current_rock.unroll()
(self)
[ -0.022170359268784523, 0.04361651837825775, -0.007690497674047947, 0.012155018746852875, -0.026844732463359833, -0.04463697969913483, -0.06557291001081467, 0.0005683520575985312, 0.041773103177547455, -0.013504661619663239, -0.04282648488879204, -0.03357648849487305, 0.011982198804616928, 0.039962608367204666, -0.05036473646759987, 0.006069279741495848, 0.05622416362166405, 0.03867879882454872, -0.0020028622820973396, -0.047007087618112564, 0.041509758681058884, 0.05783715099096298, 0.050233062356710434, 0.03775709122419357, -0.029461724683642387, 0.007879776880145073, 0.019849631935358047, -0.03904090076684952, -0.0018681037472561002, -0.013315382413566113, -0.047862958163022995, 0.07920101284980774, 0.05375530198216438, -0.013043807819485664, 0.0046208822168409824, 0.020870093256235123, -0.042036447674036026, 0.005312162917107344, -0.022548917680978775, 0.007801596075296402, 0.010937048122286797, -0.004312274511903524, 0.05118769034743309, -0.015866536647081375, 0.001562582328915596, -0.012385445646941662, 0.025972403585910797, -0.04592078924179077, 0.06488163024187088, -0.006340854335576296, 0.04170726612210274, 0.05210939794778824, 0.025149449706077576, 0.03151910752058029, 0.021215733140707016, 0.03904090076684952, -0.019981304183602333, -0.02170950546860695, 0.020771337673068047, -0.018203724175691605, -0.0016212178161367774, 0.002621105872094631, 0.0007046536775305867, -0.004382225684821606, 0.07663340121507645, -0.03792168200016022, -0.027601849287748337, 0.017956838011741638, -0.011521345004439354, 0.012220854870975018, -0.025857189670205116, 0.025560926645994186, 0.013052037917077541, 0.027717063203454018, 0.022170359268784523, -0.03058094158768654, 0.006472527049481869, -0.014582730829715729, 0.04414321109652519, -0.05579622834920883, 0.039962608367204666, -0.006357313599437475, -0.01527401152998209, 0.06224817782640457, -0.022334950044751167, -0.01792392134666443, 0.08710136264562607, -0.05316277593374252, -0.039765097200870514, -0.006534248124808073, 0.01566080003976822, 0.03811919316649437, -0.0378558486700058, -0.019619204103946686, 0.024935482069849968, -0.002178768627345562, -0.04743502289056778, 0.00933228898793459, -0.006126886699348688, -0.08084692060947418, 0.0029255985282361507, 0.07314407825469971, -0.05889052897691727, 0.028523556888103485, 0.03407026082277298, 0.03318147361278534, -0.0148460753262043, 0.03293458744883537, 0.024886105209589005, 0.011241540312767029, -0.014401680789887905, 0.016467293724417686, -0.0567837692797184, 0.03611118718981743, -0.041147660464048386, -0.051023099571466446, -0.05187897011637688, 0.02182471938431263, -0.005431490950286388, 0.010270455852150917, 0.019734418019652367, -0.05503910779953003, -0.002182883443310857, -0.04246438294649124, 0.04885050281882286, 0.030943039804697037, -0.011035802774131298, 0.030745530501008034, 0.03634161129593849, -0.004443947225809097, -0.00046085380017757416, -0.017051590606570244, -0.033905670046806335, -0.024178365245461464, -0.024408791214227676, -0.02297685295343399, 0.0816369578242302, -0.01521640457212925, 0.047303348779678345, -0.007888006046414375, 0.016524899750947952, 0.03755958378314972, 0.056882523000240326, 0.04921260103583336, 0.054281990975141525, 0.05273484066128731, 0.005723639391362667, 0.07637005299329758, 0.043814029544591904, -0.00005255970609141514, -0.014772010035812855, -0.017940379679203033, 0.02761830948293209, 0.004670259542763233, -0.01301089022308588, 0.005308047868311405, -0.044702816754579544, -0.011076949536800385, -0.048257976770401, -0.07334158569574356, -0.009208845905959606, 0.005694835912436247, 0.013874990865588188, -0.04299107566475868, -0.03581492230296135, -0.0679430142045021, 0.022614752873778343, -0.0031683698762208223, -0.0012961513129994273, 0.0036271661520004272, -0.04213520511984825, -0.038217946887016296, -0.030761990696191788, 0.040357623249292374, -0.03726331889629364, 0.009612093679606915, -0.047303348779678345, 0.027256209403276443, -0.08262450248003006, -0.001797124044969678, -0.004197061061859131, -0.05619124323129654, -0.03165078163146973, -0.03181536868214607, -0.005468524061143398, 0.006925151217728853, 0.009307600557804108, 0.000866158225107938, 0.004497439134865999, 0.005460294429212809, -0.01397374551743269, -0.026515552774071693, -0.024474628269672394, 0.007912695407867432, 0.0679430142045021, -0.00911009218543768, -0.03699997439980507, 0.04022595286369324, -0.004982981365174055, -0.03844837471842766, -0.027486637234687805, 0.025297580286860466, 0.0034749198239296675, 0.01098642498254776, -0.02791457250714302, -0.01596529223024845, -0.007122660055756569, -0.0017045418499037623, 0.006365542765706778, -0.03318147361278534, 0.037987519055604935, 0.01193282101303339, 0.051352277398109436, 0.03400442749261856, 0.025528008118271828, -0.005489097908139229, -0.0015389224281534553, -0.03518947958946228, 0.03357648849487305, 0.04131225124001503, -0.06735049188137054, -0.012163247913122177, -0.03983093425631523, -0.06264320015907288, -0.06725173443555832, 0.03013654612004757, -0.06287362426519394, 0.004279356449842453, 0.023618755862116814, 0.032868750393390656, 0.02694348804652691, -0.023322492837905884, 0.004452176857739687, -0.047270432114601135, -0.06468412280082703, 0.07301240414381027, -0.11606931686401367, -0.01915835030376911, -0.032901667058467865, 0.048422567546367645, -0.02457338199019432, -0.0026622535660862923, 0.06659337133169174, 0.04941010847687721, 0.05115476995706558, 0.05039765313267708, 0.03365878388285637, 0.045229505747556686, -0.009677929803729057, 0.011546033434569836, 0.04865299165248871, -0.04075264185667038, 0.004238208755850792, 0.06448661535978317, 0.02720683254301548, -0.06540831923484802, -0.006089853588491678, -0.01566080003976822, -0.033049799501895905, 0.018137888982892036, 0.008303597569465637, -0.07011561095714569, -0.007665808778256178, -0.012410134077072144, -0.04071972519159317, 0.009694389067590237, -0.013718630187213421, 0.07538251578807831, 0.019355859607458115, -0.00027003150898963213, 0.057507969439029694, -0.09217076003551483, -0.02865523099899292, -0.009044255129992962, 0.00745184114202857, 0.044340718537569046, 0.03667079284787178, 0.024375872686505318, 0.03581492230296135, 0.008225416764616966, 0.06521081179380417, 0.05589498206973076, -0.005620770156383514, -0.03907381743192673, 0.005838852841407061, -0.022038687020540237, -0.00045005252468399704, -0.0641903504729271, 0.031568486243486404, 0.00873976293951273, 0.029609855264425278, 0.001184023916721344, 0.015134109184145927, -0.0024153676349669695, 0.10922234505414963, -0.02223619446158409, -0.06899639219045639, -0.03667079284787178, 0.043814029544591904, 0.04503199830651283, 0.016269784420728683, -0.07584336400032043, -0.07176151871681213, -0.0233883298933506, -0.004600308369845152, -0.015562044456601143, 0.04160851240158081, 0.0393371619284153, -0.04802754893898964, 0.01222908403724432, -0.01271462719887495, -0.004962407983839512, 0.017100967466831207, 0.0027959835715591908, -0.020359862595796585, -0.04954178258776665, 0.013554039411246777, 0.01966858096420765, 0.025330498814582825, 0.024951940402388573, -0.010295144282281399, -0.014582730829715729, 0.042332712560892105, 0.03831670060753822, 0.010879441164433956, -0.03755958378314972, -0.08058357983827591, 0.008155466057360172, -0.015150568448007107, -0.0187468733638525, -0.11962447315454483, -0.037987519055604935, 0.007291365414857864, -0.05299818515777588, -0.003989265765994787, -0.028013326227664948, 0.042925238609313965, -0.013537580147385597, 0.007023905403912067, 0.0038431913126260042, -0.011628328822553158, 0.013167250901460648, 0.027782900258898735, -0.015471519902348518, 0.0430569127202034, 0.03466278687119484, 0.029906118288636208, 0.033872753381729126, 0.05787006765604019, 0.042365629225969315, 0.02475443296134472, 0.055993735790252686, 0.018944382667541504, 0.03492613509297371, -0.0029934921767562628, -0.017973298206925392, -0.03499196842312813, 0.017117425799369812, 0.012484200298786163, -0.044340718537569046, -0.07446080446243286, -0.06099729239940643, -0.04328733682632446, 0.050430573523044586, -0.009085402823984623, -0.024491086602211, -0.09868855029344559, -0.04858715832233429, -0.0497392900288105, -0.0010230336338281631, -0.0849946066737175, -0.034201934933662415, -0.055401209741830826, 0.011085179634392262, -0.004032470751553774, 0.006534248124808073, 0.018170805647969246, 0.006690609268844128, 0.0541832372546196, -0.03433360904455185, 0.02508361265063286, -0.025923024863004684, -0.053129859268665314, 0.025955943390727043, 0.017825165763497353, 0.053096938878297806, -0.05994391068816185, -0.022071605548262596, 0.0012231142027303576, -0.010698391124606133, 0.03644036874175072, -0.004838964901864529, 0.03128867968916893, -0.03805335611104965, -0.055434126406908035, 0.03462987020611763, -0.029576938599348068, -0.051352277398109436, 0.007492988836020231, -0.02965923398733139, -0.011430819518864155, 0.03578200563788414, 0.008608090691268444, -0.004197061061859131, -0.023552920669317245, 0.010031799785792828, 0.04022595286369324, -0.02883628010749817, 0.017249098047614098, -0.04460406303405762, -0.04888341948390007, 0.03173307329416275, -0.04661206901073456, -0.04536117985844612, 0.06425618380308151, -0.038843389600515366, 0.033839836716651917, 0.023437706753611565, 0.03237497806549072, 0.009826061315834522, 0.017463067546486855, 0.016566047444939613, -0.01733139343559742, 0.02119927480816841, -0.016607195138931274, -0.016286244615912437, -0.021446160972118378, 0.006106312852352858, -0.0682721957564354, 0.06800885498523712, -0.04569036141037941, -0.05154978856444359, 0.014689714647829533, -0.046118296682834625, 0.026268666610121727, -0.011661246418952942, -0.0304328091442585, 0.010171701200306416, -0.04687541350722313, 0.04707292094826698, 0.0872330367565155, 0.045558687299489975, 0.027815818786621094, -0.004304045345634222, 0.026745978742837906, 0.007270791567862034, -0.031206384301185608, 0.001808439614251256, -0.02327311597764492, 0.051023099571466446, 0.03953467309474945, 0.030416350811719894, -0.026136992499232292, 0.032572489231824875, -0.016919918358325958, -0.025824271142482758, -0.08269033581018448, 0.02123219147324562, 0.011208622716367245, -0.06135939061641693, -0.0009201645152643323, 0.01789100281894207, -0.010369210503995419, 0.05638875439763069, -0.011957509443163872, 0.007513562683016062, -0.03871171921491623, -0.019388778135180473, 0.018648119643330574, 0.026515552774071693, -0.004464521072804928, -0.04578911513090134, -0.001312610344029963, -0.02747017703950405, 0.004896571394056082, -0.005991099402308464, -0.024096069857478142, 0.030910121276974678, 0.044900327920913696, -0.03184828907251358, -0.0430569127202034, -0.027256209403276443, 0.02093592844903469, -0.02185763604938984, -0.009455732069909573, -0.02389856055378914, -0.0475008599460125, 0.008822058327496052, -0.006464297417551279, -0.025560926645994186, -0.03173307329416275, -0.011973968707025051, -0.017956838011741638, -0.0008975333184935153, -0.038020435720682144, -0.018203724175691605, -0.039765097200870514, -0.023207280784845352, 0.00031863717595115304, -0.024622758850455284, 0.021660128608345985, 0.033872753381729126, -0.011076949536800385, -0.04022595286369324, 0.0038575930520892143, -0.016615424305200577, 0.0501013919711113, -0.020211730152368546, 0.02998841367661953, -0.018730415031313896, 0.0032547798473387957, 0.014508664608001709, -0.0044892095029354095, 0.017084509134292603, 0.0011973968939855695, 0.013726859353482723, -0.004209405742585659, 0.07709425687789917, 0.03188120573759079, -0.005773016717284918, 0.01529047079384327, -0.04104890674352646, -0.003944003023207188, 0.03614410385489464, -0.0333954393863678, 0.013496432453393936, 0.01618748903274536, 0.021479077637195587, -0.020442157983779907, 0.02998841367661953, -0.025149449706077576, 0.004254668019711971, -0.05336028337478638, 0.015825390815734863, -0.021182814612984657, 0.04654623195528984, -0.08413873612880707, -0.04335317388176918, 0.040028441697359085, 0.0023083838168531656, -0.002923541236668825, 0.014376992359757423, 0.06313697248697281, 0.008558712899684906, -0.02593948505818844, 0.0008358118357136846, -0.06514497846364975, 0.04332025721669197, -0.03907381743192673, 0.02691056951880455, -0.035057805478572845, -0.02936296910047531, 0.029165461659431458, -0.04977221041917801, 0.11290917545557022, 0.07485581934452057, -0.0033247307874262333, 0.006052820943295956, -0.009496879763901234, 0.026861192658543587, -0.013981974683701992, -0.0068757738918066025, 0.06336739659309387, -0.04592078924179077, 0.053129859268665314, -0.0031539681367576122, 0.045525770634412766, 0.008134892210364342, 0.05671793222427368, -0.021001765504479408, -0.010895900428295135, -0.04358360171318054, 0.011554262600839138, -0.003540756180882454, -0.010048258118331432, 0.014665026217699051, 0.041740186512470245, -0.04911384731531143, -0.004641456063836813, -0.015339847654104233, 0.04783003777265549, -0.03907381743192673, 0.029856741428375244, -0.11034156382083893, -0.017841625958681107, 0.015027125366032124, -0.026120534166693687, 0.04249730333685875, 0.044340718537569046, 0.020754879340529442, 0.010245767422020435, -0.0016160743543878198, -0.05303110554814339, -0.022351408377289772, 0.023487083613872528, -0.00113876152317971, 0.049015093594789505, 0.000030266031899373047, -0.014689714647829533, 0.03907381743192673, 0.04763253033161163, 0.028721066191792488, -0.0074271527118980885, 0.026252206414937973, -0.017347853630781174, 0.018565824255347252, -0.028490640223026276, -0.036242857575416565, 0.03834961727261543, -0.008081400766968727, 0.008451729081571102, -0.02279580384492874, -0.038020435720682144, -0.0326547808945179, 0.06488163024187088, 0.014385221526026726, 0.012319609522819519, -0.07985937595367432, 0.004752554465085268, 0.006542477756738663, -0.015208175405859947, -0.013167250901460648, -0.04950886592268944, -0.010731309652328491, 0.025593845173716545, -0.011389671824872494, 0.04391278326511383, 0.042299795895814896, 0.023338953033089638, 0.02223619446158409, -0.014854305423796177, -0.06099729239940643, 0.04664498567581177, -0.03555157780647278, -0.07123482972383499, 0.0386129654943943, 0.0194875318557024, 0.03439944237470627, 0.00017757786554284394, -0.029461724683642387, 0.024359414353966713, 0.027585390955209732, 0.010714850388467312, 0.017528902739286423, -0.05039765313267708, -0.05289943143725395, -0.019355859607458115, 0.02312498539686203, -0.021907014772295952, -0.011570721864700317, -0.011562492698431015, 0.02702578343451023, 0.020162353292107582, 0.013652793131768703, -0.06116188317537308, -0.02167658694088459, 0.09552840888500214, -0.01848352886736393, 0.003256837371736765, -0.006373772397637367, -0.061260636895895004, 0.027124537155032158, -0.021034684032201767, 0.02921483851969242, 0.08407289534807205, 0.006608314346522093, 0.005394458305090666, 0.013348300941288471, -0.005447950214147568, -0.014590959995985031, -0.028441261500120163, -0.037131648510694504, -0.03281937167048454, -0.0445382259786129, -0.035057805478572845, -0.002723975107073784, -0.0027980408631265163, -0.013035578653216362, 0.03281937167048454, -0.0020789855625480413, -0.06596792489290237, 0.027437260374426842, -0.035419903695583344, -0.06221526116132736, 0.0291325431317091, 0.062149424105882645, -0.016080506145954132, 0.01267347950488329, -0.04098306968808174, -0.05451241880655289, -0.004061274230480194, -0.03151910752058029, -0.021462619304656982, 0.04328733682632446, -0.0233883298933506, -0.03138743340969086, 0.02460630051791668, 0.0241289883852005, -0.0033761654049158096, 0.00838589295744896, 0.03834961727261543, -0.008023793809115887, 0.04098306968808174, 0.002462687436491251, -0.03518947958946228, 0.05003555491566658, 0.053689464926719666, -0.012945054098963737, -0.0035242971498519182, -0.027289127930998802, 0.032572489231824875, 0.05698128044605255, -0.016269784420728683, 0.059219710528850555, 0.05889052897691727, -0.006871659308671951, -0.03252311050891876, 0.02962631545960903, -0.08012272417545319, 0.0241289883852005, -0.041509758681058884, 0.05187897011637688, -0.0012704340042546391, -0.03867879882454872, 0.007517677266150713, 0.0013331841910257936, 0.036209940910339355, 0.01295328326523304, -0.0033535342663526535, 0.07169568538665771, -0.0071432339027523994, -0.02732204645872116, 0.008245990611612797, -0.00813077762722969, 0.04315566644072533, -0.0005940693081356585, 0.022071605548262596, 0.039995525032281876, 0.11297501623630524, 0.013117874041199684, 0.012179707176983356, -0.00805259682238102, 0.007517677266150713, -0.025593845173716545, -0.016162801533937454, 0.017759330570697784, -0.027568932622671127, 0.022137440741062164, 0.03326376900076866, -0.021874096244573593, 0.07716009020805359, 0.05286651477217674, 0.06076686456799507, -0.02575843408703804, 0.017726412042975426, -0.009636782109737396, 0.004884227178990841, -0.02185763604938984, -0.0029790906701236963, 0.0174466073513031, 0.002526466269046068, 0.020623207092285156, -0.03138743340969086, 0.05257024988532066, -0.0026334503199905157, 0.0128956763073802, -0.015092961490154266, -0.04345192760229111 ]
10,983
burnman.classes.mineral_helpers
HelperRockSwitcher
A Helper that represents a Material that switches between different rocks based on a user specified select_rock() function based on current temperature and pressure. This class can be used in several ways: 1. By creating an instance and setting select_rock to a lambda that returns a rock 2. By deriving from this class and implementing select_rock.
class HelperRockSwitcher(Material): """ A Helper that represents a Material that switches between different rocks based on a user specified select_rock() function based on current temperature and pressure. This class can be used in several ways: 1. By creating an instance and setting select_rock to a lambda that returns a rock 2. By deriving from this class and implementing select_rock. """ def __init__(self): self.current_rock = None Material.__init__(self) def select_rock(self): raise NotImplementedError("Need to implement select_rock() in derived class!") def set_method(self, method): raise NotImplementedError("Need to implement select_rock() in derived class!") def debug_print(self, indent=""): print("%sHelperRockSwitcher" % (indent)) def set_state(self, pressure, temperature): Material.set_state(self, pressure, temperature) self.current_rock = self.select_rock() self.current_rock.set_state(pressure, temperature) def unroll(self): return self.current_rock.unroll() @material_property def molar_internal_energy(self): return self.current_rock.molar_internal_energy @material_property def molar_gibbs(self): return self.current_rock.molar_gibbs @material_property def molar_helmholtz(self): return self.current_rock.molar_helmholtz @material_property def molar_mass(self): return self.current_rock.molar_mass @material_property def molar_volume(self): return self.current_rock.molar_volume @material_property def density(self): return self.current_rock.density @material_property def molar_entropy(self): return self.current_rock.molar_entropy @material_property def molar_enthalpy(self): return self.current_rock.molar_enthalpy @material_property def isothermal_bulk_modulus(self): return self.current_rock.isothermal_bulk_modulus @material_property def adiabatic_bulk_modulus(self): return self.current_rock.adiabatic_bulk_modulus @material_property def isothermal_compressibility(self): return self.current_rock.isothermal_compressibility @material_property def adiabatic_compressibility(self): return self.current_rock.adiabatic_compressibility @material_property def shear_modulus(self): return self.current_rock.shear_modulus @material_property def p_wave_velocity(self): return self.current_rock.p_wave_velocity @material_property def bulk_sound_velocity(self): return self.current_rock.bulk_sound_velocity @material_property def shear_wave_velocity(self): return self.current_rock.shear_wave_velocity @material_property def grueneisen_parameter(self): return self.current_rock.grueneisen_parameter @material_property def thermal_expansivity(self): return self.current_rock.thermal_expansivity @material_property def molar_heat_capacity_v(self): return self.current_rock.molar_heat_capacity_v @material_property def molar_heat_capacity_p(self): return self.current_rock.molar_heat_capacity_p
()
[ 0.05001140013337135, -0.05189235880970955, 0.0069291237741708755, 0.0158682931214571, 0.021335983648896217, -0.05189235880970955, -0.04916312173008919, 0.008911507204174995, -0.0008355979225598276, -0.01832091622054577, -0.005177249200642109, 0.025024140253663063, 0.0435202457010746, 0.07774633169174194, -0.04307766631245613, 0.029025789350271225, 0.02279280684888363, 0.0011439047520980239, 0.034558024257421494, -0.01714070700109005, 0.012244679033756256, 0.034889958798885345, 0.03566447272896767, 0.037342581897974014, -0.01945502497255802, 0.07966417819261551, -0.00892533827573061, 0.01648605801165104, 0.015296628698706627, -0.033027440309524536, -0.07037001848220825, 0.04455292969942093, 0.010889281518757343, 0.016827212646603584, 0.024046778678894043, -0.02871229685842991, 0.013139056973159313, 0.05901050195097923, -0.04248756170272827, 0.04385218024253845, 0.03129400685429573, 0.019916044548153877, 0.07877901941537857, -0.03311964496970177, -0.03737946227192879, -0.041012298315763474, -0.015222865156829357, 0.011119791306555271, 0.0702962577342987, -0.0729886144399643, 0.07022249698638916, 0.022331787273287773, 0.028583211824297905, 0.033912595361471176, -0.040569718927145004, 0.030187560245394707, 0.010455923154950142, 0.004591754637658596, 0.07210345566272736, 0.011396403424441814, 0.003314730478450656, 0.021833885461091995, 0.011968066915869713, -0.050490859895944595, -0.031865671277046204, -0.08143448829650879, -0.040901653468608856, 0.01726057194173336, -0.01880037598311901, 0.08040180802345276, 0.01324970182031393, 0.03422608971595764, 0.050048280507326126, -0.015564019791781902, -0.005495352670550346, -0.00665251212194562, -0.06705068051815033, -0.08991724997758865, 0.05399460718035698, -0.06284618377685547, 0.040274668484926224, -0.011912744492292404, -0.021151576191186905, 0.007680585607886314, -0.020284859463572502, -0.030925190076231956, 0.005605997517704964, -0.020745879039168358, 0.03610704839229584, -0.04141799360513687, -0.02533763460814953, 0.0719190463423729, 0.00716424360871315, 0.0012724138796329498, 0.015785308554768562, -0.032400451600551605, -0.011534708552062511, -0.048536136746406555, 0.01584063097834587, -0.0007359024602919817, -0.014070316217839718, 0.04414723068475723, -0.008353673852980137, 0.045253679156303406, 0.030925190076231956, -0.02507946267724037, -0.03972144424915314, 0.03466866910457611, 0.03527721390128136, 0.000044301097659626976, -0.0558386854827404, -0.044774215668439865, -0.08881080150604248, 0.03505592420697212, -0.047355927526950836, -0.02557736448943615, -0.037877365946769714, 0.0018832648638635874, 0.030630137771368027, -0.07180840522050858, 0.030390407890081406, -0.005813456140458584, -0.00029793387511745095, 0.011460945941507816, 0.046286363154649734, -0.004296701867133379, 0.004997451789677143, 0.002424962818622589, 0.023438233882188797, 0.008344453759491444, -0.03540629893541336, 0.02812219224870205, -0.025116344913840294, 0.01197728794068098, 0.023216944187879562, -0.0036190033424645662, -0.005131147336214781, 0.016744229942560196, 0.012106372974812984, 0.03972144424915314, 0.01844078116118908, -0.029025789350271225, -0.004960570018738508, 0.005144977942109108, -0.029652776196599007, -0.009672190062701702, 0.026905100792646408, 0.012954648584127426, -0.013904348947107792, -0.014024213887751102, 0.011442504823207855, 0.00510809663683176, -0.013673839159309864, 0.015315068885684013, 0.014863270334899426, -0.0000433286331826821, -0.0034645618870854378, -0.041307348757982254, -0.001374990795738995, 0.009114356711506844, -0.030925190076231956, 0.014227062463760376, -0.017011620104312897, 0.00982893630862236, -0.0033423916902393103, 0.04414723068475723, 0.004264430608600378, -0.07361560314893723, 0.015444154851138592, 0.00332625606097281, -0.03356222063302994, -0.06871034950017929, -0.04259820654988289, 0.03717661648988724, -0.025540482252836227, 0.05170794948935509, -0.034115444868803024, -0.013461770489811897, -0.038799405097961426, -0.052740633487701416, 0.0023004875984042883, -0.07520150393247604, -0.06516972184181213, -0.009174289181828499, 0.0009064796613529325, -0.009441680274903774, 0.0395001545548439, -0.02279280684888363, 0.03182878717780113, -0.004312837962061167, -0.013517092913389206, -0.060227591544389725, -0.05192923918366432, 0.05661319941282272, 0.009298764169216156, -0.03110959753394127, 0.04650764912366867, -0.017186807468533516, 0.025614244863390923, 0.05071214959025383, -0.01917841285467148, -0.009810496121644974, 0.009192729368805885, 0.002076893113553524, -0.02327226661145687, -0.013876687735319138, 0.021981410682201385, 0.02802998758852482, 0.006551087833940983, -0.019916044548153877, -0.049310650676488876, -0.0015962801408022642, 0.02670225128531456, 0.057830289006233215, 0.05569116026163101, -0.08667167276144028, 0.0460650734603405, -0.02128066122531891, -0.00685997074469924, 0.05561739578843117, 0.0027545916382223368, 0.0005869354936294258, -0.06918980926275253, -0.0046332464553415775, -0.025319192558526993, 0.02743988297879696, -0.04857301712036133, -0.007528448943048716, -0.018081186339259148, 0.011322639882564545, 0.020856523886322975, -0.05266687273979187, -0.0031948653049767017, 0.008095502853393555, -0.08954843133687973, 0.04318831115961075, -0.004789993166923523, 0.011811320669949055, -0.10341589897871017, -0.0009087847429327667, -0.015047677792608738, -0.010575788095593452, 0.05133913457393646, 0.01027151569724083, 0.013212819583714008, -0.03780360147356987, 0.04669205844402313, 0.04577001929283142, -0.039537034928798676, -0.014476013369858265, 0.015932835638523102, -0.026812896132469177, 0.029228638857603073, 0.051818594336509705, -0.01002256479114294, -0.055432990193367004, -0.013812145218253136, 0.015766868367791176, -0.01649527996778488, -0.03291679546236992, -0.020266419276595116, -0.016891755163669586, 0.035092808306217194, 0.04547496885061264, 0.003971683327108622, -0.04440540075302124, -0.018754275515675545, 0.03986896947026253, -0.008164656348526478, 0.0030288982670754194, 0.05937931686639786, 0.002388081280514598, -0.03975832462310791, 0.048536136746406555, -0.025651127099990845, -0.03725037723779678, -0.020284859463572502, -0.0033585273195058107, -0.024341830983757973, -0.024378713220357895, 0.01610802300274372, 0.03872564062476158, 0.002906728070229292, 0.013849026523530483, 0.008104723878204823, -0.03446581959724426, 0.00852425117045641, -0.0076944162137806416, 0.04728216305375099, -0.0016562127275392413, -0.00033279848867096007, -0.010658771730959415, 0.02895202673971653, 0.0008281063637696207, 0.12945428490638733, -0.04470045492053032, -0.058567922562360764, 0.04167616739869118, 0.027716495096683502, -0.031810346990823746, 0.06019071117043495, -0.031607501208782196, -0.01704850234091282, -0.004686263389885426, -0.05144977942109108, 0.004969790577888489, 0.021741680800914764, -0.03568291291594505, -0.016061920672655106, -0.005310945212841034, 0.05443718656897545, 0.014374589547514915, 0.07988546788692474, 0.024028338491916656, 0.03192099183797836, -0.06476402282714844, 0.002344284439459443, -0.029357723891735077, 0.05941619724035263, 0.06358381360769272, -0.005841117352247238, -0.01755562424659729, 0.007113531231880188, 0.07368936389684677, -0.008791642263531685, -0.0471346378326416, -0.037582311779260635, 0.02454468049108982, 0.0009877344127744436, -0.03769295662641525, -0.13358502089977264, -0.006735495291650295, 0.0322713665664196, -0.025319192558526993, 0.011036807671189308, -0.003280153963714838, 0.006629460956901312, -0.022866569459438324, 0.025853974744677544, -0.028822941705584526, 0.092130146920681, 0.02806686982512474, 0.004333583638072014, -0.019049327820539474, 0.029228638857603073, -0.005034333560615778, 0.08652414381504059, 0.0051864697597920895, 0.004239074420183897, 0.043114546686410904, 0.00667556282132864, -0.024950377643108368, 0.025946179404854774, 0.018994005396962166, 0.014097977429628372, -0.04289325699210167, -0.023936133831739426, -0.04370465129613876, -0.012456747703254223, 0.005730472970753908, 0.028159072622656822, -0.02205517515540123, -0.01945502497255802, 0.04517991468310356, 0.016154125332832336, -0.06107586994767189, -0.03791424632072449, -0.008893067017197609, 0.0027914734091609716, -0.04558561369776726, -0.0010148192523047328, -0.061407800763845444, -0.03511124849319458, -0.017242129892110825, 0.008994490839540958, -0.009736732579767704, 0.0012966174399480224, 0.03199475631117821, 0.06339940428733826, -0.05705577880144119, 0.09913764148950577, -0.024415595456957817, -0.04683958366513252, 0.046286363154649734, 0.026812896132469177, -0.024470917880535126, 0.005020502954721451, 0.010870840400457382, 0.030593257397413254, -0.0017829930875450373, 0.01324970182031393, 0.030445730313658714, 0.05307256802916527, -0.05163418874144554, -0.009146627970039845, 0.024710647761821747, 0.023843931034207344, -0.025761771947145462, -0.04278261214494705, -0.029800303280353546, 0.0006218000780791044, -0.038319945335388184, -0.007362482137978077, -0.006334408652037382, 0.006836919579654932, -0.015056897886097431, 0.05808846279978752, 0.02998471073806286, -0.03905757516622543, -0.006823088973760605, -0.0507490299642086, 0.00934025552123785, -0.06273553520441055, -0.009801275096833706, 0.00323405209928751, -0.08143448829650879, 0.09714603424072266, -0.04558561369776726, 0.02098560892045498, 0.05908426269888878, -0.0135263130068779, 0.03614393249154091, 0.043594006448984146, 0.05687136948108673, 0.02093028649687767, -0.016200225800275803, -0.02382548898458481, 0.034152328968048096, -0.03964767977595329, 0.06546477228403091, -0.018302476033568382, -0.008081672713160515, -0.059785012155771255, -0.02279280684888363, 0.011737557128071785, -0.028011547401547432, -0.01906776800751686, 0.004559483379125595, -0.024489358067512512, -0.014946253038942814, 0.06701380014419556, 0.009653748944401741, 0.00068634282797575, 0.0342814140021801, -0.05432654172182083, -0.024434035643935204, 0.003941717091947794, 0.03389415517449379, -0.009745952673256397, 0.01616334542632103, -0.004239074420183897, 0.06542789191007614, -0.006108508910983801, 0.02670225128531456, 0.027107948437333107, -0.004245989955961704, -0.020893406122922897, -0.013498651795089245, 0.03228980675339699, -0.0827622264623642, 0.07162399590015411, 0.010963045060634613, -0.02424962818622589, 0.031275566667318344, -0.03680780157446861, 0.0653541311621666, 0.021446628496050835, -0.025411397218704224, -0.03857811540365219, 0.023438233882188797, 0.07055442780256271, -0.007768179289996624, 0.001645839773118496, -0.02773493528366089, 0.016384635120630264, -0.0036443595308810472, -0.09183508902788162, -0.00982893630862236, -0.029855625703930855, -0.06992744654417038, -0.0217601228505373, -0.013037632219493389, 0.031423091888427734, 0.004886806942522526, -0.010778636671602726, 0.010658771730959415, -0.0015444154851138592, -0.0006932581309229136, 0.020137334242463112, -0.02249775268137455, -0.07520150393247604, 0.023585759103298187, 0.03686312213540077, 0.03726882115006447, -0.10105548053979874, 0.01584063097834587, -0.006592579185962677, -0.011147452518343925, 0.013609296642243862, -0.00765292439609766, 0.03566447272896767, 0.013203599490225315, 0.004128430038690567, 0.05388396233320236, 0.032013196498155594, -0.044774215668439865, -0.021797003224492073, -0.007957196794450283, 0.021833885461091995, 0.01147016603499651, 0.04813044145703316, -0.015075339004397392, 0.033377815037965775, -0.006504985503852367, 0.0020434691105037928, -0.07612354308366776, -0.004672432783991098, 0.09301529824733734, -0.0029966270085424185, -0.034705549478530884, 0.025853974744677544, -0.016652025282382965, -0.00225669052451849, -0.04588066413998604, -0.02004512958228588, 0.030888309702277184, -0.03276927024126053, -0.013535534031689167, 0.027605850249528885, 0.010714094154536724, -0.015490256249904633, -0.001628551515750587, -0.04953194037079811, 0.041344232857227325, -0.021594155579805374, 0.014771065674722195, 0.035775117576122284, -0.031017394736409187, 0.008874625898897648, -0.01452211569994688, 0.051818594336509705, 0.046876467764377594, 0.02596461959183216, -0.02587241679430008, 0.023143181577324867, -0.030113795772194862, 0.0013680754927918315, -0.015905173495411873, -0.045991308987140656, -0.03369130939245224, 0.022313345223665237, -0.005569116212427616, -0.02185232564806938, -0.025466719642281532, 0.09190885722637177, 0.04241379722952843, 0.03358066454529762, -0.014356148429214954, 0.003835682524368167, 0.028195954859256744, 0.010963045060634613, 0.03339625522494316, 0.00031579838832840323, -0.055432990193367004, -0.004979011137038469, -0.004326668567955494, 0.0496794655919075, 0.009801275096833706, 0.007892654277384281, -0.05144977942109108, -0.004663212690502405, 0.03177346661686897, 0.022239582613110542, 0.02542983740568161, -0.02493193745613098, -0.010243854485452175, 0.012060270644724369, -0.002865236485376954, -0.01147016603499651, -0.062477368861436844, 0.05639190971851349, -0.019731637090444565, -0.0005987491458654404, -0.07796762138605118, 0.004469584207981825, -0.02332758903503418, -0.0353509783744812, 0.05801469832658768, -0.01000412367284298, 0.013452550396323204, 0.010133209638297558, -0.007339430972933769, -0.07641860097646713, -0.06893163919448853, 0.01945502497255802, 0.0176109466701746, 0.007496177684515715, 0.007113531231880188, 0.0002508234465494752, 0.02268216200172901, -0.04399970546364784, -0.0030312035232782364, 0.020745879039168358, -0.004789993166923523, -0.00027084897737950087, -0.029081111773848534, 0.02904423139989376, 0.015222865156829357, 0.0006811563507653773, 0.0084689287468791, 0.00667556282132864, -0.03051949292421341, -0.02391769364476204, -0.03431829437613487, 0.04068036377429962, -0.01775847189128399, -0.07892654836177826, -0.004252905026078224, 0.06542789191007614, 0.01862518861889839, -0.06321500241756439, 0.019104650244116783, -0.03595952317118645, 0.0009347171289846301, -0.00994880124926567, -0.021944530308246613, 0.01936282031238079, -0.058567922562360764, -0.008192317560315132, -0.05026957020163536, 0.03905757516622543, -0.040901653468608856, 0.07870525866746902, -0.08394243568181992, -0.011239656247198582, 0.0005157656269147992, 0.04064348340034485, 0.04211874678730965, -0.059047382324934006, -0.010677212849259377, 0.000994073343463242, 0.013858247548341751, -0.0131574971601367, 0.02743988297879696, -0.030593257397413254, -0.014273164793848991, -0.02972654066979885, 0.012963869608938694, -0.007957196794450283, -0.044479165226221085, -0.04731904715299606, 0.023456674069166183, -0.034705549478530884, 0.022184260189533234, -0.039979614317417145, -0.026517843827605247, 0.07320990413427353, -0.045069269835948944, 0.028693856671452522, 0.015213645063340664, -0.06557542085647583, 0.024655325338244438, 0.04197121784090996, 0.03505592420697212, 0.06889475882053375, -0.01601581834256649, 0.015075339004397392, 0.0395001545548439, 0.002710794797167182, 0.027310797944664955, 0.002514861524105072, -0.04953194037079811, 0.008201537653803825, -0.049900755286216736, -0.01892024092376232, 0.018846478313207626, 0.011968066915869713, -0.033617544919252396, 0.02341979183256626, -0.003289374290034175, 0.03784048184752464, 0.04993763566017151, -0.05657631903886795, 0.03594108298420906, 0.06524348258972168, 0.040901653468608856, -0.017472639679908752, 0.010714094154536724, -0.02235022746026516, -0.04875742644071579, 0.008326012641191483, -0.040422193706035614, -0.011387182399630547, 0.010649551637470722, -0.030574815347790718, -0.06612864136695862, -0.061592210084199905, -0.03608860820531845, 0.0029274739790707827, -0.03614393249154091, 0.025319192558526993, -0.006689393427222967, 0.0008067841990850866, 0.027568968012928963, -0.017186807468533516, 0.00019348414207343012, -0.00047196875675581396, -0.006067017093300819, 0.06539101153612137, -0.058715447783470154, 0.03599640727043152, 0.0755334421992302, -0.026130586862564087, -0.024968817830085754, 0.04322519153356552, -0.06834153831005096, 0.01779535412788391, 0.011304198764264584, -0.040569718927145004, 0.02649940364062786, 0.006292916834354401, -0.0003714088525157422, 0.01811806857585907, -0.05414213612675667, -0.0006696308846585453, 0.04414723068475723, -0.007182684261351824, 0.0061961025930941105, -0.0060301353223621845, 0.01176521833986044, 0.02762429043650627, 0.049273766577243805, 0.008846964687108994, -0.030630137771368027, 0.059785012155771255, -0.04377841576933861, 0.03730570152401924, 0.007680585607886314, 0.025909297168254852, 0.04547496885061264, -0.0210224911570549, 0.017279012128710747, -0.0409754179418087, -0.023143181577324867, 0.009672190062701702, 0.06638681143522263, 0.02341979183256626, 0.03385727480053902, 0.04617571830749512, -0.015517917461693287, 0.031238684430718422, 0.014540555886924267, 0.048683661967515945, -0.017491081729531288, 0.058567922562360764, -0.0006258340436033905, -0.020561471581459045, -0.03916822001338005, -0.010013344697654247, -0.05930555239319801, 0.0005635963752865791, -0.0006713597103953362, 0.015803750604391098, 0.05388396233320236, 0.016504500061273575, 0.07088636606931686, -0.03310120105743408, 0.015914393588900566 ]
10,984
burnman.classes.mineral_helpers
__init__
null
def __init__(self): self.current_rock = None Material.__init__(self)
(self)
[ 0.04304603859782219, 0.019951114431023598, -0.00009453298116568476, 0.03548016399145126, -0.043702442198991776, -0.035825636237859726, -0.01164246816188097, 0.03831304982304573, 0.03603292256593704, 0.019640186801552773, -0.022248515859246254, 0.005743502639234066, -0.013387111015617847, 0.06764377653598785, -0.02819066494703293, 0.022248515859246254, 0.016893669962882996, 0.022058503702282906, -0.01354257483035326, -0.027741549536585808, -0.003502241102978587, 0.043356966227293015, 0.017636438831686974, 0.032008152455091476, 0.0005133525119163096, 0.08332829177379608, -0.00801499281078577, 0.008256824687123299, 0.005307341925799847, -0.035203784704208374, -0.030418971553444862, 0.031023550778627396, 0.03890035301446915, 0.03358005732297897, 0.035013772547245026, -0.030038950964808464, -0.030211687088012695, 0.008382058702409267, -0.08471018821001053, 0.03568744659423828, 0.0730331689119339, 0.009759635664522648, 0.05831598490476608, -0.024528643116354942, -0.013516663573682308, -0.007604742888361216, 0.057935964316129684, -0.040904100984334946, 0.02375132590532303, -0.05354844406247139, 0.04093864932656288, 0.05372118204832077, 0.03858942911028862, 0.01724778115749359, -0.05624314025044441, 0.04149140790104866, -0.003383484436199069, 0.014440806582570076, -0.01701458729803562, 0.009647357277572155, 0.0015740651870146394, 0.03480648994445801, 0.025858717039227486, -0.05258111655712128, -0.0177573561668396, -0.03969494253396988, -0.03724208101630211, 0.028743423521518707, 0.0007211766205728054, 0.09265608340501785, 0.0013441091869026423, 0.05862690880894661, -0.0071124425157904625, 0.010295120067894459, 0.034564658999443054, -0.02708514966070652, -0.05182107537984848, -0.02936527691781521, 0.017705533653497696, -0.038382142782211304, 0.03738027065992355, 0.021402103826403618, -0.07075304538011551, 0.040074966847896576, -0.041802335530519485, -0.014803553931415081, 0.024027705192565918, -0.010554226115345955, -0.024424999952316284, -0.045360714197158813, -0.011987942270934582, 0.07123670727014542, -0.01837920770049095, 0.012799805961549282, 0.0626344084739685, -0.019795650616288185, 0.01013965718448162, -0.039902228862047195, -0.005087102297693491, 0.0016388414660468698, -0.03342459350824356, 0.018275566399097443, -0.010614683851599693, -0.018223745748400688, 0.018431028351187706, -0.021972136572003365, -0.00278538279235363, -0.0029645974282175303, 0.0492645688354969, 0.02819066494703293, -0.026601485908031464, -0.018966512754559517, -0.06367082893848419, 0.07600424438714981, -0.045982569456100464, -0.03263000398874283, -0.05427394062280655, 0.021540293470025063, 0.08236096054315567, -0.014872648753225803, 0.0033683700021356344, -0.001419681590050459, -0.021954862400889397, 0.024390453472733498, 0.06926750391721725, 0.009716452099382877, -0.013974417001008987, -0.01445807982236147, 0.0347028486430645, -0.03243999183177948, 0.011383363045752048, 0.009673267602920532, -0.059041477739810944, -0.02183394692838192, -0.010355578735470772, -0.029468918219208717, 0.014155790209770203, 0.014803553931415081, -0.011020615696907043, 0.02554778940975666, 0.011262446641921997, 0.014872648753225803, -0.004128412343561649, -0.017999187111854553, -0.06118341535329819, 0.03959130123257637, -0.037933025509119034, 0.007596105802804232, -0.007954535074532032, -0.008839812129735947, 0.02319856733083725, -0.00982873048633337, -0.002869592048227787, 0.010390125215053558, 0.004521389026194811, -0.020348409190773964, -0.03333822637796402, -0.048055410385131836, 0.04245873540639877, -0.002845840761438012, -0.009345067664980888, 0.016591381281614304, -0.0037073660641908646, -0.0447734110057354, -0.01548586506396532, 0.037103891372680664, -0.01671229675412178, -0.05772867798805237, -0.011858389712870121, -0.020797524601221085, -0.05258111655712128, -0.07199674844741821, -0.06170162558555603, 0.003664181800559163, -0.026964232325553894, 0.009120509028434753, -0.03807121515274048, -0.0001533040194772184, -0.038831260055303574, -0.01893196627497673, 0.003979426808655262, -0.03237089887261391, -0.015606780536472797, 0.017722807824611664, -0.008027948439121246, -0.055033981800079346, 0.013965779915452003, 0.015166301280260086, 0.06819653511047363, -0.0028998209163546562, 0.02155756764113903, 0.0060112448409199715, -0.07593514770269394, -0.00027772856992669404, 0.03434009850025177, -0.01445807982236147, 0.058488719165325165, -0.025254137814044952, -0.023302210494875908, 0.07572786509990692, -0.027154244482517242, -0.03700024634599686, -0.031092645600438118, -0.01993384025990963, -0.007293816190212965, 0.002917094621807337, -0.0026731037069112062, 0.01060604676604271, -0.02990076132118702, 0.005208018235862255, -0.05807415023446083, 0.009975557215511799, 0.07109851390123367, 0.05734865739941597, 0.06722921133041382, -0.0710294246673584, -0.03186996281147003, -0.0342710055410862, -0.002666626125574112, 0.0650181770324707, 0.0028156116604804993, -0.013965779915452003, -0.057106826454401016, -0.028052475303411484, -0.07987355440855026, 0.00814022682607174, -0.04093864932656288, 0.012074310332536697, -0.038831260055303574, 0.022507620975375175, 0.006058747414499521, -0.015235396102070808, -0.02907162345945835, -0.024390453472733498, -0.07545148581266403, 0.05797050893306732, -0.0022585352417081594, 0.017878271639347076, -0.1270652711391449, -0.028017928823828697, -0.007881121709942818, 0.017040496692061424, 0.016401370987296104, -0.0037591871805489063, 0.04954094812273979, 0.011849752627313137, 0.034288279712200165, 0.02311220020055771, -0.04321877658367157, -0.000004402766990097007, 0.014276706613600254, -0.006188299972563982, -0.004286034964025021, 0.03921128064393997, 0.006861974019557238, -0.057935964316129684, -0.027499716728925705, -0.024494094774127007, -0.03662022575736046, -0.013844864442944527, -0.034823764115571976, -0.017688261345028877, 0.03425373136997223, 0.03841669112443924, 0.032284531742334366, 0.012316142208874226, -0.009388251230120659, 0.04093864932656288, -0.015313128009438515, 0.007997719570994377, 0.13266195356845856, -0.031006276607513428, 0.010044652037322521, 0.020348409190773964, -0.022403977811336517, -0.05216654762625694, -0.04954094812273979, 0.025599611923098564, -0.012661616317927837, 0.03921128064393997, 0.05724501609802246, 0.03318276256322861, -0.006615824066102505, -0.01983019895851612, 0.015442680567502975, -0.05873055383563042, 0.02608327381312847, 0.020970262587070465, 0.004465249367058277, 0.001250183442607522, 0.014311254024505615, 0.05499943345785141, -0.010597409680485725, -0.01277389470487833, 0.08208458125591278, -0.04663896933197975, -0.017826449126005173, 0.08381195366382599, 0.018949240446090698, 0.03706934303045273, 0.05354844406247139, -0.07524420320987701, -0.04069681838154793, 0.012497516348958015, -0.08139363676309586, 0.016634564846754074, 0.016237270087003708, 0.015624054707586765, -0.009448709897696972, 0.005333252251148224, 0.04356425255537033, 0.06792015582323074, 0.027378801256418228, 0.058834195137023926, -0.00919824093580246, -0.013723948039114475, 0.04466976597905159, -0.037518460303545, 0.028207939118146896, 0.05980152264237404, 0.0014693434350192547, -0.0391421839594841, 0.03397735208272934, 0.0046163941733539104, -0.0035389475524425507, -0.018862871453166008, -0.048435430973768234, 0.029918033629655838, -0.007427687291055918, 0.03299275040626526, -0.0912741869688034, -0.00782066397368908, 0.01548586506396532, -0.050611916929483414, -0.03169722482562065, -0.022853095084428787, -0.019242892041802406, -0.07082213461399078, -0.012981179170310497, -0.06411994248628616, 0.04774448275566101, -0.006218528840690851, 0.013689400628209114, -0.021453924477100372, 0.03378733992576599, -0.00677128741517663, 0.05662316083908081, -0.050335537642240524, 0.024234989657998085, 0.03893490135669708, -0.012704800814390182, 0.030280781909823418, 0.03807121515274048, 0.0347028486430645, -0.0002611296367831528, -0.01590043306350708, -0.03762210160493851, -0.016461828723549843, -0.015598143450915813, -0.0021764852572232485, 0.035825636237859726, 0.006788561120629311, -0.030332602560520172, 0.011530189774930477, -0.012687526643276215, -0.049506399780511856, -0.013905322179198265, -0.014699911698698997, -0.0046163941733539104, 0.009206878021359444, -0.02781064435839653, -0.0532720647752285, -0.05734865739941597, -0.002217510249465704, -0.02573780156672001, -0.015909070149064064, -0.033390045166015625, 0.01786099746823311, 0.07213493436574936, -0.11614830046892166, 0.00942279864102602, -0.023578589782118797, -0.040904100984334946, 0.0020609672646969557, -0.010588773526251316, -0.0029235724359750748, -0.003269046079367399, 0.023043105378746986, 0.04245873540639877, 0.019173797219991684, 0.043080586940050125, -0.022352157160639763, 0.04221690446138382, -0.06764377653598785, -0.0011314267758280039, 0.04853907227516174, 0.04567164182662964, -0.05942149832844734, -0.04864271730184555, -0.0046163941733539104, -0.009966920129954815, -0.015010838396847248, -0.03921128064393997, 0.021142998710274696, -0.03314821422100067, -0.011184715665876865, 0.02934800274670124, 0.018137376755475998, -0.018102828413248062, -0.018068281933665276, -0.04473886266350746, -0.004465249367058277, -0.05009370669722557, -0.05216654762625694, 0.01901833526790142, -0.11476641148328781, 0.11939575523138046, -0.04781357944011688, 0.041905976831912994, 0.04232054576277733, -0.029918033629655838, 0.066918283700943, 0.03446101397275925, 0.030384423211216927, -0.006494908127933741, -0.018413756042718887, -0.001846125815063715, 0.01254933699965477, -0.02499503269791603, 0.04522252455353737, -0.06747104227542877, 0.022766726091504097, 0.008097043260931969, -0.021609388291835785, 0.03133447840809822, 0.008295690640807152, -0.013102095574140549, -0.01354257483035326, -0.04529162123799324, 0.016081806272268295, 0.08395013958215714, -0.013300742954015732, 0.029054349288344383, 0.029589833691716194, -0.0007697588880546391, -0.012385237030684948, -0.007971809245646, 0.06937114894390106, 0.01173747330904007, 0.003897376824170351, -0.023077651858329773, 0.05137195810675621, 0.010968794114887714, -0.0048193600960075855, 0.033666424453258514, -0.050231896340847015, -0.02473592758178711, -0.01404351182281971, 0.08215367794036865, -0.07254950702190399, -0.012160679325461388, 0.035825636237859726, -0.014915833249688148, 0.004089546389877796, -0.030298056080937386, 0.06297987699508667, 0.008265461772680283, -0.007168582174926996, -0.016556832939386368, -0.002252057660371065, 0.019882019609212875, 0.017446428537368774, -0.0017759514739736915, -0.057763226330280304, 0.0060155633836984634, -0.021609388291835785, -0.048780906945466995, -0.02744789607822895, -0.01564132794737816, -0.033839162439107895, -0.031576309353113174, -0.050957389175891876, 0.05517217144370079, 0.03017714060842991, -0.0016593540785834193, -0.0034547382965683937, -0.05461941286921501, -0.04795176908373833, 0.027378801256418228, 0.015166301280260086, -0.06277259439229965, 0.01449262723326683, -0.007263587322086096, 0.04663896933197975, -0.06059611216187477, 0.03358005732297897, 0.001504970365203917, 0.01749824918806553, -0.0041608004830777645, 0.011400636285543442, 0.019519271329045296, 0.019622914493083954, -0.04221690446138382, -0.0057175918482244015, -0.021782126277685165, -0.05292659252882004, -0.018603766337037086, -0.011746110394597054, 0.03090263530611992, 0.03370097279548645, 0.06004335358738899, -0.034581929445266724, 0.034288279712200165, -0.004337856080383062, 0.009388251230120659, -0.019605640321969986, -0.030384423211216927, 0.06985481083393097, 0.01748097687959671, -0.0169454924762249, 0.046258945018053055, -0.015192211605608463, 0.013931232504546642, -0.06456906348466873, -0.04031679779291153, -0.014302616938948631, -0.053686633706092834, -0.006158071104437113, 0.029848938807845116, 0.025875991210341454, 0.028432495892047882, -0.024977758526802063, -0.07614243030548096, 0.024424999952316284, -0.011970668099820614, 0.05479215085506439, 0.05482669919729233, 0.00009878392302198336, 0.011063799262046814, -0.02979711815714836, 0.017316875979304314, 0.016530923545360565, 0.10827150195837021, -0.017912818118929863, 0.021229367703199387, 0.0018504442414268851, -0.0880267322063446, 0.028121570125222206, -0.05247747525572777, -0.014466716907918453, -0.00009352084452984855, -0.027396075427532196, -0.05233928561210632, -0.04484250396490097, 0.08685212582349777, 0.04124957695603371, 0.0456370934844017, -0.042631469666957855, 0.053513895720243454, 0.06398175656795502, 0.06069975346326828, 0.027931559830904007, 0.03440919518470764, -0.005385073367506266, 0.008187729865312576, -0.05334116145968437, 0.018465576693415642, -0.00306823942810297, 0.03862397372722626, -0.002442068187519908, 0.01467400137335062, -0.03287183493375778, 0.01882832497358322, 0.05506853014230728, -0.004810723010450602, 0.007159945089370012, 0.00882685650140047, 0.009034140966832638, -0.037898480892181396, -0.04086955636739731, 0.07959717512130737, -0.0048970915377140045, -0.009232788346707821, -0.05537945777177811, -0.005890328902751207, -0.01345620583742857, -0.03910763934254646, 0.027931559830904007, 0.008658437989652157, 0.0009899984579533339, 0.0476408414542675, 0.008433880284428596, -0.057210467755794525, -0.011763384565711021, 0.012134768068790436, 0.006849018856883049, 0.05624314025044441, -0.038174860179424286, -0.01812010258436203, 0.03596382588148117, -0.0009214435121975839, 0.011495642364025116, 0.016297727823257446, 0.04753720015287399, 0.005147560033947229, -0.029486192390322685, 0.0015773039776831865, -0.00017111751367338002, -0.0013365518534556031, 0.01967473514378071, 0.02573780156672001, -0.0621507428586483, -0.04936821013689041, -0.025167768821120262, 0.021419377997517586, -0.005501670762896538, -0.04283875599503517, -0.007311089895665646, 0.06398175656795502, 0.023595863953232765, -0.017023222520947456, 0.011910210363566875, -0.02283582091331482, 0.009785545989871025, 0.014302616938948631, -0.023526769131422043, 0.012989816255867481, -0.057210467755794525, -0.002133300993591547, -0.01277389470487833, 0.046604420989751816, -0.027879739180207253, 0.027033327147364616, -0.086299367249012, -0.040005870163440704, 0.011262446641921997, 0.02292218990623951, 0.014207611791789532, -0.03314821422100067, 0.043529704213142395, -0.03026350773870945, 0.019519271329045296, 0.0014553085202351213, 0.013421658426523209, -0.08823401480913162, -0.03541106730699539, -0.03434009850025177, -0.006274668499827385, -0.04974823072552681, -0.04891909658908844, -0.025979632511734962, 0.0015459954738616943, -0.003357573878020048, 0.019726555794477463, -0.00029149354668334126, -0.03525560349225998, 0.03814031183719635, -0.023043105378746986, 0.01850012317299843, 0.015131753869354725, -0.05282295122742653, 0.03662022575736046, 0.032923657447099686, 0.039003998041152954, 0.08595389127731323, -0.010113746859133244, 0.031835414469242096, -0.023233115673065186, -0.025685979053378105, 0.02996985614299774, -0.07731704413890839, 0.015537685714662075, -0.005946468561887741, -0.05133741348981857, -0.017144139856100082, 0.023077651858329773, 0.01151291560381651, -0.01354257483035326, 0.07254950702190399, 0.028017928823828697, 0.015606780536472797, 0.03630930185317993, -0.02689513750374317, 0.0021721667144447565, 0.05171743407845497, 0.09846004098653793, -0.044807955622673035, 0.029520738869905472, 0.0026536709628999233, -0.06170162558555603, 0.009785545989871025, -0.037898480892181396, -0.0006585594965144992, 0.004771857522428036, -0.0508882962167263, -0.026031453162431717, -0.01850012317299843, -0.020313860848546028, 0.002699014265090227, 0.04183688014745712, 0.02019294537603855, 0.022248515859246254, -0.00955235119909048, -0.0002225337375421077, -0.028967982158064842, -0.011245173402130604, 0.0012156360317021608, 0.006063065957278013, 0.02629055827856064, -0.04156050086021423, 0.03886580839753151, 0.049506399780511856, -0.03321731090545654, -0.011979305185377598, 0.03762210160493851, -0.0021235845051705837, -0.00015006519970484078, 0.007414732128381729, -0.06487998366355896, 0.006529455538839102, 0.00738450326025486, -0.00876208022236824, -0.0021214252337813377, -0.030850812792778015, 0.03192178159952164, 0.020521145313978195, -0.041180480271577835, -0.010623320937156677, 0.01688503287732601, 0.011590647511184216, 0.0036490673664957285, 0.020952988415956497, -0.005320297088474035, -0.007708385121077299, 0.04124957695603371, -0.02501230500638485, 0.03738027065992355, 0.012307505123317242, 0.07109851390123367, 0.04270056635141373, -0.03731117397546768, 0.021073903888463974, -0.01735142432153225, 0.0006466838531196117, -0.03382188826799393, 0.038105763494968414, 0.0021754056215286255, 0.024580463767051697, 0.02535777911543846, 0.010303757153451443, 0.051510147750377655, 0.027776096016168594, 0.066918283700943, 0.003754868870601058, 0.00853752251714468, -0.007799071725457907, -0.015934981405735016, 0.006991526577621698, 0.01983019895851612, -0.024217715486884117, -0.008399332873523235, -0.0355147123336792, 0.01929471455514431, 0.030643530189990997, -0.000017695412680041045, 0.04055862873792648, 0.0005357543705031276, -0.04674261063337326 ]
10,986
burnman.classes.mineral_helpers
debug_print
null
def debug_print(self, indent=""): print("%sHelperRockSwitcher" % (indent))
(self, indent='')
[ -0.019250229001045227, -0.017070000991225243, 0.01935163512825966, 0.013250377029180527, 0.026281040161848068, -0.03988633677363396, -0.01023355033248663, 0.03603291139006615, -0.008404017426073551, -0.027565516531467438, -0.024134615436196327, -0.01344473846256733, -0.005268883891403675, 0.022157199680805206, -0.03317664563655853, -0.0244219321757555, 0.03101331740617752, 0.009050480090081692, -0.03204428032040596, -0.000961243873462081, 0.04546366631984711, 0.09403711557388306, 0.0263824462890625, 0.025824714452028275, -0.028207752853631973, 0.10471853613853455, -0.029931655153632164, -0.030945714563131332, -0.017627732828259468, 0.0017492525512352586, -0.021143140271306038, -0.054184574633836746, -0.0252669807523489, 0.029745744541287422, -0.02844436652958393, 0.01859108917415142, -0.015447505749762058, -0.009777222760021687, -0.05448879301548004, -0.015895381569862366, 0.041677843779325485, 0.010503965429961681, 0.0018168565584346652, -0.05364374443888664, -0.07105176150798798, 0.008488522842526436, 0.10600301623344421, -0.004166094120591879, 0.043638359755277634, -0.025976823642849922, 0.09309065341949463, -0.006088581867516041, 0.0022921969648450613, -0.004364680964499712, -0.028190853074193, -0.010470164008438587, 0.038162436336278915, -0.06317590177059174, 0.015954535454511642, -0.021007930859923363, -0.022985346615314484, 0.025740208104252815, 0.0024696572218090296, 0.05962669476866722, -0.02955983206629753, -0.029999257996678352, -0.02825845591723919, -0.00933779776096344, -0.009794124402105808, 0.025486694648861885, -0.010487064719200134, -0.010013837367296219, -0.03170625865459442, 0.003813286079093814, -0.015354550443589687, -0.014289787970483303, -0.047322772443294525, -0.050669170916080475, 0.03364987298846245, -0.07328269630670547, -0.027869733050465584, -0.019655851647257805, -0.005847742781043053, 0.05431978404521942, -0.02208959497511387, -0.04232008010149002, 0.03141894191503525, -0.0007969873258844018, 0.03162175416946411, 0.021785376593470573, -0.036269526928663254, -0.006789973005652428, -0.016909440979361534, 0.03931170329451561, -0.06003231927752495, 0.0041069407016038895, 0.030776703730225563, -0.04103560373187065, -0.01739111915230751, 0.0010663468856364489, 0.005150577053427696, -0.04417918995022774, -0.03484984114766121, -0.008484297432005405, -0.05824081599712372, -0.057767584919929504, -0.03212878480553627, 0.042624298483133316, -0.006033653859049082, 0.028849991038441658, -0.03170625865459442, -0.06790818274021149, -0.004850584547966719, -0.01352924294769764, 0.04140742868185043, -0.03398789092898369, 0.03008376434445381, 0.01477146614342928, 0.03265271335840225, -0.033447060734033585, 0.009743421338498592, -0.0399201400578022, -0.005615354049950838, -0.040460970252752304, 0.01877700164914131, -0.025334585458040237, 0.0025710631161928177, 0.0703757256269455, 0.0047196014784276485, 0.002807677024975419, 0.08687109500169754, -0.02810634672641754, -0.050601568073034286, -0.03555968403816223, 0.06919265538454056, 0.015878479927778244, 0.010368757881224155, 0.0011872946051880717, 0.03880467638373375, 0.05648311227560043, -0.037892021238803864, -0.10539457947015762, -0.0703757256269455, 0.008982876315712929, -0.03924410045146942, 0.01652916893362999, 0.015472857281565666, 0.03775681182742119, 0.025131773203611374, 0.013563045300543308, 0.0037414568942040205, 0.011796891689300537, -0.03040488250553608, 0.005602678284049034, -0.006291393656283617, 0.024878257885575294, 0.0007969873258844018, -0.020145980641245842, 0.038838475942611694, -0.03312594071030617, -0.0019341071601957083, -0.04336794093251228, -0.004854809492826462, -0.014019371941685677, 0.019165722653269768, 0.0237289909273386, -0.037215981632471085, 0.002947110217064619, 0.038162436336278915, 0.0017017185455188155, 0.002294309437274933, -0.018641792237758636, -0.033193547278642654, 0.017441822215914726, 0.03454562649130821, 0.025469793006777763, -0.026416247710585594, -0.01199125312268734, -0.03442731872200966, -0.048100218176841736, 0.003965395037084818, -0.00989553052932024, -0.0233064666390419, 0.059592895209789276, 0.013056015595793724, -0.041001804172992706, 0.05952528864145279, -0.03272031992673874, 0.022799436002969742, 0.0022731833159923553, 0.016301006078720093, 0.055469051003456116, -0.020940328016877174, -0.01075748074799776, 0.017323516309261322, 0.0017291826661676168, 0.02905280329287052, -0.04735657572746277, 0.06763776391744614, -0.0354582779109478, 0.013994020409882069, 0.041677843779325485, -0.060437943786382675, 0.012870104052126408, 0.06533923000097275, 0.03971732780337334, 0.029019001871347427, -0.022072693333029747, 0.01901361532509327, -0.035593487322330475, 0.013208123855292797, -0.01352924294769764, 0.05479301139712334, -0.040055349469184875, 0.005704084411263466, -0.004303414840251207, -0.0005207617650739849, 0.003084430703893304, -0.056821130216121674, 0.026771169155836105, 0.015717921778559685, -0.01603058911859989, -0.027971139177680016, -0.021954387426376343, -0.04002154618501663, 0.01129831187427044, 0.026145832613110542, -0.024388128891587257, -0.03606671467423439, -0.03724978491663933, 0.010470164008438587, -0.04728897288441658, -0.08565422147512436, 0.027768326923251152, -0.03419070318341255, 0.01756012998521328, -0.0594576857984066, -0.024354327470064163, -0.0017365767853334546, -0.06601527333259583, 0.001195745076984167, 0.06331111490726471, 0.07328269630670547, 0.0049562156200408936, 0.01720520853996277, -0.06878703087568283, -0.028309158980846405, -0.014332040213048458, 0.022224802523851395, 0.03620192036032677, -0.007018136326223612, -0.04421299323439598, 0.010419460944831371, 0.0199600700289011, -0.033463962376117706, -0.008915272541344166, 0.004837908782064915, 0.04221867397427559, -0.0033548467326909304, 0.01129831187427044, -0.04096800088882446, 0.012743347324430943, -0.05043255537748337, -0.004859034903347492, 0.05043255537748337, 0.028190853074193, -0.030016159638762474, -0.023171259090304375, 0.02398250624537468, -0.05939008295536041, 0.07632487267255783, 0.024455733597278595, -0.04762699082493782, 0.055469051003456116, -0.036370933055877686, 0.003675965592265129, 0.012532084248960018, -0.00033326642005704343, -0.06716454029083252, -0.05479301139712334, 0.06175621971487999, 0.00092321663396433, -0.026517653837800026, 0.03435971587896347, -0.019892465323209763, -0.03555968403816223, -0.0030147142242640257, 0.014492599293589592, 0.014729213900864124, -0.0025900767650455236, 0.020433297380805016, 0.0650688111782074, 0.06642089039087296, 0.050669170916080475, 0.05141281336545944, 0.017695337533950806, -0.024117713794112206, 0.0308443084359169, -0.019571347162127495, 0.008623730391263962, -0.00933779776096344, -0.08004309237003326, -0.0005688239471055567, 0.03586390241980553, 0.0010124749969691038, 0.04336794093251228, 0.0004872238787356764, 0.003200625069439411, -0.013689802959561348, -0.0214980598539114, -0.015523560345172882, 0.04323273524641991, 0.0787586197257042, 0.02295154519379139, 0.0038597637321799994, -0.0203825943171978, -0.04242148622870445, 0.016461564227938652, 0.02699088305234909, 0.06398715078830719, -0.02202199026942253, 0.04248908907175064, -0.01652916893362999, 0.07524321228265762, -0.0037689208984375, -0.07267425954341888, -0.013647549785673618, 0.034123100340366364, 0.00822655763477087, 0.004071026109158993, -0.09782293438911438, -0.025402188301086426, 0.002957673277705908, -0.00964201521128416, 0.04563267529010773, 0.04718756675720215, -0.04404398053884506, -0.05141281336545944, -0.018388278782367706, -0.022562822327017784, 0.06057314947247505, 0.011872946284711361, -0.02594302035868168, -0.01789814978837967, 0.04958750680088997, 0.02785283327102661, 0.01216871291399002, 0.06135059520602226, 0.041069407016038895, 0.03701316937804222, 0.03195977210998535, -0.043908774852752686, 0.033616069704294205, -0.0012443354353308678, 0.003194287186488509, -0.02371208928525448, 0.008889921009540558, -0.0053533888421952724, 0.005813940893858671, 0.04505804181098938, -0.0009364205179736018, 0.01408697571605444, 0.015515109524130821, 0.058545030653476715, 0.050162140280008316, -0.06233085319399834, -0.014577104710042477, -0.030286574736237526, 0.04864105209708214, 0.0026196534745395184, -0.026771169155836105, -0.01143352035433054, -0.003251328133046627, -0.012472931295633316, -0.07794737070798874, 0.03484984114766121, 0.03211188316345215, 0.03175695985555649, 0.0053533888421952724, -0.049384694546461105, 0.04539605975151062, 0.017627732828259468, 0.03809483349323273, 0.0002378022181801498, -0.016292555257678032, -0.03917649760842323, -0.01263349037617445, 0.07612206041812897, 0.006967433262616396, -0.027903536334633827, -0.03745259717106819, 0.013039113953709602, 0.008712460286915302, 0.038601864129304886, -0.03954831883311272, -0.055300042033195496, -0.02912040799856186, -0.03924410045146942, -0.08024590462446213, -0.011822243221104145, 0.02690637670457363, -0.04140742868185043, -0.0421510711312294, -0.03735119104385376, 0.018371377140283585, -0.008158952929079533, 0.017374219372868538, 0.02254592254757881, -0.0025457118172198534, 0.03549208119511604, 0.006544908508658409, 0.010216648690402508, -0.022376911714673042, 0.0018929109210148454, 0.05181843787431717, -0.032771021127700806, 0.005475921090692282, 0.09958063811063766, -0.006620963104069233, 0.007537841796875, 0.01901361532509327, -0.04840443655848503, -0.013351783156394958, 0.05080437660217285, 0.023661386221647263, -0.04529465362429619, -0.014188381843268871, 0.04455101117491722, 0.06408856064081192, -0.023914901539683342, -0.046545326709747314, -0.01365600060671568, 0.0005091423518024385, 0.030709100887179375, 0.04472002014517784, -0.014999628998339176, 0.0003984936629422009, -0.002695708069950342, 0.021548762917518616, 0.040122952312231064, 0.046207308769226074, -0.018202366307377815, -0.04221867397427559, -0.03741879388689995, 0.0036844159476459026, 0.029796447604894638, -0.020957227796316147, 0.02168397046625614, 0.003109782235696912, 0.04674813896417618, -0.010520867072045803, 0.013216574676334858, -0.01806715875864029, -0.002397828036919236, -0.004423834383487701, -0.0650688111782074, -0.012033505365252495, 0.03532307222485542, -0.027734525501728058, -0.05070297047495842, -0.013520793057978153, 0.02433742582798004, -0.014230634085834026, 0.0457678847014904, 0.019486842676997185, 0.07510800659656525, -0.010605371557176113, 0.038601864129304886, -0.06371673196554184, -0.04894527047872543, 0.05421837791800499, 0.01968965493142605, -0.03278792276978493, -0.0032809048425406218, 0.02905280329287052, 0.03388648480176926, -0.04705235734581947, -0.006223789881914854, -0.04225247725844383, 0.015717921778559685, -0.08457256108522415, -0.06435897201299667, -0.014357391744852066, 0.0026788071263581514, -0.014932025223970413, -0.011501124128699303, 0.005218180827796459, 0.02158256433904171, -0.011103951372206211, -0.03398789092898369, 0.03452872484922409, 0.009608212858438492, -0.06003231927752495, -0.08619505167007446, 0.007204047404229641, -0.01611509546637535, -0.04066378250718117, 0.00809134915471077, -0.023881100118160248, -0.028207752853631973, -0.008788514882326126, -0.008965975604951382, 0.034985050559043884, -0.017678435891866684, 0.018878405913710594, -0.019317831844091415, 0.024996565654873848, 0.03795962408185005, 0.006456178613007069, 0.0184220802038908, 0.048843864351511, -0.0013489102711901069, 0.005281559657305479, 0.004516789689660072, 0.03287242725491524, -0.01096874289214611, 0.0007077289628796279, 0.03297383338212967, 0.05026354640722275, -0.010901139117777348, 0.02928941696882248, -0.06520402431488037, -0.010605371557176113, -0.03752020001411438, 0.013825010508298874, 0.007102641277015209, 0.003963282331824303, 0.0971468985080719, -0.015954535454511642, 0.06179002299904823, 0.01985866390168667, 0.052460674196481705, 0.006544908508658409, -0.02732890285551548, -0.013791208155453205, 0.12919117510318756, -0.03212878480553627, -0.024202218279242516, 0.015101035125553608, 0.0044660866260528564, 0.07138978689908981, -0.022934643551707268, -0.013630649074912071, -0.05611129105091095, 0.0029999257531017065, 0.01241377741098404, -0.001024622586555779, 0.013698252849280834, -0.017239009961485863, 0.009380050003528595, 0.010656074620783329, -0.04979031905531883, 0.010149044916033745, -0.009811025112867355, 0.021531863138079643, -0.0006607231334783137, 0.015379901975393295, 0.012092659249901772, 0.051615625619888306, 0.002045019995421171, 0.004766079597175121, 0.037384990602731705, -0.012777148745954037, -0.0072378492914140224, 0.020196683704853058, -0.03728358447551727, -0.004125954583287239, 0.003965395037084818, 0.0113067626953125, 0.03128373250365257, 0.004618195816874504, -0.037148378789424896, -0.004402708262205124, 0.033531565219163895, -0.09903980791568756, 0.04404398053884506, 0.0256895050406456, 0.08254443854093552, 0.008585703559219837, -0.017678435891866684, -0.02851197123527527, -0.01756012998521328, 0.058815449476242065, -0.03701316937804222, -0.038061030209064484, -0.05431978404521942, 0.010165945626795292, -0.05587467551231384, 0.03785821795463562, -0.021988188847899437, -0.024016307666897774, -0.04113700985908508, -0.0421510711312294, -0.04816782474517822, 0.04248908907175064, -0.006320970598608255, -0.003809060901403427, 0.04154263436794281, 0.04282711073756218, 0.015523560345172882, -0.020365694537758827, 0.030556991696357727, -0.012236317619681358, 0.02602752484381199, 0.0435369536280632, -0.00216332683339715, 0.026433149352669716, -0.011289861984550953, -0.026686664670705795, 0.027650021016597748, -0.04924948886036873, -0.0050111436285078526, 0.006743495352566242, -0.0024844456929713488, -0.004056237637996674, -0.041001804172992706, 0.05411697179079056, -0.017374219372868538, 0.03522166609764099, 0.05029734969139099, -0.05208885297179222, 0.0759192481637001, -0.051277607679367065, -0.007216723170131445, 0.011213807389140129, 0.04472002014517784, -0.025300784036517143, -0.010064540430903435, 0.06297308951616287, -0.044584814459085464, 0.023796595633029938, 0.022410713136196136, 0.002347125206142664, -0.06662370264530182, -0.061891429126262665, -0.07436435669660568, 0.024219119921326637, -0.008746262639760971, -0.07787976413965225, -0.00682800030335784, 0.009684267453849316, -0.0008160009747371078, -0.02722749672830105, 0.03701316937804222, -0.005175928585231304, -0.008344864472746849, -0.04708616062998772, -0.024185318499803543, 0.03667515143752098, 0.013757406733930111, -0.05114239826798439, -0.007364606950432062, -0.04688334837555885, 0.061891429126262665, -0.007284326944500208, 0.00878006499260664, 0.04979031905531883, 0.014501050114631653, 0.029999257996678352, 0.0012855315580964088, -0.04015675559639931, -0.02475995197892189, -0.012058856897056103, -0.014982728287577629, 0.034985050559043884, 0.020500902086496353, 0.00047190734767355025, -0.012092659249901772, 0.00955751072615385, -0.09390190243721008, -0.014847520738840103, 0.0024886708706617355, -0.010385658591985703, -0.0301513671875, -0.05002693086862564, -0.018117861822247505, 0.007677275221794844, 0.010419460944831371, 0.05087198317050934, -0.057361964136362076, 0.0096335643902421, -0.02320506051182747, -0.012194064445793629, -0.09511877596378326, 0.02562190219759941, 0.07294467836618423, -0.04377356544137001, 0.007440661080181599, -0.018269971013069153, -0.03016826882958412, -0.07693330943584442, -0.06013372540473938, 0.024286724627017975, 0.004973116330802441, -0.019317831844091415, 0.004364680964499712, 0.043976377695798874, -0.05269728973507881, 0.008361765183508396, -0.05763237923383713, 0.029086604714393616, 0.028038743883371353, 0.04333414137363434, 0.014061624184250832, 0.00044576363870874047, -0.003067529760301113, 0.05242687463760376, -0.036539942026138306, 0.002795001259073615, 0.008175854571163654, 0.05790279433131218, 0.02981334738433361, 0.008619504980742931, -0.023255763575434685, -0.014323589392006397, -0.04867485165596008, -0.05269728973507881, -0.006747720763087273, 0.026162734255194664, 0.05489441752433777, -0.05475921183824539, 0.006849126424640417, -0.025419089943170547, -0.053407132625579834, 0.046646732836961746, 0.08511339128017426, -0.05002693086862564, 0.001805237028747797, 0.03425830975174904, 0.026483852416276932, -0.03109782375395298, -0.017027748748660088, -0.057699982076883316, 0.01918262429535389, -0.008606829680502415, -0.00704771326854825, 0.00002992333611473441, 0.016562970355153084, 0.09417232125997543, -0.007233623880892992, 0.007339255418628454, 0.015151738189160824, 0.0781501829624176, -0.00642660167068243, 0.014357391744852066, 0.05181843787431717, 0.03870327025651932, 0.044922832399606705, -0.017847446724772453, 0.05141281336545944, 0.07220103591680527, 0.003268229076638818, -0.006794198416173458, -0.006861802190542221, 0.03579629957675934, 0.005530849099159241, 0.008881470188498497, -0.02655145712196827, 0.023847298696637154, -0.027734525501728058, -0.020348792895674706, -0.022393813356757164, 0.05621269345283508, 0.05114239826798439, 0.026416247710585594, 0.06743495166301727, -0.03366677463054657, 0.0004872238787356764 ]
10,990
burnman.classes.mineral_helpers
select_rock
null
def select_rock(self): raise NotImplementedError("Need to implement select_rock() in derived class!")
(self)
[ -0.0021912390366196632, -0.04401266202330589, -0.025159427896142006, 0.03688960149884224, -0.029358111321926117, -0.03443900868296623, 0.00015367263404186815, 0.011991571635007858, 0.050057459622621536, -0.01277576107531786, 0.013731492683291435, 0.01036601047962904, 0.0313839353621006, 0.0676363855600357, -0.04201951250433922, -0.018003694713115692, 0.050155483186244965, 0.04123532027006149, -0.024326225742697716, -0.03515784814953804, -0.005558763165026903, 0.054141782224178314, 0.06106879189610481, 0.032788943499326706, 0.004884849768131971, 0.1182166337966919, -0.0017511533806100488, -0.008189067244529724, -0.012547039426863194, -0.006191832944750786, -0.07796154916286469, 0.051233742386102676, 0.005338209681212902, 0.034340985119342804, 0.0051503307186067104, 0.0318903923034668, -0.04545034095644951, 0.053553637117147446, -0.03800053894519806, 0.06064402312040329, -0.06116681545972824, -0.0156919676810503, 0.04976338520646095, -0.028312524780631065, -0.04038578271865845, -0.01414809376001358, 0.036007389426231384, -0.0028406463097780943, 0.043947312980890274, -0.026923853904008865, 0.03839263319969177, 0.0488811731338501, -0.01708880625665188, -0.024228202179074287, -0.07096918672323227, 0.030665094032883644, -0.014989463612437248, 0.004447827115654945, 0.037216346710920334, 0.03630146011710167, 0.019359689205884933, 0.0035043489187955856, 0.0201112050563097, -0.006195917259901762, 0.03623611107468605, -0.05832412838935852, -0.03858868032693863, 0.002950923051685095, -0.04097392410039902, 0.07894178479909897, 0.004672464914619923, 0.026711469516158104, 0.023345988243818283, 0.03092649020254612, 0.03298499062657356, 0.0056567867286503315, -0.05727853998541832, -0.052410028874874115, 0.030632419511675835, -0.028508571907877922, 0.06564323604106903, 0.021516211330890656, -0.013862190768122673, 0.025028729811310768, -0.04303242266178131, -0.0183794517070055, 0.04172544181346893, -0.04995943605899811, 0.01565929315984249, -0.06855127215385437, -0.016443483531475067, 0.04407801106572151, -0.005023716948926449, 0.05100502073764801, 0.007417129818350077, 0.022006331011652946, -0.019719108939170837, -0.01593702659010887, -0.016378134489059448, -0.03203742578625679, -0.03190672770142555, 0.07933387905359268, -0.009745193645358086, -0.029586832970380783, 0.04656127840280533, -0.004921608604490757, -0.029488809406757355, 0.027103565633296967, -0.019686434417963028, 0.023117266595363617, -0.028230838477611542, 0.034863777458667755, -0.050743624567985535, 0.02613966539502144, -0.05672307312488556, -0.06596998125314713, -0.03110620193183422, 0.0189022459089756, 0.00994941033422947, -0.0350271500647068, -0.02122214064002037, 0.010782611556351185, -0.003479842795059085, 0.05727853998541832, 0.017693284898996353, 0.006130568217486143, -0.008001187816262245, 0.022872205823659897, 0.02628670074045658, -0.024914367124438286, 0.021957319229841232, -0.005215680226683617, -0.02233307622373104, -0.05440317839384079, -0.0013641637051478028, -0.014662718400359154, -0.006326615810394287, 0.0012671611038967967, 0.02759368345141411, -0.00932859256863594, 0.012930965051054955, -0.02087905816733837, 0.04639790579676628, 0.017317527905106544, -0.0284268856048584, 0.019686434417963028, -0.0012630767887458205, -0.022937556728720665, 0.028933340683579445, 0.01782398484647274, 0.019817132502794266, 0.020584985613822937, 0.016361797228455544, -0.01149328425526619, -0.00976153090596199, -0.008552571758627892, -0.007596840150654316, -0.07221082597970963, -0.014777079224586487, -0.03327906131744385, 0.005648618098348379, -0.01485876552760601, 0.0020707515068352222, -0.019849808886647224, -0.025927279144525528, 0.006322531495243311, -0.0378044918179512, -0.029064040631055832, 0.024391574785113335, 0.01677839644253254, 0.012489859014749527, -0.0423135831952095, -0.06113414093852043, -0.00543623324483633, -0.06453229486942291, 0.029929915443062782, -0.011705668643116951, 0.02811647765338421, -0.022267727181315422, 0.0035227283369749784, 0.06368275731801987, -0.06351938843727112, -0.041627414524555206, 0.004946114495396614, 0.029292762279510498, -0.024456923827528954, 0.019327014684677124, 0.02770804427564144, 0.02202266827225685, 0.019425038248300552, -0.006375627592206001, -0.03907879814505577, -0.05564481019973755, -0.009704350493848324, 0.030910152941942215, -0.0447315014898777, 0.018216079100966454, 0.017758633941411972, -0.029015028849244118, 0.10344772040843964, 0.00269156857393682, -0.003800462232902646, -0.04754151403903961, -0.0048971027135849, -0.02066667191684246, -0.009467460215091705, 0.018836896866559982, -0.0251430906355381, 0.03470040485262871, -0.047933612018823624, -0.024636633694171906, -0.008642426691949368, 0.013028989546000957, 0.05048222839832306, 0.08051016926765442, -0.021908307448029518, -0.01875520870089531, -0.037739142775535583, -0.006686036009341478, 0.03355679288506508, -0.02274150773882866, 0.018559161573648453, -0.05120106786489487, -0.009500134736299515, -0.02749565988779068, -0.00644097663462162, -0.015022139064967632, -0.036562856286764145, 0.0058528343215584755, 0.008830305188894272, 0.027659032493829727, -0.06342136114835739, 0.0023158108815550804, -0.04025508463382721, -0.1043626144528389, 0.08750252425670624, 0.01345375832170248, 0.024783669039607048, -0.07783085107803345, 0.03324638679623604, -0.01788933388888836, 0.04005903750658035, 0.01391937118023634, 0.028688281774520874, 0.01980079524219036, -0.019686434417963028, 0.0065553379245102406, 0.040483806282281876, 0.0009541998733766377, 0.04757418856024742, 0.02777339331805706, -0.0756089836359024, -0.025224776938557625, 0.06512043625116348, 0.010431360453367233, -0.016794735565781593, -0.060415301471948624, -0.027168914675712585, -0.02177760750055313, -0.006481819786131382, -0.04041845723986626, 0.011697500012814999, -0.021434525027871132, 0.008372860960662365, -0.01782398484647274, -0.007429382763803005, -0.020127542316913605, 0.056363653391599655, -0.0175135750323534, 0.017350202426314354, 0.0357133187353611, -0.008748618885874748, -0.04407801106572151, 0.04649592936038971, -0.030779454857110977, 0.0010976616758853197, -0.08992044627666473, 0.04551568999886513, -0.02947247214615345, -0.02063399739563465, 0.08005272597074509, 0.08175180107355118, -0.005240186117589474, 0.003724902169778943, -0.03117155097424984, -0.036007389426231384, 0.013421083800494671, -0.0051054032519459724, 0.0027058636769652367, -0.021238477900624275, -0.009075365029275417, 0.045058246701955795, 0.012718580663204193, -0.021140454337000847, 0.0988079309463501, -0.02953782118856907, -0.017660610377788544, 0.03190672770142555, 0.0520179346203804, 0.016182085499167442, 0.051331765949726105, -0.0825359895825386, -0.051331765949726105, 0.02354203537106514, -0.06080739572644234, -0.0006335805519483984, 0.02465297095477581, 0.009402110241353512, -0.059761807322502136, 0.019506724551320076, -0.02184295654296875, 0.02174493297934532, 0.016974445432424545, 0.009230569005012512, -0.025028729811310768, -0.047835588455200195, 0.0025179849471896887, -0.03301766514778137, 0.015749147161841393, 0.028622932732105255, -0.04009171202778816, -0.004880765452980995, 0.0014346183743327856, 0.013813178986310959, 0.004333466291427612, -0.031024513766169548, -0.09567117691040039, 0.030632419511675835, -0.054664574563503265, 0.018673522397875786, -0.09456023573875427, 0.028230838477611542, 0.05231200531125069, -0.030730443075299263, -0.03092649020254612, 0.025224776938557625, 0.042771026492118835, 0.00495019881054759, 0.027511997148394585, -0.014695392921566963, 0.007135311607271433, -0.012056920677423477, 0.012048752047121525, 0.010823454707860947, 0.07168803364038467, 0.05205060914158821, 0.015920689329504967, 0.029358111321926117, 0.036628205329179764, 0.021026093512773514, -0.004570357035845518, -0.009230569005012512, 0.028802642598748207, 0.027103565633296967, 0.012734917923808098, -0.0077234539203345776, -0.013372072018682957, 0.01653333753347397, 0.006922926753759384, -0.038752052932977676, 0.06855127215385437, -0.030191313475370407, 0.011901715770363808, 0.013796841725707054, -0.03033834882080555, -0.0263520497828722, -0.04362056404352188, 0.0022994736209511757, -0.03440633416175842, -0.0440453365445137, -0.035386569797992706, -0.04518894478678703, -0.07645852118730545, -0.047835588455200195, 0.007576418574899435, -0.024228202179074287, -0.03528854623436928, -0.0008337123435921967, 0.03669355437159538, -0.05881424620747566, 0.05254072695970535, -0.010856129229068756, -0.034308310598134995, -0.0014101123670116067, 0.00932859256863594, -0.014139925129711628, 0.0024117925204336643, 0.032396845519542694, 0.048979196697473526, -0.02576390653848648, 0.0072537572123110294, 0.01736653968691826, 0.022267727181315422, -0.04002636298537254, -0.05499131977558136, 0.005734389182180166, 0.020470624789595604, -0.056298304349184036, -0.03349144384264946, -0.017693284898996353, -0.04257497936487198, 0.002566996729001403, -0.04469882696866989, -0.0014264496276155114, -0.008658763952553272, 0.0007785739726386964, 0.06129751354455948, -0.002158564515411854, -0.03161265701055527, -0.061460886150598526, -0.08423507213592529, 0.03162899613380432, -0.08711043000221252, -0.0023403167724609375, 0.0070372880436480045, -0.019098293036222458, 0.056984469294548035, 0.004880765452980995, 0.0031224647536873817, 0.042280908674001694, -0.011705668643116951, 0.0050849816761910915, 0.001416238839738071, 0.08724112808704376, 0.02118946611881256, 0.01955573633313179, 0.01844480074942112, 0.013960214331746101, -0.004676549229770899, 0.018248753622174263, -0.035484593361616135, -0.013731492683291435, -0.03741239383816719, 0.0028283933643251657, 0.05381503328680992, -0.0263520497828722, -0.06508776545524597, 0.005321872420608997, -0.051331765949726105, -0.01610039919614792, 0.0703810453414917, 0.0034001986496150494, 0.01546324510127306, 0.015520426444709301, 0.0714266374707222, -0.06770173460245132, -0.010692756623029709, 0.0700543001294136, -0.05557946115732193, -0.00672687916085124, -0.023395000025629997, 0.03391621634364128, 0.027855079621076584, 0.05727853998541832, 0.0228885430842638, -0.004143545404076576, -0.039862990379333496, 0.011297236196696758, 0.06237577646970749, -0.08488856256008148, 0.02038893848657608, 0.03783716633915901, 0.004962452221661806, 0.02246377430856228, -0.00081686454359442, 0.11704035103321075, -0.02326430194079876, -0.023770757019519806, -0.017709622159600258, -0.01016179472208023, 0.039928339421749115, -0.012587882578372955, -0.020960744470357895, -0.07652387022972107, 0.024391574785113335, 0.021581560373306274, -0.05518736690282822, 0.007596840150654316, -0.007466141600161791, -0.0318903923034668, 0.008928329683840275, -0.019376026466488838, 0.03737971931695938, -0.003338933689519763, 0.005803822539746761, -0.04254230484366417, -0.04799896106123924, 0.03064875677227974, -0.0596311092376709, -0.013241373933851719, -0.023721745237708092, 0.005832412745803595, -0.02894967794418335, 0.02919473871588707, -0.037739142775535583, 0.010039265267550945, 0.016214760020375252, 0.02576390653848648, 0.01414809376001358, -0.0050849816761910915, 0.023215290158987045, 0.018461138010025024, -0.03064875677227974, 0.020160216838121414, 0.020225565880537033, -0.04688802361488342, 0.0074988161213696, 0.038229260593652725, 0.04865245148539543, 0.04767221212387085, 0.026776818558573723, 0.005358631256967783, 0.04417603462934494, -0.012767592445015907, 0.04254230484366417, -0.027577346190810204, -0.011378922499716282, 0.08822137117385864, 0.01934335194528103, -0.002211660612374544, 0.04378394037485123, -0.05371700972318649, 0.0027262852527201176, -0.007988935336470604, 0.0018532613757997751, 0.034798428416252136, -0.006224507465958595, 0.02100975625216961, 0.047280117869377136, 0.009728856384754181, -0.0034471682738512754, 0.013796841725707054, -0.04649592936038971, 0.041071947664022446, -0.01865718513727188, 0.035974714905023575, 0.0014080702094361186, 0.060349952429533005, 0.05714784190058708, -0.0263520497828722, 0.025159427896142006, 0.0415947400033474, 0.07783085107803345, 0.03447168320417404, -0.00918972585350275, -0.013600794598460197, -0.09103137999773026, 0.015422401949763298, -0.005620027892291546, 0.0033062591683119535, 0.024456923827528954, -0.012800266966223717, -0.0053259567357599735, -0.03904612362384796, 0.10841426253318787, 0.01720316708087921, 0.0228885430842638, 0.001275329734198749, 0.008993678726255894, 0.023149941116571426, 0.01952306181192398, -0.016843747347593307, 0.05554678663611412, -0.055318064987659454, 0.005979448556900024, -0.035974714905023575, 0.032821618020534515, 0.005276944953948259, 0.04208486154675484, -0.04198683798313141, 0.020372601225972176, 0.015095656737685204, -0.0036187097430229187, 0.05191991105675697, -0.04041845723986626, 0.0329359769821167, -0.0009577736491337419, -0.0007316042901948094, -0.049044545739889145, -0.041137296706438065, 0.00039132917299866676, -0.02313360385596752, 0.0703810453414917, -0.06191832944750786, -0.030322011560201645, -0.032021090388298035, -0.048979196697473526, 0.019735446199774742, -0.02295389398932457, 0.03141660988330841, 0.05959843471646309, -0.005926351994276047, -0.024881692603230476, -0.034929126501083374, 0.003718775697052479, -0.013045326806604862, 0.02659710869193077, -0.0644669458270073, -0.022823194041848183, -0.01980079524219036, -0.010039265267550945, 0.037118323147296906, 0.03154730796813965, 0.03349144384264946, 0.020862720906734467, -0.018363114446401596, -0.02607431635260582, 0.009426617063581944, 0.002746707061305642, -0.025535184890031815, 0.0077234539203345776, 0.023182615637779236, -0.022169703617691994, -0.04303242266178131, 0.024832680821418762, 0.013298554345965385, -0.026221351698040962, 0.01234282273799181, 0.048521753400564194, -0.012383665889501572, -0.04535231739282608, 0.013911202549934387, -0.0436859130859375, 0.030387360602617264, -0.00501146400347352, -0.03754309192299843, 0.024505935609340668, -0.018640847876667976, 0.0030366939026862383, -0.024424249306321144, 0.031776029616594315, -0.05280212312936783, 0.03969961777329445, -0.07685061544179916, -0.0669175386428833, -0.01730119064450264, 0.02607431635260582, 0.01785665936768055, -0.06953150779008865, 0.026678794994950294, -0.005620027892291546, 0.04303242266178131, -0.012326485477387905, 0.018461138010025024, -0.042771026492118835, -0.048391055315732956, -0.06730964034795761, 0.04313044622540474, 0.004398815333843231, -0.04531964287161827, -0.025028729811310768, 0.005305535160005093, -0.01810171827673912, 0.024456923827528954, -0.04100659862160683, -0.01816706731915474, 0.07208012789487839, 0.020437950268387794, 0.026613445952534676, 0.014058238826692104, -0.042771026492118835, 0.04355521500110626, 0.04799896106123924, 0.033752843737602234, 0.05205060914158821, 0.01764427311718464, 0.01779130846261978, -0.053030844777822495, -0.044404756277799606, -0.002481226110830903, -0.043816614896059036, -0.013045326806604862, -0.0627678707242012, -0.05198526009917259, -0.038784727454185486, -0.0030897899996489286, -0.013731492683291435, -0.07979132980108261, 0.06325799226760864, -0.016084061935544014, 0.036628205329179764, 0.0013386367354542017, -0.0627678707242012, -0.00042706698877736926, 0.038752052932977676, 0.04237893223762512, -0.041071947664022446, 0.011133863590657711, -0.024701982736587524, -0.07600107789039612, -0.016198422759771347, -0.025567859411239624, -0.025633208453655243, 0.054076433181762695, -0.020062193274497986, 0.006518579088151455, -0.027577346190810204, -0.05175653472542763, 0.01650066301226616, 0.02940712310373783, 0.05564481019973755, 0.000018969763914356008, -0.028557583689689636, 0.05780133232474327, -0.03262557089328766, 0.006306194234639406, -0.019947832450270653, -0.0019635381177067757, 0.0852806568145752, -0.06855127215385437, -0.017562586814165115, 0.0357133187353611, -0.03037102334201336, 0.01650066301226616, 0.023313313722610474, -0.027381299063563347, 0.03669355437159538, 0.03623611107468605, -0.05832412838935852, 0.03983031585812569, -0.010316998697817326, -0.025698557496070862, -0.01002292800694704, -0.012734917923808098, 0.0010134225012734532, 0.06433624774217606, 0.034275636076927185, -0.01785665936768055, 0.0260089673101902, 0.0669175386428833, 0.034863777458667755, 0.017007119953632355, -0.00793992355465889, -0.022480111569166183, 0.034210287034511566, -0.04460080340504646, -0.0014101123670116067, -0.027201589196920395, 0.053030844777822495, 0.025502510368824005, -0.028557583689689636, -0.002571081044152379, 0.0024199611507356167, -0.040483806282281876, -0.02628670074045658, 0.03030567429959774, -0.010954153724014759, 0.03332807123661041, 0.04861977696418762, 0.024620296433568, 0.037739142775535583, 0.02202266827225685, 0.08514995872974396, -0.015773653984069824, -0.012179450131952763, 0.0077234539203345776, -0.011476946994662285, 0.005697629880160093, 0.022872205823659897, 0.028737293556332588, -0.00501146400347352, 0.03669355437159538, 0.0061387368477880955, 0.03610541298985481, 0.0019359688740223646, 0.017693284898996353, 0.002285178517922759, -0.03256021812558174 ]
10,991
burnman.classes.mineral_helpers
set_method
null
def set_method(self, method): raise NotImplementedError("Need to implement select_rock() in derived class!")
(self, method)
[ 0.009278434328734875, -0.04040313512086868, 0.027345214039087296, 0.041466377675533295, -0.05562076345086098, -0.04694870859384537, -0.014146081171929836, 0.028292162343859673, 0.04578579217195511, 0.005320355296134949, -0.002089101355522871, 0.02156384475529194, 0.06190052628517151, 0.048310987651348114, -0.05292943865060806, -0.015117949806153774, 0.0371137373149395, 0.07402811199426651, -0.023756777867674828, -0.03631630539894104, 0.0011670724488794804, 0.04336027428507805, 0.06332925707101822, 0.02176320180296898, 0.015342227183282375, 0.13044631481170654, -0.012376783415675163, 0.01079853530973196, 0.04781259223818779, -0.014436811208724976, -0.06216633692383766, 0.04017055034637451, -0.013639381155371666, 0.02744489349424839, 0.03227931633591652, 0.014087935909628868, -0.02443791553378105, 0.04977294057607651, -0.06339570879936218, 0.0789455994963646, -0.06558864563703537, -0.007367923855781555, 0.06701736897230148, -0.03914053738117218, -0.010017718188464642, -0.005386807955801487, 0.01593199372291565, 0.046317409723997116, 0.05209878087043762, -0.04033668339252472, -0.011047732084989548, 0.025966323912143707, 0.028989914804697037, -0.03814375028014183, -0.05382654443383217, 0.06296376883983612, -0.005939194466918707, 0.023158704861998558, 0.04432383552193642, 0.05223168432712555, 0.016779262572526932, 0.005507253110408783, -0.018124926835298538, -0.015691103413701057, 0.037246640771627426, -0.05389299988746643, -0.03754567727446556, 0.01309945434331894, 0.024886470288038254, 0.03953925147652626, 0.033774495124816895, 0.0322294756770134, 0.012036213651299477, 0.022095464169979095, 0.03133236616849899, 0.025285186246037483, -0.06186730042099953, -0.03001992776989937, 0.01832428388297558, -0.012700739316642284, 0.03847601264715195, 0.028209097683429718, 0.024736952036619186, 0.005918428301811218, -0.07389520853757858, -0.02721230871975422, 0.028890235349535942, -0.06356184184551239, 0.00408683018758893, -0.07429392635822296, -0.04947390407323837, 0.012434928677976131, -0.01711152493953705, 0.0308671984821558, -0.04017055034637451, 0.014619555324316025, 0.0035988197196274996, -0.04654999449849129, -0.024255171418190002, -0.023308223113417625, -0.03718018904328346, 0.061834074556827545, 0.04542030021548271, -0.05100231245160103, 0.042031221091747284, -0.0001471819559810683, -0.016272561624646187, 0.007480062544345856, -0.049939073622226715, 0.027345214039087296, -0.0036258159670978785, 0.056816909462213516, -0.04136669635772705, 0.005557092372328043, -0.022710150107741356, -0.018922356888651848, -0.03106655552983284, -0.01998559758067131, 0.009220288135111332, -0.011529513634741306, -0.024072427302598953, 0.018440576270222664, -0.019088488072156906, 0.014976738020777702, -0.006483274511992931, -0.01935429871082306, 0.0020382236689329147, 0.04502158612012863, 0.03940634801983833, -0.05000552535057068, -0.0400044210255146, 0.0016893477877601981, 0.010341674089431763, 0.016231030225753784, -0.009344886057078838, -0.01913832686841488, -0.03757890313863754, 0.003380772192031145, 0.006026413291692734, 0.011828549206256866, 0.013473249971866608, -0.0028242324478924274, 0.0675157681107521, 0.007982609793543816, -0.007135340012609959, 0.02639826573431492, -0.0008882833644747734, 0.004572764504700899, 0.0128087243065238, 0.003141958499327302, 0.0008285799412988126, 0.013082841411232948, 0.003114962251856923, -0.027577798813581467, 0.023158704861998558, -0.0017277656588703394, -0.014436811208724976, 0.004149129614233971, -0.009851587004959583, -0.04565288498997688, 0.01893896982073784, -0.02882378362119198, -0.021231582388281822, -0.03163140267133713, 0.006263150367885828, 0.011654111556708813, -0.0323125422000885, -0.03284415975213051, -0.0027058636769652367, 0.01493520475924015, -0.003480450948700309, -0.05043746903538704, -0.035419195890426636, 0.02161368355154991, 0.01920478045940399, 0.01897219568490982, 0.010499498806893826, 0.039638932794332504, -0.01855686865746975, 0.026281973347067833, 0.04714806750416756, -0.06077083572745323, -0.025285186246037483, 0.014345439150929451, 0.01797540858387947, 0.011953148059546947, 0.013855352066457272, -0.019287845119833946, -0.03618340194225311, 0.024338237941265106, 0.01493520475924015, -0.018407350406050682, -0.04990584775805473, -0.01272565871477127, 0.003953925333917141, -0.048942286521196365, -0.006852916907519102, 0.009718681685626507, -0.023640485480427742, 0.08791669458150864, 0.01412116177380085, 0.03090042434632778, -0.003580129938200116, 0.03492080420255661, 0.0019437363371253014, 0.017427174374461174, 0.03960570693016052, -0.0027826994191855192, 0.01524254772812128, -0.04920809715986252, 0.010640710592269897, -0.012185731902718544, 0.02545131742954254, 0.008780039846897125, 0.03595081716775894, -0.015234241262078285, 0.04339350014925003, -0.013614460825920105, -0.019487204030156136, 0.03405692055821419, 0.0016602748073637486, 0.061601489782333374, -0.06093696504831314, -0.013955030590295792, -0.022942734882235527, -0.0077790990471839905, 0.01493520475924015, -0.07728429138660431, -0.014519876800477505, -0.01638054847717285, 0.009535937570035458, -0.0026684843469411135, -0.0005435608909465373, -0.004522925242781639, -0.09934652596712112, 0.027760542929172516, 0.03405692055821419, 0.03970538452267647, -0.0789455994963646, 0.030800744891166687, -0.017045073211193085, 0.06376119703054428, 0.01571602188050747, 0.04495513439178467, -0.03324287757277489, 0.00599734066054225, -0.008888025768101215, 0.05764756724238396, -0.015549890697002411, 0.04090153053402901, 0.050337787717580795, -0.07901205122470856, -0.06293053925037384, 0.036814700812101364, 0.015549890697002411, -0.010150623507797718, -0.035419195890426636, 0.02159707061946392, 0.0008083326974883676, -0.0005741913337260485, -0.044091250747442245, -0.02927233837544918, 0.013597847893834114, -0.002294688718393445, 0.018606707453727722, 0.0024192873388528824, -0.006184238009154797, 0.08373018354177475, -0.04678257927298546, 0.01442850474268198, 0.059209201484918594, -0.04781259223818779, -0.04143315181136131, 0.06030566617846489, 0.0020382236689329147, 0.022311436012387276, -0.08977736532688141, 0.011355075053870678, -0.05067005008459091, -0.048742927610874176, 0.10386529564857483, 0.04133347049355507, 0.034023694694042206, 0.017078299075365067, -0.07077194005250931, 0.015284080989658833, 0.021896107122302055, 0.06621994078159332, -0.0062050046399235725, -0.02018495462834835, 0.009494404308497906, 0.03850923851132393, -0.01837412267923355, 0.030119607225060463, 0.08054046332836151, -0.02646471932530403, -0.014054709114134312, 0.03347545862197876, 0.05120167136192322, -0.024487756192684174, -0.0012127585941925645, -0.07509135454893112, -0.09030897915363312, 0.014362052083015442, -0.04013732448220253, -0.04638386145234108, 0.019121713936328888, 0.019686561077833176, -0.045918695628643036, -0.005278822500258684, 0.01595691218972206, 0.058810483664274216, -0.09456194192171097, -0.04601837322115898, 0.040070872753858566, 0.017045073211193085, -0.02438807673752308, 0.003357929177582264, 0.0177428238093853, 0.05292943865060806, -0.04116734117269516, 0.0014173077652230859, -0.026913272216916084, 0.012152506038546562, 0.0006780234398320317, 0.005818749312311411, -0.047513555735349655, 0.01120555680245161, -0.07203453779220581, -0.004074370488524437, -0.049739714711904526, 0.05665078014135361, 0.046483542770147324, -0.012326943688094616, -0.050537146627902985, 0.032578349113464355, 0.008418704383075237, 0.0033537759445607662, 0.0110892653465271, 0.0371137373149395, 0.014171001501381397, 0.014096242375671864, 0.012493074871599674, -0.03468821942806244, 0.06518992781639099, 0.04927454888820648, -0.02236127480864525, 0.03914053738117218, 0.04465609788894653, 0.005108538083732128, 0.018839290365576744, -0.061202775686979294, 0.007704339921474457, 0.010997893288731575, 0.02545131742954254, -0.030950263142585754, -0.010092477314174175, -0.0022303129080682993, 0.006283916998654604, -0.08120498806238174, 0.02277660369873047, -0.04784581810235977, 0.002184626879170537, 0.022494180127978325, -0.0005477141821756959, -0.002880301559343934, -0.05704949423670769, 0.0034679912496358156, 0.003968461882323027, -0.04352640360593796, 0.0046018376015126705, -0.07236680388450623, -0.053992677479982376, -0.017609918490052223, 0.013024695217609406, 0.011695644818246365, 0.0163390152156353, 0.01673772931098938, 0.035020481795072556, -0.005561245605349541, 0.08100563287734985, -0.05063682422041893, -0.005079464986920357, 0.004805348347872496, 0.03515338525176048, -0.01897219568490982, 0.03608372062444687, 0.03727986663579941, 0.050171658396720886, -0.0047222827561199665, -0.013473249971866608, 0.023274997249245644, -0.03369143232703209, -0.039273444563150406, -0.05369364097714424, -0.013066227547824383, -0.004593530669808388, -0.04299478605389595, -0.005374348256736994, 0.00998449232429266, -0.019902531057596207, -0.02096577174961567, -0.015691103413701057, 0.040469586849212646, 0.03315981104969978, 0.006051333155483007, 0.046084824949502945, 0.016064899042248726, 0.011612579226493835, -0.10565951466560364, -0.05282975733280182, 0.02624874748289585, -0.05532172694802284, -0.015549890697002411, 0.015641262754797935, -0.01958688162267208, 0.06937643885612488, -0.03834310919046402, 0.02686343342065811, 0.028557972982525826, 0.012974855490028858, 0.03664856776595116, -0.03134898096323013, 0.08246758580207825, 0.03108316846191883, 0.007235018536448479, 0.03171446919441223, -0.015109643340110779, -0.017244430258870125, 0.05362718924880028, -0.006786464247852564, 0.04179864004254341, -0.05170006677508354, 0.0264314915984869, 0.016289174556732178, -0.06944289058446884, -0.07502490282058716, -0.01651345193386078, -0.03714696317911148, -0.01188669539988041, -0.005935041233897209, -0.01572432927787304, -0.01672942377626896, -0.032412219792604446, 0.014486650936305523, -0.08532503992319107, 0.007841398008167744, 0.04565288498997688, -0.016928780823946, -0.031598176807165146, -0.021962560713291168, 0.05209878087043762, 0.008127974346280098, 0.07336358726024628, 0.032545123249292374, 0.012767191976308823, -0.005561245605349541, -0.006774004548788071, 0.0820024162530899, -0.037612129002809525, 0.014710928313434124, 0.039838287979364395, -0.045918695628643036, 0.0018180995248258114, -0.008032449521124363, 0.09781812131404877, -0.027893448248505592, 0.003949772100895643, -0.017310883849859238, -0.005316202063113451, 0.012484768405556679, -0.04336027428507805, -0.04322736710309982, -0.05651787295937538, 0.002259385772049427, 0.019188167527318, -0.026547783985733986, -0.006184238009154797, -0.06332925707101822, -0.02604939043521881, -0.012617673724889755, -0.038608916103839874, 0.03227931633591652, 0.009768521413207054, -0.002543885726481676, -0.04817808046936989, -0.028524747118353844, 0.027179082855582237, -0.04837743937969208, -0.023756777867674828, -0.018656546249985695, 0.020135115832090378, 0.0007273436640389264, 0.040469586849212646, -0.03658211603760719, 0.044489964842796326, -0.030717680230736732, 0.03628307953476906, 0.0004218177928123623, -0.030568161979317665, 0.012883483432233334, -0.0004418054595589638, -0.007712646387517452, 0.03161478787660599, 0.019337685778737068, -0.014901978895068169, 0.0077583324164152145, 0.044489964842796326, 0.03973861038684845, 0.018307670950889587, 0.058843713253736496, 0.006541420705616474, -0.011770403943955898, -0.009270126931369305, 0.03678147494792938, -0.022527405992150307, -0.03930667042732239, 0.06190052628517151, -0.017859116196632385, 0.014096242375671864, 0.0331265851855278, -0.07562297582626343, 0.0028595351614058018, -0.004336027428507805, -0.015458518639206886, -0.0028387687634676695, -0.005918428301811218, 0.022926121950149536, 0.03953925147652626, -0.00018508067296352237, 0.017261043190956116, 0.0516003854572773, -0.03246206045150757, 0.015134562738239765, 0.023690326139330864, 0.08007529377937317, 0.017593305557966232, 0.012974855490028858, 0.0689777210354805, 0.000985366408713162, -0.012792111374437809, 0.05000552535057068, -0.004327720962464809, 0.02420533262193203, -0.018191378563642502, -0.06851255148649216, -0.06605380773544312, -0.04654999449849129, 0.03737954422831535, -0.04355962947010994, -0.0076378872618079185, 0.012576140463352203, -0.027527958154678345, 0.0009080114541575313, 0.06804738938808441, -0.04465609788894653, 0.04565288498997688, 0.012509687803685665, 0.014295599423348904, 0.023956134915351868, -0.058112733066082, -0.01837412267923355, 0.03508693352341652, -0.02478679269552231, 0.020234793424606323, 0.027112631127238274, 0.027976512908935547, -0.00847685057669878, 0.02862442471086979, -0.1049949899315834, 0.031166234984993935, 0.015375453047454357, -0.003104578936472535, 0.013332038186490536, -0.018241219222545624, 0.04641709104180336, -0.010507805272936821, -0.03129914030432701, -0.05233136564493179, -0.050703275948762894, -0.04578579217195511, -0.0009791364427655935, 0.027910061180591583, -0.03797761723399162, -0.05585334822535515, -0.020633509382605553, -0.03628307953476906, 0.05259717255830765, -0.0298704095184803, 0.031116396188735962, 0.002952984068542719, -0.05047069489955902, -0.03350868448615074, -0.06153503805398941, 0.0016893477877601981, 0.024487756192684174, 0.024122266098856926, -0.06711705029010773, -0.04395834729075432, 0.003569746622815728, -0.014386971481144428, 0.042695749551057816, 0.019105101004242897, 0.026913272216916084, 0.01412116177380085, -0.03090042434632778, -0.06452540308237076, 0.034189824014902115, -0.006902756169438362, 0.01332373172044754, 0.02443791553378105, 0.017310883849859238, 0.019287845119833946, -0.0200022105127573, 0.022244982421398163, -0.0034015385899692774, -0.009909733198583126, 0.009353193454444408, 0.04777936637401581, -0.026913272216916084, -0.08180306106805801, -0.003225024091079831, -0.032777708023786545, -0.0019696943927556276, -0.02925572544336319, -0.0009085306082852185, 0.002757779788225889, 0.0028823784086853266, -0.016480226069688797, -0.06116954982280731, -0.016671277582645416, -0.07236680388450623, 0.03448886051774025, -0.048144854605197906, -0.03046848252415657, -0.04113411530852318, 0.034621767699718475, 0.013332038186490536, -0.041267018765211105, 0.006823843810707331, 0.03023589961230755, 0.004340180661529303, 0.027179082855582237, -0.015774168074131012, -0.025700515136122704, 0.007733412552624941, -0.053361378610134125, 0.01996898464858532, -0.006038873456418514, -0.024172106757760048, -0.03352529928088188, -0.004826114512979984, -0.0734964907169342, 0.06003985553979874, 0.03668179363012314, -0.050570372492074966, 0.02704617753624916, 0.007945230230689049, 0.027096018195152283, 0.010765309445559978, -0.0524974949657917, 0.06116954982280731, 0.02903975360095501, 0.013498169369995594, 0.04083507880568504, 0.018058473244309425, 0.004398326389491558, -0.02420533262193203, -0.011679031886160374, 0.019919143989682198, 0.015857234597206116, -0.03181414678692818, -0.03794439136981964, -0.03840956091880798, 0.026514558121562004, -0.0037068049423396587, -0.005345275159925222, -0.09914717078208923, 0.03598404303193092, 0.016397161409258842, -0.03840956091880798, 0.015782475471496582, -0.05615238472819328, 0.015807393938302994, 0.018191378563642502, 0.06366152316331863, 0.013955030590295792, 0.017194591462612152, -0.041665732860565186, -0.07721783220767975, -0.00836471188813448, -0.01772621087729931, -0.03565178066492081, 0.03505370765924454, 0.0008083326974883676, 0.008211039938032627, -0.04944067820906639, -0.11635836958885193, 0.013988256454467773, 0.014677701517939568, 0.04452319070696831, -0.0021202508360147476, -0.010848375037312508, 0.027478119358420372, 0.005665077827870846, -0.024753566831350327, -0.010250302031636238, -0.004201045725494623, 0.06452540308237076, -0.036615341901779175, 0.0012023753952234983, 0.005972420796751976, -0.009045850485563278, -0.007247478701174259, 0.036249853670597076, -0.01008417084813118, 0.03302690386772156, -0.006915215868502855, -0.06073760986328125, 0.046716127544641495, -0.017443787306547165, -0.0613689087331295, 0.012767191976308823, -0.05621883645653725, 0.03334255516529083, 0.028940074145793915, 0.02621552161872387, 0.012277103960514069, -0.002494046464562416, 0.05226491019129753, -0.0010570104932412505, 0.023324836045503616, -0.00015704601537436247, 0.01859009452164173, 0.031033329665660858, -0.07389520853757858, -0.044091250747442245, -0.005021318793296814, 0.027345214039087296, 0.03329271450638771, -0.0613689087331295, -0.04302801191806793, -0.016255948692560196, -0.03292722627520561, 0.01797540858387947, 0.03448886051774025, -0.018507027998566628, 0.034987255930900574, 0.05429171398282051, 0.024288399145007133, 0.004647523630410433, 0.016704503446817398, 0.053162019699811935, 0.038608916103839874, 0.009187061339616776, -0.026929887011647224, 0.014029789716005325, 0.03591759130358696, 0.0593753308057785, 0.01494351215660572, -0.04937422648072243, 0.02862442471086979, 0.010075864382088184, 0.008888025768101215, 0.02443791553378105, 0.034621767699718475, 0.034621767699718475, -0.003891626140102744 ]
10,996
burnman.classes.mineral_helpers
HelperSpinTransition
Helper class that makes a mineral that switches between two materials (for low and high spin) based on some transition pressure [Pa]
class HelperSpinTransition(Composite): """ Helper class that makes a mineral that switches between two materials (for low and high spin) based on some transition pressure [Pa] """ def __init__(self, transition_pressure, ls_mat, hs_mat): """ Takes a transition pressure, and two minerals. Use the thermoelastic parameters for ls_mat below the transition pressure, and the thermoelastic parameters for hs_mat above the transition pressure """ Material.__init__(self) self.transition_pressure = transition_pressure self.ls_mat = ls_mat self.hs_mat = hs_mat Composite.__init__(self, [ls_mat, hs_mat]) def debug_print(self, indent=""): print("%sHelperSpinTransition:" % indent) self.ls_mat.debug_print(indent + " ") self.hs_mat.debug_print(indent + " ") def set_state(self, pressure, temperature): if pressure >= self.transition_pressure: Composite.set_fractions(self, [1.0, 0.0]) else: Composite.set_fractions(self, [0.0, 1.0]) Composite.set_state(self, pressure, temperature)
(transition_pressure, ls_mat, hs_mat)
[ 0.02473781630396843, -0.07663305848836899, 0.014761433936655521, 0.051317427307367325, -0.030064573511481285, -0.0375942587852478, -0.017307443544268608, 0.03708866983652115, -0.06316268444061279, -0.012251539155840874, -0.02004304900765419, 0.09273972362279892, -0.005827832501381636, 0.05171467736363411, -0.084866963326931, 0.028403347358107567, 0.04539479687809944, -0.013172435574233532, 0.011032705195248127, -0.03474128246307373, -0.011294528841972351, -0.010463915765285492, -0.0031283407006412745, 0.06962702423334122, -0.024719759821891785, 0.05146188288927078, -0.023618295788764954, -0.024304453283548355, 0.00027296802727505565, -0.05720394477248192, -0.03799150884151459, 0.007768938317894936, 0.021794557571411133, -0.014021105132997036, 0.027410222217440605, -0.021812615916132927, 0.018706845119595528, 0.03546355664730072, -0.08248346298933029, 0.04799497500061989, 0.09057290852069855, -0.04864501953125, 0.08342241495847702, -0.016458773985505104, 0.024882271885871887, 0.012260567396879196, 0.016088608652353287, 0.04221680015325546, 0.04044723138213158, -0.05160633474588394, 0.032791148871183395, -0.039038803428411484, 0.03990552946925163, 0.0022209864109754562, -0.05947910249233246, 0.06818247586488724, 0.05301476642489433, 0.02936035767197609, 0.024268340319395065, 0.0014377727638930082, -0.03298977389931679, 0.012675873935222626, 0.015267024748027325, -0.022065410390496254, -0.03519270569086075, -0.04698379337787628, -0.03799150884151459, 0.006405650172382593, -0.002755919238552451, 0.09223413467407227, 0.0156101044267416, 0.02076532132923603, 0.01469823531806469, -0.0008023990667425096, 0.010888250544667244, -0.017117846757173538, -0.04239736869931221, -0.01681990921497345, 0.018092913553118706, -0.0652211606502533, 0.0042794616892933846, -0.009136741049587727, -0.018724901601672173, 0.022101523354649544, -0.03315228596329689, -0.03149105980992317, -0.009041942656040192, -0.015014229342341423, 0.015880955383181572, 0.003661016235128045, -0.07385231554508209, 0.02443085052073002, 0.005556980147957802, 0.027301881462335587, 0.09887903928756714, 0.0057149771600961685, -0.05265362933278084, -0.017108818516135216, 0.002959058154374361, -0.04044723138213158, -0.019609685987234116, 0.019411060959100723, -0.05789010226726532, -0.01728035882115364, 0.019916651770472527, -0.06049028038978577, -0.03874989226460457, 0.014255844056606293, 0.02080143429338932, -0.004150806926190853, -0.025532316416502, -0.03152717277407646, -0.0976511761546135, -0.0003295366186648607, -0.05344812944531441, -0.02356412447988987, 0.018508220091462135, 0.007561285048723221, 0.01897769793868065, -0.0579623281955719, 0.027572734281420708, -0.011673721484839916, -0.003970238845795393, 0.020548639819025993, 0.03562606871128082, 0.050486814230680466, 0.021270910277962685, -0.002160044852644205, 0.011375783942639828, -0.03835264593362808, -0.042758502066135406, -0.003408221062272787, 0.0005744319641962647, 0.0064598205499351025, -0.03604137524962425, -0.014192645438015461, -0.016693511977791786, 0.013768310658633709, -0.02618236094713211, 0.0724438801407814, 0.02648932673037052, -0.0131092369556427, -0.044383615255355835, 0.03791927918791771, -0.02136119455099106, -0.0011815918842330575, 0.04391413927078247, -0.011204244568943977, 0.009299252182245255, 0.04633374884724617, -0.048139430582523346, 0.0014343870570883155, 0.001509999972768128, 0.008468639105558395, 0.024268340319395065, -0.010770881548523903, 0.026001792401075363, -0.013199521228671074, -0.02125285379588604, 0.034614887088537216, -0.031075753271579742, 0.0006026457413099706, -0.01422875840216875, 0.03519270569086075, 0.0045480565167963505, 0.04326409474015236, 0.009299252182245255, -0.07237165421247482, -0.015709416940808296, -0.022950192913413048, -0.032646697014570236, -0.05803455784916878, -0.008288071490824223, 0.0025776082184165716, -0.006392107345163822, 0.000754999986384064, 0.011141045950353146, -0.001277518691495061, -0.010292376391589642, -0.04532257094979286, -0.026814348995685577, -0.007380716968327761, -0.07432179152965546, -0.00532224215567112, 0.013786367140710354, 0.0000398871889046859, 0.03708866983652115, -0.05789010226726532, 0.05406206101179123, -0.035589952021837234, -0.0015686845872551203, -0.008346755988895893, -0.008098474703729153, 0.034651000052690506, 0.012757129967212677, -0.005064932629466057, 0.03528298810124397, -0.03708866983652115, 0.08147228509187698, 0.053556472063064575, -0.07612746953964233, -0.042036231607198715, 0.03755814582109451, 0.019483286887407303, 0.06630457192659378, -0.013235635124146938, 0.02000693418085575, 0.022914079949259758, -0.016964364796876907, -0.003697129897773266, -0.04965620115399361, -0.005665321368724108, 0.035589952021837234, 0.036420565098524094, 0.040627799928188324, -0.04781440645456314, 0.000475401699077338, -0.033802330493927, 0.02022361569106579, 0.014391269534826279, 0.00401538098230958, 0.010879222303628922, 0.010030552744865417, -0.014201673679053783, -0.01412944681942463, 0.020205559208989143, -0.006897697690874338, -0.012414050288498402, -0.035445500165224075, 0.03755814582109451, 0.0016228549648076296, -0.028060268610715866, -0.027590790763497353, -0.009831927716732025, -0.029884004965424538, 0.030100686475634575, -0.02349189668893814, -0.017596352845430374, -0.054278742522001266, -0.005240986123681068, -0.01901381090283394, -0.021993182599544525, -0.0006111098336987197, -0.004965620115399361, 0.033170342445373535, -0.0652211606502533, 0.04102504998445511, 0.018083885312080383, -0.07475515455007553, 0.008775604888796806, -0.02787970006465912, 0.006924782879650593, 0.007006038445979357, 0.0021893871016800404, 0.023546067997813225, -0.0710715651512146, -0.0015585275832563639, -0.006103198509663343, -0.02193901315331459, -0.04857279360294342, -0.012495306320488453, -0.06265709549188614, 0.008003677241504192, 0.06648513674736023, 0.02459336258471012, -0.007642540615051985, -0.011249386705458164, 0.020982002839446068, -0.029161732643842697, 0.013461344875395298, 0.09887903928756714, 0.00986804161220789, -0.07526074349880219, 0.028511688113212585, 0.004430687520653009, -0.008175216615200043, 0.03118409402668476, -0.05413428694009781, -0.006523019168525934, -0.020566696301102638, 0.018318623304367065, 0.017298415303230286, -0.03270086646080017, 0.030822958797216415, 0.009759700857102871, -0.04889781400561333, -0.006807413883507252, -0.03308006003499031, 0.02735605277121067, -0.018129028379917145, -0.008003677241504192, 0.010834080167114735, 0.02694074623286724, -0.012739072553813457, 0.09562881290912628, -0.027644962072372437, -0.08342241495847702, 0.032177217304706573, -0.0186346173286438, -0.05702337622642517, 0.06937422603368759, -0.08219455927610397, -0.02560454234480858, -0.007055694703012705, -0.0524369478225708, -0.045069772750139236, 0.008929087780416012, 0.02228209190070629, 0.009886098094284534, -0.01633237674832344, 0.05261751636862755, 0.055145468562841415, 0.01524896826595068, 0.029865948483347893, 0.02042224071919918, -0.0296673234552145, 0.019411060959100723, -0.005150702316313982, 0.035445500165224075, 0.08421691507101059, 0.008134588599205017, -0.03853321075439453, -0.01388567965477705, 0.06605177372694016, 0.01924854889512062, -0.03179802745580673, 0.003080941503867507, 0.006798385176807642, -0.011998743750154972, 0.0034669057931751013, -0.12379742413759232, 0.030967412516474724, 0.04423915967345238, 0.010463915765285492, -0.01825542561709881, -0.008712406270205975, 0.010328490287065506, -0.04734493046998978, 0.006076113320887089, -0.033964842557907104, 0.09924017637968063, 0.031021583825349808, -0.029956232756376266, 0.006753243505954742, 0.011448011733591557, -0.014192645438015461, 0.054387081414461136, -0.011529266834259033, 0.027301881462335587, 0.03770259767770767, -0.026886576786637306, 0.03188830986618996, 0.014003048650920391, 0.026778236031532288, 0.024340566247701645, 0.05092017725110054, -0.034344036132097244, -0.06103198602795601, -0.00662233168259263, -0.022859908640384674, 0.07771646976470947, 0.0017063675913959742, -0.03401901200413704, 0.013668998144567013, -0.021343138068914413, -0.05951521545648575, -0.03788316622376442, 0.014084304682910442, 0.021830672398209572, -0.03118409402668476, 0.017533153295516968, -0.04402247816324234, 0.009777757339179516, 0.021343138068914413, -0.05409817397594452, -0.0030064573511481285, -0.02314881794154644, 0.022968249395489693, 0.05998469144105911, -0.06428220868110657, 0.06709907203912735, -0.029992345720529556, -0.059731896966695786, 0.02546008862555027, -0.0018779071979224682, -0.03459683060646057, 0.039038803428411484, -0.004098893608897924, 0.04683934152126312, 0.005511838477104902, 0.031581342220306396, -0.01587192714214325, 0.021957069635391235, -0.038894347846508026, 0.0027739759534597397, -0.009669416584074497, 0.08017219603061676, 0.006681016180664301, -0.02425028383731842, -0.05084795132279396, -0.015014229342341423, -0.058251239359378815, -0.038930460810661316, 0.009497877210378647, 0.014743377454578876, -0.05774564668536186, 0.07872764766216278, 0.0652211606502533, 0.012260567396879196, -0.01316340733319521, 0.003245709929615259, -0.006568161305040121, -0.019230492413043976, -0.02939647063612938, 0.005877488758414984, -0.07612746953964233, -0.007276890799403191, -0.05236472189426422, -0.02352801151573658, 0.017153959721326828, 0.016576142981648445, 0.06478779762983322, 0.04460029676556587, 0.0018316366476938128, 0.014165559783577919, -0.023509955033659935, -0.044419728219509125, 0.022877966985106468, -0.02000693418085575, 0.017153959721326828, -0.017704693600535393, -0.008969715796411037, -0.04940340667963028, -0.04857279360294342, 0.010066666640341282, -0.008161674253642559, -0.004636083729565144, 0.014770463109016418, 0.024882271885871887, -0.010897278785705566, 0.07713865488767624, 0.01162857934832573, -0.0017910088645294309, -0.021469535306096077, -0.04962008818984032, -0.038316529244184494, 0.005742062348872423, 0.015456621535122395, -0.008802690543234348, 0.007692196872085333, 0.011700807139277458, 0.06041805446147919, -0.0277713593095541, -0.022751567885279655, 0.04391413927078247, -0.019067982211709023, 0.027518564835190773, -0.01723521575331688, -0.01288352720439434, -0.024791987612843513, 0.041241731494665146, 0.011104932054877281, -0.042939070612192154, 0.019718026742339134, -0.004730881657451391, 0.010608370415866375, 0.05615665018558502, -0.04268627613782883, -0.005268071312457323, 0.00656364718452096, 0.026435155421495438, -0.0023744693025946617, 0.00280783255584538, -0.025243407115340233, -0.01085213664919138, -0.005430582910776138, -0.04774218052625656, -0.01681990921497345, -0.030750731006264687, -0.04088059812784195, -0.03266475349664688, -0.03549966961145401, 0.038930460810661316, 0.037413690239191055, -0.05225637927651405, 0.0431196391582489, 0.02508089505136013, -0.012874498963356018, 0.04492532089352608, -0.0407000295817852, -0.057420626282691956, 0.0066584451124072075, 0.05655390024185181, 0.07713865488767624, -0.07887210696935654, 0.05077572166919708, -0.03853321075439453, -0.04398636519908905, 0.026055963709950447, -0.03616777062416077, 0.02473781630396843, 0.014553781598806381, 0.0031937966123223305, 0.009660388343036175, 0.010509057901799679, -0.03809984773397446, -0.000491765676997602, -0.0313827209174633, -0.009840955957770348, 0.015176740474998951, 0.06836304813623428, -0.0220834668725729, 0.012766158208251, 0.012441135942935944, -0.026092076674103737, -0.05807067081332207, -0.027103258296847343, 0.05846792086958885, 0.011132017709314823, -0.03289949148893356, 0.05817900970578194, 0.010184035636484623, 0.018237369135022163, -0.02780747227370739, -0.010301404632627964, -0.007764424197375774, -0.04337243363261223, -0.04839222505688667, -0.005800747312605381, 0.012450164183974266, -0.01830056682229042, -0.024051658809185028, -0.03806373476982117, 0.03436209261417389, -0.0004852765123359859, -0.019086038693785667, -0.002938744379207492, -0.04626152291893959, -0.005525380838662386, -0.05268974229693413, 0.0016126979608088732, 0.001497585908509791, 0.04073614254593849, -0.0061393119394779205, 0.03752203285694122, -0.00945273507386446, -0.004340403247624636, -0.009606217965483665, -0.05185912922024727, 0.014183617196977139, 0.013966934755444527, -0.02421416901051998, -0.0741773396730423, -0.024828100576996803, 0.04026666656136513, 0.029558982700109482, 0.0020144619047641754, -0.035969145596027374, -0.010427801869809628, 0.043480776250362396, 0.027031030505895615, 0.05630110576748848, 0.04041111841797829, -0.009290223941206932, 0.008802690543234348, -0.03304394334554672, 0.056012194603681564, 0.01424681581556797, 0.022300148382782936, -0.007493572309613228, 0.0300104022026062, 0.008387384004890919, -0.0060715992003679276, 0.050450701266527176, 0.007516143377870321, 0.004119207616895437, 0.062115393579006195, 0.0032682809978723526, 0.0016217264346778393, -0.04644209146499634, 0.07677751779556274, -0.011890402995049953, -0.040483348071575165, -0.06247653067111969, 0.020368071272969246, 0.011375783942639828, -0.04149452596902847, 0.05160633474588394, -0.0064462777227163315, -0.03439820557832718, 0.015221882611513138, 0.004952077753841877, -0.032303616404533386, -0.02573094144463539, 0.004265919327735901, -0.01524896826595068, -0.004500657320022583, -0.015492734499275684, -0.023166874423623085, 0.04019443690776825, -0.0548565611243248, -0.02694074623286724, 0.03098546899855137, 0.013046038337051868, -0.00023431520094163716, -0.027554677799344063, 0.0393277108669281, -0.04611706733703613, -0.039761073887348175, 0.0137141402810812, 0.05315922200679779, -0.017722750082612038, -0.024033602327108383, -0.005575037095695734, 0.0033359939698129892, -0.03235778585076332, -0.09895126521587372, -0.0319063663482666, 0.05875682830810547, 0.04687545448541641, -0.017497040331363678, 0.009087084792554379, -0.0493311807513237, 0.009976382367312908, -0.02632681466639042, -0.0040672942996025085, 0.033242568373680115, -0.07396065443754196, 0.032484184950590134, -0.03549966961145401, 0.02973955124616623, 0.0059271445497870445, 0.047417156398296356, -0.0441669337451458, -0.016540030017495155, -0.0061528547666966915, 0.050486814230680466, 0.035824693739414215, 0.029378414154052734, 0.021776501089334488, 0.012034857645630836, -0.029468698427081108, -0.014653093181550503, -0.02235431969165802, -0.008662750013172626, -0.014635036699473858, -0.0220834668725729, 0.009651360101997852, -0.016043467447161674, -0.02341967076063156, -0.023853033781051636, 0.10046803951263428, -0.013786367140710354, 0.023546067997813225, -0.013118265196681023, -0.042144570499658585, 0.0441669337451458, -0.007904364727437496, 0.055217694491147995, 0.057492852210998535, -0.0058097755536437035, 0.019988877698779106, 0.05861237272620201, 0.0332786850631237, 0.08103892207145691, -0.004961105994880199, 0.03929159790277481, 0.0203500147908926, 0.00850475300103426, 0.011357727460563183, -0.017984572798013687, -0.0703854113817215, 0.020368071272969246, -0.02674212120473385, -0.022932136431336403, 0.02997428923845291, 0.04171120747923851, -0.02311270497739315, 0.02538786083459854, 0.03788316622376442, 0.03474128246307373, 0.03647473827004433, -0.029504811391234398, 0.041964005678892136, 0.06597954779863358, 0.06677404791116714, -0.02997428923845291, -0.011357727460563183, -0.03533715754747391, -0.06262098252773285, 0.04878947511315346, -0.03418152406811714, -0.0027107771020382643, 0.005936173256486654, -0.01324466336518526, 0.003293108893558383, -0.04922283813357353, -0.04571981728076935, -0.008428012020885944, -0.028276950120925903, 0.05547049269080162, -0.023509955033659935, -0.0469115674495697, 0.02863808535039425, -0.003990552853792906, 0.00673518655821681, 0.02000693418085575, 0.0002666199579834938, 0.057456739246845245, -0.06995204836130142, 0.03802762180566788, 0.08515587449073792, 0.04189177602529526, 0.02325715869665146, 0.06709907203912735, -0.06095976009964943, 0.015456621535122395, 0.026850461959838867, 0.006392107345163822, 0.0005030511529184878, -0.02842140384018421, -0.019086038693785667, 0.046658772975206375, -0.022300148382782936, -0.026164304465055466, 0.032827261835336685, 0.000043096504668937996, 0.005994857754558325, -0.01547467801719904, -0.02594762295484543, -0.011294528841972351, 0.03882212191820145, -0.045214228332042694, 0.012278623878955841, 0.07067431509494781, -0.04167509451508522, 0.042794618755578995, 0.039038803428411484, 0.00779602350667119, 0.03878600895404816, -0.0072949472814798355, -0.014905888587236404, 0.002726576989516616, -0.0220834668725729, -0.01973608322441578, 0.04846445098519325, -0.0002934230142273009, 0.02193901315331459, 0.012928669340908527, -0.01663934253156185, 0.03723312169313431, -0.0001801447942852974, 0.01876101642847061, 0.01969997026026249, 0.07908878475427628, -0.05929853394627571, -0.023365499451756477, 0.007290433160960674, -0.039688847959041595, -0.08977840840816498, 0.0014411583542823792, -0.02462947554886341, 0.05958744138479233, 0.0586484894156456, 0.025135066360235214, 0.10711294412612915, -0.022173751145601273, 0.02231820486485958 ]
10,997
burnman.classes.mineral_helpers
__init__
Takes a transition pressure, and two minerals. Use the thermoelastic parameters for ls_mat below the transition pressure, and the thermoelastic parameters for hs_mat above the transition pressure
def __init__(self, transition_pressure, ls_mat, hs_mat): """ Takes a transition pressure, and two minerals. Use the thermoelastic parameters for ls_mat below the transition pressure, and the thermoelastic parameters for hs_mat above the transition pressure """ Material.__init__(self) self.transition_pressure = transition_pressure self.ls_mat = ls_mat self.hs_mat = hs_mat Composite.__init__(self, [ls_mat, hs_mat])
(self, transition_pressure, ls_mat, hs_mat)
[ 0.01990130916237831, -0.04734690487384796, 0.01461473386734724, 0.03361481800675392, -0.05281000956892967, -0.029359541833400726, -0.03569599986076355, 0.02036585845053196, -0.03749845176935196, 0.02995416522026062, -0.002996345516294241, 0.08978816866874695, -0.04868480935692787, 0.05767849087715149, -0.048573318868875504, 0.015934055671095848, 0.013174629770219326, -0.0006370137562043965, 0.0033679853659123182, -0.033410415053367615, -0.021555107086896896, -0.003999772947281599, -0.026962464675307274, 0.0717264711856842, 0.0010928531410172582, 0.05674939230084419, -0.01640789583325386, 0.0012775117065757513, 0.004101973958313465, -0.039059340953826904, -0.03526861220598221, -0.0007827662630006671, 0.008807862177491188, 0.021294958889484406, 0.030455878004431725, -0.02772432565689087, 0.013871453702449799, 0.030455878004431725, -0.10614031553268433, 0.07023991644382477, 0.08815295249223709, -0.045079901814460754, 0.0666721761226654, -0.01624065823853016, 0.022019656375050545, 0.01741132326424122, 0.016705207526683807, 0.007604678627103567, 0.001153244636952877, -0.049465253949165344, -0.00800419133156538, -0.030994756147265434, 0.04556303471326828, -0.022558534517884254, -0.07967956364154816, 0.09558574855327606, 0.04180947318673134, 0.0580872967839241, -0.005518850404769182, -0.008747470565140247, -0.05139777809381485, 0.01893504522740841, 0.008259694091975689, -0.0387248620390892, -0.043556179851293564, -0.028839245438575745, -0.056377753615379333, 0.016844572499394417, 0.017615724354982376, 0.09194367378950119, 0.015971219167113304, 0.024453897029161453, -0.011362886056303978, -0.0020672462414950132, 0.017959492281079292, -0.007014700677245855, -0.04652929678559303, 0.016064127907156944, 0.0046385289169847965, -0.030883263796567917, -0.018247513100504875, 0.007116901688277721, -0.05838460847735405, 0.02198249287903309, -0.016983937472105026, -0.014196638949215412, -0.03623487800359726, -0.004626914858818054, 0.007335240021348, 0.006257484667003155, -0.07436511665582657, 0.02341330423951149, 0.001144534326158464, 0.014447495341300964, 0.09179501980543137, 0.017708634957671165, -0.02447247877717018, -0.017244085669517517, 0.015292976051568985, -0.021387867629528046, -0.017829418182373047, -0.006243547890335321, -0.027018209919333458, -0.01727195829153061, -0.010415204800665379, -0.056712228804826736, -0.044262297451496124, -0.01990130916237831, 0.030362969264388084, 0.011046991683542728, -0.019083701074123383, 0.0026154147926717997, -0.07455093413591385, 0.022186893969774246, -0.06656067818403244, -0.003760529914870858, -0.000912259507458657, -0.0001987401774385944, 0.04403931275010109, -0.02601478435099125, 0.012431350536644459, 0.0024969547521322966, -0.005802225787192583, 0.05693521350622177, 0.025977618992328644, 0.04128917679190636, -0.002257711486890912, -0.04203245788812637, -0.008036710321903229, -0.05221538618206978, -0.018414750695228577, -0.014261675998568535, -0.020310113206505775, -0.006903208792209625, -0.03374489024281502, -0.04519139602780342, 0.003702461253851652, -0.010108601301908493, -0.010164347477257252, 0.03361481800675392, 0.026925301179289818, 0.027334105223417282, -0.01971548981964588, 0.0017873549368232489, -0.06499979645013809, 0.03166370838880539, 0.03320601209998131, -0.03790725767612457, -0.02214973047375679, 0.04887063056230545, -0.05778998136520386, 0.0314035601913929, -0.00003400649075047113, -0.0076232608407735825, 0.0030892554204910994, -0.020867573097348213, 0.03668084368109703, -0.0393194854259491, 0.025977618992328644, 0.03957963362336159, -0.0172998309135437, 0.0007392147090286016, -0.011966800317168236, 0.029285212978720665, -0.01233843993395567, 0.02097906544804573, 0.007428149692714214, -0.10316719859838486, -0.004961390979588032, -0.027315523475408554, -0.019622579216957092, -0.06626337021589279, -0.004615301266312599, -0.02008712850511074, -0.016212783753871918, -0.009216666221618652, 0.000001837330387388647, 0.014205929823219776, -0.011260684579610825, -0.015618161298334599, -0.023264648392796516, 0.004345862660557032, -0.03723830357193947, 0.008487323299050331, 0.011279267258942127, -0.002352944342419505, 0.00977412611246109, -0.005161147098988295, 0.042366933077573776, -0.025531651452183723, 0.01399223692715168, 0.0029173721559345722, -0.018201056867837906, 0.02304166555404663, 0.027036793529987335, 0.009504687041044235, 0.060391463339328766, -0.026126274839043617, 0.03227691352367401, 0.08109179884195328, -0.08205805718898773, -0.03991410881280899, -0.0072516207583248615, 0.006224966142326593, 0.060577280819416046, -0.006666288245469332, -0.0015109479427337646, 0.021462196484208107, -0.04459677264094353, -0.013081720098853111, -0.025680307298898697, -0.016863154247403145, 0.054742537438869476, 0.023729199543595314, 0.046306315809488297, -0.06150637939572334, -0.03121774084866047, -0.051249124109745026, 0.013722797855734825, -0.002201965544372797, 0.05262419208884239, -0.006248193327337503, 0.0010481402277946472, -0.009007618762552738, -0.029266631230711937, 0.02564314380288124, -0.005165792535990477, -0.00995994545519352, -0.04396498575806618, 0.04314737766981125, -0.03983978182077408, -0.013509104959666729, -0.003723365953192115, 0.009119111113250256, -0.014047983102500439, 0.02467687986791134, -0.03614196553826332, -0.013982946053147316, -0.0900854766368866, -0.034135110676288605, 0.00447593629360199, -0.013499814085662365, -0.016036255285143852, -0.01668662577867508, 0.027501342818140984, -0.04459677264094353, 0.04073171690106392, 0.04314737766981125, -0.05786431208252907, 0.002703679259866476, -0.039059340953826904, 0.011948218569159508, 0.0064618862234056, 0.028634844347834587, -0.010350167751312256, -0.051249124109745026, 0.010387331247329712, -0.0409175381064415, 0.007335240021348, -0.06106041371822357, 0.0033006255980581045, -0.03957963362336159, 0.023376140743494034, 0.0983358845114708, 0.018572697415947914, -0.0035305777564644814, -0.023543378338217735, 0.006420076824724674, -0.03545443341135979, 0.018405459821224213, 0.13230375945568085, 0.0169003177434206, -0.013016683049499989, 0.014289548620581627, -0.0035282550379633904, -0.018340421840548515, 0.01847049593925476, -0.029396705329418182, -0.010396622121334076, 0.02987983636558056, 0.0479043647646904, -0.0022565501276403666, -0.035733163356781006, 0.01497708261013031, 0.02915513888001442, -0.04314737766981125, -0.010052856057882309, -0.031329233199357986, 0.0014424268156290054, -0.03357765078544617, 0.005607115104794502, 0.029303794726729393, 0.0123756043612957, 0.0045316824689507484, 0.09186934679746628, -0.024788372218608856, -0.04017425701022148, 0.04979972913861275, 0.006494404748082161, -0.03643927723169327, 0.09766692668199539, -0.056191932410001755, 0.04567452520132065, -0.0076279062777757645, -0.06180369108915329, -0.03433951362967491, 0.011632324196398258, 0.024621134623885155, 0.015265103429555893, 0.010433786548674107, 0.05567163601517677, 0.08897055685520172, -0.02573605440557003, 0.05552298203110695, -0.009671924635767937, -0.00431334413588047, 0.0367923378944397, -0.026312096044421196, 0.028634844347834587, 0.07529421895742416, 0.024286659434437752, -0.0663376972079277, -0.0055420780554413795, -0.00012041999434586614, 0.015590287744998932, -0.026702316477894783, 0.0003487026260700077, -0.029824091121554375, 0.00394867267459631, 0.021648015826940536, -0.08049717545509338, 0.02044018730521202, 0.044113639742136, 0.012143329717218876, -0.023915018886327744, -0.03827889636158943, -0.019436759874224663, -0.010879754088819027, -0.0072376844473183155, -0.06607755273580551, 0.0751827210187912, 0.009579014964401722, -0.021722344681620598, 0.017281249165534973, 0.029025064781308174, -0.06890201568603516, 0.03257422521710396, -0.0644051730632782, 0.006229611579328775, 0.02529008500277996, -0.04359334334731102, 0.02573605440557003, 0.011938927695155144, 0.029545361176133156, 0.05381343886256218, 0.08086881041526794, -0.062026675790548325, -0.03335466980934143, -0.011288558132946491, -0.010693933814764023, 0.09826155006885529, 0.03229549527168274, -0.04143783450126648, 0.018015237525105476, -0.0095139779150486, -0.024825535714626312, 0.004220433998852968, 0.014085146598517895, 0.013230375945568085, -0.016816699877381325, 0.018080273643136024, -0.06020564213395119, -0.0034260540269315243, 0.03850188106298447, -0.03662509843707085, -0.005658215377479792, -0.06656067818403244, 0.02296733669936657, 0.035119958221912384, -0.07202378660440445, -0.0016654107021167874, -0.03077177330851555, -0.01965974271297455, -0.014726225286722183, -0.026051947847008705, -0.022093983367085457, -0.0058393897488713264, 0.007757979910820723, 0.04779287427663803, 0.04073171690106392, 0.03103191964328289, -0.03203534707427025, 0.03560309112071991, -0.06418218463659286, 0.020161457359790802, 0.023115992546081543, 0.07380765676498413, 0.01421522069722414, -0.04296155646443367, -0.050171367824077606, -0.018814263865351677, -0.09053144603967667, -0.02844902314245701, 0.028672007843852043, -0.01264504250138998, -0.06496263295412064, 0.0479043647646904, 0.0710575208067894, 0.017606433480978012, 0.014902754686772823, 0.023376140743494034, -0.007953090593218803, -0.043444689363241196, -0.031607963144779205, -0.0015364981954917312, -0.07362183928489685, 0.053962092846632004, -0.06366188824176788, 0.009318866766989231, -0.0011462763650342822, 0.02116488479077816, 0.05128628760576248, 0.0580872967839241, 0.014243094250559807, 0.03129206970334053, -0.013081720098853111, -0.06488830596208572, 0.0038557625375688076, -0.007534996140748262, -0.022670025005936623, -0.05630342289805412, 0.016342857852578163, -0.028300367295742035, -0.03612338379025459, 0.015404468402266502, 0.00046484003541991115, -0.0018372940830886364, 0.002933631418272853, 0.02620060369372368, -0.011873890645802021, 0.06132056191563606, -0.015543833374977112, 0.028411859646439552, -0.029080811887979507, -0.07228393107652664, -0.020310113206505775, 0.007028636988252401, 0.01659371517598629, -0.024007929489016533, -0.007688297424465418, 0.03526861220598221, 0.0507659912109375, 0.003967254422605038, -0.04206962138414383, 0.06276995688676834, -0.03391212970018387, 0.014103729277849197, -0.036104802042245865, 0.009978527203202248, -0.007525705266743898, 0.013527687638998032, 0.0037953711580485106, -0.01705826446413994, -0.003906862810254097, -0.030976174399256706, 0.008310793898999691, 0.050617337226867676, -0.04671511799097061, 0.002541086869314313, -0.005333030596375465, 0.027296939864754677, 0.02772432565689087, 0.01161374244838953, -0.05065450072288513, -0.009184147231280804, -0.005100755952298641, 0.005672151688486338, -0.028040220960974693, -0.017216211184859276, -0.035119958221912384, -0.028727753087878227, -0.05626625940203667, 0.03532436117529869, 0.03623487800359726, -0.027928728610277176, 0.037814345210790634, -0.012366313487291336, -0.05883057415485382, 0.047049593180418015, -0.01026654802262783, -0.06960812956094742, 0.02772432565689087, 0.049390923231840134, 0.07525705546140671, -0.044113639742136, 0.04849898815155029, -0.003228620393201709, -0.015627451241016388, 0.005658215377479792, 0.0007409568061120808, 0.0016166329151019454, 0.002863948931917548, -0.014949209056794643, -0.021146303042769432, -0.005871908273547888, -0.055225670337677, 0.0009709089063107967, -0.02071891725063324, -0.014847008511424065, 0.023654870688915253, 0.04452244192361832, -0.05046867951750755, 0.009644052013754845, 0.012161911465227604, -0.04009993001818657, -0.025531651452183723, -0.06295577436685562, 0.049390923231840134, 0.01542305015027523, 0.011446504853665829, 0.06975678354501724, 0.023283232003450394, 0.027928728610277176, -0.05184374749660492, 0.0045432960614562035, -0.014475368894636631, -0.024082256481051445, -0.0466407909989357, 0.030102821066975594, 0.014958500862121582, -0.03110624849796295, -0.0495024174451828, -0.06016847863793373, 0.04671511799097061, -0.018851427361369133, 0.016798118129372597, 0.007404922507703304, -0.01677953451871872, -0.00517972931265831, -0.05095181241631508, -0.005077528301626444, 0.0021938360296189785, 0.08280134201049805, -0.020774662494659424, 0.014521824195981026, -0.005114692263305187, -0.029917001724243164, -0.0026293513365089893, -0.03787009045481682, 0.003435345133766532, 0.01013647485524416, -0.031143411993980408, -0.08748400211334229, 0.009569724090397358, 0.04266424477100372, 0.021499359980225563, -0.006368976552039385, -0.046306315809488297, -0.006564087234437466, 0.04099186509847641, 0.053590454161167145, 0.029452450573444366, 0.03084610030055046, 0.018479786813259125, -0.016835281625390053, -0.03461824357509613, 0.021109137684106827, 0.015255812555551529, -0.03500846400856972, 0.0011718266177922487, 0.017922326922416687, 0.010117892175912857, 0.0010324617614969611, 0.039616797119379044, 0.010294421575963497, -0.014707643538713455, 0.03381921723484993, 0.02393360063433647, -0.03549159690737724, -0.04671511799097061, 0.06552009284496307, 0.006317875813692808, -0.06734112650156021, -0.03495271876454353, 0.021146303042769432, 0.01727195829153061, -0.03920799493789673, 0.02512284740805626, -0.005602469202131033, -0.038353223353624344, 0.03443242236971855, 0.015348722226917744, -0.03210967406630516, 0.0026758064050227404, -0.03879919275641441, 0.016296403482556343, -0.00573718873783946, -0.031719453632831573, -0.013304703868925571, 0.02709253877401352, -0.04024858772754669, 0.009644052013754845, 0.008185366168618202, 0.02672089822590351, 0.027928728610277176, -0.03764710947871208, 0.03616054728627205, 0.004471290856599808, -0.02932237647473812, 0.009021555073559284, 0.07440228015184402, -0.020235784351825714, -0.02322748489677906, -0.019158029928803444, 0.006670933682471514, -0.033243175595998764, -0.08792997151613235, -0.004269211553037167, 0.07142916321754456, 0.02421233057975769, -0.03084610030055046, 0.010229384526610374, -0.03192385658621788, 0.02369203418493271, -0.025438742712140083, 0.0006190124549902976, 0.0077301072888076305, -0.1192963644862175, 0.013304703868925571, -0.03651360794901848, 0.05578313022851944, 0.01407585572451353, 0.026962464675307274, -0.030177148059010506, -0.02025436796247959, 0.00033389509189873934, 0.034395258873701096, 0.012366313487291336, 0.031199157238006592, 0.055374324321746826, -0.016556551679968834, 0.013583432883024216, -0.01511644758284092, -0.04177230969071388, -0.004064809996634722, -0.013276830315589905, -0.024249494075775146, 0.005165792535990477, -0.007019346114248037, -0.011260684579610825, -0.00925847515463829, 0.07191229611635208, -0.013592724688351154, 0.0288764089345932, -0.01223623938858509, -0.009829871356487274, 0.002480695489794016, -0.00973696168512106, 0.05964818224310875, 0.03820456936955452, 0.012905190698802471, 0.005639633629471064, 0.06916216015815735, 0.03316884860396385, 0.07157781720161438, -0.026070529595017433, 0.033596236258745193, -0.03417227789759636, 0.00517972931265831, 0.06321592628955841, -0.03813023865222931, -0.05165792629122734, 0.030567370355129242, -0.027780072763562202, -0.007618614938110113, 0.029303794726729393, 0.0287091713398695, -0.00029324699426069856, 0.06172936409711838, 0.033410415053367615, 0.04979972913861275, 0.03177519887685776, -0.01376925315707922, -0.013258248567581177, 0.03370772674679756, 0.04994838312268257, -0.03023289516568184, 0.037163976579904556, -0.017782961949706078, -0.05433373153209686, 0.04169798269867897, -0.046938102692365646, 0.0077440435998141766, 0.006499050185084343, -0.014781971462070942, 0.019139448180794716, -0.06351323425769806, -0.057269688695669174, 0.015237229876220226, 0.004736084025353193, 0.02116488479077816, 0.025327250361442566, -0.08257835358381271, 0.05626625940203667, -0.019250940531492233, 0.008580232970416546, 0.030827518552541733, 0.0012055065017193556, 0.05541148781776428, -0.08101747184991837, 0.004826671443879604, 0.0672667995095253, 0.06596605479717255, -0.0068335263058543205, 0.05693521350622177, -0.01893504522740841, 0.04727257788181305, 0.044262297451496124, -0.00973696168512106, -0.013899327255785465, -0.0006590798730030656, -0.014624024741351604, 0.07116901129484177, -0.017327703535556793, -0.0009383903816342354, 0.004845253191888332, -0.010071437805891037, -0.002088150940835476, 0.02231696806848049, -0.04340752586722374, 0.003200747538357973, 0.027334105223417282, -0.02798447385430336, -0.0026688380166888237, 0.034320931881666183, -0.03129206970334053, 0.03686666488647461, 0.026405004784464836, 0.01750423200428486, 0.04463393613696098, -0.022447042167186737, -0.0027152930852025747, -0.0025503779761493206, -0.0095139779150486, -0.01647293195128441, 0.03695957362651825, -0.00048690615221858025, 0.032685715705156326, 0.011260684579610825, 0.012580006383359432, 0.03040013276040554, 0.004882417619228363, 0.02430524118244648, 0.009532559663057327, 0.05946236103773117, -0.04017425701022148, 0.02027294971048832, -0.03281579166650772, -0.059313707053661346, -0.08852459490299225, -0.018591279163956642, -0.04905644804239273, 0.058421771973371506, 0.047941528260707855, 0.035565923899412155, 0.07410497218370438, 0.032053928822278976, 0.013109592720866203 ]
11,003
burnman.classes.mineral_helpers
debug_print
null
def debug_print(self, indent=""): print("%sHelperSpinTransition:" % indent) self.ls_mat.debug_print(indent + " ") self.hs_mat.debug_print(indent + " ")
(self, indent='')
[ 0.01573365554213524, 0.006294343154877424, 0.020807892084121704, 0.034656327217817307, 0.004497217945754528, -0.023556435480713844, -0.01975075900554657, 0.02413785830140114, -0.03858533501625061, -0.004567693453282118, -0.026410693302750587, 0.015918653458356857, 0.005673277657479048, 0.017107928171753883, -0.04778238758444786, -0.002188044134527445, 0.04933284968137741, -0.013786769472062588, -0.01864076964557171, 0.024402141571044922, 0.034585852175951004, 0.0718497708439827, -0.0016187340952455997, 0.031555406749248505, -0.03388109803199768, 0.03802153095602989, -0.04006532207131386, -0.06036226451396942, 0.009567049331963062, 0.0027507469058036804, -0.04186244681477547, -0.04260243847966194, -0.009311575442552567, -0.005563159938901663, -0.03160826116800308, 0.001127608004026115, 0.013610580936074257, -0.05571088194847107, -0.05969274789094925, -0.005770181771367788, 0.07421070337295532, -0.01975075900554657, 0.002988601801916957, -0.041545309126377106, -0.04707763344049454, 0.004133828449994326, 0.09929998219013214, 0.016764359548687935, 0.02202359400689602, -0.042109113186597824, 0.07590211182832718, -0.03819772228598595, 0.01735459268093109, 0.0016903107753023505, -0.008703724481165409, 0.017997680231928825, 0.05941084772348404, -0.0796373188495636, 0.03773963078856468, -0.03248920664191246, -0.006065297871828079, 0.02894781157374382, 0.0014634678373113275, 0.059939414262771606, -0.025547368451952934, -0.04225006327033043, 0.006955050863325596, -0.012456544674932957, -0.019645046442747116, 0.030603986233472824, -0.014685332775115967, 0.0025899745523929596, -0.036893922835588455, 0.010562515817582607, -0.03152016922831535, -0.03543155640363693, -0.04105198010802269, -0.05232805758714676, 0.02101931720972061, -0.08041254431009293, -0.036612022668123245, -0.025071660056710243, -0.022710729390382767, 0.024983564391732216, -0.027784965932369232, -0.03992437198758125, 0.019768377766013145, 0.00475709605962038, -0.006703982129693031, 0.013804388232529163, -0.0566975399851799, -0.00617101090028882, -0.023433104157447815, 0.02003266103565693, -0.029476378113031387, 0.020649321377277374, 0.005439827684313059, -0.04538622125983238, -0.034621089696884155, -0.0041096024215221405, 0.015011281706392765, -0.059939414262771606, -0.043659571558237076, 0.007545283064246178, -0.04936808720231056, -0.06096130609512329, -0.03345824405550957, -0.002993006492033601, -0.012192261405289173, 0.018658388406038284, -0.00021128884691279382, -0.013363916426897049, -0.032471586018800735, -0.0034907397348433733, 0.048205241560935974, -0.025899745523929596, 0.05789562314748764, 0.0030106252525001764, 0.01820029877126217, -0.03897295147180557, 0.034427281469106674, -0.050389982759952545, -0.012421307153999805, -0.04711287096142769, -0.0028124130330979824, -0.0054574464447796345, 0.007558497600257397, 0.06807933002710342, 0.005704110953956842, -0.03042779676616192, 0.05521755293011665, -0.03345824405550957, -0.04077007621526718, 0.035413939505815506, 0.03590726852416992, 0.004050138872116804, 0.019609807059168816, -0.035343464463949203, 0.02723878063261509, 0.041474830359220505, -0.04189768433570862, -0.08633248507976532, -0.0856982097029686, 0.011778217740356922, 0.005726134404540062, 0.018781721591949463, 0.0221821628510952, 0.06698696315288544, 0.0245254747569561, 0.007990160025656223, 0.0037396063562482595, 0.015575085766613483, -0.018429342657327652, -0.014887949451804161, 0.0036140717566013336, 0.011443459428846836, 0.03356395661830902, -0.01178702712059021, 0.016464838758111, -0.012007263489067554, -0.03093874454498291, -0.06459079682826996, -0.008760985918343067, 0.009637524373829365, 0.012756065465509892, 0.047007158398628235, -0.0221821628510952, 0.008699319325387478, 0.0043056127615273, 0.00005161779699847102, -0.02345072291791439, -0.02676307037472725, -0.02560022473335266, 0.009848951362073421, 0.05109473690390587, 0.017812682315707207, -0.016482457518577576, 0.007518854923546314, -0.03869105130434036, -0.06621173024177551, -0.020208850502967834, -0.0016770967049524188, -0.012553448788821697, 0.027855440974235535, -0.004673406481742859, -0.03886723890900612, 0.03372252732515335, -0.05627468600869179, 0.03911390155553818, -0.004532455466687679, 0.003966449294239283, 0.046760495752096176, -0.022605016827583313, 0.005144711583852768, 0.02480737678706646, 0.014738189056515694, 0.038796763867139816, -0.0641327053308487, 0.122345469892025, -0.06067940592765808, 0.016438409686088562, -0.024155477061867714, -0.052786149084568024, 0.019680283963680267, 0.05578135699033737, 0.0003287021245341748, 0.004726263228803873, -0.006316366605460644, 0.011258461512625217, -0.014139147475361824, -0.007170882076025009, -0.008457059971988201, 0.04651382938027382, -0.04288434237241745, 0.011029415763914585, -0.015539848245680332, -0.03608345612883568, 0.020296944305300713, -0.030286846682429314, 0.012553448788821697, 0.03536108136177063, -0.009760856628417969, -0.023961670696735382, -0.046760495752096176, -0.036893922835588455, 0.024419760331511497, 0.04048817604780197, -0.011910359375178814, -0.06709267944097519, -0.013927720487117767, 0.005210782401263714, -0.025177372619509697, -0.0767478197813034, 0.032471586018800735, -0.0010791560634970665, 0.0322425402700901, -0.06395651400089264, -0.02648117020726204, 0.03144969046115875, -0.042426250874996185, -0.03254206106066704, 0.02922971360385418, 0.04929761216044426, -0.02572355791926384, 0.03668249770998955, -0.06793837994337082, 0.02663973905146122, -0.007043145131319761, -0.030110657215118408, 0.022305496037006378, -0.03862057253718376, -0.021812167018651962, 0.017389830201864243, 0.0036140717566013336, -0.009276337921619415, -0.01383962668478489, 0.05292709916830063, 0.05391375720500946, 0.012712018564343452, 0.006333985831588507, -0.026304980739951134, -0.03245396912097931, -0.018905052915215492, -0.0044003138318657875, 0.05754324793815613, 0.01807696558535099, -0.03826819732785225, -0.029969707131385803, 0.006492555607110262, -0.03851485997438431, 0.09655143320560455, 0.018429342657327652, -0.09732666611671448, 0.04418813809752464, 0.0027771752793341875, -0.001547157415188849, 0.02515975385904312, -0.033704906702041626, -0.05141187831759453, -0.054371848702430725, 0.031678736209869385, -0.03805676847696304, -0.027450207620859146, 0.04531574621796608, -0.0475357249379158, -0.0490509495139122, -0.007272190880030394, -0.00012938861618749797, 0.026710214093327522, -0.013901292346417904, 0.006774457637220621, 0.05535850673913956, 0.0597279854118824, 0.012236308306455612, 0.07547926157712936, -0.014042243361473083, -0.03268301486968994, 0.04387100040912628, -0.047359537333250046, 0.04492812976241112, 0.03340538591146469, -0.08421822637319565, 0.013196537271142006, 0.004660192411392927, 0.0019061421044170856, 0.014077480882406235, -0.009126577526330948, 0.02967018634080887, 0.0222174022346735, -0.046690020710229874, 0.006981479469686747, 0.04439956694841385, 0.06215939298272133, 0.03470918536186218, 0.024860233068466187, 0.001735459198243916, -0.046760495752096176, 0.02353881672024727, 0.028243057429790497, 0.09669238328933716, -0.0014656701823696494, 0.032031115144491196, -0.009452526457607746, 0.08464107662439346, -0.013601771555840969, -0.08111730217933655, 0.0199093297123909, 0.01895790919661522, 0.008122301660478115, -0.0003482480824459344, -0.06800885498523712, -0.01702864281833172, 0.009232290089130402, 0.007888851687312126, 0.032753489911556244, 0.028331151232123375, -0.05179949104785919, -0.015848178416490555, -0.012993920594453812, 0.00007777081918902695, 0.08682581782341003, 0.006770052947103977, -0.0037792488001286983, -0.0013291238574311137, 0.05842418968677521, 0.009214671328663826, 0.013020348735153675, 0.0412634052336216, 0.02644593082368374, 0.03992437198758125, -0.021635979413986206, 0.006703982129693031, 0.014103909954428673, 0.018464580178260803, -0.01363700907677412, 0.02269311062991619, -0.007404332049190998, -0.0445052795112133, -0.003768236842006445, 0.06793837994337082, 0.020578846335411072, 0.015363658778369427, -0.00011149444617331028, 0.04630240425467491, 0.054336611181497574, -0.07688876986503601, -0.01596270129084587, -0.02464880608022213, 0.0703345462679863, 0.019997423514723778, -0.02468404360115528, -0.000595187651924789, 0.004818762186914682, 0.016420790925621986, -0.09732666611671448, 0.0612432099878788, -0.0032683012541383505, 0.03460346907377243, 0.036647260189056396, -0.09915903210639954, 0.04309576749801636, -0.014165575616061687, 0.02265787310898304, 0.017495542764663696, -0.025476893410086632, -0.026058316230773926, 0.006320771295577288, 0.06029178947210312, 0.003127350239083171, -0.01690531149506569, -0.04249672591686249, 0.00681850453838706, 0.009646333754062653, 0.006034464575350285, -0.01132893655449152, -0.04964999109506607, 0.01395414862781763, -0.0003383374714758247, -0.0660003051161766, -0.03377538174390793, -0.0026736643631011248, -0.04031198471784592, -0.05137664079666138, -0.025230228900909424, 0.01706388033926487, -0.04031198471784592, 0.008703724481165409, 0.02803163044154644, 0.01009561587125063, 0.027978774160146713, 0.039677705615758896, -0.014341764152050018, -0.008990030735731125, 0.007818375714123249, 0.05053093284368515, -0.048839520663022995, -0.008364561013877392, 0.034973468631505966, -0.015046519227325916, 0.016931738704442978, 0.011795836500823498, -0.003021636977791786, 0.015116995200514793, 0.037246301770210266, 0.027221161872148514, -0.05243377387523651, -0.05852990224957466, 0.03773963078856468, 0.04038246348500252, -0.006338390521705151, -0.045210033655166626, 0.02635783702135086, 0.008197181858122349, 0.012007263489067554, 0.03344062343239784, -0.016605790704488754, 0.0017233461840078235, -0.003404847579076886, 0.038726288825273514, 0.04725382477045059, 0.06311081349849701, -0.007589330431073904, -0.030322084203362465, -0.05969274789094925, -0.01322296541184187, 0.036647260189056396, -0.0033828241284936666, 0.0025261063128709793, 0.00047130489838309586, 0.06212415546178818, -0.014685332775115967, 0.027767347171902657, -0.05458327382802963, -0.0414043553173542, 0.020737415179610252, -0.05141187831759453, 0.04069960117340088, 0.008686105720698833, -0.03921961411833763, -0.05394899472594261, -0.0008506613085046411, 0.019891709089279175, -0.04464622959494591, 0.04961475357413292, 0.031678736209869385, -0.00842182245105505, 0.023979289457201958, 0.021847404539585114, -0.05564040690660477, -0.04845190793275833, 0.04679573327302933, 0.031713973730802536, -0.03562536463141441, -0.017469115555286407, 0.024578331038355827, -0.003380621550604701, -0.028613053262233734, -0.003785855835303664, -0.03042779676616192, 0.01602436602115631, -0.10155519843101501, -0.07688876986503601, -0.014843902550637722, 0.026216886937618256, -0.0030084229074418545, 0.01750435307621956, 0.00643088947981596, -0.009408479556441307, 0.032912056893110275, -0.056556589901447296, 0.003376216860488057, 0.012571067549288273, -0.02894781157374382, -0.04158054664731026, -0.005602802149951458, -0.016931738704442978, -0.05852990224957466, -0.03166111931204796, -0.013196537271142006, 0.0055807786993682384, 0.007421951275318861, -0.0039003784768283367, 0.0445052795112133, 0.017777444794774055, -0.00020371824211906642, -0.019416000694036484, 0.04901571199297905, -0.00700790761038661, 0.0031647903379052877, -0.0072633810341358185, 0.06645839661359787, -0.012324403040111065, -0.016323888674378395, 0.023151202127337456, -0.023186439648270607, -0.03714058920741081, -0.01355772465467453, 0.040875788778066635, 0.07681829482316971, -0.01573365554213524, 0.016517695039510727, -0.04383576288819313, -0.014350573532283306, -0.03675297275185585, -0.012694399803876877, 0.028295913711190224, -0.008857889100909233, 0.05585183575749397, -0.03329967334866524, 0.06222986802458763, 0.005184353794902563, 0.01795363426208496, 0.03345824405550957, -0.005977203603833914, -0.02544165588915348, 0.12164071202278137, 0.01369867566972971, -0.08139920234680176, -0.021371696144342422, -0.020684558898210526, 0.053772807121276855, -0.03222492337226868, -0.00763337779790163, -0.050636645406484604, 0.011143938638269901, 0.01911647990345955, 0.008461465127766132, 0.014526762068271637, -0.015812940895557404, 0.022552160546183586, -0.0015328421723097563, -0.03416299819946289, -0.0206317026168108, -0.03529060631990433, 0.003180206986144185, 0.02660450153052807, 0.02034980058670044, 0.00043826951878145337, 0.040946267545223236, -0.010236566886305809, 0.015786511823534966, 0.0322425402700901, 0.018781721591949463, -0.0029379473999142647, 0.005171139724552631, -0.027855440974235535, 0.02635783702135086, -0.004312219563871622, 0.0306216049939394, 0.049790941178798676, 0.018816959112882614, -0.01101179700344801, -0.004831976722925901, 0.017398638650774956, -0.054125186055898666, 0.007668615318834782, 0.05391375720500946, 0.07107454538345337, 0.030093038454651833, -0.033352531492710114, 0.02389119379222393, 0.002959971083328128, 0.031079696491360664, -0.02575879544019699, -0.01341677363961935, -0.0006546513177454472, -0.043659571558237076, -0.046372879296541214, 0.03925485536456108, -0.05912894383072853, -0.035220131278038025, -0.055288031697273254, -0.04633764177560806, -0.01192797813564539, 0.026058316230773926, -0.006347199901938438, 0.01871124468743801, 0.05733181908726692, 0.013848436065018177, 0.03433918580412865, -0.031273502856492996, 0.029811136424541473, 0.01178702712059021, 0.033193960785865784, 0.010122044011950493, -0.02357405424118042, 0.0644146054983139, 0.006726005580276251, -0.028401626273989677, 0.03324681892991066, -0.019081242382526398, -0.018482200801372528, 0.02214692533016205, -0.04831095412373543, -0.02309834584593773, -0.062335580587387085, 0.03587203100323677, -0.002640628954395652, 0.030410178005695343, 0.05571088194847107, -0.01595389097929001, 0.03516727313399315, -0.07702971994876862, -0.002272835001349449, 0.01716078445315361, 0.04841667041182518, 0.01216583326458931, -0.018922671675682068, 0.06970027089118958, -0.06836123764514923, 0.022904537618160248, 0.01931028626859188, -0.004550074692815542, -0.0672336295247078, -0.040558651089668274, -0.050354745239019394, 0.00979609414935112, 0.01975075900554657, -0.057437531650066376, 0.0029423520900309086, 0.007025526370853186, 0.004241744056344032, -0.03788058087229729, 0.021371696144342422, 0.006726005580276251, -0.004144840408116579, -0.040911026298999786, -0.04510432109236717, 0.025353562086820602, 0.04757096245884895, -0.043342433869838715, 0.027185924351215363, -0.05236329510807991, 0.05482994019985199, -0.0029137213714420795, -0.013399154879152775, 0.024296429008245468, 0.00571292033419013, 0.023715006187558174, 0.026181647554039955, -0.03883200138807297, -0.010421564802527428, -0.02193550020456314, -0.00790206529200077, 0.06444984674453735, 0.01104703452438116, -0.016359126195311546, 0.04556241258978844, 0.027961155399680138, -0.08950388431549072, -0.021688835695385933, -0.015152232721447945, 0.005369352176785469, -0.026304980739951134, -0.03174921125173569, 0.005281257908791304, 0.05944608524441719, -0.0090076494961977, 0.05416042357683182, -0.02177692949771881, 0.043941475450992584, -0.01735459268093109, 0.0023587269242852926, -0.07554973661899567, 0.0058054192923009396, 0.07160311192274094, -0.033986810594797134, 0.018623150885105133, -0.022922156378626823, 0.002926935674622655, -0.05444232374429703, -0.05757848545908928, 0.029969707131385803, 0.009417288936674595, -0.0066335066221654415, 0.015425325371325016, 0.04295481741428375, -0.05444232374429703, 0.040911026298999786, -0.06409746408462524, 0.021724073216319084, 0.0047526913695037365, 0.021812167018651962, 0.02214692533016205, 0.028894955292344093, 0.008664081804454327, 0.050389982759952545, -0.024789758026599884, -0.034938231110572815, 0.0011540362611413002, 0.08457060158252716, 0.05736705660820007, 0.005541136022657156, 0.005400185007601976, 0.0029071143362671137, -0.035378701984882355, -0.05165854096412659, -0.024507855996489525, 0.02679830975830555, 0.03240111097693443, -0.06631744652986526, -0.004726263228803873, -0.010483230464160442, -0.0398186594247818, -0.024701662361621857, 0.09063149243593216, -0.05888228118419647, 0.01618293672800064, 0.022605016827583313, 0.009373241104185581, -0.028859717771410942, 0.011901549994945526, -0.0535966195166111, 0.029846373945474625, -0.003477525431662798, 0.005179949104785919, 0.01664983667433262, 0.036259643733501434, 0.05891751870512962, 0.007602544501423836, 0.0014557595131918788, 0.0059287515468895435, 0.07082787901163101, 0.008113492280244827, 0.00758492574095726, 0.0628289058804512, 0.006646720692515373, 0.04950903728604317, -0.04838142916560173, 0.02214692533016205, 0.07498592883348465, 0.006082916632294655, -0.025670701637864113, -0.006668744143098593, 0.04894523322582245, -0.01433295477181673, 0.00947895459830761, -0.039395805448293686, 0.003973056562244892, -0.07681829482316971, -0.02715068683028221, -0.029916850849986076, 0.05091854929924011, 0.09091339260339737, -0.02237597107887268, 0.07583163678646088, -0.04031198471784592, 0.017055071890354156 ]
11,011
burnman.classes.mineral_helpers
set_state
null
def set_state(self, pressure, temperature): if pressure >= self.transition_pressure: Composite.set_fractions(self, [1.0, 0.0]) else: Composite.set_fractions(self, [0.0, 1.0]) Composite.set_state(self, pressure, temperature)
(self, pressure, temperature)
[ -0.021169649437069893, 0.012333095073699951, 0.006733437068760395, 0.021862033754587173, -0.0136486254632473, 0.0007356582791544497, -0.02089269645512104, -0.011484924703836441, -0.013700554147362709, 0.0015676012262701988, -0.0032844978850334883, 0.032576680183410645, 0.016340268775820732, 0.024995071813464165, -0.03728489205241203, -0.006149237975478172, 0.018884781748056412, 0.01094832643866539, -0.02480466663837433, -0.006677180994302034, -0.0028560850769281387, -0.04022752493619919, 0.03718103468418121, 0.04431259259581566, -0.01296489592641592, -0.014938190579414368, -0.017742346972227097, -0.021065792068839073, -0.019334830343723297, -0.02258903719484806, -0.005785736255347729, 0.008975030854344368, 0.016504710540175438, 0.028595469892024994, 0.03446342796087265, 0.04438183084130287, -0.005089024547487497, 0.026691414415836334, -0.06037591025233269, 0.019213663414120674, -0.0051322984509170055, 0.0020717435982078314, -0.029495570808649063, 0.03513850271701813, 0.036142461001873016, -0.005011131055653095, 0.0646686926484108, 0.03673098608851433, 0.09423349797725677, -0.027972325682640076, -0.0014485977590084076, 0.012869692407548428, -0.012661977671086788, -0.006339643616229296, 0.003658818081021309, 0.017776966094970703, 0.08502478897571564, 0.03662712872028351, 0.0014226333005353808, -0.01124258991330862, 0.0038730246014893055, 0.029339784756302834, -0.021965891122817993, -0.0795549526810646, -0.021238887682557106, -0.03683484345674515, -0.000042935938836308196, 0.02534126490354538, -0.013622661121189594, 0.058991141617298126, 0.0017093237256631255, 0.019213663414120674, -0.0006020497530698776, -0.028283897787332535, -0.024060353636741638, -0.003734547644853592, -0.06439173966646194, 0.0461127944290638, -0.04407025873661041, -0.021498531103134155, -0.03463652357459068, -0.011095457710325718, 0.029391713440418243, 0.049332380294799805, -0.038150373846292496, -0.01739615574479103, -0.01010015606880188, 0.016331614926457405, -0.015223799273371696, 0.016331614926457405, -0.01376113761216402, 0.017352880910038948, 0.011095457710325718, 0.0026505335699766874, 0.12075182050466537, 0.0413353405892849, -0.044451069086790085, 0.009892440401017666, -0.009546248242259026, -0.034809619188308716, -0.04960933327674866, -0.0010872597340494394, -0.06473793089389801, -0.07886257022619247, -0.010783885605633259, -0.07498522102832794, 0.024770047515630722, 0.022450560703873634, 0.028595469892024994, -0.05165186896920204, -0.019005948677659035, -0.0032693520188331604, -0.06144910305738449, -0.0036155441775918007, -0.05317511409521103, 0.01030787080526352, 0.04818994551897049, -0.030759172514081, -0.02863009087741375, -0.031365007162094116, 0.010576169937849045, 0.009217365644872189, 0.014375628903508186, 0.04898618906736374, 0.006335316225886345, 0.030672622844576836, 0.03759646788239479, 0.028335826471447945, 0.015466134063899517, -0.04884771257638931, -0.009736654348671436, 0.04358559101819992, 0.010480967350304127, 0.01158878207206726, -0.03318251669406891, -0.02978983335196972, -0.05497531220316887, -0.02878587692975998, -0.009537593461573124, -0.01930021122097969, 0.02757420390844345, -0.005716497544199228, -0.036454033106565475, 0.03214393928647041, 0.06283387541770935, 0.0227967519313097, -0.0019657223019748926, -0.025912482291460037, -0.03600398078560829, 0.0641840249300003, -0.012367714196443558, 0.03631555661559105, 0.03309596702456474, -0.00813551526516676, 0.003779985476285219, 0.00369776482693851, 0.024562332779169083, -0.001798035460524261, 0.009996297769248486, 0.02778191864490509, -0.004435586743056774, -0.020910006016492844, 0.00820908136665821, 0.07360044866800308, -0.03467114269733429, 0.00130254786927253, -0.06757670640945435, -0.05767561122775078, 0.0020609251223504543, -0.028301207348704338, 0.030707241967320442, -0.054109830409288406, -0.006573323160409927, 0.03790803998708725, 0.031365007162094116, -0.020321479067206383, 0.03908509388566017, -0.009797237813472748, 0.011865735985338688, 0.0074517857283353806, 0.024718118831515312, -0.027383798733353615, -0.05369440093636513, 0.016556639224290848, 0.02878587692975998, -0.029287854209542274, -0.027816537767648697, 0.0026548609603196383, -0.001765579916536808, -0.01893671043217182, 0.044347211718559265, 0.015396895818412304, 0.0050846971571445465, -0.00292315986007452, 0.05116719752550125, 0.007711430080235004, 0.04805146902799606, -0.07851637899875641, 0.08945605158805847, 0.06941152364015579, -0.022260155528783798, -0.0503709577023983, 0.032317034900188446, 0.02560090832412243, 0.045247312635183334, 0.001537309493869543, 0.010178049094974995, 0.030205264687538147, 0.016097934916615486, -0.051824964582920074, -0.04098914936184883, -0.014020781964063644, 0.016123898327350616, 0.012930276803672314, -0.014315045438706875, -0.05892190337181091, 0.03472307324409485, -0.010506931692361832, 0.0736696869134903, -0.022554418072104454, 0.007572953123599291, 0.004056938923895359, 0.017534632235765457, -0.02819734998047352, 0.017984680831432343, 0.013440909795463085, -0.022727513685822487, -0.016773009672760963, -0.055633075535297394, 0.04818994551897049, -0.03027450293302536, 0.03202277421951294, -0.02492583356797695, -0.02937440387904644, 0.026050958782434464, 0.007079629227519035, 0.005045750644057989, -0.03842732682824135, -0.09727998822927475, 0.005244811065495014, -0.0031070744153112173, -0.05317511409521103, 0.007365237921476364, -0.021135030314326286, -0.06498026102781296, -0.033269066363573074, 0.015422860160470009, 0.026899129152297974, -0.04168153181672096, 0.051824964582920074, -0.06577650457620621, -0.04098914936184883, -0.041854631155729294, -0.009736654348671436, 0.034221094101667404, -0.02459695190191269, 0.01301682461053133, 0.03839270770549774, -0.012255202047526836, -0.0035895798355340958, -0.03617708012461662, -0.05075176805257797, 0.0017201422015205026, 0.06934228539466858, 0.022883299738168716, -0.006954134441912174, 0.006456483621150255, -0.020338788628578186, -0.0551484078168869, 0.004786106292158365, 0.0970030352473259, -0.011761877685785294, -0.0230563972145319, 0.017742346972227097, 0.003418647451326251, -0.04216620326042175, 0.051928821951150894, -0.0014247969957068563, -0.044035639613866806, -0.026206744834780693, 0.017776966094970703, -0.027020296081900597, 0.02312563546001911, 0.06525722146034241, -0.01614120788872242, -0.000045234872231958434, 0.009762618690729141, 0.03956976160407066, 0.03610784187912941, -0.03617708012461662, -0.030447598546743393, 0.026483697816729546, -0.002315159887075424, 0.03721565380692482, 0.0341864749789238, -0.03345946967601776, -0.06290311366319656, -0.010558860376477242, 0.014228496700525284, -0.021169649437069893, 0.08654803782701492, -0.07110786437988281, -0.023575684055685997, 0.012982205487787724, -0.0024319998919963837, 0.014297734946012497, 0.03700793907046318, 0.043550971895456314, 0.02909744903445244, -0.02984176203608513, 0.02549705095589161, 0.041958488523960114, -0.07304654270410538, 0.03797727823257446, 0.035969361662864685, -0.054525263607501984, -0.002953451592475176, 0.009243329986929893, 0.0023389605339616537, 0.031365007162094116, 0.010290561243891716, -0.04389716312289238, -0.02842237427830696, 0.029183996841311455, -0.06653813272714615, -0.0028495939914137125, 0.0022123842500150204, -0.0008189607760868967, -0.02066767029464245, 0.026050958782434464, -0.09637989103794098, 0.04625127092003822, 0.03133038803935051, 0.012757180258631706, -0.04317016154527664, -0.05314049497246742, 0.01819239743053913, -0.02141198329627514, -0.0008838718058541417, -0.01089639775454998, 0.05816027894616127, 0.03176312893629074, -0.041266102343797684, 0.003935771994292736, 0.031416937708854675, 0.054109830409288406, 0.006382917519658804, -0.034273020923137665, 0.06809599697589874, -0.0007367401267401874, -0.09049462527036667, 0.017984680831432343, -0.019957976415753365, 0.008589892648160458, 0.03188429772853851, 0.040054429322481155, -0.008524981327354908, -0.010714646428823471, -0.03891199827194214, -0.01955985650420189, 0.05604850873351097, 0.0008157152333296835, -0.029807142913341522, -0.009156782180070877, 0.036454033106565475, 0.0022242844570428133, -0.02110041119158268, 0.03839270770549774, -0.028976282104849815, -0.003567942650988698, 0.03731951117515564, -0.06847680360078812, -0.03669636696577072, 0.014643927104771137, -0.019161734730005264, 0.04098914936184883, -0.03943128511309624, 0.002724099438637495, 0.06543031334877014, -0.003637181129306555, 0.04479726403951645, -0.05767561122775078, -0.008667785674333572, 0.03638479486107826, 0.0008633166435174644, -0.023627612739801407, 0.018590517342090607, -0.050717148929834366, 0.06366473436355591, 0.025912482291460037, 0.027453036978840828, 0.02035609818994999, 0.04497035965323448, -0.0694461464881897, 0.05466374009847641, -0.00584631972014904, 0.07180024683475494, -0.04327401891350746, 0.05220577493309975, 0.02688181959092617, -0.024268068373203278, -0.05549459904432297, -0.07186948508024216, -0.007897508330643177, 0.028751257807016373, -0.011060838587582111, 0.06176067888736725, 0.0715925320982933, -0.025531670078635216, -0.07173100858926773, 0.04947085678577423, 0.007339273579418659, -0.055633075535297394, -0.0026938074734061956, 0.024164211004972458, -0.0034922133199870586, 0.020269550383090973, -0.10406535863876343, 0.010186703875660896, 0.004284127615392208, 0.01914442516863346, 0.07567760348320007, 0.02269289456307888, 0.004673593677580357, 0.03139962628483772, -0.0010061209322884679, 0.01503339409828186, 0.044624168425798416, 0.005417907144874334, 0.06768056005239487, -0.010628098621964455, -0.05154800787568092, -0.04057371988892555, -0.014920881018042564, 0.024562332779169083, -0.012445607222616673, 0.025064310058951378, 0.005746789742261171, 0.02284868061542511, -0.032680537551641464, 0.08329382538795471, 0.009823202155530453, 0.03808113560080528, -0.037250272929668427, 0.0005238860612735152, -0.03323444724082947, -0.007949437014758587, -0.00952028390020132, -0.053002018481492996, -0.006573323160409927, -0.05307125672698021, 0.00882789958268404, -0.03335561230778694, -0.026587557047605515, 0.03853118419647217, 0.03673098608851433, -0.056325461715459824, 0.0144448671489954, -0.013908268883824348, -0.028958972543478012, 0.03344216197729111, 0.022502489387989044, -0.0440010204911232, 0.04860537499189377, 0.019732952117919922, -0.027868466451764107, -0.020269550383090973, -0.027072224766016006, -0.0002060925035038963, -0.00044004266965202987, -0.0049072736874222755, -0.011623401194810867, -0.012653322890400887, 0.012800454162061214, -0.06134524568915367, -0.01955985650420189, -0.022087058052420616, 0.008633166551589966, 0.02747034654021263, -0.025566289201378822, -0.02089269645512104, -0.0019906049128621817, 0.04182001203298569, 0.015526717528700829, -0.00436202110722661, 0.029703285545110703, 0.029443642124533653, 0.018157778307795525, 0.02916668727993965, -0.024216139689087868, -0.052413489669561386, -0.06560341268777847, 0.0450742170214653, 0.017794275656342506, -0.06075672060251236, 0.019698332995176315, -0.04888233169913292, 0.00020866190607193857, 0.00980589259415865, -0.00162061199080199, 0.01042038295418024, 0.03683484345674515, 0.0032650246284902096, 0.004284127615392208, 0.01145030464977026, -0.02883780561387539, 0.03662712872028351, 0.000018780247046379372, 0.01518918015062809, 0.012852382846176624, 0.06065286323428154, -0.018313564360141754, 0.01680762879550457, 0.020321479067206383, -0.017742346972227097, -0.018209706991910934, -0.025635527446866035, 0.04379330575466156, -0.0017179785063490272, -0.05338282883167267, -0.0038773519918322563, 0.013752482831478119, 0.04739370569586754, 0.035017333924770355, 0.00539627019315958, -0.015466134063899517, 0.009987642988562584, -0.07003466784954071, -0.0508902445435524, -0.00705366488546133, -0.009866476058959961, -0.023264111950993538, 0.001733124372549355, 0.08024733513593674, -0.026587557047605515, -0.04036600515246391, -0.009814547374844551, -0.05892190337181091, -0.07311578094959259, -0.046943653374910355, -0.019490618258714676, -0.013025479391217232, 0.04268549010157585, -0.04046986252069473, 0.027054915204644203, -0.024164211004972458, -0.05687936767935753, -0.017595214769244194, -0.022727513685822487, 0.0007356582791544497, 0.0071488674730062485, -0.0869634672999382, -0.07546988874673843, -0.031416937708854675, 0.06612269580364227, 0.012263856828212738, 0.028162730857729912, 0.040539100766181946, -0.02104848250746727, 0.01693744957447052, -0.03006678819656372, -0.016331614926457405, 0.06636503338813782, 0.03943128511309624, 0.011199316009879112, -0.06709203869104385, -0.02084076590836048, -0.008317266590893269, 0.0355193130671978, -0.01945599913597107, 0.07713160663843155, 0.0006723700207658112, 0.009286603890359402, 0.05753713473677635, 0.028249278664588928, -0.02714146301150322, 0.0662957951426506, -0.01518918015062809, 0.025860553607344627, 0.044139496982097626, 0.056810129433870316, -0.0002558576234150678, -0.05518302693963051, -0.023073706775903702, 0.029305163770914078, 0.03683484345674515, 0.03271515667438507, 0.07553912699222565, -0.01781158521771431, -0.058887284249067307, -0.026552937924861908, -0.03294018283486366, 0.051928821951150894, -0.032576680183410645, -0.043654829263687134, -0.04988628625869751, 0.03148617595434189, -0.04850151762366295, 0.02978983335196972, 0.007040682714432478, -0.0355193130671978, 0.005677551031112671, -0.004147814586758614, -0.05390211567282677, -0.011943629011511803, -0.02688181959092617, 0.05836799368262291, 0.021775485947728157, -0.01084446907043457, 0.00665554404258728, 0.04410487785935402, -0.008438433520495892, -0.05428292602300644, 0.023818019777536392, -0.010480967350304127, 0.008741351775825024, -0.03380566090345383, -0.010801195167005062, -0.0651879832148552, 0.021983200684189796, -0.05494069308042526, 0.007070974446833134, -0.045039597898721695, 0.02333335019648075, -0.02459695190191269, -0.01317261066287756, 0.031936224550008774, -0.12428297847509384, -0.0072224335744977, -0.0413699597120285, 0.0034684124402701855, 0.006508412305265665, -0.04060833901166916, 0.011779187247157097, -0.03728489205241203, -0.01706727221608162, -0.0014247969957068563, 0.04247777536511421, 0.03515581041574478, -0.020269550383090973, -0.019421378150582314, 0.019698332995176315, 0.03283632546663284, -0.049228522926568985, 0.04476264491677284, -0.010567515157163143, -0.013163955882191658, 0.007287344429641962, -0.017508666962385178, -0.005058732815086842, -0.007382547482848167, 0.029616737738251686, 0.020546503365039825, 0.05217115581035614, -0.027106843888759613, 0.04798223078250885, 0.052413489669561386, -0.015786360949277878, 0.05158263072371483, 0.01409867499023676, -0.03266322985291481, 0.021965891122817993, -0.00636128056794405, 0.08730965852737427, 0.09146396070718765, 0.013345707207918167, -0.01601138710975647, -0.03505195304751396, -0.06577650457620621, 0.02508161962032318, -0.003353736363351345, -0.05767561122775078, 0.02115233987569809, -0.049643952399492264, 0.023818019777536392, -0.021602390334010124, 0.03790803998708725, 0.027816537767648697, 0.05795256420969963, 0.05386749655008316, 0.017136510461568832, 0.007231088355183601, 0.005240483675152063, 0.050128620117902756, 0.07692389190196991, 0.08834823220968246, -0.06484178453683853, 0.002988070948049426, 0.008853863924741745, 0.00423436239361763, -0.005257793236523867, -0.02826658822596073, -0.04396640136837959, 0.0005003558471798897, -0.04237391799688339, -0.01845204085111618, -0.0710386261343956, -0.038358088582754135, 0.015059358440339565, -0.055529218167066574, 0.028335826471447945, -0.017794275656342506, -0.035553932189941406, -0.01312068197876215, 0.01575174182653427, -0.025462431833148003, 0.014306389726698399, -0.03467114269733429, 0.005469835828989744, -0.055633075535297394, -0.014531414955854416, 0.015509407967329025, -0.022865990176796913, 0.030897649005055428, 0.011130077764391899, 0.007417166605591774, -0.00015267614799086004, -0.029339784756302834, -0.02490852400660515, 0.0067723835818469524, -0.05625622346997261, -0.03908509388566017, 0.0008979358826763928, -0.022865990176796913, -0.005301067139953375, 0.025358574464917183, 0.05507916957139969, 0.0567408911883831, 0.003769167000427842, -0.02772998996078968, -0.020234931260347366, 0.026708723977208138, -0.02984176203608513, -0.04850151762366295, 0.02264096587896347, -0.03759646788239479, 0.044728025794029236, 0.05580617114901543, 0.03600398078560829, 0.009580867365002632, 0.04438183084130287, -0.04206234589219093, -0.021186958998441696, -0.06065286323428154, 0.024718118831515312, 0.008330248296260834, -0.012168653309345245, -0.018382802605628967, -0.047843754291534424, 0.014695856720209122, -0.0041261776350438595, 0.05923347547650337, 0.014323700219392776, -0.01042038295418024, 0.05975276231765747, -0.02747034654021263, 0.008853863924741745, 0.04091991111636162, -0.04950547590851784, -0.007235415745526552, -0.037111796438694, -0.0017342062201350927, 0.06826908886432648, 0.043135542422533035, 0.0084817074239254, 0.08364002406597137, -0.011407030746340752, 0.007083956617861986 ]
11,015
burnman.classes.layer
Layer
The base class for a planetary layer. The user needs to set the following before properties can be computed: - set_material(), which sets the material of the layer, e.g. a mineral, solid_solution, or composite - set_temperature_mode(), either predefine, or set to an adiabatic profile - set_pressure_mode(), to set the self-consistent pressure (with user-defined option the pressures can be overwritten). To set the self-consistent pressure the pressure at the top and the gravity at the bottom of the layer need to be set. - make(), computes the self-consistent part of the layer and starts the settings to compute properties within the layer Note that the entire planet this layer sits in is not necessarily self-consistent, as the pressure at the top of the layer is a function of the density within the layer (through the gravity). Entire planets can be computed self-consistently with the planet class. Properties will be returned at the pre-defined radius array, although the evaluate() function can take a newly defined depthlist and values are interpolated between these (sufficient sampling of the layer is needed for this to be accurate).
class Layer(object): """ The base class for a planetary layer. The user needs to set the following before properties can be computed: - set_material(), which sets the material of the layer, e.g. a mineral, solid_solution, or composite - set_temperature_mode(), either predefine, or set to an adiabatic profile - set_pressure_mode(), to set the self-consistent pressure (with user-defined option the pressures can be overwritten). To set the self-consistent pressure the pressure at the top and the gravity at the bottom of the layer need to be set. - make(), computes the self-consistent part of the layer and starts the settings to compute properties within the layer Note that the entire planet this layer sits in is not necessarily self-consistent, as the pressure at the top of the layer is a function of the density within the layer (through the gravity). Entire planets can be computed self-consistently with the planet class. Properties will be returned at the pre-defined radius array, although the evaluate() function can take a newly defined depthlist and values are interpolated between these (sufficient sampling of the layer is needed for this to be accurate). """ def __init__(self, name=None, radii=None, verbose=False): self.name = name assert np.all(np.diff(radii) > 0) self.radii = radii self.outer_radius = max(self.radii) self.inner_radius = min(self.radii) self.thickness = self.outer_radius - self.inner_radius self.n_slices = len(self.radii) self.verbose = verbose self._cached = {} self._pressures = None self._temperatures = None self.sublayers = None self.material = None self.pressure_mode = "self-consistent" self.temperature_mode = None def __str__(self): """ Prints details of the layer """ writing = ( f"The {self.name} is made of {self.material.name}" f" with {self.temperature_mode} temperatures and " f"{self.pressure_mode} pressures\n" ) return writing def reset(self): """ Resets all cached material properties. It is typically not required for the user to call this function. """ self._cached = {} self._pressures = None self._temperatures = None self.sublayers = None def set_material(self, material): """ Set the material of a Layer with a Material """ assert isinstance(material, Material) self.material = material self.reset() def set_temperature_mode( self, temperature_mode="adiabatic", temperatures=None, temperature_top=None ): """ Sets temperatures within the layer as user-defined values or as a (potentially perturbed) adiabat. :param temperature_mode: This can be set to 'user-defined', 'adiabatic', or 'perturbed-adiabatic'. 'user-defined' fixes the temperature with the profile input by the user. 'adiabatic' self-consistently computes the adiabat when setting the state of the layer. 'perturbed-adiabatic' adds the user input array to the adiabat. This allows the user to apply boundary layers (for example). :type temperature_mode: string :param temperatures: The desired fixed temperatures in [K]. Should have same length as defined radii in layer. :type temperatures: array of float :param temperature_top: Temperature at the top of the layer. Used if the temperature mode is chosen to be 'adiabatic' or 'perturbed-adiabatic'. If 'perturbed-adiabatic' is chosen as the temperature mode, temperature_top corresponds to the true temperature at the top of the layer, and the reference isentrope at this radius is defined to lie at a temperature of temperature_top - temperatures[-1]. :type temperature_top: float """ self.reset() assert ( temperature_mode == "user-defined" or temperature_mode == "adiabatic" or temperature_mode == "perturbed-adiabatic" ) self.temperature_mode = temperature_mode if ( temperature_mode == "user-defined" or temperature_mode == "perturbed-adiabatic" ): assert len(temperatures) == len(self.radii) self.usertemperatures = temperatures else: self.usertemperatures = np.zeros_like(self.radii) if temperature_mode == "adiabatic" or temperature_mode == "perturbed-adiabatic": self.temperature_top = temperature_top else: self.temperature_top = None def set_pressure_mode( self, pressure_mode="self-consistent", pressures=None, gravity_bottom=None, pressure_top=None, n_max_iterations=50, max_delta=1.0e-5, ): """ Sets the pressure mode of the layer, which can either be 'user-defined', or 'self-consistent'. :param pressure_mode: This can be set to 'user-defined' or 'self-consistent'. 'user-defined' fixes the pressures with the profile input by the user in the 'pressures' argument. 'self-consistent' forces Layer to calculate pressures self-consistently. If this is selected, the user will need to supply values for the gravity_bottom [m/s^2] and pressure_top [Pa] arguments. :type pressure_mode: string :param pressures: Pressures [Pa] to set layer to (if the 'user-defined' pressure_mode has been selected). The array should be the same length as the layers user-defined radii array. :type pressures: array of floats :param pressure_top: Pressure [Pa] at the top of the layer. :type pressure_top: float :param gravity_bottom: Gravity [m/s^2] at the bottom of the layer. :type gravity_bottom: float :param n_max_iterations: Maximum number of iterations to reach self-consistent pressures. :type n_max_iterations: integer :param max_delta: Relative update to the highest pressure in the layer between iterations to stop iterations. :type max_delta: float """ self.reset() assert pressure_mode == "user-defined" or pressure_mode == "self-consistent" self.pressure_mode = pressure_mode assert gravity_bottom is not None self.gravity_bottom = gravity_bottom if pressure_mode == "user-defined": assert pressures is not None assert len(pressures) == len(self.radii) self.pressures = pressures warnings.warn( "By setting the pressures in Layer they " "are unlikely to be self-consistent" ) elif pressure_mode == "self-consistent": self.pressure_top = pressure_top self.n_max_iterations = n_max_iterations self.max_delta = max_delta else: raise NotImplementedError( f"pressure mode {pressure_mode} " "not recognised" ) def make(self): """ This routine needs to be called before evaluating any properties. If pressures and temperatures are not user-defined, they are computed here. This method also initializes an array of copied materials from which properties can be computed. """ self.reset() if not hasattr(self, "material"): raise AttributeError( "You must set_material() for the layer " "before running make()." ) if not hasattr(self, "temperature_mode"): raise AttributeError( "You must set_temperature_mode() for the " "layer before running make()." ) if not hasattr(self, "pressure_mode"):
(name=None, radii=None, verbose=False)
[ 0.04807272553443909, -0.05574222281575203, -0.019885346293449402, 0.03536270931363106, 0.005870723631232977, -0.03295116499066353, -0.08064832538366318, 0.0071061453782022, -0.02939315140247345, -0.008252616971731186, -0.01699940115213394, 0.032694198191165924, -0.003688968950882554, 0.029946619644761086, -0.05625616014003754, 0.03759635239839554, -0.009690647013485432, -0.004136191681027412, -0.014192523434758186, -0.05127494037151337, 0.009097645059227943, -0.033801134675741196, 0.0452263168990612, 0.029353618621826172, 0.005801539868116379, 0.018195290118455887, 0.017108118161559105, 0.019707445055246353, -0.011929231695830822, -0.031863994896411896, -0.07123935222625732, 0.03048032335937023, -0.003980528563261032, 0.021901555359363556, 0.0029007699340581894, -0.04795412719249725, 0.024036362767219543, 0.055346887558698654, -0.029986154288053513, 0.016248265281319618, 0.02743624337017536, 0.0032195087987929583, 0.03680568188428879, -0.011593196541070938, 0.0005525423330254853, 0.00553963053971529, -0.01341173704713583, 0.03627197816967964, 0.005455621983855963, -0.03451273962855339, 0.009058111347258091, -0.018719108775258064, 0.02876061573624611, 0.03378136828541756, -0.037497516721487045, 0.010960660874843597, 0.040521830320358276, 0.05862816795706749, 0.011662379838526249, -0.07922511547803879, -0.022435257211327553, 0.014064040035009384, 0.010901360772550106, -0.05111680552363396, -0.06843247264623642, -0.04866572842001915, -0.0607234425842762, 0.03178492933511734, 0.04957500100135803, 0.06210711598396301, 0.004852736368775368, 0.01252223365008831, 0.02743624337017536, -0.05621662735939026, -0.01796797290444374, 0.004084303975105286, 0.014152990654110909, -0.04720298945903778, 0.007610197179019451, -0.06384658813476562, -0.03656848147511482, 0.02812808007001877, 0.038782354444265366, 0.018096456304192543, 0.04396124184131622, 0.011158328503370285, 0.01227514911442995, 0.027851345017552376, 0.042458970099687576, -0.01477564312517643, -0.011731564067304134, 0.03192329406738281, 0.008974102325737476, 0.017295902594923973, 0.037813786417245865, -0.021585287526249886, -0.017315668985247612, -0.08784341812133789, 0.00654279300943017, -0.03858468681573868, 0.004709427244961262, -0.03935559093952179, -0.029907086864113808, 0.01164261344820261, 0.015516895800828934, -0.00836133398115635, -0.023482894524931908, 0.024846799671649933, 0.011385645717382431, 0.023739861324429512, -0.021624820306897163, 0.01752321980893612, -0.03706264868378639, -0.018363308161497116, -0.04645185545086861, -0.021624820306897163, -0.05590035766363144, -0.0050182826817035675, -0.0067849354818463326, -0.01668313331902027, -0.007496538572013378, 0.006918360944837332, 0.0036617896985262632, 0.04621465131640434, 0.01484482642263174, 0.02711997553706169, 0.008489817380905151, 0.03338603302836418, 0.006147458218038082, -0.07203002274036407, -0.021901555359363556, 0.04008696228265762, -0.011761213652789593, 0.03613361343741417, 0.018353423103690147, -0.03544177487492561, 0.012008298188447952, -0.012265265919268131, -0.025914203375577927, 0.033326733857393265, 0.06325358897447586, 0.00326892570592463, -0.024313097819685936, 0.02168412134051323, -0.03518480807542801, -0.02439216524362564, 0.030421022325754166, -0.04154970124363899, -0.06226525083184242, -0.0013132531894370914, -0.018412724137306213, -0.0031948003452271223, -0.0128483846783638, 0.023364294320344925, 0.05091913789510727, -0.013342553749680519, -0.0014775643358007073, -0.014093689620494843, 0.003674143925309181, 0.012472816742956638, -0.07333462685346603, 0.0004676070821005851, -0.02089345082640648, -0.004025003872811794, -0.02405613102018833, 0.010871710255742073, 0.006893652956932783, -0.07428343594074249, 0.013372204266488552, 0.04384264349937439, 0.0350266732275486, -0.06155364587903023, -0.008687485009431839, 0.03917768970131874, 0.024925867095589638, 0.03648941218852997, 0.027376944199204445, -0.03807075321674347, -0.020814383402466774, 0.031033791601657867, 0.025143301114439964, -0.03886142373085022, -0.059497907757759094, 0.04589838534593582, 0.012028065510094166, -0.000874060788191855, 0.06246291846036911, -0.046491388231515884, 0.006631743162870407, 0.003444355446845293, 0.009438620880246162, -0.007704089395701885, 0.011118794791400433, 0.005806481931358576, 0.02615140564739704, -0.004615535028278828, 0.08128085732460022, -0.032516296952962875, 0.06392565369606018, 0.05321208015084267, -0.08839689195156097, -0.024827033281326294, 0.03221979737281799, 0.001729590236209333, 0.004746490158140659, -0.04095669835805893, 0.009008694440126419, -0.029155950993299484, -0.04127296432852745, 0.03239769861102104, -0.031745392829179764, -0.017562754452228546, 0.07088354974985123, 0.052737679332494736, 0.04202410206198692, -0.05439808592200279, -0.0010859356261789799, 0.016011064872145653, -0.008410750888288021, 0.021249251440167427, -0.041352033615112305, 0.0024251327849924564, -0.011237394995987415, -0.02136785350739956, -0.00666139367967844, -0.0009667174308560789, 0.00923601258546114, 0.05728403106331825, 0.016445932909846306, -0.024174731224775314, 0.029788486659526825, -0.05186794325709343, -0.047282058745622635, 0.014795409515500069, 0.03933582454919815, -0.05044473707675934, -0.008237791247665882, -0.0033727011177688837, 0.007274162489920855, -0.04419844597578049, 0.014627392403781414, -0.04518678039312363, 0.009656055830419064, -0.025182833895087242, -0.08143899589776993, 0.009102586656808853, 0.04075903072953224, 0.03929629176855087, -0.03275349736213684, -0.014666926115751266, 0.02664557471871376, -0.0017283548368141055, -0.02037951536476612, 0.050998203456401825, -0.027574611827731133, -0.10381495207548141, 0.010219408199191093, 0.013500687666237354, 0.032041896134614944, -0.030697757378220558, -0.01686103455722332, -0.038169585168361664, 0.021743420511484146, 0.09899186342954636, 0.04720298945903778, -0.018887126818299294, 0.01989522948861122, -0.039731159806251526, -0.049061063677072525, -0.0003015973197761923, 0.027357175946235657, 0.06163271516561508, -0.01574421301484108, 0.018037155270576477, -0.03168609365820885, 0.000894445285666734, 0.028029246255755424, 0.015161094255745411, -0.01588258147239685, -0.0022138755302876234, 0.02409566380083561, -0.03034195490181446, -0.013382087461650372, 0.01847202517092228, -0.01940106227993965, -0.05384461581707001, -0.012126898393034935, 0.014943660236895084, 0.039770692586898804, 0.009967382065951824, 0.002504199743270874, 0.045542582869529724, 0.015536662191152573, 0.0021718712523579597, 0.10302428156137466, -0.028839683160185814, -0.08104366064071655, -0.03101402521133423, 0.02555840276181698, -0.0552678219974041, 0.040521830320358276, -0.011978648602962494, 0.08555047959089279, -0.007214862387627363, -0.024194497615098953, 0.021565519273281097, 0.02909664995968342, -0.0034221180249005556, 0.04336824268102646, 0.00874184351414442, 0.07539036870002747, -0.014795409515500069, 0.011187978088855743, 0.026704873889684677, 0.02470843307673931, -0.06258151680231094, 0.0443565770983696, -0.024332864210009575, 0.0168511513620615, 0.07143702358007431, -0.014439607970416546, -0.01429135724902153, -0.0255188699811697, -0.010357774794101715, 0.06183038279414177, -0.025775836780667305, 0.05439808592200279, -0.0024238971527665854, 0.0184819083660841, -0.0058311899192631245, -0.099624402821064, 0.049219198524951935, 0.020171964541077614, 0.028642015531659126, -0.006152399815618992, -0.020438816398382187, -0.0017258840380236506, -0.004627889487892389, 0.008509584702551365, -0.04546351730823517, 0.08104366064071655, 0.06436052918434143, -0.0751531720161438, 0.01244316715747118, 0.03233839571475983, -0.005870723631232977, 0.08068785816431046, -0.037339381873607635, 0.051630742847919464, 0.02587467059493065, -0.025340968742966652, -0.012640833854675293, 0.002757461043074727, 0.0762205719947815, -0.002838999032974243, 0.007476771716028452, -0.0146076250821352, -0.04625418782234192, 0.002816761378198862, -0.013668704777956009, 0.05993277579545975, 0.0026858067139983177, -0.027199042961001396, 0.04139156639575958, -0.0005256719305180013, -0.054674819111824036, 0.008539234288036823, -0.007288987748324871, 0.0019371411763131618, -0.03858468681573868, 0.012107132002711296, -0.044554244726896286, -0.017711004242300987, -0.017108118161559105, -0.035698745399713516, -0.00043239755905233324, 0.025242134928703308, 0.020458582788705826, 0.043289173394441605, -0.016248265281319618, 0.07503456622362137, 0.038940489292144775, -0.042300835251808167, 0.04625418782234192, 0.04878433048725128, -0.044396113604307175, -0.012186199426651001, -0.03650917857885361, 0.06570466607809067, -0.003513539209961891, 0.0350266732275486, 0.015605846419930458, 0.06234431639313698, -0.02488633431494236, 0.021150417625904083, 0.032852333039045334, 0.03706264868378639, 0.03051985614001751, -0.05898397043347359, 0.02071554958820343, -0.021269019693136215, -0.08092506229877472, -0.002838999032974243, 0.0014232057146728039, 0.0190946776419878, -0.05479342117905617, 0.10310334712266922, 0.03945442661643028, -0.021071352064609528, 0.04506818205118179, -0.0005574839888140559, 0.013609404675662518, -0.06289778649806976, -0.01619884930551052, -0.013599521480500698, -0.05637475848197937, -0.013836721889674664, -0.026764174923300743, 0.013105352409183979, 0.04194503650069237, 0.006765169091522694, 0.05767936632037163, 0.0005784861859865487, 0.0513935387134552, -0.00955228041857481, 0.000020731918993988074, -0.01619884930551052, 0.05269814655184746, -0.01486459281295538, 0.06372798979282379, -0.039592791348695755, -0.012294916436076164, -0.0012576592853292823, -0.042458970099687576, 0.01132634561508894, -0.006938127800822258, 0.01752321980893612, -0.02168412134051323, -0.0061820498667657375, -0.02553863637149334, 0.08475980907678604, 0.0016641129041090608, 0.019490011036396027, -0.007180270738899708, -0.040719497948884964, -0.015961647033691406, -0.02263292483985424, -0.0015813397476449609, -0.06665346771478653, 0.02377939596772194, 0.001297192764468491, 0.05060287192463875, 0.033148832619190216, -0.012996635399758816, 0.0034221180249005556, -0.014034389518201351, -0.025953738018870354, 0.0029452452436089516, -0.04352637380361557, -0.0226131584495306, 0.01655464991927147, 0.029254784807562828, 0.0014096160884946585, 0.022395722568035126, -0.016485465690493584, -0.009359554387629032, 0.04154970124363899, -0.018758641555905342, -0.03690451383590698, -0.014904126524925232, 0.03929629176855087, -0.01941094547510147, -0.027376944199204445, -0.011978648602962494, -0.016643600538372993, 0.028345514088869095, -0.022059688344597816, 0.05111680552363396, -0.037161484360694885, -0.07349276542663574, 0.0019260223489254713, -0.055307354778051376, -0.009028461761772633, -0.007728797849267721, -0.011276928707957268, 0.04064042866230011, 0.028958283364772797, 0.035540610551834106, 0.050009869039058685, -0.057402629405260086, -0.10326148569583893, -0.04708439111709595, 0.04419844597578049, 0.06831387430429459, -0.07404623180627823, 0.026230473071336746, -0.0024584890343248844, -0.033148832619190216, -0.0027105151675641537, -0.002881003310903907, 0.00818837434053421, 0.020952751860022545, -0.0062067583203315735, -0.0027722860686481, 0.025281667709350586, 0.0036074311938136816, -0.03229886293411255, 0.02680370770394802, 0.022514324635267258, 0.017473803833127022, 0.014983193948864937, -0.0462937206029892, 0.056414294987916946, -0.026408372446894646, 0.024273565039038658, 0.004395630210638046, -0.011217628605663776, 0.008509584702551365, -0.03690451383590698, -0.04830992594361305, 0.0023065321147441864, 0.06333265453577042, 0.013559987768530846, -0.008316858671605587, 0.0303617212921381, 0.033801134675741196, -0.021743420511484146, -0.04210316762328148, 0.03692428022623062, 0.004005237016826868, 0.0309744905680418, -0.02441193163394928, -0.004949098918586969, 0.028167612850666046, 0.019371410831809044, -0.044237978756427765, -0.022198056802153587, -0.09495944529771805, -0.0661790668964386, -0.033306967467069626, 0.017147652804851532, 0.03275349736213684, 0.04625418782234192, -0.1036568135023117, 0.025163067504763603, -0.02587467059493065, 0.015625612810254097, -0.04949593171477318, -0.017137769609689713, -0.024293331429362297, 0.04562164843082428, 0.01656453311443329, -0.0011205273913219571, 0.008578768000006676, 0.09915000200271606, 0.02696184255182743, 0.015833163633942604, -0.0197568628937006, -0.025261901319026947, 0.028839683160185814, -0.03905909135937691, 0.0008357627666555345, -0.013826838694512844, -0.0034270596224814653, -0.029017582535743713, -0.039731159806251526, -0.0517493411898613, 0.058232832700014114, -0.008835735730826855, -0.02010278031229973, 0.01604071445763111, 0.016426166519522667, 0.03601501137018204, 0.016188964247703552, -0.008850560523569584, -0.01422217395156622, 0.011355996131896973, 0.009290371090173721, 0.012186199426651001, -0.042458970099687576, 0.05779796466231346, 0.002160752424970269, -0.0245502982288599, -0.06795807182788849, 0.037181250751018524, 0.028642015531659126, 0.019391177222132683, 0.06649533659219742, -0.0020816854666918516, -0.04645185545086861, -0.0059250821359455585, 0.007204979192465544, -0.0016739963321015239, -0.04708439111709595, -0.04886339604854584, 0.031112859025597572, -0.009127294644713402, 0.0033727011177688837, 0.052579544484615326, 0.042617104947566986, -0.06550699472427368, -0.040561363101005554, -0.011662379838526249, -0.009838897734880447, -0.034433670341968536, -0.04186596721410751, 0.015516895800828934, 0.01077287644147873, -0.002779698697850108, -0.01942082867026329, 0.040877632796764374, -0.025439802557229996, -0.002903240965679288, -0.05637475848197937, -0.013925672508776188, -0.04447517916560173, -0.051947008818387985, 0.051947008818387985, 0.06783947348594666, 0.008346508257091045, -0.05601895973086357, 0.03051985614001751, -0.0452263168990612, 0.0048329695127904415, -0.025914203375577927, -0.03255582973361015, 0.03629174456000328, -0.11290765553712845, -0.004776140209287405, -0.02265269123017788, 0.04799365997314453, 0.0007851104601286352, -0.013372204266488552, -0.004089245572686195, -0.019667912274599075, -0.007817748002707958, 0.037675417959690094, 0.01769123785197735, -0.009097645059227943, 0.004736606497317553, 0.019638262689113617, -0.01340185385197401, -0.017928438261151314, 0.0026561564300209284, -0.0003128705429844558, 0.012630950659513474, 0.022435257211327553, -0.01588258147239685, 0.058865372091531754, 0.007590430323034525, -0.07839491218328476, 0.003209625370800495, -0.008529351092875004, -0.005999207496643066, -0.037161484360694885, 0.03708241507411003, -0.007689264137297869, 0.0018494261894375086, -0.002243525581434369, 0.0011841516243293881, -0.05874677002429962, 0.0150919109582901, -0.006943069398403168, 0.018254589289426804, 0.01701916940510273, -0.053726017475128174, 0.014716343022882938, -0.016317449510097504, 0.0024523120373487473, 0.11021937429904938, -0.03633128106594086, -0.06610000133514404, 0.027456009760499, -0.005880606826394796, -0.0004459872143343091, 0.01683138497173786, -0.0027525194454938173, 0.019045259803533554, 0.020280681550502777, 0.008292149752378464, 0.04704485461115837, 0.06870920956134796, -0.0395137257874012, 0.07369042932987213, 0.06878827512264252, 0.06700927019119263, -0.038149818778038025, -0.0020965104922652245, 0.03698358312249184, -0.003441884648054838, -0.0030193703714758158, -0.012047831900417805, 0.017434271052479744, 0.007471830118447542, -0.023977063596248627, -0.09124329686164856, -0.058667704463005066, -0.004788494203239679, 0.02968965284526348, -0.04807272553443909, 0.010006914846599102, -0.003014428773894906, -0.044554244726896286, 0.014479141682386398, 0.01051590871065855, 0.03795215114951134, -0.05443761870265007, -0.014755875803530216, 0.029274551197886467, -0.051433075219392776, -0.011593196541070938, 0.08744808286428452, 0.03998812660574913, -0.07693217694759369, -0.016455816105008125, 0.0031157333869487047, 0.012561767362058163, 0.011919347569346428, -0.026942074298858643, 0.013816955499351025, 0.013471037149429321, 0.037794020026922226, 0.026052571833133698, -0.017266253009438515, -0.023878229781985283, 0.035085976123809814, -0.0013972618617117405, -0.055821292102336884, 0.0019284931477159262, -0.00963628850877285, 0.00433880090713501, 0.08381100744009018, -0.002804407151415944, -0.00037989215343259275, 0.0003199742059223354, -0.05182840675115585, 0.039256758987903595, -0.0005834278417751193, -0.020201614126563072, 0.03393950313329697, -0.03328720107674599, -0.04621465131640434, -0.07582523673772812, -0.01687091775238514, 0.012660601176321507, 0.05696776136755943, 0.020122548565268517, 0.020498115569353104, -0.008148841559886932, -0.013303020037710667, 0.046491388231515884, 0.023225927725434303, -0.013629171065986156, -0.000314569246256724, 0.07934372127056122, -0.009942673146724701, -0.008519467897713184, -0.026092104613780975, -0.007437238469719887, -0.0770903080701828, -0.031231459230184555, -0.05874677002429962, 0.03745798394083977, 0.057086363434791565, 0.018274357542395592, 0.06602093577384949, -0.03496737405657768, 0.015813397243618965 ]
11,016
burnman.classes.layer
__init__
null
def __init__(self, name=None, radii=None, verbose=False): self.name = name assert np.all(np.diff(radii) > 0) self.radii = radii self.outer_radius = max(self.radii) self.inner_radius = min(self.radii) self.thickness = self.outer_radius - self.inner_radius self.n_slices = len(self.radii) self.verbose = verbose self._cached = {} self._pressures = None self._temperatures = None self.sublayers = None self.material = None self.pressure_mode = "self-consistent" self.temperature_mode = None
(self, name=None, radii=None, verbose=False)
[ 0.05445030704140663, -0.04612131789326668, 0.014474828727543354, 0.010246124118566513, -0.06714559346437454, -0.02111600525677204, -0.06208215281367302, -0.0034237829968333244, -0.08028117567300797, 0.06043103337287903, 0.01463076751679182, 0.08028117567300797, -0.006893430836498737, 0.0366915799677372, -0.025904254987835884, 0.006466891150921583, 0.011190932244062424, 0.013098894618451595, -0.05195527896285057, -0.02979356236755848, 0.014465655200183392, 0.018703533336520195, 0.007567638531327248, 0.025537339970469475, 0.04083772748708725, 0.052175428718328476, -0.016621286049485207, 0.008026283234357834, -0.04039743170142174, -0.008434477262198925, -0.07081475108861923, 0.02643628418445587, 0.01999691128730774, 0.03232528269290924, -0.001719917869195342, -0.06259583681821823, -0.036012787371873856, 0.02293223701417446, -0.06325628608465195, 0.03348106890916824, 0.07896028459072113, 0.020583976060152054, -0.0017806882970035076, -0.0635865107178688, 0.009484773501753807, 0.019721724092960358, 0.03995713219046593, -0.0024468698538839817, 0.002350554335862398, -0.03318753466010094, -0.011273488402366638, 0.030490703880786896, -0.01805225759744644, 0.01814398728311062, -0.03461850434541702, 0.03104107640683651, 0.02225344441831112, 0.07481413334608078, -0.024638395756483078, -0.0327288880944252, -0.056284885853528976, 0.028032368049025536, 0.07617171853780746, -0.02720680646598339, -0.04656161367893219, 0.0011609445791691542, 0.003024762263521552, 0.03918660804629326, 0.00017514495993964374, 0.007287865038961172, 0.043956514447927475, 0.025408919900655746, -0.03201340511441231, -0.04402989521622658, -0.0183457899838686, 0.03720526397228241, -0.002081100596114993, -0.02063901349902153, 0.004719454329460859, -0.048799801617860794, -0.04854296147823334, 0.06131163239479065, -0.00987920816987753, -0.0005357544287107885, -0.024051330983638763, 0.0117871705442667, -0.02603267692029476, -0.021831490099430084, 0.03239866718649864, 0.003490286646410823, -0.06079794839024544, -0.004581861197948456, -0.025977639481425285, 0.0019710257183760405, 0.006875084713101387, -0.013841899111866951, 0.03959021344780922, -0.07617171853780746, 0.058633144944906235, -0.013979491777718067, -0.02161134034395218, -0.07191549986600876, -0.039810363203287125, -0.007581397891044617, -0.045974548906087875, -0.012676941230893135, -0.0039122398011386395, 0.003277016803622246, 0.001959559740498662, 0.03083927370607853, 0.025500647723674774, 0.09084835648536682, -0.034600161015987396, 0.0592569038271904, -0.06608153879642487, 0.002290930598974228, -0.029316572472453117, -0.01380520686507225, 0.018199024721980095, -0.04402989521622658, -0.008439063094556332, 0.038599543273448944, 0.007494255434721708, 0.03393971174955368, -0.009315075352787971, 0.025408919900655746, -0.024528320878744125, 0.006998918950557709, -0.031463030725717545, 0.01659376733005047, 0.030380629003047943, -0.015382945537567139, 0.028564395383000374, 0.03195836767554283, 0.025500647723674774, -0.014080394059419632, 0.04175501689314842, 0.0317932553589344, -0.023812836036086082, 0.05896336957812309, -0.005778924096375704, -0.01922638900578022, -0.03933337330818176, 0.023500956594944, -0.028399283066391945, 0.018033912405371666, -0.0018185264198109508, -0.04747890681028366, -0.0276471059769392, 0.0017073050839826465, -0.0674758180975914, 0.027023348957300186, 0.014575730077922344, 0.06542108952999115, 0.07719908654689789, -0.05606473609805107, 0.014355581253767014, -0.010099357925355434, 0.02430817112326622, 0.010291988030076027, -0.053349558264017105, 0.027885600924491882, -0.019208041951060295, -0.05389993265271187, -0.06046772375702858, 0.02495027519762516, -0.0489465668797493, -0.07481413334608078, -0.0071410988457500935, 0.053789857774972916, 0.0019503867952153087, -0.07176873087882996, -0.01713496819138527, 0.02845432050526142, -0.05852307006716728, 0.021336153149604797, 0.008796806447207928, 0.006847565993666649, -0.020510593429207802, -0.02373945340514183, -0.015392118133604527, -0.05401000753045082, -0.013337389566004276, 0.003056867280974984, 0.008883948437869549, -0.020895855501294136, 0.038636233657598495, -0.021354500204324722, 0.04358959570527077, -0.009622367098927498, 0.059477053582668304, 0.020987583324313164, 0.0049625360406935215, 0.00385949551127851, 0.05551436170935631, -0.022271789610385895, 0.09194909781217575, -0.06248576194047928, 0.03837939351797104, 0.04402989521622658, -0.03973698243498802, 0.0049258447252213955, 0.00581561541184783, -0.005430353805422783, 0.004350245464593172, -0.01023695059120655, 0.00028765626484528184, -0.003400850808247924, 0.041094571352005005, 0.05279918387532234, -0.022143369540572166, -0.001929747755639255, 0.0635131224989891, 0.04465365409851074, -0.0002362020459258929, 0.012897090055048466, -0.010778151452541351, 0.011502810753881931, 0.024088023230433464, 0.03337099403142929, 0.01193393673747778, 0.03670992702245712, -0.030619123950600624, -0.014465655200183392, -0.08717919141054153, 0.018676014617085457, 0.007920795120298862, 0.05114806443452835, 0.0008926373557187617, -0.0389297679066658, 0.01885947212576866, -0.06303613632917404, -0.042672306299209595, -0.016676323488354683, -0.03588436543941498, -0.027885600924491882, -0.021592995151877403, 0.01835496351122856, -0.01966668665409088, -0.05914682894945145, 0.023831181228160858, 0.016538729891180992, -0.010466272942721844, -0.005448699463158846, 0.027683798223733902, -0.08351003378629684, -0.0020340895280241966, 0.02528049796819687, -0.012163259088993073, -0.0450572595000267, 0.014951818622648716, -0.001183303422294557, -0.04769905284047127, 0.024436593055725098, 0.016419481486082077, -0.04358959570527077, -0.026748161762952805, -0.015511365607380867, 0.03245370462536812, -0.031628143042325974, 0.01616264134645462, -0.03304076939821243, 0.039480142295360565, 0.07609833776950836, 0.02067570574581623, -0.006109148263931274, 0.00029439260833896697, -0.050084006041288376, -0.04263561591506004, -0.02084081806242466, 0.06241237744688988, 0.049607016146183014, 0.008420717902481556, 0.010181913152337074, -0.01875857077538967, -0.027280189096927643, 0.035407375544309616, 0.005191858857870102, 0.005806442815810442, -0.004494718741625547, 0.008677558973431587, -0.021060967817902565, 0.02373945340514183, -0.014676632359623909, 0.01811646856367588, -0.02773883566260338, 0.01420881412923336, 0.032105132937431335, -0.023757798597216606, -0.00425851671025157, 0.017465192824602127, 0.050891220569610596, -0.04358959570527077, -0.02430817112326622, 0.08006102591753006, -0.03713187947869301, -0.08395033329725266, -0.0032219793647527695, 0.005792683456093073, -0.027463648468255997, -0.0006667547859251499, -0.048836492002010345, 0.04942356050014496, 0.006893430836498737, -0.04861634224653244, 0.012676941230893135, 0.02414306066930294, -0.0019813452381640673, 0.03504046052694321, 0.005503736902028322, 0.07829983532428741, 0.05885329470038414, 0.0019228681921958923, 0.019116314128041267, 0.02781221829354763, -0.012731978669762611, 0.06652183830738068, -0.04175501689314842, -0.006645762361586094, 0.06876002252101898, 0.00759974354878068, 0.00796207319945097, -0.08908715844154358, -0.08490432053804398, 0.040287356823682785, -0.008475755341351032, 0.04703860729932785, -0.0013805207563564181, -0.015630614012479782, 0.034324973821640015, -0.056982025504112244, 0.04245216026902199, 0.019574958831071854, -0.009870035573840141, -0.011025819927453995, -0.006563206668943167, 0.017162486910820007, 0.004269982688128948, -0.04157156124711037, -0.03724195435643196, 0.06780604273080826, -0.011979800648987293, -0.02208833210170269, 0.000999845564365387, -0.016896473243832588, -0.011053338646888733, 0.08292297273874283, -0.07851998507976532, 0.05610142648220062, -0.00670079980045557, 0.004820356145501137, 0.030986038967967033, -0.00808132067322731, 0.06197207793593407, 0.021556302905082703, 0.0014332648133859038, -0.030160479247570038, -0.022987274453043938, -0.013007164932787418, -0.01979510672390461, 0.04091111198067665, 0.04358959570527077, -0.0016901058843359351, 0.01845586486160755, 0.0036966768093407154, -0.060247574001550674, 0.014355581253767014, -0.029683489352464676, -0.02592260204255581, 0.0276471059769392, -0.018740225583314896, -0.03509549796581268, -0.036746617406606674, -0.01885947212576866, 0.026509666815400124, -0.012750323861837387, 0.028876272961497307, -0.03010544180870056, 0.05800938978791237, -0.07573141902685165, -0.002366606844589114, 0.03406813368201256, 0.006434786133468151, 0.008544552139937878, 0.0030683334916830063, -0.02071239799261093, -0.010319506749510765, 0.02100593037903309, 0.07004422694444656, -0.0008553724619559944, -0.025739144533872604, -0.025170424953103065, 0.06685206294059753, -0.010181913152337074, 0.006728318519890308, 0.01975841633975506, 0.0013839605962857604, 0.031701523810625076, -0.07558465749025345, 0.03329760953783989, -0.027500338852405548, -0.07209895551204681, -0.006980573292821646, 0.0047286273911595345, 0.006563206668943167, -0.04124133661389351, 0.08541800081729889, -0.004386937245726585, 0.022235097363591194, -0.02478516288101673, 0.05114806443452835, 0.022877199575304985, -0.020162023603916168, -0.010282815434038639, 0.00284130428917706, -0.030894311144948006, 0.004391523543745279, -0.05404669791460037, -0.008911467157304287, 0.03151806816458702, -0.043075915426015854, 0.03498542308807373, -0.0020879802759736776, 0.04256223142147064, 0.039883747696876526, 0.041938476264476776, 0.0327288880944252, 0.04769905284047127, 0.041057877242565155, 0.023244116455316544, -0.0817488431930542, 0.04971709102392197, -0.0009889526991173625, -0.024088023230433464, 0.02208833210170269, -0.02151961252093315, -0.019446536898612976, -0.02518877014517784, 0.007934554480016232, -0.027720488607883453, 0.07602495700120926, -0.06534770131111145, 0.014850917272269726, -0.04036073759198189, -0.049680400639772415, -0.01791466400027275, -0.02603267692029476, 0.03404978662729263, -0.007824479602277279, -0.04920341074466705, 0.04946025088429451, 0.027958983555436134, 0.0295917596668005, -0.03039897419512272, 0.03709518909454346, -0.029133114963769913, -0.03260046988725662, -0.008613348938524723, 0.0018208196852356195, -0.07246587425470352, 0.010090184397995472, 0.02148292027413845, -0.010291988030076027, -0.05353301763534546, -0.032545432448387146, 0.03135295584797859, 0.08006102591753006, -0.028876272961497307, 0.005916517227888107, -0.053716473281383514, 0.047662362456321716, 0.015282043255865574, -0.0031394234392791986, 0.014062047936022282, -0.0011339992051944137, 0.030380629003047943, -0.031096113845705986, 0.017492711544036865, -0.03249039500951767, -0.04494718462228775, -0.018033912405371666, -0.06219222769141197, 0.0024193511344492435, -0.007851998321712017, -0.011429427191615105, 0.011163413524627686, -0.03599444031715393, 0.01895120181143284, 0.05287256836891174, -0.02265705168247223, -0.08864685893058777, 0.004077351652085781, -0.003118784399703145, 0.07114497572183609, -0.008539965376257896, 0.07264932990074158, 0.04986385628581047, 0.0022439195308834314, 0.007783201523125172, 0.012933782301843166, -0.022198406979441643, -0.04138810187578201, 0.0005543868755921721, -0.037755634635686874, -0.0035888953134417534, -0.02632620930671692, -0.03410482406616211, -0.021097658202052116, 0.018804434686899185, -0.0016339219873771071, 0.030380629003047943, -0.055037371814250946, 0.030784236267209053, 0.0034467154182493687, 0.01575903408229351, -0.03417820855975151, -0.09202248603105545, -0.012484310194849968, -0.058192845433950424, -0.04168163612484932, 0.00466441735625267, 0.012236641719937325, 0.020015256479382515, -0.0003253511094953865, -0.008269364945590496, -0.00036548252683132887, 0.01134687103331089, -0.017300080507993698, 0.061091482639312744, 0.026087714359164238, 0.05074445530772209, -0.04329606518149376, -0.022968929260969162, 0.0016167227877303958, 0.0021258185151964426, 0.007769442163407803, -0.001805913751013577, -0.030619123950600624, -0.040213972330093384, -0.025335535407066345, 0.03751714155077934, 0.015566403046250343, 0.05764247104525566, -0.06703551858663559, 0.01918969675898552, -0.02265705168247223, 0.0027885599993169308, -0.03043566644191742, 0.062302302569150925, -0.03282061964273453, 0.1064055860042572, 0.008608762174844742, -0.054890602827072144, -0.0671822801232338, 0.04369967058300972, 0.03595774993300438, 0.03841608390212059, -0.061128173023462296, -0.01794218271970749, 0.02262035943567753, 0.009558157064020634, 0.00917748175561428, 0.04953363537788391, -0.015520538203418255, -0.03546241298317909, -0.009989283047616482, -0.0047423867508769035, 0.0073383161798119545, 0.02063901349902153, -0.0204739011824131, -0.011099203489720821, 0.004366298206150532, 0.08710581064224243, 0.06123824790120125, -0.018199024721980095, 0.012016492895781994, 0.08387695252895355, 0.034563466906547546, -0.04245216026902199, -0.07492420822381973, 0.05257903411984444, -0.002401005243882537, -0.06479733437299728, -0.05837630480527878, 0.0065219285897910595, 0.003215099684894085, 0.022638704627752304, 0.030986038967967033, -0.011695440858602524, -0.00892064068466425, 0.043185990303754807, -0.011897244490683079, -0.019703378900885582, 0.01986849121749401, -0.06465056538581848, 0.034563466906547546, -0.022180059924721718, -0.04612131789326668, 0.03423324599862099, 0.07052122056484222, -0.05158836022019386, -0.02273043431341648, -0.05518413707613945, 0.026711471378803253, -0.06043103337287903, -0.018373308703303337, 0.02293223701417446, -0.00458644749596715, -0.022987274453043938, -0.011860553175210953, 0.0937836766242981, -0.03709518909454346, 0.013392427004873753, -0.02882123552262783, 0.026087714359164238, -0.026344554498791695, -0.0010629092575982213, 0.027298536151647568, 0.057899314910173416, 0.03168318048119545, -0.02740861102938652, -0.014043702743947506, -0.015089412219822407, -0.006485236808657646, -0.053753163665533066, -0.04828612133860588, 0.027298536151647568, -0.061898697167634964, -0.029133114963769913, -0.030123787000775337, 0.03181159868836403, -0.014043702743947506, -0.030454011633992195, -0.028711162507534027, -0.05885329470038414, 0.016786398366093636, 0.027922293171286583, 0.0029559654649347067, 0.0036508121993392706, 0.07096152007579803, -0.0003290776221547276, 0.009282969869673252, 0.01084236241877079, 0.052505653351545334, 0.0005036492948420346, -0.045204028487205505, 0.00308897253125906, -0.023079004138708115, -0.011438599787652493, 0.015493019483983517, -0.0632929727435112, 0.02007029391825199, -0.03375625237822533, -0.03153641149401665, -0.020583976060152054, 0.03465519845485687, -0.022400209680199623, -0.029536722227931023, -0.016896473243832588, 0.011842207983136177, -0.055844586342573166, 0.026014329865574837, 0.01330069825053215, 0.012548520229756832, 0.053312867879867554, -0.03922329843044281, 0.008544552139937878, -0.03296738490462303, 0.013043857179582119, 0.020455555990338326, -0.01243844535201788, -0.008627108298242092, 0.024821853265166283, 0.007301624398678541, -0.027390263974666595, 0.07551126927137375, -0.008512446656823158, -0.0005323145887814462, 0.07683216780424118, 0.012310025282204151, 0.01753857545554638, 0.07026437669992447, 0.02427148073911667, -0.013575884513556957, 0.07297955453395844, 0.04197516664862633, -0.025574032217264175, 0.00875552836805582, 0.024436593055725098, 0.02104262076318264, -0.02636289969086647, 0.034967076033353806, 0.00470569496974349, 0.007654780987650156, 0.0007366981590166688, -0.057752545922994614, -0.009296729229390621, -0.05929359421133995, 0.05114806443452835, 0.003210513386875391, 0.02313404157757759, -0.0009803532157093287, -0.04615800827741623, 0.010603866539895535, -0.013355735689401627, 0.0019607064314186573, 0.007297038100659847, -0.014621594920754433, 0.06399011611938477, -0.04278238117694855, 0.0034788204357028008, 0.07202557474374771, 0.05434023216366768, -0.04769905284047127, -0.024601705372333527, 0.056982025504112244, 0.0306741613894701, -0.02317073382437229, 0.011952281929552555, -0.00796207319945097, 0.04300253093242645, 0.020547285676002502, -0.002490441082045436, 0.02511538751423359, -0.040250662714242935, 0.0296284519135952, -0.015979183837771416, -0.010787324979901314, -0.018575113266706467, -0.030215516686439514, -0.01110837608575821, 0.05874321982264519, -0.02269374206662178, -0.017226697877049446, -0.0015421930002048612, -0.04050750657916069, 0.060247574001550674, -0.010741460137069225, -0.004834115505218506, 0.053312867879867554, -0.02414306066930294, -0.03390302136540413, -0.02201494760811329, -0.006049524527043104, -0.005866066552698612, 0.009677404537796974, 0.02317073382437229, 0.015465500764548779, 0.03548076003789902, 0.007297038100659847, 0.04982716590166092, 0.004026900976896286, -0.002923860214650631, 0.03656315803527832, 0.0023379416670650244, -0.049276791512966156, -0.0022072279825806618, -0.011814689263701439, 0.0075401198118925095, -0.03140799328684807, -0.03992043808102608, -0.046745073050260544, 0.03992043808102608, 0.06443041563034058, -0.022602014243602753, 0.06259583681821823, 0.0025156664196401834, -0.013961146585643291 ]
11,017
burnman.classes.layer
__str__
Prints details of the layer
def __str__(self): """ Prints details of the layer """ writing = ( f"The {self.name} is made of {self.material.name}" f" with {self.temperature_mode} temperatures and " f"{self.pressure_mode} pressures\n" ) return writing
(self)
[ 0.013331309892237186, -0.060744404792785645, 0.025360699743032455, 0.009086692705750465, 0.025164520367980003, -0.0643826499581337, -0.04269586130976677, 0.022061312571167946, 0.03229833021759987, -0.03372509405016899, -0.023862600326538086, -0.010754221118986607, -0.030604051426053047, 0.019136449322104454, 0.02157977968454361, 0.023666419088840485, -0.036846134811639786, -0.07932798564434052, -0.003388560377061367, 0.02002817578613758, 0.034937839955091476, 0.05068572983145714, 0.04041304066777229, -0.0150345079600811, 0.01606891117990017, 0.04875960201025009, 0.0017455545021221042, -0.0037876081187278032, -0.03276202827692032, -0.01452622376382351, -0.060530390590429306, -0.06149345636367798, -0.0020710346288979053, 0.033190056681632996, -0.021811628714203835, 0.03852258250117302, -0.025610383599996567, 0.00998733565211296, -0.03948564827442169, -0.02095557190477848, 0.04651245102286339, 0.014624313451349735, -0.026145419105887413, -0.012867612764239311, -0.06070873513817787, -0.022489340975880623, 0.015248522162437439, 0.014722403138875961, 0.010861228220164776, -0.04166145995259285, 0.022168319672346115, 0.04522836580872536, -0.023577246814966202, 0.00035000263596884906, -0.026965808123350143, -0.044978681951761246, 0.04269586130976677, -0.021490607410669327, 0.02018868736922741, -0.0015716678462922573, -0.03784487023949623, 0.001169276307336986, 0.02172245644032955, -0.01890460029244423, -0.05410996079444885, -0.015721136704087257, -0.04337357357144356, 0.02363075129687786, 0.03634677082300186, 0.07476234436035156, 0.06541705131530762, -0.016282925382256508, -0.0023496991489082575, 0.01736191287636757, -0.011958051472902298, -0.006701324135065079, -0.0467621348798275, -0.028410404920578003, 0.03292253986001015, -0.0653100460767746, -0.03306521475315094, -0.014205202460289001, -0.017451087012887, 0.02013518288731575, 0.015845978632569313, -0.07262220233678818, -0.0034621278755366802, -0.03012251853942871, -0.01915428414940834, 0.027625685557723045, -0.04076973348855972, 0.0335824191570282, -0.048581257462501526, 0.02899894304573536, -0.023755591362714767, -0.04155445098876953, 0.007668847218155861, -0.06934064626693726, 0.018405234441161156, 0.033243563026189804, -0.0023162593133747578, 0.011708368547260761, -0.02215048484504223, 0.013741504400968552, -0.02163328416645527, -0.06987567991018295, -0.025770893320441246, 0.013705835677683353, 0.0005523130530491471, 0.02038486674427986, 0.0022248574532568455, -0.024736491963267326, 0.0005796221666969359, -0.022935204207897186, 0.017691852524876595, -0.034010447561740875, -0.022114815190434456, -0.004358313046395779, 0.033707261085510254, -0.07362093776464462, 0.03572256118059158, -0.029034612700343132, -0.024379801005125046, -0.017736438661813736, 0.0026328223757445812, 0.056571125984191895, -0.025271527469158173, -0.007227442692965269, 0.03415312245488167, -0.08938665688037872, 0.019118614494800568, 0.02858874946832657, -0.04465765878558159, -0.010281605646014214, 0.07504769414663315, -0.010415364988148212, 0.016924967989325523, -0.00204762676730752, 0.03115692175924778, 0.13853861391544342, 0.01643451862037182, -0.02498617395758629, -0.03559771925210953, 0.028392570093274117, -0.03486650437116623, 0.0027576640713959932, -0.005127427168190479, 0.0035780523903667927, -0.01334022730588913, -0.03723849728703499, 0.04052004963159561, 0.0339747779071331, -0.0317276269197464, -0.005372651852667332, 0.01931479386985302, 0.009238285943865776, 0.008747836574912071, -0.025218022987246513, 0.059959687292575836, -0.006603234447538853, -0.029284296557307243, -0.03420662507414818, -0.0013988958671689034, 0.02245367132127285, 0.00955038983374834, 0.03770219534635544, -0.006500685587525368, -0.028178555890917778, 0.03727416321635246, 0.015890564769506454, 0.011530023068189621, -0.047047488391399384, -0.036739129573106766, 0.0651673674583435, 0.01294786762446165, 0.04494301229715347, 0.01084339339286089, 0.05061439424753189, -0.022079147398471832, -0.030354367569088936, 0.0022382333409041166, -0.041126422584056854, -0.061101093888282776, 0.042410507798194885, 0.06010236218571663, -0.07069607079029083, 0.023595081642270088, -0.006995593663305044, 0.025039678439497948, -0.02714415267109871, 0.01657719537615776, 0.025146685540676117, -0.03393910825252533, 0.003618180053308606, -0.009630645625293255, -0.06541705131530762, 0.052861541509628296, -0.09052807092666626, 0.0684845894575119, -0.005751635413616896, -0.038344237953424454, 0.03436713665723801, -0.011842126958072186, 0.021900800988078117, 0.031246094033122063, 0.021758124232292175, 0.04804622009396553, 0.003167858114466071, -0.07112409919500351, -0.0020654613617807627, 0.01575680635869503, 0.00006269951700232923, 0.0268231313675642, 0.03809455409646034, 0.07840058952569962, -0.080540731549263, -0.01672878861427307, 0.013723669573664665, -0.052397847175598145, 0.03151361271739006, 0.005671380087733269, -0.022685520350933075, 0.008025538176298141, 0.0051853894256055355, -0.04383727163076401, -0.001529310829937458, 0.03652511537075043, -0.012867612764239311, -0.027429504320025444, -0.015061259269714355, -0.020063845440745354, -0.043123889714479446, -0.038451243191957474, 0.05567939952015877, -0.03349324315786362, 0.03331489861011505, -0.05999535322189331, -0.030300864949822426, -0.04002068191766739, -0.06866293400526047, 0.008065666072070599, -0.014793741516768932, 0.013001371175050735, 0.002811167621985078, 0.03001551143825054, -0.05617876723408699, 0.02018868736922741, 0.04069839417934418, -0.023916102945804596, -0.006197498645633459, 0.03094290755689144, 0.013723669573664665, -0.009166947565972805, 0.030318699777126312, -0.008582866750657558, -0.10936132818460464, -0.04290987551212311, -0.02739383652806282, 0.04016336053609848, -0.012287990190088749, -0.05732017382979393, -0.007914071902632713, -0.002168009988963604, 0.047190163284540176, 0.044265300035476685, -0.02734033204615116, -0.05992401763796806, -0.029159454628825188, -0.0038054424803704023, -0.02070588804781437, 0.09245419502258301, 0.05410996079444885, -0.06209982931613922, 0.01961798220872879, -0.04258885607123375, -0.06812790036201477, 0.02553904429078102, -0.000967523199506104, -0.04975833371281624, -0.01751350797712803, 0.027019310742616653, -0.036846134811639786, -0.04258885607123375, 0.03247667849063873, 0.010344026610255241, -0.03713148832321167, 0.04012769088149071, 0.026555612683296204, 0.0345098115503788, -0.017031975090503693, 0.030782395973801613, 0.05450231954455376, 0.008065666072070599, 0.01264468114823103, 0.05792655050754547, -0.019350463524460793, 0.013919849880039692, 0.015676550567150116, -0.0017210320802405477, -0.04169712960720062, 0.01452622376382351, -0.01988549903035164, 0.07576107978820801, -0.0027888743206858635, -0.04615576192736626, -0.02054537646472454, -0.010611544363200665, -0.016595028340816498, -0.012831943109631538, -0.011708368547260761, 0.030782395973801613, 0.018476571887731552, 0.05336090922355652, 0.06135077774524689, 0.017228154465556145, 0.053218234330415726, -0.03090723790228367, -0.0028512952849268913, 0.018458737060427666, 0.06969733536243439, -0.005720424931496382, -0.025628218427300453, -0.023470239713788033, 0.03361808508634567, 0.03959265351295471, -0.06955466419458389, -0.006478392519056797, 0.002154634101316333, 0.06548839062452316, 0.0180842112749815, -0.0721941739320755, -0.024736491963267326, 0.0532539039850235, 0.0027844158466905355, -0.013884180225431919, 0.008440190926194191, 0.00012059207074344158, -0.022275326773524284, -0.028196390718221664, -0.012011555023491383, 0.08260953426361084, 0.030193857848644257, -0.05318256467580795, 0.0380232147872448, -0.0010644984431564808, 0.03948564827442169, 0.0013543094974011183, -0.013295641168951988, 0.051577456295490265, 0.06209982931613922, -0.029747994616627693, -0.03301171213388443, 0.030782395973801613, 0.019635817036032677, 0.023666419088840485, 0.0330473817884922, -0.006166288163512945, 0.020206520333886147, -0.03327922895550728, 0.022881699725985527, 0.022489340975880623, -0.03966399282217026, 0.0023028834257274866, 0.08018404245376587, -0.013866346329450607, -0.021437102928757668, 0.05778387188911438, 0.0058631012216210365, 0.05375326797366142, 0.01066504791378975, -0.032619353383779526, 0.0008070124313235283, -0.005600042175501585, -0.03033653274178505, -0.04997234791517258, 0.055429715663194656, 0.03249451145529747, 0.011663781479001045, 0.00674591027200222, -0.07882861793041229, 0.019403968006372452, 0.00904210563749075, -0.004411816596984863, 0.0499366819858551, 0.01710331253707409, -0.011235753074288368, -0.03322572633624077, 0.0029895128682255745, 0.012823025695979595, 0.013393730856478214, 0.009728735312819481, 0.005689214449375868, 0.007914071902632713, -0.009871412068605423, -0.01647910475730896, -0.05000801756978035, -0.016149165108799934, -0.023345397785305977, -0.04330223426222801, 0.030407872051000595, -0.0025547961704432964, -0.07711650431156158, -0.03454548120498657, -0.00621979171410203, -0.0258957352489233, 0.0017934847855940461, 0.02024218998849392, 0.03142444044351578, -0.008636370301246643, -0.0010689570335671306, 0.020509708672761917, -0.014294374734163284, -0.07041072100400925, -0.022721190005540848, 0.058318909257650375, 0.00386786344461143, -0.0022716731764376163, -0.00942554883658886, -0.02780403010547161, 0.0005091200582683086, -0.01956447772681713, 0.04761819168925285, 0.06149345636367798, 0.08474968373775482, -0.013215385377407074, -0.005671380087733269, -0.01874409057199955, 0.058889612555503845, 0.07362093776464462, 0.04130476713180542, -0.06937631964683533, -0.028606584295630455, -0.01689821667969227, -0.01334022730588913, 0.04440797492861748, -0.043587587773799896, 0.01771860383450985, -0.04048437997698784, -0.02286386676132679, 0.028285562992095947, 0.06495335698127747, -0.042517516762018204, -0.012198817916214466, 0.03568689152598381, -0.055073026567697525, -0.004672646522521973, -0.04355191811919212, -0.02343457005918026, 0.01698738895356655, 0.01885109767317772, 0.026181088760495186, 0.049365974962711334, -0.02646644040942192, -0.013144047930836678, 0.056000418961048126, -0.06488201767206192, 0.015738971531391144, -0.06577374041080475, -0.004280286841094494, -0.030782395973801613, -0.015168266370892525, 0.060173701494932175, -0.01698738895356655, 0.0625278577208519, 0.011842126958072186, -0.06969733536243439, 0.042517516762018204, 0.020741557702422142, -0.05475200340151787, -0.03723849728703499, 0.060637399554252625, 0.0041487570852041245, -0.03618625923991203, -0.010156763717532158, 0.026502110064029694, 0.06534571200609207, -0.03033653274178505, 0.021651117131114006, -0.015230687335133553, -0.03977099806070328, -0.07144512236118317, -0.06780687719583511, -0.04176846519112587, 0.017932618036866188, -0.010174598544836044, 0.060066692531108856, 0.017843445762991905, 0.02157977968454361, 0.04562072455883026, -0.01315296534448862, -0.01449947152286768, 0.03222699463367462, -0.02182946354150772, -0.04052004963159561, -0.0380232147872448, 0.043587587773799896, -0.03866525739431381, -0.011164414696395397, -0.07611776888370514, 0.026395102962851524, 0.005122968461364508, -0.0004205047443974763, -0.000990373664535582, -0.007561840116977692, 0.02744733914732933, -0.02404094487428665, 0.02987283654510975, 0.020260024815797806, 0.038914941251277924, 0.005122968461364508, 0.02826772816479206, -0.04893794655799866, 0.03322572633624077, 0.020884232595562935, -0.005145261529833078, -0.00287135923281312, -0.016354262828826904, 0.052041154354810715, -0.0028290022164583206, 0.02084856480360031, 0.00924720335751772, 0.01058479305356741, -0.01972498930990696, -0.051470451056957245, 0.0007117091445252299, 0.03310088440775871, -0.0001534048205940053, 0.005956732667982578, -0.023595081642270088, 0.08803123235702515, -0.0035334660205990076, 0.0030965199694037437, 0.00596119137480855, 0.00027295187464915216, -0.004793029744178057, 0.047653861343860626, -0.04783220589160919, -0.00499366782605648, -0.021151751279830933, -0.015337694436311722, 0.032672856003046036, -0.03866525739431381, 0.001965142088010907, -0.11635246872901917, 0.00911790318787098, -0.04587040841579437, 0.03866525739431381, -0.03286903724074364, 0.045763399451971054, -0.017522424459457397, 0.017540259286761284, -0.016443435102701187, -0.043944280594587326, -0.021900800988078117, 0.027429504320025444, 0.09131278842687607, -0.010138929821550846, 0.012965702451765537, -0.0024901460856199265, 0.0019506515236571431, -0.021847298368811607, 0.018779758363962173, 0.059602994471788406, 0.030764561146497726, -0.003774232231080532, 0.011209001764655113, 0.0027086189948022366, 0.00957714207470417, -0.029337799176573753, -0.03183463215827942, 0.011833209544420242, -0.012921116314828396, 0.05521570146083832, 0.018708420917391777, -0.051470451056957245, 0.005921063479036093, 0.07369226962327957, 0.04455065354704857, 0.042517516762018204, -0.006384761072695255, -0.028981110081076622, 0.034277964383363724, -0.01233257632702589, -0.04886660724878311, 0.009166947565972805, 0.02322055585682392, -0.00823955237865448, -0.013759339228272438, 0.03343974053859711, -0.018993772566318512, 0.0031477943994104862, -0.03991367667913437, 0.005711507983505726, -0.04326656833291054, 0.03178112953901291, -0.03204864636063576, -0.008747836574912071, -0.009791156277060509, 0.03420662507414818, 0.046833474189043045, -0.022721190005540848, 0.01522176992148161, -0.018458737060427666, 0.03459898754954338, 0.03181679919362068, 0.00514972023665905, 0.018405234441161156, 0.01776318997144699, -0.07889995723962784, 0.029801497235894203, 0.007535088341683149, -0.002759893424808979, -0.02477215975522995, -0.06163613125681877, -0.01751350797712803, -0.036739129573106766, 0.00790515448898077, -0.0007211837801150978, 0.0102994404733181, 0.014321126975119114, 0.011966968886554241, 0.06916230171918869, -0.08646179735660553, 0.026198923587799072, 0.004115317482501268, 0.009202617220580578, 0.007182856556028128, -0.06762853264808655, 0.017014140263199806, -0.06894829124212265, 0.001038303948007524, 0.03723849728703499, 0.007405788172036409, -0.0480818897485733, -0.04893794655799866, -0.006580940913408995, 0.010023005306720734, 0.020420534536242485, -0.047867875546216965, -0.043480582535266876, 0.000359477213351056, 0.037202827632427216, -0.0439799465239048, -0.0030853734351694584, -0.001668643089942634, 0.031442273408174515, -0.030354367569088936, -0.07376360893249512, 0.02791103720664978, -0.06680814176797867, -0.07251519709825516, 0.009318540804088116, 0.01058479305356741, 0.053218234330415726, 0.05931764096021652, 0.003417541505768895, -0.011530023068189621, 0.013295641168951988, 0.0027888743206858635, -0.0024745408445596695, -0.04041304066777229, -0.040092021226882935, 0.0268231313675642, -0.00813254527747631, 0.014258706010878086, -0.026698289439082146, -0.01547145377844572, -0.029230792075395584, 0.004904495552182198, -0.028142886236310005, -0.01668420247733593, 0.02564605139195919, 0.018708420917391777, -0.03533020243048668, -0.021544110029935837, 0.015248522162437439, 0.023933937773108482, 0.03436713665723801, 0.05560806021094322, -0.02297087386250496, 0.03795187547802925, -0.0024165785871446133, -0.007780313026160002, -0.015391197986900806, 0.04947298392653465, 0.09266821295022964, -0.060637399554252625, 0.04412262514233589, 0.017424333840608597, -0.023345397785305977, -0.07818657159805298, -0.07390628755092621, -0.01983199641108513, 0.00895739160478115, 0.05849725380539894, -0.03208431601524353, 0.014909666031599045, -0.036739129573106766, 0.034581150859594345, -0.027697023004293442, 0.013741504400968552, 0.04134043678641319, -0.0013688000617548823, 0.007205149624496698, 0.017995039001107216, -0.02043836936354637, 0.025931404903531075, -0.03322572633624077, 0.0016675284132361412, -0.0354372076690197, 0.029623152688145638, 0.10322625190019608, 0.007762478664517403, -0.023042211309075356, -0.027304664254188538, -0.03481300175189972, 0.020777225494384766, 0.020509708672761917, -0.014579727314412594, -0.003957035951316357, -0.008351017720997334, 0.03634677082300186, 0.02687663398683071, -0.03647161275148392, 0.017584845423698425, 0.06142211705446243, -0.06217116862535477, -0.02240016870200634, -0.00904210563749075, -0.001449055504053831, 0.012876530177891254, 0.04248184710741043, -0.045192696154117584, 0.00986249465495348, 0.02796454168856144, 0.0055643729865550995, 0.035562049597501755, 0.017522424459457397, 0.027179822325706482, 0.005809597671031952, 0.03151361271739006, 0.03208431601524353, -0.000028423779440345243, -0.0045834737829864025, 0.015302025713026524, 0.05164879560470581, 0.05567939952015877, 0.03511618822813034, -0.06078007444739342, 0.03848691284656525, 0.06666547060012817, 0.0300690159201622, -0.015177183784544468, 0.021205253899097443, 0.06812790036201477, -0.04672646522521973, 0.03791620954871178, -0.015239604748785496, 0.008810257539153099, -0.041839804500341415, -0.03028303012251854, -0.022542843595147133, 0.07048206031322479, 0.03966399282217026, -0.0009312967886216938, 0.08139678835868835, -0.05753418803215027, 0.0022660999093204737 ]
11,018
burnman.classes.layer
_compute_gravity
Computes the gravity of a layer Used by _evaluate_eos()
def _compute_gravity(self, density, gravity_bottom): """ Computes the gravity of a layer Used by _evaluate_eos() """ # Create a spline fit of density as a function of radius rhofunc = UnivariateSpline(self.radii, density) # Numerically integrate Poisson's equation def poisson(p, x): return 4.0 * np.pi * constants.G * rhofunc(x) * x * x grav = np.ravel( odeint(poisson, gravity_bottom * self.radii[0] * self.radii[0], self.radii) ) if self.radii[0] == 0: grav[0] = 0 grav[1:] = grav[1:] / self.radii[1:] / self.radii[1:] else: grav[:] = grav[:] / self.radii[:] / self.radii[:] return grav
(self, density, gravity_bottom)
[ 0.06698323786258698, -0.02226855233311653, -0.0348234698176384, 0.020634815096855164, 0.03416642174124718, -0.015351804904639721, -0.03091670572757721, -0.016399526968598366, 0.014526057057082653, 0.015556021593511105, 0.033509377390146255, -0.03349161893129349, -0.0030676971655339003, -0.0015793535858392715, -0.0616203136742115, 0.053522661328315735, -0.015484989620745182, 0.008759140968322754, -0.008093215525150299, -0.08161584287881851, 0.022872325032949448, -0.056577038019895554, -0.01489009615033865, -0.03347386047244072, -0.03041948191821575, -0.020723603665828705, 0.01566256955265999, 0.029460547491908073, 0.005482787266373634, -0.035427242517471313, 0.01568920724093914, -0.025642575696110725, 0.014854580163955688, -0.0012785771396011114, 0.032195281237363815, 0.023262999951839447, 0.07252373546361923, 0.04308094456791878, -0.0741574764251709, 0.029797950759530067, -0.04933176934719086, 0.017615951597690582, 0.05707426369190216, -0.028288519009947777, 0.008497210219502449, -0.010539382696151733, -0.004006652161478996, 0.017624830827116966, 0.013300754129886627, 0.07998210191726685, 0.006397325079888105, -0.036279626190662384, 0.0384993776679039, -0.04247717559337616, -0.05043276399374008, 0.05895661190152168, 0.056648071855306625, 0.04183788597583771, 0.022055456414818764, -0.051036536693573, 0.019214173778891563, -0.02388453111052513, -0.0027547122444957495, -0.050503797829151154, -0.012483885511755943, 0.05053931474685669, -0.019888978451490402, -0.002035512588918209, 0.02645944431424141, 0.034272968769073486, -0.03640393167734146, 0.025926703587174416, -0.010210858657956123, -0.021362893283367157, -0.027826810255646706, 0.05508536472916603, -0.012714738957583904, -0.061975475400686264, 0.05100101977586746, -0.09127619862556458, 0.030987737700343132, 0.010042157955467701, 0.05085895583033562, 0.02407986856997013, 0.05639945715665817, -0.013611518777906895, 0.003360704518854618, 0.02475467324256897, 0.027542682364583015, -0.02919417805969715, -0.007276346907019615, 0.022304067388176918, 0.025251898914575577, -0.00006236115586943924, 0.04059482365846634, 0.04070137068629265, -0.0441819429397583, -0.04901212453842163, 0.0071165249682962894, -0.006122075952589512, 0.0466325506567955, 0.05075240880250931, 0.0023684753105044365, 0.023937804624438286, 0.0028368430212140083, -0.01568920724093914, 0.006463917903602123, -0.02255268022418022, 0.03317197412252426, -0.006943384185433388, -0.04087895154953003, 0.014996644109487534, -0.02075912058353424, -0.035622578114271164, -0.03675909340381622, -0.028395067900419235, -0.013726945966482162, 0.04844386875629425, 0.008546045050024986, 0.018521610647439957, -0.03263923153281212, -0.0014261906035244465, -0.0026126480661332607, 0.03306542709469795, 0.03697218745946884, 0.008563803508877754, 0.0050255185924470425, 0.009087665006518364, 0.04730735346674919, -0.009997762739658356, 0.02056378312408924, -0.008923402987420559, 0.03331403806805611, -0.038250766694545746, 0.03500105068087578, -0.03567585349082947, 0.04776906222105026, -0.005038836970925331, 0.00001571168286318425, 0.042619239538908005, 0.012270788662135601, -0.016230827197432518, -0.05831732228398323, 0.012768013402819633, 0.004201990552246571, 0.045176390558481216, 0.027152005583047867, 0.022836808115243912, 0.033615924417972565, -0.022872325032949448, -0.006783562246710062, 0.019267447292804718, 0.06914971023797989, 0.06421298533678055, -0.010406197048723698, -0.02882125973701477, -0.003322968725115061, -0.013984437100589275, -0.006175349932163954, 0.040452759712934494, -0.07706978917121887, 0.02626410499215126, -0.050503797829151154, -0.003851269604638219, 0.023014388978481293, -0.018450578674674034, 0.008332949131727219, -0.021753570064902306, 0.03839283064007759, 0.05252820998430252, 0.033154215663671494, -0.05156927928328514, -0.048408351838588715, -0.04691667854785919, 0.03033069148659706, 0.045673616230487823, -0.0020754681900143623, 0.0188590120524168, -0.02010207436978817, 0.020652571693062782, 0.04592222720384598, -0.05782010033726692, -0.014827943406999111, -0.01061929389834404, -0.005611532833427191, 0.07813526690006256, 0.04041724279522896, -0.04400436207652092, -0.004166474565863609, -0.04190891608595848, 0.026139799505472183, -0.02340506576001644, -0.006219745147973299, -0.004732511006295681, 0.024346239864826202, 0.065633624792099, 0.04151824116706848, 0.016834599897265434, -0.021167553961277008, 0.029442790895700455, -0.06137170270085335, 0.0010787994833663106, -0.030170869082212448, -0.0059356167912483215, -0.06041276827454567, -0.006605981849133968, -0.001120974775403738, 0.01000664196908474, -0.022233035415410995, -0.00530964694917202, -0.0688655823469162, 0.018645916134119034, -0.03045499697327614, 0.008057699538767338, 0.028217487037181854, -0.02388453111052513, -0.03814421966671944, 0.009615965187549591, 0.008306311443448067, -0.012696981430053711, -0.04911867156624794, -0.03528517857193947, 0.011906749568879604, -0.03185788169503212, 0.031236350536346436, -0.025820154696702957, -0.0029589293990284204, 0.03441503643989563, -0.0210610069334507, -0.057038746774196625, 0.05288337171077728, 0.011178671382367611, -0.0028723590075969696, -0.02304990403354168, 0.07834836840629578, -0.10200203955173492, 0.0079111959785223, -0.0240976270288229, 0.022588195279240608, 0.011587105691432953, -0.012350699864327908, -0.03501880541443825, -0.044146426022052765, 0.05284785479307175, -0.045176390558481216, 0.003238618141040206, -0.008941160514950752, 0.056577038019895554, -0.0055804564617574215, 0.017225274816155434, -0.046525999903678894, -0.058352839201688766, -0.021025490015745163, 0.009136498905718327, 0.0007524958928115666, -0.028767986223101616, -0.006051043979823589, 0.07941384613513947, 0.042441658675670624, -0.005504984874278307, -0.022055456414818764, 0.026406168937683105, -0.0481952540576458, 0.0785614624619484, 0.014517177827656269, 0.0384993776679039, 0.052954401820898056, -0.022978872060775757, -0.04141169413924217, 0.014925612136721611, 0.04730735346674919, 0.0870853066444397, 0.0029988850001245737, -0.04950934648513794, 0.029709160327911377, 0.014756911434233189, 0.04798216000199318, 0.03347386047244072, 0.021380651742219925, 0.0029922255780547857, 0.05384230241179466, -0.0661308541893959, -0.020457234233617783, 0.051640309393405914, -0.06943383812904358, 0.03640393167734146, -0.0008523847791366279, 0.013478334061801434, 0.059702448546886444, 0.000055528482334921136, -0.00914537813514471, 0.043578170239925385, 0.015866786241531372, 0.04027517884969711, 0.0935492292046547, -0.02056378312408924, -0.020546024665236473, -0.01606212556362152, 0.03214200958609581, -0.013265238143503666, 0.09134723246097565, 0.02597997710108757, -0.031431689858436584, 0.009322958067059517, -0.030668092891573906, 0.06609533727169037, 0.06783562153577805, 0.04514087736606598, 0.0005036062211729586, -0.02237509936094284, -0.015955576673150063, -0.08438608795404434, 0.025908945128321648, 0.02997553162276745, 0.01992449350655079, -0.0527057908475399, 0.001738065853714943, 0.032745782285928726, -0.003540504490956664, 0.06467469036579132, 0.022126488387584686, 0.031254108995199203, 0.03132513910531998, 0.058743517845869064, -0.01577799767255783, -0.04087895154953003, 0.016896752640604973, 0.07191996276378632, 0.00488345418125391, 0.05888558179140091, -0.021398408338427544, -0.007640386465936899, 0.0003002214652951807, 0.027631472796201706, 0.018033264204859734, -0.00347391190007329, 0.07266580313444138, 0.010690325871109962, 0.012634828686714172, -0.07735391706228256, -0.002066589193418622, 0.07948487997055054, -0.048301804810762405, 0.032195281237363815, 0.005300767719745636, -0.03374022990465164, 0.06755149364471436, -0.07912971824407578, 0.037966638803482056, 0.010521624237298965, -0.03592446446418762, 0.04524742439389229, 0.009100982919335365, 0.013815736398100853, 0.0059444960206747055, 0.0027902282308787107, 0.00590010080486536, 0.0038756870198994875, 0.02322748489677906, 0.030774641782045364, 0.01108988095074892, 0.057607002556324005, -0.028892291709780693, 0.03675909340381622, -0.005105429328978062, -0.02189563401043415, -0.051533762365579605, 0.04169582203030586, 0.02919417805969715, -0.020137589424848557, -0.02154047228395939, -0.03233734518289566, -0.03906763345003128, 0.017518281936645508, -0.033615924417972565, 0.017651468515396118, -0.013061020523309708, -0.02255268022418022, 0.035977739840745926, -0.0033940006978809834, -0.0019345137989148498, 0.004266363102942705, -0.024328481405973434, 0.01024637557566166, 0.0608389638364315, -0.010459471493959427, -0.001411762204952538, -0.03434400260448456, 0.05032621696591377, -0.03301215171813965, 0.03377574682235718, -0.04475019872188568, 0.06893661618232727, 0.0388900563120842, -0.019107624888420105, 0.02617531456053257, 0.04038172960281372, -0.016390647739171982, -0.049083154648542404, 0.033722471445798874, -0.012004418298602104, -0.04411091282963753, -0.044039878994226456, 0.020634815096855164, 0.013940042816102505, -0.10811080038547516, 0.04166030511260033, 0.020830152556300163, 0.014872338622808456, 0.07032174617052078, -0.023742467164993286, -0.008679229766130447, -0.049083154648542404, 0.011888992041349411, -0.04279681667685509, -0.07394437491893768, -0.011311856098473072, -0.008967798203229904, -0.0011265241773799062, 0.01859264262020588, 0.0019600410014390945, 0.01279465015977621, 0.016807962208986282, 0.03867695853114128, -0.022694744169712067, 0.0028656998183578253, -0.016390647739171982, 0.0016026609810069203, -0.007866800762712955, 0.019675880670547485, -0.03041948191821575, 0.01522749848663807, -0.027666987851262093, -0.026601508259773254, 0.03223079815506935, -0.005620412062853575, 0.048585932701826096, -0.01916089840233326, 0.011160912923514843, 0.004967804998159409, 0.04304543137550354, 0.0680842325091362, 0.022819049656391144, -0.02530517242848873, -0.052670273929834366, 0.018610401079058647, 0.013682550750672817, -0.004523854702711105, 0.008461694233119488, -0.025340689346194267, 0.03507208079099655, 0.0009300760575570166, 0.06041276827454567, 0.041198596358299255, 0.006290777120739222, -0.037966638803482056, -0.0551563985645771, -0.022019939497113228, -0.0704282894730568, -0.012057692743837833, -0.03338506817817688, 0.040736887603998184, -0.051427215337753296, 0.03082791529595852, -0.03130738064646721, 0.023014388978481293, 0.01000664196908474, -0.014055469073355198, -0.015280772931873798, -0.030011046677827835, 0.06513640284538269, -0.03224855661392212, 0.0033473859075456858, -0.036830123513936996, -0.04801767319440842, -0.007960030809044838, -0.009615965187549591, 0.05824629217386246, 0.016328494995832443, -0.058175258338451385, 0.0069123078137636185, -0.02285456657409668, -0.05433952808380127, 0.014037711545825005, -0.01695890538394451, 0.049367282539606094, 0.008328509517014027, 0.018912287428975105, 0.03139617294073105, -0.0498645082116127, -0.05831732228398323, 0.00164816586766392, 0.010219737887382507, -0.018699191510677338, -0.007578233256936073, -0.0017935596406459808, -0.022925598546862602, -0.03322524577379227, 0.05622187629342079, -0.021078765392303467, -0.03510759770870209, 0.03878350555896759, -0.010885663330554962, 0.0050255185924470425, -0.004861257039010525, -0.0616203136742115, -0.026299621909856796, 0.022712502628564835, 0.0014395092148333788, 0.021771326661109924, 0.05501433461904526, -0.03839283064007759, -0.006281897891312838, 0.0011675895657390356, -0.008896766230463982, -0.034184180200099945, -0.01575135998427868, 0.02560705877840519, -0.04453710466623306, -0.012244151905179024, -0.005718081258237362, 0.057784583419561386, -0.030756883323192596, -0.021664779633283615, -0.0023973321076482534, 0.01584015041589737, -0.0035782402846962214, -0.03587119281291962, 0.02740061841905117, -0.03194667026400566, -0.0035160870756953955, -0.029034355655312538, 0.001770252245478332, -0.012403974309563637, 0.004572689067572355, -0.04382678121328354, -0.0030277417972683907, -0.11372233182191849, -0.14604191482067108, -0.02226855233311653, -0.031147560104727745, -0.03111204318702221, 0.06090999394655228, -0.054304011166095734, 0.028004391118884087, 0.011018848977982998, 0.03764699399471283, -0.0774959847331047, 0.001680352259427309, -0.004563809838145971, -0.0635736957192421, -0.018734706565737724, -0.020652571693062782, 0.003447274910286069, 0.050503797829151154, 0.06115860491991043, -0.0811186134815216, -0.0025105394888669252, 0.0015493868850171566, 0.034468308091163635, -0.0006331842741928995, -0.0035316254943609238, 0.04645496979355812, 0.042619239538908005, -0.036936674267053604, -0.018610401079058647, -0.04276130348443985, 0.030401723459362984, 0.024790190160274506, 0.06247270107269287, -0.028181971982121468, 0.02834179252386093, 0.016266342252492905, 0.020031042397022247, 0.033243004232645035, 0.00784460362046957, 0.007436169311404228, -0.022055456414818764, 0.00512318778783083, -0.06623739749193192, 0.04645496979355812, -0.08126068115234375, 0.020510507747530937, -0.03150271996855736, -0.008874568156898022, 0.02029741182923317, -0.028945565223693848, 0.07863249629735947, -0.006579345092177391, 0.046881161630153656, 0.007453927304595709, 0.004470580257475376, 0.0006320743705146015, -0.019675880670547485, -0.057145293802022934, -0.03155599534511566, -0.013345149345695972, 0.02304990403354168, -0.033527132123708725, -0.005620412062853575, -0.05071689188480377, 0.01797999069094658, -0.006397325079888105, 0.006477236282080412, -0.018326273187994957, -0.022534921765327454, 0.02626410499215126, 0.022410616278648376, -0.019960010424256325, -0.0818999707698822, -0.0310054961591959, -0.029158661141991615, -0.03537396714091301, 0.051036536693573, -0.016683656722307205, 0.009163136593997478, -0.012261910364031792, 0.02663702331483364, 0.049367282539606094, 0.0011864574626088142, -0.04521190747618675, 0.01848609372973442, -0.04769803211092949, -0.05565362051129341, 0.02342282235622406, -0.029087629169225693, 0.046028777956962585, -0.09795321524143219, 0.014534936286509037, -0.002765811048448086, 0.006166471168398857, 0.02740061841905117, -0.04166030511260033, -0.03366919979453087, -0.026779087260365486, 0.045744650065898895, -0.05071689188480377, 0.028181971982121468, -0.06595326960086823, 0.006712529808282852, 0.02768474631011486, 0.030135352164506912, -0.019320720806717873, 0.02123858779668808, 0.009518296457827091, -0.003647052450105548, 0.009891214780509472, 0.04570913314819336, 0.029229693114757538, -0.011649258434772491, -0.05405540019273758, 0.024488303810358047, 0.028874533250927925, -0.021735811606049538, -0.05604429915547371, -0.031733572483062744, -0.00833738874644041, -0.02731182798743248, -0.009891214780509472, -0.0356580950319767, 0.006814638618379831, -0.003706985851749778, -0.04975796118378639, 0.01029076986014843, -0.026601508259773254, -0.08040829747915268, 0.001004437799565494, -0.05792664736509323, -0.03082791529595852, 0.024204175919294357, 0.02274801768362522, -0.047555968165397644, 0.04112756624817848, -0.026814604178071022, -0.04407539591193199, -0.02560705877840519, 0.06108757480978966, 0.06502985209226608, 0.04904764145612717, 0.06687668710947037, 0.05203098803758621, 0.025251898914575577, -0.010770236141979694, 0.03453934192657471, 0.04180236905813217, -0.0037580400239676237, -0.037327349185943604, -0.03938727825880051, 0.02161150611937046, 0.022925598546862602, -0.007729176431894302, -0.004950047004967928, 0.03223079815506935, 0.00437069172039628, 0.039209697395563126, -0.08921626955270767, -0.030863432213664055, 0.025180866941809654, -0.007085448130965233, -0.007986667566001415, -0.022162003442645073, -0.013211963698267937, -0.025482753291726112, -0.00966923963278532, -0.021309619769454002, -0.0042508249171078205, -0.011320735327899456, 0.010201980359852314, -0.04901212453842163, 0.015422836877405643, 0.01905435137450695, 0.004577128682285547, 0.01170253288000822, -0.015405078418552876, -0.008266356773674488, 0.01981794647872448, 0.028963323682546616, 0.050965506583452225, -0.026051009073853493, -0.01848609372973442, 0.006983339786529541, -0.00038540444802492857, 0.03672357648611069, -0.019196415320038795, -0.027453891932964325, -0.017003299668431282, 0.025092076510190964, -0.02368919365108013, -0.04681013152003288, 0.025713607668876648, -0.011214187368750572, 0.048301804810762405, -0.0028634800110012293, -0.04208649694919586, -0.012519401498138905, -0.01999552547931671, -0.04059482365846634, -0.013291874900460243, -0.0700376108288765, 0.02814645506441593, -0.013061020523309708, -0.016852356493473053, -0.04219304397702217, -0.05984451249241829, 0.06126515567302704, 0.016577107831835747, -0.01850385218858719, -0.042619239538908005, -0.013700309209525585, 0.04041724279522896, 0.07017967849969864, 0.05018415302038193, 0.044714685529470444, -0.03414866328239441, 0.07113861292600632, 0.016337374225258827, -0.024523820728063583, -0.01161374244838953, -0.029922256246209145, 0.005411755293607712, -0.025571541860699654, -0.08303648233413696, -0.008319630287587643, 0.03461037203669548, 0.04293888062238693, 0.036084286868572235, -0.024133143946528435, 0.019746914505958557 ]
11,019
burnman.classes.layer
_compute_pressure
Calculate the pressure profile based on density and gravity. This integrates the equation for hydrostatic equilibrium P = rho g z. Used by _evaluate_eos()
def _compute_pressure(self, density, gravity, pressure_top): """ Calculate the pressure profile based on density and gravity. This integrates the equation for hydrostatic equilibrium P = rho g z. Used by _evaluate_eos() """ # flip radius, density and gravity to increasing pressure depthfromtop = -self.radii[::-1] + max(self.radii) density = density[::-1] gravity = gravity[::-1] # Make a spline fit of density as a function of depth rhofunc = UnivariateSpline(depthfromtop, density) # Make a spline fit of gravity as a function of depth gfunc = UnivariateSpline(depthfromtop, gravity) # integrate the hydrostatic equation pressure = np.ravel( odeint((lambda p, x: gfunc(x) * rhofunc(x)), pressure_top, depthfromtop) ) return pressure[::-1]
(self, density, gravity, pressure_top)
[ 0.008931384421885014, -0.004557606298476458, -0.01626659743487835, 0.000018057105990010314, 0.05229702219367027, -0.0012083373731002212, 0.008209520019590855, -0.04946336895227432, -0.03866679593920708, -0.027099039405584335, 0.06309359520673752, -0.009065893478691578, -0.018938839435577393, 0.014195161871612072, -0.08235525339841843, 0.03816463053226471, -0.01104765571653843, 0.021754557266831398, -0.006380200851708651, -0.054592639207839966, -0.020176319405436516, -0.06025994196534157, -0.009200401604175568, 0.008128815330564976, -0.026830021291971207, -0.030847351998090744, 0.020373599603772163, -0.016194859519600868, -0.03888200968503952, -0.041356973350048065, 0.012715565040707588, 0.04261238873004913, -0.005922870710492134, 0.020821962505578995, 0.04494387283921242, 0.03029138222336769, 0.046880800276994705, 0.05904039740562439, -0.07195324450731277, 0.05426981672644615, -0.044011279940605164, -0.013092190027236938, 0.005254810675978661, -0.02639959380030632, 0.020983373746275902, -0.004923021886497736, -0.007048261351883411, -0.0038738534785807133, 0.053014401346445084, 0.017190225422382355, 0.012240300886332989, -0.048315562307834625, 0.005012694746255875, -0.016741862520575523, -0.04099828377366066, 0.06187404692173004, 0.03360926732420921, 0.025395261123776436, 0.008092946372926235, -0.029251180589199066, 0.021611081436276436, -0.004465692210942507, -0.0018595841247588396, -0.06295011937618256, 0.006429520435631275, 0.014715262688696384, -0.024911029264330864, 0.008151233196258545, 0.024426797404885292, 0.00229337508790195, -0.03414729982614517, -0.001982883783057332, -0.018974708393216133, -0.03384241461753845, 0.010294406674802303, 0.03448805585503578, 0.018705690279603004, -0.07510971277952194, 0.03127777948975563, -0.08285742253065109, -0.0015367630403488874, 0.005703173112124205, 0.055919792503118515, 0.036442916840314865, 0.032622866332530975, 0.04666558653116226, 0.01693914085626602, 0.00042202137410640717, -0.021090980619192123, 0.026309920474886894, 0.0038021153304725885, -0.0046315863728523254, 0.017557881772518158, -0.003051107982173562, 0.09820935875177383, 0.008352996781468391, -0.044083017855882645, -0.03188755363225937, 0.015154657885432243, -0.05014488101005554, 0.04659384861588478, 0.0363173745572567, -0.03014790639281273, -0.013101156800985336, 0.019584480673074722, -0.02526972070336342, 0.05132855847477913, 0.03902548551559448, 0.046988409012556076, -0.00826332438737154, -0.013047353364527225, -0.017181256785988808, -0.05965016782283783, -0.02821097895503044, -0.026166444644331932, -0.02564634382724762, -0.016804633662104607, 0.062017522752285004, 0.0359407514333725, 0.012661761604249477, -0.045446038246154785, 0.011809872463345528, -0.023099644109606743, 0.027332188561558723, 0.004497077781707048, -0.003660881193354726, -0.002896422753110528, -0.022328460589051247, -0.02216704934835434, 0.03683747723698616, 0.007111032027751207, 0.03484674543142319, 0.053014401346445084, -0.04436996951699257, 0.0073127951472997665, -0.053803518414497375, 0.05828714743256569, -0.01815868727862835, 0.04042437672615051, -0.0023202768061310053, 0.037016820162534714, 0.009675666689872742, -0.06574790179729462, 0.003051107982173562, 0.024803422391414642, 0.05254810303449631, 0.02333279326558113, 0.006972039584070444, 0.00832161121070385, 0.025287654250860214, -0.04013742506504059, 0.03726790472865105, 0.046055812388658524, 0.06460009515285492, 0.0748945027589798, -0.07884009182453156, 0.007124482654035091, 0.01596171036362648, -0.034021757543087006, -0.007389016915112734, -0.04228956624865532, 0.022669216617941856, -0.024570273235440254, 0.0067613092251122, -0.02787022292613983, -0.023117579519748688, 0.024480601772665977, -0.02855173498392105, 0.03751898929476738, 0.015378839336335659, 0.0004887153045274317, -0.0956985279917717, -0.07026739418506622, -0.016167957335710526, 0.03301742672920227, 0.010464784689247608, 0.008196069858968258, -0.0018920904258266091, -0.022059442475438118, 0.047669917345047, 0.006546095013618469, -0.05652956664562225, 0.00252876547165215, -0.009872945956885815, 0.027511533349752426, 0.07044674456119537, 0.0662141963839531, -0.06754135340452194, 0.005133752711117268, -0.028623472899198532, -0.027421860024333, -0.023171382024884224, -0.009478386491537094, 0.021270325407385826, 0.1013658344745636, 0.039993949234485626, 0.050288356840610504, 0.02544906549155712, -0.0031744076404720545, 0.029287049546837807, -0.045374300330877304, -0.007218638900667429, -0.0034703270066529512, -0.02693762816488743, -0.0055014099925756454, -0.00835748016834259, -0.023314857855439186, 0.003660881193354726, -0.014571786858141422, 0.006770276464521885, -0.0404602475464344, -0.003968009725213051, -0.0168315339833498, -0.016239695250988007, 0.0049454402178525925, 0.021324127912521362, 0.009352845139801502, -0.05358830466866493, 0.0270452369004488, -0.00883274432271719, -0.02247193641960621, -0.01057239156216383, 0.014320703223347664, -0.027529466897249222, 0.04318629205226898, -0.01053652260452509, -0.03283808007836342, 0.044011279940605164, -0.012697630561888218, -0.0228844303637743, 0.05717520788311958, -0.0011825565015897155, -0.015970679000020027, -0.007545943837612867, 0.05114921182394028, -0.015145691111683846, -0.08752039074897766, -0.03260493278503418, -0.014760099351406097, 0.048243824392557144, -0.01951274275779724, -0.018033146858215332, -0.017988311126828194, -0.0016309191705659032, -0.06865329295396805, -0.0211806520819664, -0.004680906422436237, 0.05014488101005554, 0.009352845139801502, -0.015558184124529362, -0.01645490899682045, -0.05161551013588905, -0.02356594242155552, 0.005617984104901552, -0.020265992730855942, -0.0079405028373003, 0.06685984134674072, 0.028390323743224144, 0.033304378390312195, -0.017988311126828194, 0.022866496816277504, -0.03769833222031593, 0.017683424055576324, 0.071881502866745, -0.013226699084043503, 0.01057239156216383, 0.01981762982904911, -0.0291256383061409, -0.06061863154172897, 0.016445942223072052, -0.001960465684533119, 0.015782365575432777, 0.026507200673222542, -0.051041606813669205, 0.035617928951978683, 0.012984583154320717, 0.048387300223112106, 0.05735455080866814, 0.04146457836031914, 0.0037796972319483757, 0.011612593196332455, -0.043437376618385315, 0.001283438177779317, -0.008249873295426369, -0.025054505094885826, 0.005954256281256676, 0.009971586056053638, -0.011379444040358067, 0.04630689695477486, 0.0028695210348814726, -0.03809289261698723, 0.016652189195156097, -0.050969868898391724, 0.040101557970047, 0.11506779491901398, 0.03633531183004379, -0.016894305124878883, -0.039850473403930664, 0.02329692430794239, -0.013083222322165966, 0.07589883357286453, 0.04584059864282608, -0.017486143857240677, -0.02329692430794239, -0.04662971571087837, 0.04239717498421669, 0.04946336895227432, 0.004550881218165159, 0.013334305956959724, -0.054592639207839966, -0.01936926692724228, -0.0010009696707129478, 0.022041508927941322, 0.09211162477731705, -0.025933297351002693, -0.05692412331700325, -0.011244935914874077, 0.02561047486960888, 0.00826332438737154, 0.0491764172911644, -0.016015514731407166, 0.01736060157418251, 0.06255555897951126, 0.02632785588502884, -0.017387503758072853, 0.026274051517248154, -0.048889465630054474, 0.04512321949005127, 0.028946293517947197, -0.0014986522728577256, -0.06729026883840561, 0.024911029264330864, 0.008164684288203716, 0.036442916840314865, 0.02125238999724388, -0.009263172745704651, 0.060044728219509125, -0.004353601485490799, -0.025180047377943993, -0.05764150619506836, -0.015038084238767624, 0.043365638703107834, -0.014060652814805508, 0.03694508224725723, 0.030129970982670784, -0.07424885779619217, 0.04788513109087944, -0.09361812472343445, 0.057282812893390656, -0.003494987031444907, -0.02889249101281166, 0.0298788882791996, 0.00484231673181057, 0.029412591829895973, 0.03540271520614624, -0.0005383154493756592, -0.020301861688494682, 0.023440400138497353, 0.03131365031003952, 0.009110729210078716, 0.025520803406834602, 0.006025994196534157, -0.04146457836031914, 0.05337309092283249, -0.009388714097440243, -0.03812875971198082, -0.05753389745950699, 0.08687475323677063, -0.03762659430503845, 0.004721258766949177, -0.00221266970038414, -0.06273490190505981, -0.013881308026611805, 0.004501561168581247, -0.023476269096136093, 0.034129366278648376, 0.007635616231709719, -0.007218638900667429, 0.035617928951978683, -0.01883123256266117, 0.01178297121077776, 0.04228956624865532, -0.05681651830673218, 0.013701963238418102, 0.019154053181409836, -0.023924631997942924, -0.04322216287255287, -0.03025551326572895, 0.0412134975194931, -0.019692087545990944, 0.0122941043227911, -0.019423071295022964, 0.05832301452755928, -0.03052452951669693, 0.051113344728946686, 0.037232037633657455, 0.04254065081477165, -0.019118184223771095, -0.06445661932229996, 0.06033167988061905, -0.014222064055502415, -0.10237016528844833, 0.015943776816129684, 0.03726790472865105, 0.023996369913220406, -0.13508270680904388, 0.06510225683450699, 0.008523373864591122, 0.03316090255975723, 0.03615596517920494, 0.007007908541709185, -0.0032730475068092346, -0.03346578776836395, 0.04214609041810036, -0.05470024421811104, -0.02564634382724762, -0.005254810675978661, -0.045589517802000046, 0.004290830809623003, 0.023691482841968536, 0.028766948729753494, -0.016436975449323654, -0.046844933182001114, 0.03502609208226204, -0.013074255548417568, -0.016930174082517624, -0.03769833222031593, 0.02489309571683407, 0.00877445749938488, 0.07317278534173965, -0.014867706224322319, -0.00195710314437747, -0.03664019703865051, -0.016992945224046707, 0.027959896251559258, 0.03325057402253151, 0.06040341779589653, 0.035492390394210815, 0.05086226016283035, -0.0012386018643155694, 0.07697490602731705, 0.07661621272563934, 0.01849047653377056, -0.022005639970302582, -0.05566870793700218, 0.0016757554840296507, -0.003257354721426964, -0.05279918760061264, -0.04716775193810463, -0.02042740397155285, 0.02591536194086075, 0.00683753052726388, 0.06442074477672577, 0.024803422391414642, -0.01988936774432659, -0.04447757825255394, -0.01060826051980257, -0.011980250477790833, -0.061371881514787674, -0.0055148606188595295, 0.018436672165989876, 0.052404627203941345, 0.0022171533200889826, 0.027529466897249222, -0.02247193641960621, -0.0156926941126585, -0.01227616984397173, -0.014356572180986404, -0.03434458002448082, -0.005604533478617668, 0.049606844782829285, -0.001401133369654417, -0.046127550303936005, -0.024068107828497887, -0.08185309171676636, 0.028085436671972275, 0.005308614112436771, 0.05760563537478447, 0.051077473908662796, -0.05351656675338745, 0.006927203387022018, -0.047454703599214554, -0.01458075363188982, 0.04182326793670654, 0.028802817687392235, 0.029645739123225212, 0.006286044605076313, 0.028246847912669182, 0.044836267828941345, -0.05638609081506729, -0.024408863857388496, -0.03812875971198082, 0.00885067880153656, 0.029860952869057655, -0.06434901058673859, 0.007043777499347925, 0.004216850735247135, -0.03536684811115265, 0.04164392501115799, -0.03086528554558754, -0.015710627660155296, 0.010688966140151024, 0.05136442556977272, -0.03974286839365959, 0.015495413914322853, -0.03664019703865051, 0.014571786858141422, 0.058609966188669205, -0.01452695019543171, 0.059470824897289276, 0.012034053914248943, -0.029412591829895973, -0.0009690237930044532, -0.017539948225021362, 0.013612290844321251, 0.007285893429070711, 0.018221458420157433, 0.03325057402253151, -0.027565335854887962, -0.028874555602669716, -0.009765339083969593, 0.050324223935604095, -0.0024996218271553516, 0.025843624025583267, 0.02196977101266384, 0.037124428898096085, -0.02950226329267025, -0.028121305629611015, 0.02431919053196907, -0.0014896849170327187, 0.004046473186463118, -0.024068107828497887, 0.016625287011265755, -0.03755485638976097, 0.008344029076397419, -0.05832301452755928, -0.03414729982614517, -0.132356658577919, -0.06603485345840454, -0.06097732111811638, -0.016688058152794838, -0.007227606140077114, 0.046235159039497375, -0.04322216287255287, 0.04734709858894348, -0.015952743589878082, 0.012096825055778027, -0.021736621856689453, 0.009863978251814842, -0.004145112819969654, -0.010303374379873276, -0.03513369709253311, -0.01743234135210514, 0.031223976984620094, 0.03873853385448456, 0.05699586123228073, -0.06449248641729355, 0.011101460084319115, -0.013567454181611538, 0.01671496033668518, 0.001171347452327609, -0.04167979210615158, -0.00774322310462594, 0.019279595464468002, -0.059291478246450424, -0.0211806520819664, -0.06825873255729675, 0.05290679633617401, -0.019602416083216667, -0.015710627660155296, -0.018526345491409302, 0.020517075434327126, 0.03127777948975563, 0.007505591027438641, 0.04315042123198509, -0.04784926399588585, 0.054413292557001114, -0.008761006407439709, 0.025664279237389565, -0.022597478702664375, 0.03427284210920334, -0.044872134923934937, -0.006241208408027887, -0.06312946230173111, -0.011594658717513084, 0.011101460084319115, 0.026220249012112617, 0.07177389413118362, 0.05157964304089546, -0.022597478702664375, -0.02421158365905285, -0.03570760414004326, -0.006398135330528021, -0.04315042123198509, -0.06646528095006943, 0.005541762337088585, -0.004467933904379606, -0.012742467224597931, -0.023583875969052315, 0.002952468115836382, -0.07432059198617935, 0.020786093547940254, -0.0009253084426745772, -0.013944079168140888, 0.002486170968040824, -0.02939465641975403, 0.04566125571727753, -0.015011182054877281, -0.02697349712252617, -0.08328785002231598, 0.051723118871450424, -0.023817025125026703, -0.007779092062264681, 0.05229702219367027, 0.02329692430794239, 0.017297832295298576, -0.03881027176976204, -0.05685238540172577, 0.01316392794251442, 0.04365259036421776, -0.07245540618896484, 0.044728659093379974, -0.0046450369991362095, -0.01456281915307045, 0.0025153146125376225, 0.01611415483057499, 0.0529426634311676, -0.1127004399895668, -0.011558789759874344, -0.03222830966114998, 0.010491686873137951, -0.007577328942716122, -0.001998576568439603, 0.003855918999761343, -0.049642715603113174, 0.009034507907927036, -0.0021958560682833195, -0.0006910389638505876, -0.048961203545331955, -0.026578938588500023, -0.028695210814476013, 0.022328460589051247, -0.04706014692783356, 0.017504079267382622, 0.05419807881116867, -0.024480601772665977, -0.02387082763016224, 0.011711233295500278, -0.012303072027862072, -0.013074255548417568, -0.026686545461416245, -0.003494987031444907, 0.01705571636557579, 0.017163323238492012, -0.06894024461507797, 0.034739140421152115, 0.0262919869273901, -0.026578938588500023, -0.005227908492088318, 0.01057239156216383, 0.02855173498392105, 0.004676422569900751, -0.039850473403930664, 0.005577631760388613, 0.00393438246101141, -0.04641450196504593, -0.0025803272146731615, -0.021162718534469604, -0.03581520915031433, -0.0019705540034919977, 0.053122010082006454, -0.03093702346086502, 0.058000195771455765, -0.05326548591256142, -0.0078104776330292225, 0.013486748561263084, 0.00960392877459526, 0.04637863487005234, 0.023996369913220406, 0.050431832671165466, 0.04845903813838959, 0.009630830027163029, 0.0016522164223715663, 0.004792996682226658, 0.04723948985338211, 0.046199288219213486, -0.002247417811304331, -0.023960500955581665, -0.008030175231397152, 0.008787908591330051, -0.00571214035153389, -0.02469581551849842, -0.034972287714481354, -0.01603344827890396, 0.046952538192272186, -0.09347464889287949, -0.029018031433224678, 0.022454002872109413, 0.04813621565699577, -0.053014401346445084, -0.03317883610725403, -0.007263475097715855, 0.016813600435853004, 0.0018898486159741879, -0.02530558966100216, 0.04533843323588371, 0.02254367433488369, 0.017046747729182243, -0.01698397845029831, -0.054556768387556076, -0.021162718534469604, -0.011908512562513351, 0.002791057573631406, -0.0228844303637743, 0.0038267753552645445, 0.06632180511951447, 0.01883123256266117, 0.06373924016952515, 0.00549244275316596, -0.02939465641975403, 0.024157781153917313, 0.035617928951978683, 0.037770070135593414, -0.024713750928640366, -0.021324127912521362, 0.005931837949901819, 0.031295713037252426, -0.02087576501071453, -0.050360094755887985, -0.002840377390384674, -0.02394256554543972, 0.03240765258669853, 0.008231938816606998, -0.020857831463217735, -0.0038671279326081276, -0.0046898736618459225, -0.01142428070306778, 0.01698397845029831, -0.00881032645702362, 0.02394256554543972, -0.02609470672905445, -0.01693914085626602, -0.06434901058673859, -0.062196869403123856, 0.08637258410453796, -0.010697932913899422, 0.03595868498086929, -0.04006568714976311, -0.0019996974151581526, 0.0027641558554023504, 0.038630928844213486, 0.04835142940282822, 0.027278384193778038, -0.009505288675427437, 0.016481811180710793, 0.01149601861834526, 0.033716872334480286, -0.014500048942863941, -0.04810034856200218, -0.008352996781468391, -0.05703173205256462, -0.028874555602669716, 0.0032820147462189198, 0.06904785335063934, 0.06122840568423271, 0.05477198213338852, -0.025771886110305786, 0.008644431829452515 ]
11,020
burnman.classes.layer
_evaluate_eos
Returns updated gravity and pressure make() loops over this until consistency is achieved.
def _evaluate_eos(self, pressures, temperatures, gravity_bottom, pressure_top): """ Returns updated gravity and pressure make() loops over this until consistency is achieved. """ [density] = self.material.evaluate(["density"], pressures, temperatures) grav = self._compute_gravity(density, gravity_bottom) press = self._compute_pressure(density, grav, pressure_top) return grav, press
(self, pressures, temperatures, gravity_bottom, pressure_top)
[ 0.028472961857914925, -0.04551386833190918, -0.02502548135817051, -0.014325793832540512, 0.00867228489369154, -0.016871212050318718, -0.04451356455683708, -0.025739984586834908, -0.0017717451555654407, 0.0192915927618742, 0.03552868217229843, 0.016746174544095993, 0.014611594378948212, 0.03840455785393715, -0.03068792074918747, 0.004249062389135361, 0.016826555132865906, -0.01663006655871868, 0.023578612133860588, -0.07145033776760101, -0.04965798556804657, -0.005506142042577267, -0.0281335711479187, -0.0020698271691799164, -0.026204412803053856, 0.0062608360312879086, 0.03790440782904625, -0.018523501232266426, -0.004389730282127857, -0.012414496392011642, 0.0028200556989759207, -0.020756324753165245, 0.06116149201989174, 0.008574040606617928, 0.036511123180389404, 0.017353501170873642, 0.04955081269145012, 0.04572821781039238, -0.014709838666021824, 0.06409095972776413, -0.05398073419928551, -0.04497798904776573, 0.054659511893987656, -0.008109613321721554, -0.0783095732331276, -0.022113880142569542, 0.021970979869365692, -0.010922971181571484, 0.062090348452329636, -0.012164420448243618, 0.022381819784641266, -0.0191129669547081, 0.054730962961912155, 0.02423952892422676, 0.005559729877859354, 0.037725780159235, 0.017264189198613167, 0.0745227038860321, 0.0037690054159611464, -0.03199189156293869, 0.06894958019256592, 0.021506553515791893, -0.02445388026535511, -0.04079814627766609, 0.02023831009864807, 0.018934341147542, 0.003407288109883666, 0.014531212858855724, 0.021935254335403442, 0.04908638447523117, -0.051122717559337616, 0.025739984586834908, -0.029848380014300346, -0.051408521831035614, -0.016129914671182632, -0.035832345485687256, -0.050908368080854416, -0.011244497261941433, 0.014039992354810238, -0.0561956949532032, -0.003719883505254984, 0.032188378274440765, 0.014182892628014088, 0.0034988338593393564, 0.04254867881536484, 0.03415326401591301, -0.019809607416391373, 0.05283752828836441, 0.0015306002460420132, 0.003650665981695056, 0.009878009557723999, 0.039976466447114944, -0.010092360898852348, -0.00033743539825081825, 0.10238833725452423, 0.01871998980641365, -0.047014325857162476, -0.03270639479160309, 0.039869289845228195, -0.046692799776792526, 0.017496401444077492, 0.08309675008058548, -0.00765411788597703, -0.0029383953660726547, 0.003376028733327985, 0.017139149829745293, -0.0024203802458941936, 0.011119459755718708, 0.09903017431497574, -0.023167774081230164, -0.020899225026369095, -0.03883326053619385, -0.04529951512813568, 0.01350411493331194, -0.07252209633588791, -0.06780637055635452, -0.006126866675913334, 0.0372970774769783, -0.027454793453216553, -0.010351368226110935, -0.023346399888396263, -0.028151433914899826, -0.021149301901459694, 0.03790440782904625, 0.03495708107948303, -0.01449548825621605, 0.031205937266349792, 0.021006399765610695, -0.021845942363142967, -0.03358165919780731, -0.025436321273446083, 0.02131006494164467, 0.05344485491514206, 0.037868682295084, -0.030419982969760895, -0.01159281749278307, 0.04515661671757698, -0.03433188796043396, 0.013575565069913864, -0.020434796810150146, 0.0037310475017875433, 0.014843808487057686, -0.051372796297073364, -0.00413072295486927, -0.005345378536731005, 0.020863499492406845, 0.016469303518533707, -0.008105148561298847, -0.026954641565680504, 0.004880951251834631, 0.0009511826792731881, 0.039547763764858246, 0.004729119595140219, 0.01622815802693367, 0.03819020837545395, -0.06691324710845947, 0.03451051563024521, -0.009583276696503162, -0.026704564690589905, 0.04905065894126892, -0.027561970055103302, 0.010119155049324036, 0.0020675943233072758, 0.004979195538908243, 0.014933121390640736, 0.042977381497621536, -0.05240882560610771, -0.0016701517160981894, 0.0385117344558239, 0.004907745402306318, -0.024185940623283386, -0.0004247946199029684, -0.06605584174394608, -0.04537096619606018, -0.011744650080800056, -0.014754495583474636, 0.0017817928455770016, -0.023417849093675613, -0.02607937529683113, -0.015495792962610722, -0.029741205275058746, -0.06802072376012802, -0.05219447612762451, 0.005515073426067829, 0.024864718317985535, 0.05230164900422096, 0.01788937859237194, -0.040333718061447144, -0.024971894919872284, -0.04476363956928253, -0.02466822974383831, 0.003757841419428587, -0.0380115807056427, 0.04865768179297447, 0.07102163881063461, 0.016022739931941032, 0.07095018774271011, 0.006135798059403896, 0.009815490804612637, 0.036511123180389404, -0.09424299746751785, -0.06362652778625488, -0.017148081213235855, -0.012736023403704166, 0.012164420448243618, -0.010914039798080921, -0.005269462708383799, 0.016067394986748695, -0.05015813931822777, 0.008958086371421814, -0.06937827914953232, 0.03181326389312744, -0.020970676094293594, 0.015343960374593735, 0.04579966887831688, 0.037582878023386, 0.05637431889772415, -0.008859842084348202, -0.035939522087574005, -0.01168213039636612, -0.04237005114555359, -0.02513265796005726, 0.02272120863199234, -0.04226287826895714, 0.039654940366744995, 0.010833658277988434, -0.047407303005456924, 0.06526988744735718, -0.02318563498556614, -0.022381819784641266, 0.023310674354434013, 0.030384257435798645, -0.014852739870548248, 0.005157821346074343, 0.016826555132865906, -0.001995027530938387, -0.001346392324194312, 0.018487775698304176, -0.015987014397978783, 0.014325793832540512, -0.02715113013982773, -0.04637126997113228, -0.02481113187968731, -0.03545723110437393, -0.03504639118909836, -0.031188074499368668, 0.06151874363422394, 0.002936162520200014, -0.054838135838508606, -0.006591293960809708, 0.015522587113082409, -0.00883751455694437, 0.022096017375588417, 0.0010092360898852348, -0.004970264155417681, -0.009502895176410675, 0.047871727496385574, 0.04490653797984123, 0.06155446916818619, -0.04483509063720703, 0.06616301834583282, 0.030741509050130844, 0.006001828704029322, 0.07130744308233261, 0.003990055061876774, 0.019238004460930824, 0.027669144794344902, -0.001838729833252728, -0.03379601240158081, 0.0016500563360750675, 0.04837188124656677, 0.029848380014300346, -0.047050051391124725, -0.017192738130688667, 0.036832649260759354, 0.013361213728785515, 0.019559530541300774, 0.025329146534204483, 0.0005166194750927389, 0.019952507689595222, 0.04472791403532028, -0.003175074467435479, -0.009042933583259583, 0.020720599219202995, 0.0014234248083084822, -0.021292202174663544, -0.0277405958622694, -0.03811875730752945, 0.06941400468349457, -0.05408790707588196, -0.008940223604440689, 0.03501066565513611, 0.01121770404279232, -0.03224196657538414, 0.08859842270612717, -0.04865768179297447, -0.0554811917245388, -0.04558531939983368, 0.014763426966965199, -0.0003854410897474736, 0.06337645649909973, -0.005421294830739498, 0.00973510928452015, -0.04094104468822479, -0.005555264186114073, 0.02600792422890663, 0.040226541459560394, -0.00750228576362133, 0.025079069659113884, -0.08031018078327179, -0.0035345591604709625, 0.002342231571674347, 0.05780332535505295, 0.05355203151702881, -0.032224103808403015, -0.019863195717334747, -0.019130829721689224, 0.0012581958435475826, 0.03524288162589073, 0.022631894797086716, 0.030348531901836395, 0.009368926286697388, 0.06384088099002838, 0.029294639825820923, 0.008073888719081879, -0.003907440695911646, -0.06066133826971054, -0.015111747197806835, 0.009279613383114338, -0.006680606864392757, -0.0746656060218811, -0.01235197763890028, 0.033921048045158386, 0.05012241378426552, 0.021970979869365692, -0.02993769384920597, -0.010619306936860085, 0.010253123939037323, 0.007069118320941925, -0.04504944011569023, 0.009672589600086212, 0.019898919388651848, -0.010815795511007309, 0.02105998806655407, 0.08452575653791428, -0.02983051724731922, 0.09545765817165375, -0.10781856626272202, 0.05969676002860069, -0.03769005462527275, -0.0783095732331276, 0.07137889415025711, 0.01813945546746254, 0.04079814627766609, 0.040119368582963943, 0.03624318540096283, -0.03484990447759628, -0.008645491674542427, 0.012664573267102242, -0.00040581560460850596, 0.03068792074918747, 0.05340912938117981, -0.051337070763111115, 0.03490349277853966, -0.04801462963223457, -0.04908638447523117, -0.007220949977636337, 0.08452575653791428, -0.02816929668188095, -0.022881971672177315, -0.009114383719861507, -0.0025521169882267714, -0.010351368226110935, 0.04244150221347809, -0.017299914732575417, 0.008239117451012135, -0.0027173457201570272, -0.025704260915517807, 0.05966103449463844, -0.04194135218858719, -0.004302650224417448, 0.03358165919780731, -0.09931597113609314, -0.021667316555976868, 0.02888379991054535, -0.011699993163347244, -0.03274212032556534, -0.001713691744953394, -0.007345988415181637, 0.02127433940768242, 0.028437236323952675, -0.01778220385313034, 0.02095281332731247, -0.03436761349439621, 0.039762113243341446, 0.04601401835680008, 0.047121498733758926, -0.015022434294223785, -0.06612729281187057, 0.022203193977475166, -0.025632809847593307, 0.00569816492497921, -0.07923842966556549, -0.008739270269870758, -0.01132487878203392, -0.0763804167509079, 0.04865768179297447, -0.04908638447523117, 0.03263494372367859, 0.03022349439561367, -0.008542781695723534, 0.002317670499905944, -0.05058684200048447, 0.02059556171298027, -0.03585020825266838, -0.024900443851947784, 0.030491434037685394, -0.06509125977754593, 0.044192034751176834, 0.0381544828414917, -0.007395110558718443, 0.04658562317490578, 0.0017717451555654407, 0.05708882212638855, 0.03242059424519539, -0.00005425062408903614, -0.044227760285139084, -0.01139632984995842, 0.00002234567546111066, 0.03783295676112175, -0.030777234584093094, -0.018916478380560875, -0.0733795017004013, -0.004378566052764654, 0.018666401505470276, -0.008060491643846035, 0.018934341147542, -0.014656251296401024, 0.012432359158992767, -0.0007831627153791487, 0.017916172742843628, 0.03145601227879524, 0.02725830487906933, 0.03163463994860649, -0.05801767855882645, -0.02906242571771145, 0.008685681968927383, -0.04637126997113228, -0.0385831855237484, 0.019380904734134674, -0.014432968571782112, 0.019238004460930824, 0.002592307748273015, -0.009368926286697388, 0.06659171730279922, -0.006189385894685984, -0.005465951282531023, -0.0023712581023573875, -0.0382259339094162, -0.0564100444316864, 0.01361128967255354, 0.04069096967577934, -0.0383688323199749, 0.043263182044029236, -0.0191486906260252, -0.04951508715748787, -0.011244497261941433, -0.024043040350079536, -0.020792050287127495, 0.02413235232234001, 0.043298907577991486, -0.051086995750665665, -0.011012284085154533, -0.0096457963809371, -0.04237005114555359, -0.04237005114555359, -0.0191486906260252, 0.0391547866165638, 0.014852739870548248, -0.05387355759739876, -0.020756324753165245, -0.031205937266349792, -0.013968542218208313, 0.0192915927618742, 0.02466822974383831, 0.04454928636550903, -0.0010014212457463145, -0.022846246138215065, 0.02307846024632454, -0.04469218850135803, -0.04315600544214249, -0.0774521678686142, 0.04315600544214249, 0.007797018624842167, -0.07995293289422989, 0.008596369065344334, 0.043048832565546036, 0.014325793832540512, 0.010887245647609234, -0.028044259175658226, 0.04579966887831688, -0.004271390847861767, 0.0371541790664196, 0.0027575367130339146, -0.01253060344606638, -0.0745227038860321, 0.05255172774195671, -0.0377972312271595, 0.024650366976857185, 0.04119112342596054, 0.04947936162352562, -0.04558531939983368, 0.01612098328769207, -0.03804730623960495, -0.00464427238330245, -0.027240442112088203, 0.001866640173830092, 0.017755409702658653, -0.0040414100512862206, 0.013548770919442177, -0.03606456145644188, 0.044192034751176834, 0.020613422617316246, 0.020899225026369095, -0.005394500680267811, 0.029187465086579323, -0.025114795193076134, 0.007774690166115761, 0.027401205152273178, -0.021506553515791893, -0.0035412574652582407, -0.01334335096180439, 0.0007602762780152261, -0.030419982969760895, -0.04433493688702583, -0.07216484844684601, 0.0749514102935791, -0.09052757918834686, -0.054373711347579956, -0.03645753487944603, 0.027633419260382652, -0.0018487776396796107, 0.03306364640593529, -0.03163463994860649, 0.03488563001155853, -0.03461769223213196, 0.058589279651641846, -0.06459110975265503, -0.003275551600381732, -0.011030146852135658, -0.024971894919872284, -0.03535005822777748, 0.01247701607644558, 0.01612098328769207, 0.039726391434669495, 0.036082424223423004, -0.0012581958435475826, 0.02055983617901802, -0.019166553393006325, 0.02131006494164467, 0.011798237450420856, -0.062018897384405136, 0.02958044223487377, 0.03531433269381523, -0.03015204332768917, -0.016540754586458206, -0.019988233223557472, 0.02070273645222187, 0.004521466791629791, -0.018452050164341927, -0.004148585256189108, 0.04265585541725159, 0.054838135838508606, -0.008828583173453808, 0.0373685285449028, -0.06534133851528168, -0.019809607416391373, 0.0024069834034889936, -0.02105998806655407, -0.027204716578125954, 0.06362652778625488, -0.0566958449780941, -0.03199189156293869, -0.10524635016918182, 0.027508381754159927, 0.003333604894578457, -0.016112051904201508, 0.058053404092788696, 0.007421904243528843, 0.014325793832540512, 0.005086371209472418, 0.003972192294895649, -0.015022434294223785, -0.04258440434932709, -0.02055983617901802, 0.0010488686384633183, 0.025364872068166733, 0.024185940623283386, -0.06677034497261047, 0.0187557153403759, -0.0577675998210907, 0.029080288484692574, 0.04061951860785484, -0.04179845005273819, -0.03354593366384506, -0.0753801092505455, 0.05240882560610771, 0.03302792087197304, 0.03386746346950531, -0.019559530541300774, 0.08252514153718948, -0.010306711308658123, -0.010565719567239285, 0.04265585541725159, 0.03368883579969406, 0.017826860770583153, -0.0380830317735672, 0.002612403128296137, 0.036475397646427155, 0.0770949199795723, -0.029508991166949272, 0.008386483415961266, -0.04955081269145012, -0.03840455785393715, 0.011914344504475594, -0.025704260915517807, 0.06812790036201477, -0.10138803720474243, -0.014343655668199062, -0.03188471496105194, 0.0279549453407526, -0.039905015379190445, 0.04901493340730667, -0.021953117102384567, -0.04108394682407379, 0.027419067919254303, 0.032045479863882065, 0.018845027312636375, -0.018523501232266426, -0.02506120689213276, -0.007578202057629824, 0.04508516564965248, -0.007971178740262985, 0.028723036870360374, 0.025400595739483833, -0.0004437736060936004, -0.039690665900707245, 0.005867859348654747, 0.055231112986803055, 0.011369535699486732, 0.00906972773373127, 0.05766042694449425, 0.01918441615998745, 0.002875876147300005, -0.06959263235330582, 0.011467779986560345, 0.033706698566675186, -0.04047662019729614, -0.004813966806977987, 0.00711377477273345, -0.023346399888396263, 0.025847161188721657, 0.03281356766819954, -0.005778546445071697, 0.047443028539419174, -0.030741509050130844, -0.023203497752547264, 0.05194439738988876, -0.03940486162900925, 0.047192949801683426, 0.027419067919254303, -0.0564814954996109, 0.07230774313211441, -0.02080991119146347, 0.006050950847566128, 0.031866852194070816, 0.015620830468833447, -0.004456715192645788, 0.03490349277853966, 0.03436761349439621, 0.058696456253528595, 0.04154837504029274, -0.044227760285139084, -0.021863805130124092, 0.054659511893987656, 0.011914344504475594, -0.035832345485687256, 0.030866548418998718, 0.016103120520710945, -0.03281356766819954, -0.00482289819046855, -0.06116149201989174, 0.020256171002984047, -0.024078765884041786, -0.03327799588441849, -0.0185770895332098, -0.031152348965406418, 0.031009448692202568, 0.018630675971508026, -0.025561358779668808, -0.028901662677526474, 0.03306364640593529, -0.04240577667951584, -0.007966713048517704, -0.02618655003607273, 0.0139774726703763, -0.0031304180156439543, 0.03620745986700058, -0.04408486187458038, -0.07220056653022766, -0.0005548565532080829, 0.017871515825390816, -0.023453574627637863, -0.005823202896863222, -0.003896276466548443, 0.01253060344606638, 0.028794487938284874, 0.034635551273822784, -0.0009980719769373536, -0.02318563498556614, -0.024543192237615585, 0.03436761349439621, 0.03515356779098511, -0.06098286807537079, -0.030991585925221443, 0.0005054553621448576, -0.027615556493401527, -0.05594561621546745, 0.03531433269381523, 0.01799655519425869, -0.01132487878203392, 0.0283836480230093, 0.019881056621670723, -0.03295646980404854, -0.08366835117340088, -0.04215570166707039, -0.011280222795903683, -0.03159891441464424, -0.011557092890143394, 0.001106922049075365, -0.004532631020992994, 0.007797018624842167, -0.02413235232234001, -0.055159661918878555, 0.014799151569604874, -0.0029406282119452953, -0.01590663194656372, -0.024293115362524986, -0.014799151569604874, 0.01702304370701313, 0.047943178564310074, 0.06741339713335037, 0.06419812887907028, -0.019934644922614098, 0.0764518678188324, 0.02282838337123394, 0.0280263964086771, -0.01767502911388874, -0.02254258282482624, 0.006868164055049419, -0.004715722519904375, -0.019863195717334747, -0.016147777438163757, 0.09695811569690704, -0.04190562665462494, 0.05308760330080986, -0.04190562665462494, 0.04058379307389259 ]
11,021
burnman.classes.layer
_evaluate_temperature
Returns the temperatures of the layer for given pressures. Used by make()
def _evaluate_temperature(self, pressures=None, temperature_top=None): """ Returns the temperatures of the layer for given pressures. Used by make() """ if ( self.temperature_mode == "adiabatic" or self.temperature_mode == "perturbed-adiabatic" ): adiabat = geotherm.adiabatic( pressures[::-1], temperature_top - self.usertemperatures[-1], self.material, )[::-1] else: adiabat = np.zeros_like(self.radii) return adiabat + self.usertemperatures
(self, pressures=None, temperature_top=None)
[ 0.03787636756896973, -0.04365171492099762, 0.07270561903715134, 0.03883301839232445, 0.03392574563622475, -0.036016207188367844, -0.02947908081114292, 0.00039639088208787143, -0.012746513821184635, 0.01838899403810501, 0.032101016491651535, 0.04124236851930618, -0.02829212136566639, -0.009398228488862514, -0.0344749353826046, 0.02701658569276333, -0.007821522653102875, 0.022552205249667168, -0.029231058433651924, -0.05119864270091057, -0.025120995938777924, -0.08000452071428299, -0.024731246754527092, 0.019292499870061874, -0.016484545543789864, 0.032012440264225006, 0.009088202379643917, -0.03096720762550831, -0.015758197754621506, -0.03638824075460434, -0.047336600720882416, -0.0074273464269936085, -0.009911986067891121, 0.03428006172180176, 0.0172994714230299, -0.009132491424679756, -0.0006593596772290766, 0.04400603100657463, -0.017352620139718056, 0.03302223980426788, 0.019451940432190895, -0.04074632376432419, 0.026006784290075302, 0.0018989115487784147, -0.037522051483392715, -0.010806634090840816, 0.023845458403229713, -0.07217413932085037, 0.04088805243372917, -0.045387864112854004, 0.010957217775285244, -0.01067376509308815, 0.018335845321416855, 0.04021485149860382, -0.0030648321844637394, 0.014349793083965778, 0.02425292134284973, 0.038478702306747437, -0.03243761882185936, -0.03256163001060486, 0.011479834094643593, 0.013091971166431904, 0.0187078770250082, -0.014695250429213047, -0.013419713824987411, 0.03268563747406006, -0.03798266127705574, 0.04737203195691109, 0.009619675576686859, 0.04868299886584282, -0.035644177347421646, 0.01946965605020523, -0.006116377655416727, -0.059029024094343185, 0.03008141741156578, -0.008831323124468327, 0.013650018721818924, -0.05952506512403488, -0.04056916758418083, -0.05307651683688164, -0.040675461292266846, 0.01271108165383339, 0.02466038428246975, 0.07780776172876358, 0.01714003086090088, -0.003301780903711915, -0.014199208468198776, 0.015164718963205814, -0.027477195486426353, 0.02297738380730152, 0.016803430393338203, 0.005080003757029772, -0.027105163782835007, 0.014456087723374367, 0.060021109879016876, -0.018654730170965195, -0.053041085600852966, -0.009548813104629517, 0.020940067246556282, -0.04910818114876747, 0.04900188371539116, 0.01689200848340988, -0.0004905060050077736, -0.030294006690382957, 0.014863550662994385, -0.006125235464423895, -0.013844892382621765, 0.01621880941092968, 0.07313079386949539, 0.03179984912276268, -0.053324539214372635, -0.0020240293815732002, -0.026325669139623642, 0.0050932904705405235, -0.07759517431259155, -0.05243874713778496, 0.037770070135593414, 0.02577647939324379, -0.04705314710736275, -0.002732661087065935, 0.007777233142405748, -0.017193177714943886, 0.044466640800237656, 0.04705314710736275, -0.03424463048577309, 0.03491782769560814, 0.028309836983680725, 0.011975876055657864, -0.038797587156295776, -0.026077648624777794, 0.006466264370828867, 0.03234903886914253, 0.05024199187755585, 0.025209574028849602, -0.009867697022855282, -0.024359215050935745, 0.07724086195230484, -0.0027548058424144983, 0.0312860906124115, 0.03794723004102707, 0.03738032281398773, 0.05952506512403488, -0.04974594712257385, 0.02409347891807556, -0.025865057483315468, -0.0456358827650547, -0.03415605053305626, 0.013313419185578823, -0.009991707280278206, -0.015492461621761322, -0.03406747058033943, 0.04368714615702629, -0.0376637764275074, 0.017644930630922318, 0.04117150232195854, -0.03470524027943611, 0.04754918813705444, 0.04173840954899788, 0.02816811203956604, -0.030666038393974304, -0.04659253731369972, 0.011160950176417828, -0.003802252234891057, 0.0048098377883434296, -0.023207688704133034, 0.0030869769398123026, -0.0222687516361475, -0.010842065326869488, 0.010053712874650955, 0.03830154612660408, -0.0056601958349347115, -0.038088954985141754, -0.0325084812939167, 0.01256935577839613, 0.01851300336420536, -0.06547757238149643, -0.0026617979165166616, -0.014252356253564358, 0.044750094413757324, 0.07554014027118683, -0.016174519434571266, -0.045387864112854004, -0.07596532255411148, 0.015784772112965584, 0.0139866191893816, -0.037770070135593414, 0.05240331590175629, -0.0461319275200367, -0.014358650892972946, -0.01402205042541027, 0.020692046731710434, 0.03635280951857567, -0.0031932718120515347, 0.0019919194746762514, 0.056123632937669754, -0.014039766043424606, 0.04145495593547821, 0.0017892951145768166, 0.003421362489461899, 0.044147755950689316, -0.12174293398857117, -0.05881643295288086, 0.005336882546544075, 0.009048341773450375, 0.04418318718671799, 0.006683283019810915, -0.0022166885901242495, -0.020160572603344917, -0.07865812629461288, 0.017662646248936653, -0.030896343290805817, -0.006537127774208784, 0.009433659724891186, 0.053891442716121674, 0.018176404759287834, -0.0042982944287359715, -0.010585187003016472, -0.017033735290169716, 0.00810940470546484, -0.0011969233164563775, -0.042269881814718246, -0.030736900866031647, 0.04017942026257515, -0.006001225207000971, 0.033890314400196075, 0.013189407996833324, 0.000547251955140382, 0.07695740461349487, -0.03160497546195984, 0.014128345064818859, 0.03865586221218109, -0.007812664844095707, -0.01276422943919897, -0.012303618714213371, 0.0023429137654602528, -0.002734875539317727, -0.018690161406993866, -0.025794195011258125, 0.03883301839232445, -0.003071475774049759, -0.011541839689016342, -0.025227289646863937, 0.03328797593712807, -0.042517904192209244, -0.061509232968091965, -0.06204070895910263, -0.015076139941811562, 0.0236151535063982, -0.0556984543800354, -0.04053373634815216, 0.011284960433840752, 0.026839427649974823, 0.027902374044060707, 0.04832868278026581, -0.01854843646287918, -0.0408526211977005, 0.06827666610479355, 0.05793064460158348, 0.02689257450401783, -0.0261307954788208, 0.05130493640899658, 0.009203354828059673, 0.040073126554489136, 0.08468149602413177, -0.043828871101140976, -0.0033992179669439793, -0.009823407046496868, -0.010461175814270973, -0.03787636756896973, -0.03171126917004585, -0.015191292390227318, 0.018459856510162354, -0.026679985225200653, -0.03332340717315674, 0.006142951548099518, 0.000547251955140382, 0.053041085600852966, -0.0026640123687684536, -0.0636705607175827, -0.02035544626414776, -0.05208443105220795, -0.01743234135210514, -0.020762909203767776, 0.03404975309967995, -0.041277799755334854, -0.06827666610479355, 0.008729456923902035, -0.005620335228741169, 0.05084432661533356, -0.03798266127705574, 0.013171692378818989, 0.013437429443001747, 0.007383056916296482, -0.003516585100442171, 0.05506068468093872, -0.049816809594631195, -0.06505239009857178, -0.043828871101140976, 0.018335845321416855, 0.00242927810177207, 0.02590049058198929, -0.016422539949417114, 0.03234903886914253, -0.01927478238940239, -0.035732753574848175, 0.041880134493112564, 0.016147945076227188, 0.03635280951857567, 0.013809461146593094, -0.01745891384780407, 0.037770070135593414, -0.03628194332122803, 0.02150697261095047, 0.0007734051323495805, -0.055237844586372375, -0.05119864270091057, 0.004479881376028061, -0.016307387501001358, 0.04800980165600777, 0.024943837895989418, 0.042872220277786255, -0.013791745528578758, 0.02944364957511425, -0.004451093263924122, 0.033057671040296555, 0.00917678140103817, -0.01822955161333084, -0.05158839002251625, 0.031339239329099655, 0.02278251014649868, -0.08177610486745834, 0.04521070420742035, 0.00896862056106329, 0.03064832277595997, 0.009761402383446693, 0.026945721358060837, -0.033890314400196075, 0.023951752111315727, -0.035963062196969986, -0.021010931581258774, -0.018211835995316505, 0.021453825756907463, -0.03016999550163746, 0.04708857834339142, 0.08645307272672653, 0.026485111564397812, 0.05502525344491005, -0.03961251303553581, 0.06221786513924599, -0.002424849197268486, -0.06356426328420639, 0.010939502157270908, 0.014730682596564293, 0.04659253731369972, 0.02609536424279213, 0.07858725637197495, -0.023367131128907204, 0.029797963798046112, 0.033660005778074265, 0.01755635067820549, 0.05180098116397858, -0.007741801906377077, -0.012135318480432034, -0.007197041064500809, 0.006975593511015177, -0.06583188474178314, 0.024908404797315598, 0.060871466994285583, -0.046309083700180054, -0.032614775002002716, 0.015669619664549828, -0.0033062100410461426, 0.016006220132112503, 0.018123256042599678, -0.00485855620354414, -0.019398793578147888, 0.02832755446434021, -0.020780624821782112, 0.0286464374512434, 0.014677534811198711, 0.013295702636241913, 0.06604447960853577, -0.06239502504467964, 0.0021513616666197777, 0.04623822122812271, -0.009504523128271103, -0.08042970299720764, -0.05056087300181389, -0.00012345693539828062, 0.020160572603344917, 0.046379946172237396, -0.027034301310777664, 0.022321900352835655, -0.015129287727177143, 0.01714003086090088, 0.012852808460593224, 0.03546701744198799, -0.024235205724835396, -0.045423295348882675, 0.04234074801206589, -0.0527576319873333, -0.04999396950006485, -0.025882774963974953, -0.03296909108757973, 0.008432717993855476, -0.028593290597200394, 0.026502827182412148, -0.0442894846200943, -0.0005746560636907816, -0.008844610303640366, 0.008880041539669037, 0.000986548257060349, -0.03546701744198799, 0.016945157200098038, -0.009956276044249535, 0.0067851487547159195, -0.01378288771957159, -0.027672069147229195, 0.002089356305077672, 0.0374157540500164, 0.017892951145768166, 0.03311081603169441, -0.0559464767575264, 0.016077082604169846, 0.02768978476524353, 0.009194497019052505, -0.035821333527565, 0.02157783694565296, -0.030063701793551445, 0.06792235374450684, -0.04365171492099762, -0.05860384553670883, -0.022073877975344658, -0.012285903096199036, 0.06016283482313156, 0.04482095688581467, 0.002229975536465645, -0.03224274516105652, 0.02988654375076294, -0.033730871975421906, 0.03567960858345032, 0.02218017354607582, 0.04744289442896843, -0.006794006563723087, -0.07709912955760956, -0.058993592858314514, -0.026839427649974823, 0.008911044336855412, -0.03922276571393013, -0.019292499870061874, -0.005868356674909592, -0.01907990872859955, 0.020762909203767776, 0.00030808872543275356, 0.013056539930403233, 0.015607614070177078, -0.021914435550570488, 0.01667056232690811, 0.005239445716142654, 0.02717602625489235, 0.00716160936281085, 0.029709385707974434, 0.014916698448359966, -0.019611382856965065, 0.008481436409056187, -0.03224274516105652, -0.013738597743213177, -0.04042743891477585, -0.002571004442870617, -0.0032043440733104944, 0.052119866013526917, -0.024908404797315598, -0.02593592181801796, -0.023650584742426872, -0.0279732383787632, 0.030116848647594452, -0.009655107744038105, 0.07780776172876358, 0.024323783814907074, -0.04584847390651703, -0.010806634090840816, -0.0490727461874485, 0.0053767431527376175, -0.01653769239783287, 0.005022427532821894, 0.08163437247276306, -0.02924877405166626, -0.0026684412732720375, 0.05793064460158348, -0.07164266705513, -0.0506671704351902, -0.0325084812939167, 0.04847041144967079, 0.03699057549238205, -0.08312249928712845, 0.012091029435396194, 0.05180098116397858, 0.01902676187455654, -0.0041565680876374245, 0.04935619980096817, -0.007812664844095707, 0.02122352086007595, 0.009699396789073944, 0.007228043861687183, -0.0023805596865713596, -0.0188318882137537, 0.032012440264225006, -0.02230418473482132, 0.05095062032341957, 0.029195627197623253, 0.024996984750032425, -0.04173840954899788, 0.029496796429157257, -0.0038930457085371017, 0.022056162357330322, -0.0279732383787632, -0.018335845321416855, -0.027920089662075043, -0.01392461359500885, -0.016936298459768295, -0.030736900866031647, 0.048860158771276474, 0.010284017771482468, 0.01464210357517004, 0.04212815687060356, 0.0045485300943255424, -0.02182585746049881, 0.050773464143276215, -0.01564304530620575, 0.04513984173536301, 0.01382717676460743, 0.013968903571367264, 0.021418394520878792, -0.0031445533968508244, -0.030790049582719803, -0.06402488052845001, -0.0035985205322504044, -0.10353109985589981, -0.08616962283849716, -0.033978890627622604, 0.0017892951145768166, -0.004245147109031677, 0.04684055596590042, -0.10324764251708984, 0.030612891539931297, -0.08064229041337967, -0.03256163001060486, -0.02724689058959484, -0.006683283019810915, -0.007617791183292866, 0.02466038428246975, -0.012728797271847725, 0.010080286301672459, 0.027955522760748863, 0.046379946172237396, 0.05403317138552666, -0.04864756762981415, 0.04808066412806511, -0.057434603571891785, 0.006727572530508041, 0.01099264994263649, -0.016165660694241524, 0.04864756762981415, 0.05346626415848732, -0.06274934113025665, -0.07518582791090012, -0.08822464942932129, 0.03961251303553581, -0.052970223128795624, -0.04684055596590042, -0.028593290597200394, -0.026591405272483826, 0.08772861212491989, 0.0395062193274498, -0.013614587485790253, -0.01099264994263649, 0.019239351153373718, -0.02900075353682041, 0.06147380173206329, 0.010842065326869488, 0.040994346141815186, -0.0010003887582570314, -0.01609479822218418, -0.062147002667188644, 0.05849754810333252, 0.033660005778074265, 0.05920618027448654, 0.08262646198272705, -0.023048248142004013, -0.07249302417039871, 0.03265020623803139, -0.02708744816482067, -0.007312193512916565, -0.01336656603962183, -0.05187184363603592, -0.016741424798965454, -0.0005251071997918189, 0.03187071159482002, 0.00332614011131227, 0.01950508914887905, -0.028504712507128716, -0.01504070870578289, -0.013685449957847595, -0.08376026898622513, -0.031020354479551315, -0.046061061322689056, 0.000591264630202204, 0.002856671577319503, -0.031108932569622993, -0.015421598218381405, 0.09665736556053162, -0.0374157540500164, -0.004769977182149887, 0.06147380173206329, 0.06303279101848602, 0.021489256992936134, -0.005686769727617502, 0.007684225216507912, 0.03234903886914253, 0.05006483197212219, -0.07203241437673569, 0.039081040769815445, -0.03805352374911308, -0.0024071333464235067, 0.03628194332122803, -0.02182585746049881, 0.04850584268569946, -0.06374142318964005, 0.000522892689332366, 0.011639276519417763, 0.032065585255622864, 0.00047195982187986374, 0.003833254799246788, 0.02035544626414776, -0.055237844586372375, -0.0049515641294419765, 0.055804748088121414, 0.008875612169504166, -0.03428006172180176, -0.04786807298660278, -0.041880134493112564, 0.045777611434459686, -0.02669770084321499, 0.024624953046441078, 0.04769091680645943, -0.031108932569622993, -0.010797776281833649, -0.004920561797916889, 0.03008141741156578, 0.04308481141924858, -0.0527576319873333, 0.02453637309372425, 0.019398793578147888, 0.04248247295618057, -0.07468978315591812, 0.03291594237089157, 0.004451093263924122, 0.011072371155023575, -0.01752977818250656, 0.016236525028944016, -0.07157180458307266, 0.024961553514003754, -0.03699057549238205, 0.0032862797379493713, 0.03268563747406006, -0.042517904192209244, -0.03203015401959419, 0.010549754835665226, -0.049497928470373154, 0.044537503272295, -0.005620335228741169, -0.03151639550924301, 0.08701997995376587, -0.029656238853931427, 0.00762222008779645, 0.05254504457116127, 0.0014726252993568778, 0.029390500858426094, 0.0341029018163681, -0.007117319852113724, 0.05817866697907448, 0.034297775477170944, -0.01336656603962183, 0.04648624360561371, 0.03346513211727142, 0.044750094413757324, -0.06338711082935333, 0.057788919657468796, 0.007117319852113724, 0.0013740812428295612, -0.0165022611618042, -0.0899253636598587, 0.012932528741657734, 0.01931021548807621, -0.005354598630219698, -0.00254443078301847, -0.07245759665966034, 0.07546927779912949, 0.04014398902654648, -0.02689257450401783, -0.02574104815721512, 0.05785978212952614, -0.04230531305074692, 0.008162551559507847, 0.006213814485818148, -0.00602336972951889, -0.019133057445287704, 0.014854692853987217, -0.015014135278761387, -0.0440414622426033, 0.03032943792641163, 0.0009765831055119634, -0.01083320751786232, -0.007967677898705006, -0.035697322338819504, 0.015288730151951313, 0.026963436976075172, 0.021754994988441467, 0.013570297509431839, 0.022552205249667168, -0.019735394045710564, 0.006700998637825251, 0.04170297831296921, -0.01657312549650669, -0.025386732071638107, 0.05917074903845787, -0.010186580941081047, -0.03171126917004585, 0.009885412640869617, 0.01129381824284792, -0.030028270557522774, 0.039754241704940796, 0.03282736614346504, 0.03957708179950714, -0.0525096133351326, -0.010062570683658123, -0.0007318836869671941, -0.00845929142087698, 0.02644968032836914, 0.01376517117023468, -0.013490576297044754, -0.02529815211892128, -0.05984394997358322, 0.01017772313207388, 0.0376637764275074, -0.0042185732163488865, -0.01280851848423481, -0.014801545068621635, -0.007197041064500809, 0.022871090099215508, 0.04025028273463249, 0.0442894846200943, 0.013880324549973011, -0.038088954985141754, 0.09835808724164963, 0.05134036764502525, 0.03404975309967995, -0.05254504457116127, 0.0037933941930532455, -0.009486807510256767, -0.006771862041205168, -0.035697322338819504, -0.025634752586483955, 0.032384470105171204, -0.03282736614346504, 0.031622692942619324, -0.07121749222278595, 0.029514512047171593 ]
11,022
burnman.classes.layer
evaluate
Function that is used to evaluate properties across the layer. If radlist is not defined, values are returned at the internal radlist. If asking for different radii than the internal radlist, pressure and temperature values are interpolated and the layer material evaluated at those pressures and temperatures. :param properties: List of properties to evaluate. :type properties: list of strings :param radlist: Radii to evaluate properties at. If left empty, internal radii list is used. :type radlist: array of floats :param planet_radius: Planet outer radius. Used only to calculate depth. :type planet_radius: float :returns: 1D or 2D array of requested properties (1D if only one property was requested) :rtype: numpy.array
def evaluate(self, properties, radlist=None, radius_planet=None): """ Function that is used to evaluate properties across the layer. If radlist is not defined, values are returned at the internal radlist. If asking for different radii than the internal radlist, pressure and temperature values are interpolated and the layer material evaluated at those pressures and temperatures. :param properties: List of properties to evaluate. :type properties: list of strings :param radlist: Radii to evaluate properties at. If left empty, internal radii list is used. :type radlist: array of floats :param planet_radius: Planet outer radius. Used only to calculate depth. :type planet_radius: float :returns: 1D or 2D array of requested properties (1D if only one property was requested) :rtype: numpy.array """ if radlist is None: values = np.empty([len(properties), len(self.radii)]) for i, prop in enumerate(properties): if prop == "depth": values[i] = radius_planet - self.radii else: try: values[i] = getattr(self, prop) except: values[i] = np.array( [ getattr(self.sublayers[i], prop) for i in range(len(self.sublayers)) ] ) else: func_p = interp1d(self.radii, self.pressures) pressures = func_p(radlist) func_t = interp1d(self.radii, self.temperatures) temperatures = func_t(radlist) values = np.empty([len(properties), len(radlist)]) for i, prop in enumerate(properties): if prop == "depth": values[i] = radius_planet - radlist else: try: values[i] = self.material.evaluate( [prop], pressures, temperatures ) except: func_prop = interp1d(self.radii, getattr(self, prop)) values[i] = func_prop(radlist) if values.shape[0] == 1: values = values[0] return values
(self, properties, radlist=None, radius_planet=None)
[ 0.09349547326564789, -0.06163053587079048, 0.021312018856406212, -0.016729092225432396, 0.020224863663315773, -0.016316723078489304, -0.06845338642597198, -0.06050589308142662, -0.010187407955527306, 0.06841589510440826, 0.007708503399044275, 0.04029977321624756, -0.001121716108173132, 0.05004669725894928, -0.027497567236423492, 0.0030505992472171783, -0.013973711989820004, 0.014442314393818378, -0.007207098882645369, -0.016307350248098373, -0.03823792561888695, -0.027591286227107048, 0.03233353793621063, 0.026635339483618736, 0.03673839941620827, -0.010965286754071712, 0.057581815868616104, -0.018406687304377556, -0.0028936173766851425, -0.009756294079124928, -0.06249276548624039, 0.04892205074429512, -0.014067432843148708, 0.018987754359841347, 0.017694411799311638, -0.03486398980021477, 0.004046378191560507, 0.02387995831668377, -0.04329882562160492, 0.05754432827234268, -0.009671946056187153, -0.01588560827076435, 0.05634470656514168, -0.012464813888072968, -0.04502328112721443, -0.042661529034376144, -0.03533259034156799, 0.017469482496380806, -0.021574437618255615, -0.02296149916946888, 0.015623191371560097, 0.04093707352876663, 0.03490147739648819, 0.0068884496577084064, -0.03925010561943054, 0.0519585907459259, -0.0014807824045419693, 0.05038408935070038, 0.014985892921686172, -0.06005603447556496, -0.005581050179898739, -0.038950201123952866, -0.01588560827076435, -0.04183678701519966, -0.03523887321352959, -0.06496698409318924, -0.052745841443538666, 0.05390797555446625, 0.04577304422855377, 0.03231479600071907, -0.008987786248326302, 0.021237043663859367, 0.01644793152809143, -0.09177102148532867, -0.0164385586977005, 0.03385180979967117, 0.013486365787684917, -0.039662472903728485, 0.0770006850361824, -0.04704764112830162, -0.07538869231939316, 0.04798484593629837, 0.04483583942055702, -0.002755379769951105, 0.007272703107446432, 0.025435717776417732, -0.022642849013209343, 0.01092779915779829, 0.03454533964395523, -0.007052460219711065, 0.013608202338218689, 0.02050602436065674, -0.011921235360205173, -0.02238043211400509, -0.017291413620114326, 0.0388377346098423, 0.0422491580247879, -0.055744897574186325, 0.008547300472855568, -0.04146190732717514, 0.0339830182492733, -0.010327988304197788, -0.009156483225524426, 0.006499509792774916, 0.02671031467616558, -0.0039292280562222, -0.008617591112852097, 0.005857525393366814, 0.04329882562160492, 0.06571674346923828, 0.00006271212623687461, 0.05300826206803322, -0.025510692968964577, -0.034995198249816895, -0.032221075147390366, 0.003706641960889101, -0.11081500351428986, 0.010618521831929684, -0.010037454776465893, -0.006635404657572508, 0.01298027578741312, 0.0633549913764, 0.025117067620158195, 0.07119002193212509, 0.006841589231044054, 0.04101204872131348, -0.001035024761222303, -0.014151780866086483, 0.013242692686617374, -0.007450771983712912, -0.00671975314617157, 0.021049601957201958, 0.008809718303382397, 0.03544505685567856, 0.015951212495565414, 0.02148071676492691, -0.014929660595953465, -0.07969982922077179, 0.029446950182318687, 0.012858439236879349, 0.0691656544804573, 0.007399226073175669, -0.011452632956206799, 0.026635339483618736, -0.05810664966702461, 0.010112431831657887, 0.030965222045779228, 0.027178917080163956, -0.02931574173271656, -0.005079645663499832, -0.04371119663119316, 0.008734741248190403, 0.010299872606992722, -0.02783495932817459, 0.08059954643249512, -0.031077686697244644, 0.03831290081143379, -0.002285606227815151, 0.032014891505241394, -0.035351336002349854, -0.07066518068313599, 0.03493896499276161, -0.04637285694479942, -0.0025351368822157383, -0.008641021326184273, 0.017253926023840904, 0.03342069685459137, -0.06860333681106567, -0.00869725365191698, -0.00420804601162672, -0.0031700925901532173, -0.0846482664346695, -0.036532212048769, 0.029784344136714935, -0.005552934017032385, 0.02483590692281723, -0.0289596039801836, 0.0049390653148293495, -0.039849914610385895, 0.019924957305192947, -0.03902517631649971, -0.060580868273973465, -0.030215458944439888, 0.010909055359661579, 0.025060836225748062, 0.06365489959716797, 0.039849914610385895, -0.05911882966756821, -0.021180810406804085, 0.008556673303246498, -0.009671946056187153, -0.004327539820224047, -0.022474152967333794, 0.03497645631432533, 0.0212932750582695, -0.015520098619163036, 0.06429219990968704, 0.00023005429829936475, 0.019643796607851982, 0.04329882562160492, -0.07707566022872925, -0.029240766540169716, -0.006593230180442333, 0.030346667394042015, -0.034470364451408386, -0.026466641575098038, -0.010862194932997227, -0.011611958034336567, 0.0022282025311142206, 0.033476926386356354, -0.022324200719594955, 0.0008013094775378704, 0.06324252486228943, 0.026222968474030495, 0.030759036540985107, 0.019849982112646103, 0.009456388652324677, -0.018191130831837654, 0.0032661559525877237, -0.008922182023525238, -0.01941886730492115, -0.039849914610385895, 0.0628676488995552, -0.019381379708647728, -0.018397314473986626, -0.0010590405436232686, -0.03246474638581276, 0.013411389663815498, -0.023280147463083267, -0.0160543043166399, 0.004053407348692417, -0.04423603042960167, 0.03413297235965729, -0.018003689125180244, 0.007202412933111191, -0.03823792561888695, -0.026597850024700165, 0.03248349204659462, -0.000054658030421705917, 0.05364555865526199, -0.02406740002334118, -0.04299892112612724, -0.01994370110332966, -0.003648066660389304, -0.03115266188979149, 0.017057113349437714, 0.05750684067606926, 0.03493896499276161, -0.02243666537106037, -0.010046827606856823, 0.02539823018014431, 0.03735695406794548, -0.0017021967796608806, 0.04269901663064957, -0.031265128403902054, -0.0500841848552227, 0.025679390877485275, 0.021761877462267876, 0.048809587955474854, -0.06283015757799149, 0.029390718787908554, -0.07227717339992523, 0.0579192079603672, 0.042474087327718735, 0.0008985443855635822, -0.015042124316096306, 0.00820522103458643, 0.023430101573467255, -0.0225678738206625, 0.028697187080979347, -0.029728112742304802, 0.03868778422474861, 0.014311105944216251, 0.02054351195693016, 0.01677595265209675, 0.054207880049943924, 0.023092707619071007, 0.013017764315009117, -0.013964340090751648, -0.007999036461114883, 0.016476046293973923, 0.018725337460637093, -0.055707406252622604, -0.008003722876310349, -0.016710348427295685, -0.056044802069664, 0.006269895005971193, 0.020787185057997704, 0.0252107884734869, 0.02387995831668377, 0.051283806562423706, 0.016907161101698875, -0.013289553113281727, -0.06436717510223389, 0.08847206085920334, -0.03422669321298599, -0.011443261057138443, -0.06181797757744789, 0.027778727933764458, -0.013626947067677975, 0.005866897292435169, -0.0011451462050899863, 0.08787225186824799, -0.028828395530581474, -0.02704770863056183, 0.008350487798452377, 0.007867828011512756, 0.015295170247554779, 0.025098323822021484, -0.0005101904389448464, 0.04558560252189636, 0.02260536141693592, 0.0022961499635130167, 0.007685073185712099, 0.017113346606492996, -0.03212735429406166, -0.01055291760712862, 0.004224447067826986, 0.045848023146390915, 0.03169624134898186, 0.0069915419444441795, 0.01751634292304516, 0.03270842134952545, 0.011499493382871151, 0.050871435552835464, 0.009653201326727867, 0.020431047305464745, 0.004725851118564606, 0.0073757958598434925, 0.012745974585413933, -0.0632050409913063, 0.02729138173162937, 0.033495672047138214, 0.015520098619163036, 0.0519585907459259, 0.023617541417479515, 0.035951144993305206, 0.04637285694479942, 0.017094600945711136, -0.014882800169289112, 0.04232413321733475, 0.023842470720410347, -0.04671024903655052, -0.009512620978057384, -0.007769421674311161, -0.0015885608736425638, 0.09432021528482437, -0.006241778843104839, 0.04997171834111214, 0.009606340900063515, -0.043223850429058075, -0.026579106226563454, 0.018603499978780746, 0.059831105172634125, -0.04311138391494751, 0.017666295170783997, -0.060205988585948944, -0.040224798023700714, 0.026747802272439003, -0.018734708428382874, 0.004615729674696922, 0.04423603042960167, -0.01718832179903984, 0.038350388407707214, -0.013898735865950584, -0.0820990726351738, 0.0058622113429009914, 0.003313016379252076, -0.0010666553862392902, -0.048997025936841965, -0.021162066608667374, -0.01353322621434927, -0.00793343223631382, -0.034245435148477554, 0.01585749164223671, -0.01037484873086214, 0.017581947147846222, -0.03231479600071907, 0.05994357168674469, -0.023411355912685394, -0.011686934158205986, 0.038725271821022034, -0.01906272955238819, 0.05150873214006424, 0.04925944283604622, -0.00821927934885025, -0.032970838248729706, -0.01381438784301281, -0.006007477641105652, 0.02164941281080246, 0.010637265630066395, 0.00003961151378462091, 0.027741240337491035, -0.00018773367628455162, -0.05244593694806099, 0.040449727326631546, 0.045660581439733505, 0.027497567236423492, -0.07939992845058441, 0.012577278539538383, -0.02573562227189541, -0.07505130022764206, -0.0004191059269942343, 0.024798419326543808, -0.006223034579306841, -0.07531371712684631, 0.07362674921751022, 0.01962505280971527, 0.005656026303768158, -0.022624105215072632, 0.0038144204299896955, -0.015154588967561722, -0.013111484237015247, 0.006551056168973446, -0.04682271182537079, 0.004048721399158239, -0.01772252842783928, 0.005566991865634918, 0.05090892314910889, 0.05615726485848427, 0.026785291731357574, -0.03700081631541252, 0.010984031483530998, 0.03428292274475098, 0.003711327910423279, 0.002346524503082037, 0.028865884989500046, -0.0076194689609110355, -0.05038408935070038, 0.06399229168891907, -0.04202422872185707, -0.0648920089006424, -0.028828395530581474, -0.03700081631541252, 0.03531384840607643, -0.03527636080980301, -0.009137739427387714, 0.0016213629860430956, -0.024929627776145935, -0.027759984135627747, 0.04663527384400368, 0.03283962979912758, 0.012249256484210491, -0.01503275241702795, -0.1057915911078453, -0.024742186069488525, 0.03906266391277313, -0.04423603042960167, -0.08787225186824799, -0.04033726081252098, 0.008378604426980019, 0.054395321756601334, 0.05728191137313843, -0.015248309820890427, 0.06260523200035095, 0.019118962809443474, -0.010365476831793785, 0.03135884553194046, -0.011077751405537128, 0.017235182225704193, 0.059456225484609604, -0.016897788271307945, 0.006761927157640457, -0.019456354901194572, -0.06732873618602753, -0.017844364047050476, 0.011387028731405735, 0.03880024701356888, -0.012352349236607552, -0.011602586135268211, 0.015538843348622322, -0.00804121047258377, -0.045660581439733505, -0.009587597101926804, 0.0049390653148293495, 0.06905319541692734, -0.03308330103754997, 0.04742252454161644, -0.024554746225476265, -0.06736622750759125, -0.10076817870140076, -0.05529503896832466, -0.010487313382327557, -0.017619436606764793, -0.018191130831837654, 0.008687881752848625, 0.020862162113189697, 0.026279201731085777, 0.03865029290318489, -0.046560294926166534, -0.031265128403902054, 0.010159291326999664, 0.04828475043177605, 0.05634470656514168, -0.07820030301809311, 0.029053324833512306, 0.03193991258740425, -0.03450785204768181, 0.02648538537323475, 0.02952192723751068, 0.0069634257815778255, -0.00999996718019247, 0.047722429037094116, 0.03473278135061264, 0.009840642102062702, -0.008664451539516449, -0.012699115090072155, 0.018153641372919083, 0.01195872388780117, -0.008017780259251595, -0.027928680181503296, -0.005431097466498613, 0.013073996640741825, -0.0020805930253118277, 0.0068041011691093445, -0.010871566832065582, 0.026222968474030495, 0.031227638944983482, -0.027385102584958076, -0.015548215247690678, 0.02556692622601986, 0.005496701691299677, -0.02168690226972103, 0.005004669539630413, -0.004001861438155174, 0.056119777262210846, -0.024723442271351814, -0.02597929537296295, 0.0081115011125803, -0.003186493646353483, 0.003652752609923482, -0.0212932750582695, -0.04910949245095253, 0.04052470251917839, 0.013964340090751648, -0.01794745773077011, -0.0027928680647164583, -0.0601310096681118, -0.06612911820411682, 0.04011233150959015, 0.03430166840553284, 0.011162100359797478, 0.048847075551748276, -0.07253959029912949, 0.045060768723487854, -0.05240844935178757, 0.013505110517144203, -0.04944688454270363, 0.039100151509046555, -0.03212735429406166, 0.07583855092525482, 0.01626048982143402, -0.007014972157776356, 0.0065791723318398, 0.08989661186933517, 0.032558467239141464, 0.0019985875114798546, -0.06961551308631897, -0.05998105928301811, 0.030140481889247894, 0.018987754359841347, -0.033139534294605255, 0.0020946511067450047, 0.0058059790171682835, -0.04018731042742729, -0.0007409769459627569, -0.010187407955527306, 0.06549181789159775, -0.05765679106116295, -0.06605414301156998, -0.03225856274366379, 0.04498579353094101, 0.01203370001167059, -0.013064623810350895, 0.03887522220611572, -0.024217352271080017, 0.02294275537133217, -0.02352382056415081, -0.017994318157434464, -0.03268967568874359, 0.02929699793457985, -0.045135747641325, -0.02498585917055607, -0.0814242884516716, 0.019681284204125404, 0.02987806499004364, -0.025679390877485275, 0.06672892719507217, 0.01641981489956379, -0.019325146451592445, 0.012146164663136005, -0.005417039152234793, -0.012371093034744263, 0.008636334910988808, -0.03996238112449646, 0.022286711260676384, -0.03656969964504242, 0.03387055546045303, -0.011724422685801983, 0.005609166342765093, -0.07895006984472275, -0.05282082036137581, 0.03887522220611572, -0.0034840560983866453, -0.04048721492290497, -0.06597916036844254, 0.004606357775628567, 0.002417986514046788, -0.0014116636011749506, -0.011358913034200668, 0.058743949979543686, -0.04296143352985382, 0.018181758001446724, -0.0164385586977005, 0.06283015757799149, -0.021743133664131165, -0.08434836566448212, 0.06556679308414459, 0.026560362428426743, -0.00030752006568945944, -0.06706631928682327, 0.021799365058541298, -0.052933283150196075, -0.04652280732989311, -0.014226756989955902, 0.004015919286757708, 0.05848153308033943, -0.12041197717189789, -0.0010789561783894897, -0.044535934925079346, 0.028247330337762833, -0.014311105944216251, 0.010215523652732372, -0.04198674112558365, -0.06755366921424866, -0.014264245517551899, 0.06110570207238197, -0.0015745027922093868, -0.04082460701465607, -0.015295170247554779, 0.01790059730410576, -0.008158361539244652, -0.02727263793349266, 0.004278336651623249, -0.00907213520258665, -0.01738513447344303, -0.035913657397031784, -0.021143322810530663, 0.07497632503509521, 0.02558567002415657, -0.06249276548624039, 0.017103973776102066, -0.008795659989118576, 0.06425470858812332, 0.005262400489300489, 0.007155552972108126, 0.01776938885450363, -0.013608202338218689, -0.008167733438313007, 0.034639060497283936, -0.0388377346098423, 0.0004044621018692851, -0.03936256840825081, -0.024236096069216728, 0.00032216389081440866, -0.05233347415924072, -0.009264261461794376, 0.03439538925886154, 0.03561375290155411, 0.029559414833784103, 0.024348560720682144, -0.04202422872185707, 0.03626979514956474, 0.01791934110224247, 0.028097376227378845, 0.05304574966430664, -0.03492022305727005, -0.034826502203941345, 0.03827541321516037, -0.00039626157376915216, 0.020037421956658363, 0.03156503289937973, -0.024704698473215103, 0.06901570409536362, 0.036888349801301956, 0.012521046213805676, 0.030702803283929825, -0.016757208853960037, 0.04419854283332825, 0.012455441989004612, -0.00568882841616869, -0.03342069685459137, 0.021386995911598206, 0.0062652090564370155, 0.003992489073425531, -0.056119777262210846, -0.022849034518003464, -0.006471393629908562, 0.0017244553891941905, -0.002649944508448243, -0.017057113349437714, -0.002809269120916724, -0.061180680990219116, 0.04835972934961319, 0.01808803714811802, 0.031115174293518066, 0.03791927546262741, 0.0007737790583632886, 0.01679469645023346, -0.07268954813480377, -0.03553877770900726, 0.07947490364313126, 0.048659633845090866, -0.08292381465435028, -0.02522953227162361, 0.025323253124952316, 0.041724324226379395, 0.02335512451827526, -0.03195865824818611, -0.004573555663228035, 0.02408614382147789, 0.024311073124408722, 0.018069293349981308, -0.008439522236585617, 0.0011873203329741955, 0.035763707011938095, 0.003955001011490822, -0.03490147739648819, -0.025435717776417732, -0.008931554853916168, -0.03325200080871582, 0.03981242701411247, 0.0545077882707119, -0.025829343125224113, -0.03413297235965729, -0.026466641575098038, 0.01139640063047409, -0.014826567843556404, -0.04839721694588661, 0.021068347617983818, -0.025548182427883148, -0.0055341897532343864, -0.04592299833893776, -0.05540750175714493, 0.025885574519634247, 0.05447029694914818, 0.019118962809443474, -0.003978431224822998, 0.0016740807332098484, -0.046785224229097366, 0.05806916207075119, 0.022174246609210968, 0.010674754157662392, 0.009887502528727055, 0.07328935712575912, -0.02296149916946888, 0.005768490955233574, -0.07006537169218063, -0.03077778033912182, -0.025716878473758698, -0.04149939492344856, 0.026953987777233124, -0.018922150135040283, 0.09814400970935822, -0.03208986669778824, 0.04760996624827385, 0.001300370553508401, -0.012043071910738945 ]
11,023
burnman.classes.layer
make
This routine needs to be called before evaluating any properties. If pressures and temperatures are not user-defined, they are computed here. This method also initializes an array of copied materials from which properties can be computed.
def make(self): """ This routine needs to be called before evaluating any properties. If pressures and temperatures are not user-defined, they are computed here. This method also initializes an array of copied materials from which properties can be computed. """ self.reset() if not hasattr(self, "material"): raise AttributeError( "You must set_material() for the layer " "before running make()." ) if not hasattr(self, "temperature_mode"): raise AttributeError( "You must set_temperature_mode() for the " "layer before running make()." ) if not hasattr(self, "pressure_mode"): raise AttributeError( "You must set_pressure_mode() for the layer " "before running make()." ) if self.pressure_mode == "user-defined": self.temperatures = self._evaluate_temperature( self.pressures, self.temperature_top ) elif self.pressure_mode == "self-consistent": new_press = ( self.pressure_top + (-self.radii + max(self.radii)) * 1.0e3 ) # initial pressure curve guess temperatures = self._evaluate_temperature(new_press, self.temperature_top) # Make it self-consistent!!! i = 0 while i < self.n_max_iterations: i += 1 ref_press = new_press new_grav, new_press = self._evaluate_eos( new_press, temperatures, self.gravity_bottom, self.pressure_top ) temperatures = self._evaluate_temperature( new_press, self.temperature_top ) rel_err = abs((max(ref_press) - max(new_press)) / max(new_press)) if self.verbose: print( f"Iteration {i:0d} maximum relative pressure error: " f"{rel_err:.1f}" ) if rel_err < self.max_delta: break self.pressures = new_press self.temperatures = temperatures else: raise NotImplementedError("pressure mode not recognised") self.sublayers = [] for r in range(len(self.radii)): self.sublayers.append(self.material.copy()) self.sublayers[r].set_state(self.pressures[r], self.temperatures[r])
(self)
[ 0.04779450595378876, -0.0343083031475544, -0.01932157762348652, 0.0381615050137043, 0.0038346752990037203, 0.004161178600043058, -0.07224750518798828, -0.017163414508104324, -0.03156660124659538, 0.01908075250685215, 0.005974313244223595, 0.06557850539684296, 0.008655807003378868, 0.04542330279946327, -0.03893955424427986, 0.025471877306699753, -0.011077950708568096, 0.012430275790393353, -0.0024383533746004105, -0.038606103509664536, -0.017533913254737854, -0.0279912780970335, 0.035919979214668274, 0.027065027505159378, 0.017117101699113846, 0.014958938583731651, 0.014745901338756084, 0.018265651538968086, -0.020710952579975128, -0.04031040519475937, -0.0775086060166359, 0.0508326031267643, 0.03117757849395275, 0.02873227745294571, 0.037568703293800354, -0.039495304226875305, 0.018812138587236404, 0.0343453548848629, -0.053981855511665344, 0.017839577049016953, 0.04853550344705582, -0.015181238763034344, 0.046979404985904694, 0.011309513822197914, -0.035919979214668274, -0.04005105420947075, -0.007465575821697712, 0.04653480276465416, 0.01105942577123642, -0.05190705507993698, -0.004848919343203306, 0.013708501122891903, 0.04397835582494736, 0.03323385491967201, -0.01037400122731924, 0.022952476516366005, 0.04375605285167694, 0.03688327968120575, 0.02350822649896145, -0.05127720534801483, -0.0072571695782244205, 0.0033715502358973026, -0.012735938653349876, -0.05620485544204712, -0.048646654933691025, -0.07817550748586655, -0.04042155295610428, 0.028954578563570976, 0.044200655072927475, 0.07209930568933487, 0.012782251462340355, 0.0062012444250285625, 0.04056975245475769, -0.047386955469846725, -0.004557150416076183, 0.0022635236382484436, -0.010772288776934147, -0.05201820656657219, 0.04249635338783264, -0.05583435669541359, -0.05112900584936142, 0.045719705522060394, -0.01932157762348652, 0.015681413933634758, 0.005895582027733326, 0.02797275222837925, -0.002358464291319251, 0.019525351002812386, 0.0349566787481308, -0.013004551641643047, 0.005409300327301025, 0.0787683054804802, 0.020247826352715492, -0.006432807072997093, 0.0673569068312645, 0.009355125948786736, -0.021563101559877396, -0.0432744026184082, 0.003318290924653411, -0.040643852204084396, -0.008438138291239738, -0.018589839339256287, -0.029436226934194565, 0.01652430184185505, 0.019562402740120888, -0.006094725802540779, -0.005682544317096472, 0.018024826422333717, 0.026509277522563934, 0.005302781704813242, -0.004124128725379705, 0.00511753186583519, -0.05205525457859039, 0.0011705484939739108, -0.05713110417127609, -0.043570805341005325, -0.02810242772102356, -0.010151701048016548, 0.013838176615536213, -0.0260832030326128, -0.011346563696861267, 0.003600797150284052, 0.0016383047914132476, 0.050425056368112564, -0.002723175333812833, 0.030214278027415276, 0.029547378420829773, 0.0047701881267130375, 0.015996338799595833, -0.06587490439414978, -0.054500553756952286, 0.047757454216480255, -0.00511753186583519, 0.02098882757127285, -0.00024357483198400587, -0.03449355438351631, -0.008183419704437256, -0.0432744026184082, 0.004686825443059206, 0.010642613284289837, 0.045349203050136566, 0.009595951065421104, -0.022452302277088165, 0.031603652983903885, -0.0381615050137043, -0.008586338721215725, 0.025027276948094368, 0.005515819415450096, -0.037828054279088974, 0.0007369477534666657, -0.016561351716518402, 0.0216372013092041, 0.013226850889623165, 0.011068688705563545, 0.045608554035425186, -0.0009291446185670793, -0.008674331940710545, 0.008535394445061684, 0.006886669434607029, 0.0001723693567328155, -0.07039500772953033, 0.017274564132094383, -0.01958092674612999, -0.004721559584140778, -0.011448451317846775, 0.026620427146553993, -0.006173457019031048, -0.07154355943202972, 0.005423194263130426, 0.046460703015327454, 0.01602412573993206, -0.06298500299453735, 0.013143489137291908, 0.015736989676952362, 0.02202622778713703, 0.010725975967943668, 0.019358627498149872, -0.031974151730537415, -0.03842085227370262, 0.04286685585975647, -0.0003597902541514486, -0.055908456444740295, -0.05238870531320572, 0.03167775273323059, 0.01532943919301033, 0.015857402235269547, 0.03786510229110718, -0.041792403906583786, -0.008178788237273693, -0.0008232047548517585, 0.005580656696110964, 0.007224750705063343, 0.0038393065333366394, 0.019025176763534546, 0.04019925370812416, -0.0035521690733730793, 0.09240271151065826, -0.01582961343228817, 0.05761275440454483, 0.06268860399723053, -0.09825661033391953, -0.027120603248476982, 0.023563802242279053, -0.002964000217616558, -0.013930801302194595, -0.03391927853226662, -0.0000642224185867235, -0.006279975641518831, -0.03077002801001072, 0.026101727038621902, -0.054352354258298874, -0.0017714533023536205, 0.07728631049394608, 0.06561555713415146, 0.03164070472121239, -0.051832955330610275, 0.02595352753996849, -0.0008457821095362306, 0.01405121386051178, -0.0012851719511672854, -0.060095105320215225, 0.011448451317846775, -0.018747301772236824, -0.03117757849395275, -0.0030288377311080694, -0.007423894479870796, -0.0241751279681921, 0.0394582524895668, -0.02011815272271633, -0.004175072070211172, 0.024008402600884438, -0.045608554035425186, -0.0048072380013763905, 0.003931931685656309, 0.019117802381515503, -0.012569213286042213, -0.009586688131093979, 0.016616927459836006, -0.01194862648844719, -0.007169175893068314, -0.014551389031112194, -0.0559455044567585, -0.005867794156074524, -0.042274054139852524, -0.05531565472483635, 0.004936913028359413, 0.06917236000299454, 0.026009103283286095, -0.030584778636693954, 0.00801206286996603, 0.028565552085638046, 0.015014514327049255, -0.02825062721967697, 0.04772040620446205, -0.021915076300501823, -0.09521850943565369, 0.03191857784986496, -0.013245375826954842, 0.042014703154563904, -0.04001400247216225, 0.0009193032165057957, -0.0089012635871768, 0.04720170423388481, 0.08188050985336304, 0.007215488236397505, -0.025897951796650887, 0.01514418888837099, -0.007738819345831871, -0.04442295432090759, 0.018765827640891075, -0.016144538298249245, 0.03193710371851921, -0.0042283316142857075, 0.020414551720023155, -0.0178025271743536, -0.0015688360435888171, 0.025471877306699753, 0.01741350255906582, -0.006159563083201647, 0.018404589965939522, 0.022859852761030197, -0.010883438400924206, -0.019284525886178017, 0.015079351142048836, -0.027417002245783806, -0.05583435669541359, -0.011170576326549053, 0.01945125125348568, 0.02825062721967697, -0.00854465737938881, -0.0014692641561850905, 0.028065377846360207, 0.018469426780939102, -0.02430480159819126, 0.11396580934524536, -0.06502275913953781, -0.06946875900030136, -0.04157010465860367, 0.016755864024162292, -0.04308915510773659, 0.04501575604081154, -0.005997469183057547, 0.0394212044775486, -0.017357926815748215, -0.02402692660689354, 0.02252640202641487, 0.004304747097194195, -0.01214313879609108, 0.022822802886366844, -0.026249926537275314, 0.06042855605483055, 0.031974151730537415, 0.03278925269842148, 0.041903555393218994, 0.021340802311897278, -0.03536422923207283, 0.02771340310573578, -0.022100327536463737, 0.030195752158761024, 0.06576375663280487, -0.009651525877416134, 0.015283126384019852, -0.010957538150250912, 0.0014657907886430621, 0.04408950358629227, -0.015968551859259605, 0.03310417756438255, -0.008331619203090668, -0.00814173836261034, -0.01328242663294077, -0.111965112388134, 0.05446350574493408, 0.0362163782119751, 0.0355680026113987, -0.015709200873970985, -0.02415660209953785, 0.008396456949412823, -0.012995288707315922, 0.0063587068580091, -0.05327790603041649, 0.08373300731182098, 0.044978704303503036, -0.04568265378475189, 0.00228783767670393, 0.029473278671503067, -0.007349794264882803, 0.08677110821008682, -0.03721672669053078, 0.044941652566194534, -0.0073822131380438805, -0.03410452976822853, 0.0036285847891122103, 0.0009505641646683216, 0.09558901190757751, -0.004515469074249268, 0.007919438183307648, -0.02962147817015648, -0.03227055445313454, -0.00493228156119585, -0.01984027773141861, 0.046127256006002426, 0.014403188601136208, -0.030362477526068687, 0.045089855790138245, 0.015811089426279068, -0.07332195341587067, 0.021266702562570572, 0.018682464957237244, -0.031473979353904724, -0.040755003690719604, -0.015468376688659191, -0.03717967867851257, -0.005580656696110964, -0.01893255114555359, -0.04505280405282974, -0.001553784473799169, 0.00010261114221066236, -0.003623953554779291, 0.07428525388240814, -0.011216888204216957, 0.07224750518798828, 0.046090204268693924, -0.058576054871082306, 0.02276722714304924, 0.06172530725598335, -0.0547228567302227, -0.009595951065421104, -0.0349566787481308, 0.0763230100274086, 0.006053044460713863, 0.06028035655617714, 0.026638953015208244, 0.041533052921295166, -0.028028327971696854, 0.03028837777674198, 0.03849495202302933, 0.053092654794454575, 0.02530515193939209, -0.046979404985904694, 0.02061832696199417, -0.0305106770247221, -0.06413355469703674, 0.0028899002354592085, 0.028528502210974693, -0.005951156839728355, -0.06283680349588394, 0.0801762044429779, 0.018663939088582993, -0.016376102343201637, 0.02200770191848278, 0.0004179703537374735, 0.0031052534468472004, -0.05813145637512207, -0.028695227578282356, 0.0023353081196546555, -0.057168155908584595, 0.022971002385020256, -0.06380010396242142, 0.023193301633000374, 0.04371900483965874, 0.02200770191848278, 0.061614155769348145, 0.024008402600884438, 0.046497754752635956, -0.002035434590652585, 0.005738119129091501, -0.011920838616788387, 0.04360785335302353, -0.026898302137851715, 0.06498570740222931, -0.04860960319638252, -0.021303752437233925, -0.014866313897073269, -0.019525351002812386, 0.011661488562822342, -0.02263755165040493, 0.004881337750703096, 0.013060126453638077, -0.009415332227945328, -0.024638252332806587, 0.061354804784059525, 0.005562131758779287, 0.019747652113437653, 0.005205525550991297, -0.03979170322418213, -0.023082152009010315, 0.01786736398935318, -0.01628347672522068, -0.11300250887870789, 0.02949180267751217, -0.017552439123392105, 0.05587140470743179, 0.04371900483965874, -0.029473278671503067, 0.04998045414686203, 0.028806377202272415, -0.009262501262128353, -0.0006767414743080735, -0.01571846380829811, -0.021581627428531647, 0.02658337727189064, 0.030492153018712997, 0.006983925588428974, 0.03258547931909561, -0.03497520461678505, -0.06265155225992203, 0.01595928892493248, 0.00623366329818964, -0.03190005198121071, -0.0026930721942335367, 0.048387303948402405, -0.015727726742625237, 0.006015994120389223, -0.006122513208538294, -0.045349203050136566, 0.0025981315411627293, -0.04186650365591049, 0.04527510330080986, -0.011754113249480724, -0.08106540888547897, -0.005525081884115934, -0.03705000504851341, 0.010688926093280315, 0.014616226777434349, -0.025490403175354004, 0.0394212044775486, 0.027417002245783806, 0.01367145124822855, 0.05705700442194939, -0.04105140268802643, -0.09721920639276505, -0.05668650567531586, 0.04905420541763306, 0.09551490843296051, -0.09358830749988556, 0.013393576256930828, 0.026916828006505966, -0.020562751218676567, 0.016635451465845108, -0.01786736398935318, 0.017580226063728333, 0.017645064741373062, 0.009466275572776794, 0.019525351002812386, -0.0030172597616910934, 0.02532367780804634, -0.02122965268790722, 0.019766176119446754, 0.037976253777742386, 0.02137785218656063, 0.04001400247216225, -0.06287385523319244, 0.004712297115474939, -0.026620427146553993, 0.030881177634000778, -0.035919979214668274, -0.007664719596505165, 0.017598751932382584, -0.03738345205783844, -0.027787502855062485, 0.00966078881174326, 0.027565201744437218, -0.0035058564972132444, -0.017922939732670784, 0.01836754009127617, 0.04879485443234444, -0.031585127115249634, -0.024860551580786705, 0.03191857784986496, 0.009054094552993774, 0.026009103283286095, -0.04286685585975647, 0.002926950342953205, 0.022230001166462898, -0.007442419417202473, -0.08810491114854813, 0.0029570534825325012, -0.09218040853738785, -0.09195810556411743, -0.038717254996299744, 0.024193651974201202, 0.018525002524256706, 0.06917236000299454, -0.06898710876703262, 0.03482700511813164, -0.027379952371120453, 0.020803576335310936, -0.060095105320215225, -0.034123051911592484, -0.01919190213084221, 0.027509627863764763, 0.02022930234670639, -0.041644204407930374, 0.02252640202641487, 0.10470330715179443, 0.030436577275395393, 0.025379251688718796, -0.031974151730537415, -0.033141229301691055, 0.04390425235033035, -0.014403188601136208, -0.013384313322603703, 0.013375051319599152, -0.0034016533754765987, -0.05620485544204712, -0.030862653627991676, -0.03908775374293327, 0.03380812704563141, -0.049535855650901794, -0.025786802172660828, 0.02875080332159996, 0.027639303356409073, 0.025138426572084427, 0.022155901417136192, 0.021581627428531647, -0.01647798903286457, 0.011513288132846355, 0.00578443193808198, 0.01208756398409605, -0.034271251410245895, 0.06191055476665497, -0.007826813496649265, -0.022489352151751518, -0.0903279110789299, 0.03697590529918671, 0.000850992277264595, -0.022322626784443855, 0.05657535418868065, 0.00472619105130434, -0.037939202040433884, 0.003107568947598338, 0.007780500687658787, -0.019432727247476578, -0.04620135575532913, -0.04790565371513367, 0.015292389318346977, -0.010957538150250912, -0.010642613284289837, 0.0039041440468281507, 0.04542330279946327, -0.06946875900030136, -0.027379952371120453, 0.016515038907527924, -0.010744500905275345, -0.04297800362110138, -0.06791265308856964, 0.029047202318906784, 0.02111850120127201, 0.015644364058971405, -0.002373515861108899, 0.05331495404243469, -0.04564560577273369, 0.004867444280534983, -0.03458618000149727, -0.007247907109558582, -0.04231110215187073, -0.07869420945644379, 0.0190622266381979, 0.08328840881586075, 0.011689276434481144, -0.04590495303273201, -0.008711381815373898, -0.04883190616965294, -0.0072571695782244205, -0.0084149818867445, -0.029343603178858757, 0.04957290366292, -0.11722621321678162, -0.004682193975895643, -0.018830664455890656, 0.034419454634189606, -0.022192951291799545, 0.01258773822337389, -0.03486405313014984, -0.015014514327049255, -0.0006188508123159409, 0.05587140470743179, 0.020655376836657524, -0.015672150999307632, -0.029417702928185463, 0.00019480197806842625, -0.007669350598007441, -0.013893751427531242, -0.0032441909424960613, -0.022322626784443855, 0.0011224993504583836, -0.00020551173656713217, 0.005071219056844711, 0.04371900483965874, 0.020766526460647583, -0.048127952963113785, 0.005173106677830219, -0.002454562811180949, 0.034011904150247574, -0.030973803251981735, 0.014727376401424408, 0.016691027209162712, -0.019877327606081963, 0.001769137685187161, -0.011013113893568516, -0.045830853283405304, 0.025360727682709694, 0.002739384537562728, 0.01645946316421032, 0.03577177971601486, -0.06272565573453903, 0.0007577883661724627, 0.006414281670004129, -0.022859852761030197, 0.07736040651798248, -0.023749051615595818, -0.06635655462741852, 0.014125313609838486, -0.010309163480997086, 0.0042931693606078625, 0.018914027139544487, -0.004489997401833534, -0.001897654845379293, 0.007502625696361065, 0.01932157762348652, 0.04257045313715935, 0.05379660427570343, -0.06146595627069473, 0.05761275440454483, 0.0736924558877945, 0.05802030488848686, -0.0273429024964571, 0.006511538289487362, 0.04123665392398834, -0.011281725950539112, 0.005437088198959827, -0.005719594191759825, 0.007437788415700197, 0.024008402600884438, -0.049795202910900116, -0.0737665593624115, -0.06079905480146408, -0.017506126314401627, 0.030714452266693115, -0.06839430332183838, 0.01181895099580288, 0.0025796066038310528, -0.04553445428609848, 0.002896847203373909, 0.013967851176857948, 0.028269153088331223, -0.03597555309534073, 0.014764426276087761, 0.015820352360606194, -0.054130055010318756, -0.018765827640891075, 0.09062431007623672, 0.023489702492952347, -0.06961695849895477, -0.004425159655511379, -0.027639303356409073, 0.0324743278324604, 0.01699668914079666, -0.020785052329301834, -0.0026027627754956484, 0.031140528619289398, 0.0362163782119751, 0.005173106677830219, -0.029602952301502228, -0.03215940296649933, 0.0521293543279171, -0.007488731760531664, -0.04786860570311546, 0.01871025189757347, -0.00585390068590641, 0.003788362955674529, 0.04257045313715935, -0.0006981610204093158, -0.01695963926613331, 0.009605213068425655, -0.04816500470042229, 0.039495304226875305, 0.026657477021217346, -0.017033739015460014, 0.01670028828084469, -0.044830504804849625, -0.029843777418136597, -0.06728280335664749, -0.0019856486469507217, -0.004635881632566452, 0.04975815489888191, 0.03964350372552872, -0.0011653384426608682, 0.004946175497025251, -0.016505775973200798, 0.05142540484666824, 0.022452302277088165, 0.017682114616036415, -0.007701769471168518, 0.08158411085605621, 0.009762675501406193, 0.0003965508076362312, -0.05609370395541191, -0.036698028445243835, -0.05968755483627319, -0.016691027209162712, -0.04568265378475189, 0.037327878177165985, 0.08091720938682556, 0.0022125798277556896, 0.06076200678944588, -0.0005074113723821938, 0.011365088634192944 ]
11,024
burnman.classes.layer
reset
Resets all cached material properties. It is typically not required for the user to call this function.
def reset(self): """ Resets all cached material properties. It is typically not required for the user to call this function. """ self._cached = {} self._pressures = None self._temperatures = None self.sublayers = None
(self)
[ 0.032908808439970016, -0.023600565269589424, 0.01720982976257801, -0.010367576964199543, -0.07071486115455627, -0.022610696032643318, -0.08606652170419693, 0.04657594859600067, 0.04383210092782974, 0.048208367079496384, -0.050327032804489136, 0.026483342051506042, -0.013276402838528156, 0.06526190042495728, -0.022888554260134697, 0.004243846982717514, -0.005392182152718306, 0.026049189269542694, 0.010723582468926907, -0.08321847766637802, -0.00126447097864002, 0.016480453312397003, 0.04244280979037285, 0.0338292121887207, -0.00751084927469492, 0.004094064235687256, 0.016905924305319786, -0.011235883459448814, 0.03245728835463524, -0.020266268402338028, -0.040914591401815414, 0.035444263368844986, 0.013502162881195545, 0.03499274328351021, -0.02248913235962391, -0.08266276121139526, 0.013493480160832405, 0.012347315438091755, -0.005700430832803249, 0.03540952876210213, 0.038031816482543945, -0.0038227185141295195, 0.017765546217560768, -0.04390156641602516, 0.022732257843017578, 0.00365991098806262, 0.04865988343954086, -0.030112862586975098, 0.026240216568112373, -0.05171632394194603, 0.0024681605864316225, 0.035531092435121536, 0.017531104385852814, 0.06949923187494278, -0.018095502629876137, -0.0037836446426808834, -0.003405931405723095, 0.03191893920302391, -0.028393615037202835, -0.023826325312256813, 0.013259037397801876, -0.0017083926359191537, -0.04428362101316452, -0.07884220778942108, -0.013493480160832405, -0.05755133926868439, -0.00212952122092247, 0.07272933423519135, 0.04744425415992737, 0.026240216568112373, -0.05518954619765282, 0.030251791700720787, 0.007780024316161871, -0.017921842634677887, 0.007432701997458935, -0.017817644402384758, 0.011418228037655354, -0.0007803902844898403, 0.004400142002850771, -0.07054120302200317, -0.00736757880076766, 0.011808965355157852, -0.06911718100309372, 0.031450055539608, -0.02210707776248455, -0.005361791234463453, 0.007949343882501125, 0.013345867395401001, 0.008487693965435028, -0.05633571371436119, 0.02252386510372162, 0.06366422027349472, -0.019085371866822243, -0.02426047809422016, 0.04174816608428955, -0.028393615037202835, -0.026222849264740944, -0.022749625146389008, 0.007311138790100813, -0.055641066282987595, -0.020405197516083717, -0.03492327779531479, -0.010037620551884174, 0.024191012606024742, 0.013979731127619743, -0.0269522275775671, 0.028602009639143944, -0.05480749160051346, 0.043415315449237823, 0.06453252583742142, -0.026448609307408333, 0.00731548061594367, -0.04730532690882683, 0.05911429226398468, 0.01598551869392395, -0.012199703603982925, -0.04952818900346756, -0.013467430137097836, 0.04237334802746773, 0.0026874078903347254, -0.01621127873659134, 0.028740938752889633, -0.03879592567682266, -0.006199706811457872, 0.05216784030199051, 0.005435597151517868, 0.018217066302895546, 0.048243097960948944, -0.0023357439786195755, -0.03678145632147789, -0.022836456075310707, 0.03744136542081833, -0.055571600794792175, 0.045429784804582596, -0.01223443541675806, -0.020960913971066475, 0.07654988020658493, -0.030130228027701378, 0.01005498692393303, 0.03626047074794769, -0.009629516862332821, 0.008843699470162392, -0.011105637066066265, 0.030095495283603668, -0.003970330581068993, 0.016645431518554688, 0.053383469581604004, -0.009125899523496628, -0.0877336710691452, -0.023670028895139694, 0.0097337132319808, 0.026136020198464394, -0.010124451480805874, -0.04959765449166298, -0.018616486340761185, 0.006607810966670513, -0.011939211748540401, 0.013137473724782467, 0.0033950775396078825, 0.03719824180006981, -0.0009231181466020644, 0.017513737082481384, 0.025771331042051315, -0.052897218614816666, -0.003449346637353301, 0.00879594311118126, 0.018460191786289215, -0.0584891103208065, -0.0055745262652635574, -0.0389348529279232, -0.04126191511750221, -0.04115771874785423, -0.023062214255332947, -0.022801723331212997, 0.06619967520236969, 0.040428340435028076, -0.035843685269355774, -0.05508534982800484, -0.02723008580505848, 0.05119533836841583, 0.0005350937717594206, -0.055328477174043655, -0.06682485342025757, 0.017201147973537445, 0.025128783658146858, -0.028289418667554855, 0.011843698099255562, -0.011296665295958519, -0.0023118655662983656, -0.0173487588763237, 0.07592470198869705, 0.04119244962930679, -0.04178289696574211, 0.012486244551837444, 0.05706508830189705, -0.025667134672403336, 0.05209837853908539, -0.10482193529605865, 0.07571630924940109, 0.00982922688126564, -0.08953974395990372, -0.05359186604619026, 0.019137470051646233, -0.0010256868554279208, -0.01988421380519867, 0.00551808625459671, -0.001284007914364338, -0.02945294976234436, -0.04476987197995186, 0.0674847662448883, -0.03615627437829971, 0.012720687314867973, 0.0739796981215477, -0.009073800407350063, 0.030217058956623077, -0.053487665951251984, 0.012955130077898502, 0.024052083492279053, -0.01106222253292799, 0.045464515686035156, -0.04997970908880234, -0.007115770131349564, -0.04938926175236702, -0.033603452146053314, -0.0491461344063282, 0.0250072218477726, -0.017765546217560768, 0.02665700390934944, -0.053348738700151443, -0.04258174076676369, 0.013224304653704166, -0.018494924530386925, -0.0074630924500525, -0.008496376685798168, 0.02759477309882641, -0.008730819448828697, -0.008274959400296211, -0.010819096118211746, -0.040324144065380096, -0.05744714289903641, -0.012390730902552605, -0.02439940720796585, 0.038552798330783844, -0.014483349397778511, 0.0001510038855485618, 0.06168447807431221, 0.014405201189219952, 0.0032626609317958355, -0.016628066077828407, -0.02672646753489971, 0.023826325312256813, 0.008934871293604374, 0.010593337006866932, 0.04164396971464157, 0.05223730579018593, -0.12406360357999802, -0.022766990587115288, -0.012303899973630905, -0.004028941038995981, 0.006955133285373449, 0.007554264739155769, -0.05188998579978943, 0.010706217028200626, 0.03443702682852745, 0.09926477819681168, 0.025250347331166267, 0.016202595084905624, 0.06626913696527481, -0.06095510348677635, -0.02691749483346939, 0.10093192011117935, -0.03692038357257843, 0.002374817617237568, 0.003811864648014307, -0.0008623366593383253, 0.025215614587068558, -0.005274960771203041, 0.009412440471351147, -0.00976844597607851, 0.06866566091775894, 0.09294350445270538, -0.028133124113082886, 0.000001963016757144942, 0.016671480610966682, 0.012121555395424366, -0.03254412114620209, -0.008600573986768723, 0.010714899748563766, -0.000517998996656388, -0.01001157145947218, 0.04952818900346756, 0.06199707090854645, -0.029140358790755272, -0.008587549440562725, 0.03169317916035652, -0.05678723007440567, -0.06258751451969147, 0.007441384717822075, 0.009803177788853645, 0.06713744252920151, -0.007940661162137985, -0.03268304839730263, 0.013076692819595337, 0.021725023165345192, 0.021169306710362434, 0.029140358790755272, 0.008539792150259018, 0.018685951828956604, 0.05894063040614128, -0.010263380594551563, 0.06258751451969147, 0.02250649966299534, -0.014943551272153854, 0.026049189269542694, 0.018164968118071556, -0.06296957284212112, 0.025910260155797005, -0.028897233307361603, 0.016410989686846733, 0.063594751060009, -0.011852380819618702, -0.030772775411605835, -0.0219334177672863, 0.011531107127666473, 0.021551361307501793, -0.008630964905023575, 0.006290879100561142, 0.0050535425543785095, 0.03419390320777893, -0.001236251089721918, -0.05116060748696327, -0.02010997384786606, 0.01978001743555069, 0.005075250286608934, -0.03685091808438301, -0.06623440235853195, -0.02723008580505848, -0.045221392065286636, -0.018303897231817245, -0.021551361307501793, 0.04272066801786423, 0.028306785970926285, -0.018755415454506874, -0.02940085157752037, 0.01978001743555069, 0.052827753126621246, 0.10718373209238052, -0.042755402624607086, 0.035287968814373016, -0.005031834822148085, -0.01714036613702774, 0.012903031893074512, 0.07088852673768997, 0.06578288227319717, 0.07981471717357635, 0.0030217058956623077, -0.03221416473388672, 0.005274960771203041, -0.013753972016274929, -0.018581755459308624, 0.030564380809664726, 0.012998545542359352, -0.08849778026342392, -0.03374238312244415, 0.03674672171473503, -0.05730821564793587, -0.005526769440621138, -0.021047744899988174, -0.012060774490237236, -0.008079590275883675, 0.006560054142028093, -0.07898113876581192, -0.03369028493762016, 0.012642540037631989, -0.001506511471234262, -0.018303897231817245, -0.0019005053909495473, 0.05133426934480667, 0.06203180178999901, -0.015082480385899544, 0.03653832897543907, 0.014222856611013412, -0.02453833632171154, -0.021638192236423492, 0.01983211562037468, 0.015594781376421452, -0.010853828862309456, -0.009108533151447773, 0.045881304889917374, 0.013397966511547565, 0.038170743733644485, -0.008452962152659893, 0.03726770728826523, -0.03358608856797218, 0.06685958802700043, 0.07870328426361084, 0.01001157145947218, 0.004806075245141983, -0.05744714289903641, -0.015698976814746857, 0.013988414779305458, -0.04716639593243599, -0.023635298013687134, 0.01347611378878355, -0.0038900121580809355, 0.004680170677602291, 0.015594781376421452, -0.0004748550127260387, 0.0074630924500525, -0.04219968616962433, 0.005396523512899876, 0.0194674264639616, -0.02952241338789463, -0.025910260155797005, 0.055641066282987595, -0.027768434956669807, 0.06449779123067856, -0.060746707022190094, 0.06210126727819443, 0.07599416375160217, -0.0297655388712883, 0.07571630924940109, -0.01762661710381508, 0.06369894742965698, 0.012399413622915745, -0.008874090388417244, -0.021742388606071472, -0.006929084192961454, -0.027560042217373848, 0.035878416150808334, -0.05720401927828789, -0.0015488413628190756, -0.008479011245071888, -0.02714325487613678, -0.006091168615967035, 0.018668584525585175, 0.003531835740432143, -0.013397966511547565, -0.07391022890806198, -0.013753972016274929, 0.05400865152478218, -0.030408086255192757, 0.04470040649175644, 0.001421851571649313, 0.020717788487672806, 0.008031832985579967, -0.004374092910438776, 0.0695687010884285, -0.0019656284712255, 0.01473515760153532, -0.02724745124578476, 0.05633571371436119, -0.04383210092782974, -0.06192760542035103, 0.05386972054839134, -0.01093197613954544, -0.023096946999430656, 0.023548467084765434, -0.006342977285385132, -0.025736598297953606, 0.002137118950486183, 0.050222836434841156, -0.03210996836423874, 0.0029804613441228867, 0.0033473207149654627, 0.018286529928445816, 0.0069030351005494595, -0.004265554714947939, -0.011149052530527115, 0.006924742832779884, 0.0037662785034626722, -0.048451490700244904, -0.01753978617489338, -0.03219679743051529, -0.010784364305436611, -0.013232988305389881, -0.035843685269355774, 0.024191012606024742, -0.008014466613531113, -0.043206922709941864, -0.0018484069732949138, -0.031172195449471474, 0.029001429677009583, -0.003527494380250573, -0.003145439550280571, 0.01731402799487114, 0.0011906649451702833, -0.030026031658053398, -0.014457299374043941, -0.019085371866822243, -0.07113165408372879, -0.02759477309882641, -0.022905919700860977, 0.030460184440016747, -0.029070895165205002, 0.048104166984558105, -0.007545581553131342, 0.0008525682496838272, -0.03615627437829971, -0.027803167700767517, 0.04001155495643616, -0.038309674710035324, -0.03372501581907272, 0.02498985454440117, -0.023687396198511124, 0.004484802018851042, 0.018547022715210915, -0.042929064482450485, 0.03537479788064957, 0.01708826795220375, -0.023826325312256813, -0.068353071808815, 0.07245147973299026, -0.012937763705849648, 0.028081025928258896, 0.004389288369566202, -0.06901298463344574, 0.002411720808595419, -0.002240230329334736, -0.005856725852936506, -0.014804622158408165, 0.04956292361021042, 0.02698696032166481, -0.029001429677009583, -0.021030377596616745, 0.0006447174237109721, -0.04376263543963432, -0.018824880942702293, 0.06560922414064407, 0.0022532548755407333, 0.009594784118235111, -0.026344412937760353, -0.028897233307361603, 0.021620826795697212, 0.0219334177672863, -0.028567276895046234, 0.026518074795603752, -0.12253538519144058, -0.005361791234463453, -0.012008676305413246, 0.010810413397848606, -0.002307523973286152, 0.0676584243774414, -0.04730532690882683, 0.02214181050658226, -0.0023965253494679928, -0.022975385189056396, -0.007523873820900917, -0.04244280979037285, -0.01116641890257597, -0.025545570999383926, -0.0704370066523552, -0.012781468220055103, -0.0385875329375267, 0.006499272771179676, 0.0005839359946548939, 0.04160923883318901, -0.027455845847725868, 0.016871191561222076, 0.010037620551884174, 0.011591888964176178, 0.010176549665629864, 0.0249203909188509, 0.013884217478334904, -0.005101299379020929, -0.02252386510372162, -0.012590440921485424, 0.03900431841611862, -0.002283645560964942, 0.007927636615931988, 0.010688850656151772, -0.008448620326817036, 0.06661646068096161, 0.01476989034563303, 0.014413884840905666, -0.0008748185937292874, 0.03692038357257843, -0.02974817343056202, 0.011287981644272804, -0.04501299932599068, 0.06373368203639984, 0.026570172980427742, -0.040706198662519455, -0.048173632472753525, 0.016358889639377594, 0.0011157735716551542, 0.025163516402244568, 0.0493197962641716, 0.009221413172781467, -0.0586627721786499, -0.020335733890533447, 0.018703317269682884, 0.030998535454273224, -0.03165844827890396, -0.057759735733270645, 0.04119244962930679, 0.027507944032549858, -0.010758315213024616, -0.011479008942842484, 0.04046307131648064, 0.02707378938794136, 0.00037961266934871674, 0.02233283780515194, 0.036191005259752274, -0.02460779994726181, -0.0019232984632253647, -0.00018017354886978865, 0.043415315449237823, 0.045638177543878555, 0.014535447582602501, 0.012790151871740818, -0.05956581234931946, 0.012972496449947357, -0.013085375539958477, 0.03511430695652962, -0.03695511445403099, -0.0037033262196928263, -0.007541240192949772, -0.0031562934163957834, 0.03193630650639534, -0.062379125505685806, -0.0014034000923857093, -0.07460487633943558, -0.006603469140827656, 0.0009024958708323538, 0.0029609245248138905, 0.004028941038995981, 0.008843699470162392, -0.02471199631690979, 0.025858161970973015, 0.01362372562289238, -0.07738345861434937, 0.00013960736396256834, -0.0018961639143526554, -0.003748912364244461, 0.014309687539935112, -0.018529655411839485, 0.021290870383381844, -0.005956581328064203, 0.017670033499598503, 0.04727059602737427, 0.007150502409785986, 0.03956003487110138, 0.014431250281631947, -0.0848856195807457, -0.0061779990792274475, -0.015855273231863976, -0.025510838255286217, 0.030633846297860146, 0.012590440921485424, -0.057481877505779266, 0.0006534004933200777, 0.023600565269589424, 0.022819088771939278, -0.007493483368307352, -0.01991894654929638, -0.012104189954698086, -0.05605785548686981, 0.001035997993312776, -0.030911704525351524, -0.07842542231082916, 0.057620804756879807, 0.01121851708739996, 0.045186661183834076, 0.07516059279441833, -0.04859042167663574, -0.0156381968408823, 0.046124428510665894, -0.01924166828393936, 0.06661646068096161, -0.07689720392227173, -0.010315478779375553, 0.009308243170380592, -0.02479882724583149, -0.015620830468833447, 0.04925033450126648, 0.013302451930940151, -0.005366133060306311, 0.02198551595211029, 0.06175394356250763, -0.0032626609317958355, 0.06623440235853195, -0.04376263543963432, 0.04226915165781975, 0.014266272075474262, 0.10489139705896378, -0.05143846571445465, 0.009612150490283966, 0.0003090627724304795, 0.0006658823695033789, 0.003796669188886881, -0.05452963337302208, 0.06470618396997452, -0.009438489563763142, -0.09419386833906174, -0.009369025006890297, -0.020544126629829407, -0.04379737004637718, 0.04390156641602516, -0.040185216814279556, -0.005040518008172512, 0.028636742383241653, -0.05602312088012695, -0.0055484771728515625, 0.027629505842924118, 0.018998540937900543, -0.012008676305413246, -0.0016335012624040246, -0.060538314282894135, -0.026031821966171265, 0.04244280979037285, 0.053175076842308044, -0.0038639630656689405, 0.02999129891395569, 0.033221397548913956, -0.020474663004279137, -0.0218465868383646, -0.04254700988531113, -0.020353099331259727, -0.004506509751081467, 0.03389867767691612, 0.025684500113129616, 0.0072720651514828205, 0.013606359250843525, 0.0649840459227562, 0.03207523375749588, -0.10350210964679718, -0.04661068320274353, 0.0034015898127108812, -0.0038900121580809355, -0.03419390320777893, -0.012651222757995129, 0.011235883459448814, -0.008713454008102417, 0.0023617930710315704, -0.04004628583788872, 0.10259906947612762, 0.021412434056401253, 0.004239505622535944, 0.0270390585064888, -0.050778552889823914, -0.0031128779519349337, -0.06519243866205215, 0.020492028445005417, -0.005487695802003145, 0.045568715780973434, 0.028931966051459312, 0.04261647164821625, -0.015325605869293213, -0.0017225026385858655, 0.033603452146053314, 0.016610698774456978, 0.026031821966171265, 0.016680164262652397, 0.045916035771369934, 0.007684510666877031, -0.0324920229613781, -0.003399419132620096, -0.0036078125704079866, -0.012972496449947357, -0.032978273928165436, -0.05980893597006798, -0.01371055655181408, -0.0015672928420826793, 0.02241966873407364, 0.050396498292684555, 0.032874077558517456, -0.05345293506979942 ]
11,025
burnman.classes.layer
set_material
Set the material of a Layer with a Material
def set_material(self, material): """ Set the material of a Layer with a Material """ assert isinstance(material, Material) self.material = material self.reset()
(self, material)
[ 0.04193508252501488, 0.0010410487884655595, 0.03162374347448349, 0.0562468059360981, -0.07407611608505249, -0.030520187690854073, -0.06469590216875076, 0.062868133187294, 0.04014180600643158, 0.044624995440244675, -0.015234229154884815, 0.005707447417080402, -0.0021726235281676054, 0.03572758659720421, -0.014820395968854427, 0.026364613324403763, -0.06721338629722595, 0.029916679486632347, 0.011699404567480087, -0.048142578452825546, 0.011354544200003147, 0.03707254305481911, 0.03807263821363449, 0.0053970725275576115, 0.002345053944736719, 0.037486378103494644, -0.010794145055115223, 0.032158274203538895, 0.027606112882494926, -0.031227150931954384, -0.04107293114066124, -0.0060350652784109116, 0.018053466454148293, 0.06110934540629387, 0.005487598478794098, -0.043486956506967545, 0.00461682491004467, 0.022071095183491707, -0.013389223255217075, 0.016717130318284035, -0.008457712829113007, 0.03848647326231003, 0.08055949956178665, 0.01617397554218769, 0.019312208518385887, -0.002554125851020217, 0.03414122760295868, 0.009621618315577507, -0.018812160938978195, -0.03948656842112541, -0.003386102616786957, 0.0237781573086977, 0.03212378919124603, 0.00669030100107193, 0.0010103345848619938, -0.009716454893350601, -0.0022459065075963736, 0.031071964651346207, -0.007987840101122856, -0.005935917608439922, -0.008862924762070179, -0.02631288394331932, -0.03067537397146225, -0.07993874698877335, -0.06597188115119934, -0.06966189295053482, -0.04676313325762749, 0.05679858475923538, 0.05452250316739082, 0.08504269272089005, 0.011389030143618584, 0.07359331101179123, 0.013785813003778458, -0.011199356988072395, -0.0008034180500544608, -0.0008589191129431129, 0.014070323668420315, 0.01848454214632511, -0.020191604271531105, -0.04690107703208923, -0.004166350234299898, 0.03505510836839676, -0.02724400907754898, 0.06597188115119934, -0.04217648506164551, -0.03212378919124603, -0.019450152292847633, -0.004483191296458244, -0.01822589710354805, -0.09828534722328186, 0.019243236631155014, 0.05697101727128029, -0.028433779254555702, -0.014751424081623554, 0.03505510836839676, 0.0011649831430986524, 0.012259803712368011, -0.03617590665817261, -0.016449863091111183, -0.010009586811065674, -0.021105485036969185, -0.019208749756217003, 0.018967347219586372, 0.013165063224732876, 0.02633012644946575, -0.046935565769672394, 0.009216406382620335, -0.038417499512434006, -0.007375712040811777, 0.043280038982629776, 0.0032093615736812353, -0.014949718490242958, -0.06610982865095139, 0.022691845893859863, -0.0355551540851593, -0.008086987771093845, -0.019053563475608826, -0.04276274889707565, 0.019105292856693268, -0.017139585688710213, -0.008931896649301052, 0.03405500948429108, 0.0013772881356999278, 0.033761877566576004, 0.050866976380348206, 0.0017835772596299648, 0.0061342124827206135, 0.019070805981755257, 0.022916004061698914, -0.08600830286741257, -0.03257210925221443, 0.02815788984298706, -0.08497371524572372, 0.011190734803676605, 0.007742126472294331, -0.002028212882578373, -0.014208267442882061, -0.03514132276177406, -0.02074338123202324, 0.05238436535000801, 0.020433006808161736, 0.05497082322835922, -0.03162374347448349, 0.0457630380988121, -0.07462789118289948, -0.0033128196373581886, -0.013182306662201881, -0.04431462287902832, -0.04386630281805992, -0.004521988332271576, -0.0024291137233376503, -0.005625542718917131, 0.0240023173391819, -0.0008599967695772648, -0.027054335922002792, 0.030727103352546692, -0.03139958158135414, -0.01200115866959095, 0.07221386581659317, 0.03419295698404312, -0.02653704397380352, 0.000017613499949220568, 0.0009117259178310633, 0.009276757016777992, -0.001676885993219912, 0.003836577059701085, 0.0057548657059669495, -0.053418949246406555, -0.031002992764115334, -0.020208846777677536, -0.00046717870282009244, -0.058522891253232956, -0.0005986568867228925, 0.006707543972879648, 0.05172913148999214, 0.01564806140959263, 0.003526202403008938, -0.025950780138373375, -0.04955650866031647, -0.003420588793233037, 0.04359041526913643, 0.0193466953933239, -0.015854978933930397, 0.044383592903614044, 0.008871546015143394, -0.07186900824308395, -0.037969183176755905, 0.004037027712911367, 0.02996840886771679, -0.04772874340415001, 0.09062943607568741, 0.027295738458633423, -0.05614335089921951, -0.02448512241244316, -0.003026154125109315, -0.05807457119226456, 0.07676602900028229, -0.08587035536766052, 0.06911011785268784, 0.039555542171001434, -0.057074472308158875, -0.03250313550233841, -0.0009930914966389537, 0.050142768770456314, 0.017915522679686546, -0.006229049526154995, 0.031709957867860794, 0.002207109471783042, -0.0729035884141922, -0.0003922792384400964, -0.03350323438644409, -0.004062891937792301, 0.0933193489909172, 0.054108671844005585, 0.07017918676137924, -0.1038031205534935, -0.057350363582372665, 0.00947505235671997, 0.006841177586466074, 0.031434066593647, -0.03807263821363449, 0.018536271527409554, -0.014708315953612328, 0.0022394403349608183, -0.04503883048892021, -0.003347305813804269, -0.009043976664543152, -0.00958713237196207, -0.020450249314308167, 0.008237863890826702, -0.017725849524140358, -0.042314428836107254, -0.004513366613537073, -0.0074619268998503685, -0.000405211525503546, -0.008362876251339912, 0.023157406598329544, -0.03222724795341492, -0.0420040525496006, -0.038451988250017166, -0.0030498632695525885, -0.014380698092281818, 0.04252134636044502, 0.035451699048280716, -0.025019656866788864, 0.07524864375591278, 0.019484639167785645, 0.039590027183294296, -0.04448705166578293, 0.009112948551774025, -0.0023342769127339125, 0.025916295126080513, 0.0023795398883521557, 0.04310761019587517, 0.03872787579894066, -0.08924999088048935, -0.024071289226412773, -0.017156828194856644, -0.006526492070406675, -0.012880553491413593, -0.06114383041858673, -0.02929593063890934, 0.0502462275326252, 0.04428013414144516, 0.07642117142677307, -0.022657359018921852, 0.005685893353074789, 0.031727198511362076, -0.037969183176755905, 0.001762023544870317, 0.10180293023586273, 0.009061219170689583, 0.04583200812339783, 0.030123597010970116, -0.004513366613537073, -0.008388740941882133, -0.0021650795824825764, 0.0011714493157342076, 0.0022265079896897078, 0.03348599001765251, 0.08345633000135422, -0.03893479332327843, -0.0466596744954586, 0.037727780640125275, -0.030520187690854073, -0.03917619585990906, 0.049694452434778214, 0.03686562553048134, -0.00727225374430418, 0.006177320145070553, 0.03117542341351509, 0.057350363582372665, -0.0193466953933239, -0.017708605155348778, -0.005888499319553375, -0.037727780640125275, -0.05614335089921951, 0.07062750309705734, 0.008280972018837929, 0.008125783875584602, 0.030606402084231377, -0.04734939709305763, 0.01895010471343994, 0.02908901497721672, -0.010975196957588196, -0.014044458977878094, 0.025312786921858788, 0.0087767094373703, 0.004638378508388996, 0.0175534188747406, 0.08504269272089005, 0.07283461838960648, -0.07573144882917404, -0.002459289040416479, 0.02627839893102646, -0.003940035589039326, 0.06245430186390877, -0.0076688434928655624, 0.01440656278282404, 0.09297449141740799, 0.009595753625035286, -0.09435393661260605, -0.026812933385372162, -0.01026823278516531, 0.047901175916194916, -0.01850178651511669, 0.033554963767528534, 0.0017038282239809632, 0.04000386223196983, 0.024571336805820465, -0.0873187705874443, -0.005435869563370943, 0.029847707599401474, -0.020881325006484985, -0.043452467769384384, -0.055488113313913345, -0.02819237671792507, -0.07097236812114716, 0.009664725512266159, -0.01486350316554308, 0.05979887396097183, 0.013768570497632027, -0.019501881673932076, -0.0429006926715374, 0.02770957164466381, 0.05497082322835922, 0.03903825208544731, -0.0493495911359787, 0.017605148255825043, 0.10145806521177292, -0.040693581104278564, 0.02076062373816967, 0.056867558509111404, 0.01962258294224739, -0.0015874376986175776, 0.04007283225655556, -0.033589448779821396, -0.011828728020191193, -0.033813606947660446, -0.030054625123739243, 0.03095126338303089, -0.002327810972929001, 0.025709377601742744, -0.01313057728111744, -0.006086794193834066, -0.035658612847328186, -0.012311533093452454, -0.0391417071223259, 0.0336756631731987, -0.013785813003778458, 0.018605243414640427, -0.040934983640909195, -0.03896927833557129, 0.027985459193587303, -0.02053646557033062, -0.0011423516552895308, -0.01140627358108759, 0.03508959338068962, 0.08173202723264694, -0.015173878520727158, 0.02241595648229122, -0.0391417071223259, 0.0014527264283969998, 0.022002123296260834, 0.028485508635640144, -0.010078558698296547, 0.00012400173000060022, -0.027588870376348495, 0.02262287214398384, 0.024140261113643646, 0.06831693649291992, -0.014570372179150581, 0.061695609241724014, -0.05797111243009567, 0.007630046922713518, 0.022191796451807022, -0.0024463566951453686, -0.02003641612827778, -0.05052211880683899, -0.0003025615296792239, -0.019777771085500717, -0.0462113581597805, -0.00610834825783968, 0.015967058017849922, 0.006453209090977907, 0.01326852198690176, -0.0175103098154068, 0.05814354121685028, -0.0171050988137722, -0.037486378103494644, 0.001752324285916984, -0.006509249098598957, -0.05372932180762291, -0.04683210700750351, 0.049728937447071075, -0.06562702357769012, 0.113390251994133, -0.07131722569465637, 0.027795786038041115, 0.05514325201511383, 0.0031921183690428734, 0.04683210700750351, 0.020898569375276566, 0.05245333909988403, 0.021071000024676323, -0.03255486488342285, 0.00495737511664629, 0.0039809877052903175, -0.041417788714170456, 0.03372739255428314, -0.04455602541565895, 0.013544410467147827, 0.03464127331972122, -0.02836480736732483, 0.028037188574671745, 0.012656393460929394, -0.025881808251142502, -0.00582383805885911, -0.042348913848400116, -0.017165450379252434, 0.10456181317567825, -0.030968505889177322, -0.00947505235671997, -0.00797059666365385, -0.025019656866788864, -0.018743189051747322, 0.01213048119097948, 0.041383303701877594, -0.019743284210562706, 0.034279171377420425, 0.009112948551774025, 0.06431654840707779, -0.02419199049472809, -0.048315007239580154, 0.07497275620698929, -0.032158274203538895, 0.011026926338672638, -0.017950007691979408, 0.03398603945970535, -0.010242368094623089, 0.010845874436199665, 0.013785813003778458, -0.0673513263463974, 0.008065433241426945, 0.005082387011498213, 0.028433779254555702, 0.03041672892868519, -0.01962258294224739, 0.01348405983299017, -0.017406852915883064, 0.016527457162737846, -0.04079703986644745, 0.0035542224068194628, -0.0186742153018713, 0.010880360379815102, 0.008052500896155834, -0.027847515419125557, 0.0038473540917038918, -0.054074183106422424, -0.021053755655884743, -0.050384171307086945, -0.019708799198269844, 0.018156925216317177, 0.009457808919250965, -0.018588000908493996, 0.01941566728055477, -0.005022036377340555, -0.01118211355060339, 0.02864069491624832, 0.015777384862303734, -0.06486833095550537, -0.0035779315512627363, 0.00944918766617775, 0.049970339983701706, -0.018519029021263123, 0.03814161196351051, -0.01846729964017868, -0.007009297143667936, -0.03160649910569191, -0.005345343612134457, 0.02331259474158287, -0.0010895448504015803, -0.030640888959169388, -0.010578607209026814, -0.004858227446675301, -0.01707061380147934, -0.01164767611771822, -0.011380408890545368, 0.050418660044670105, 0.015027312561869621, 0.024364421144127846, -0.009268135763704777, 0.04838398098945618, 0.01754479669034481, 0.015199743211269379, 0.013492681086063385, -0.04941856116056442, 0.06566151231527328, 0.003071417100727558, -0.0175534188747406, 0.027037091553211212, 0.0332273431122303, 0.03514132276177406, -0.061695609241724014, 0.014104809612035751, -0.03803815320134163, -0.05031520128250122, -0.05117735266685486, 0.034468844532966614, 0.0036921666469424963, 0.006073861848562956, -0.012147723697125912, -0.030520187690854073, 0.0022157311905175447, 0.025985267013311386, -0.03814161196351051, 0.018622487783432007, -0.043211065232753754, -0.06390272080898285, -0.04745285585522652, -0.021398616954684258, -0.0030886600725352764, 0.046935565769672394, -0.06335093826055527, 0.004858227446675301, 0.0021144282072782516, -0.05562605708837509, -0.04252134636044502, -0.048797812312841415, -0.010656201280653477, -0.053625866770744324, -0.016958532854914665, -0.07124825567007065, 0.0175103098154068, 0.03993488848209381, 0.03548618406057358, 0.029864951968193054, -0.030847804620862007, 0.003940035589039326, 0.05276371166110039, -0.0003160326450597495, 0.02884761244058609, 0.039107222110033035, 0.018570758402347565, 0.01798449456691742, -0.04941856116056442, 0.02720952220261097, -0.01258742157369852, 0.007642978802323341, -0.02095029689371586, 0.0006417645490728319, -0.015363551676273346, 0.03786572441458702, 0.05797111243009567, 0.0006530802929773927, 0.02608872391283512, 0.05559157207608223, -0.0214503463357687, -0.0022674601059406996, -0.02308843471109867, 0.036106932908296585, 0.04383181780576706, -0.025985267013311386, -0.004125398118048906, 0.01820865459740162, 0.003429210279136896, -0.01957085356116295, 0.032675568014383316, -0.030330512672662735, -0.02746816910803318, 0.0049142674542963505, -0.04759079962968826, -0.02329535223543644, -0.040279749780893326, -0.02195039391517639, 0.007599871605634689, 0.03276178240776062, -0.03831404075026512, 0.00018118666775990278, 0.06955843418836594, 0.014596235938370228, -0.02857172302901745, 0.027157792821526527, 0.035624127835035324, -0.0003381253045517951, 0.001800820347853005, -0.009130191057920456, 0.019708799198269844, -0.026588773354887962, 0.007681775838136673, 0.009552646428346634, -0.029123499989509583, -0.023243622854351997, -0.05552259832620621, 0.009483673609793186, -0.06962741166353226, -0.0386933907866478, 0.03405500948429108, 0.046245843172073364, 0.03160649910569191, -0.011587325483560562, -0.004875470418483019, -0.05793662741780281, 0.015622197650372982, -0.013406466692686081, -0.00947505235671997, 0.010380311869084835, -0.04428013414144516, -0.009750940836966038, -0.03641730919480324, -0.0009909361833706498, 0.006759272888302803, -0.007655911147594452, -0.047107994556427, 0.008211999200284481, -0.023881616070866585, 0.01291503943502903, 0.018794916570186615, -0.004651310853660107, 0.005323789548128843, 0.024054044857621193, 0.015010069124400616, 0.030054625123739243, -0.020260576158761978, -0.054763905704021454, 0.012656393460929394, 0.0024291137233376503, -0.02258838713169098, -0.020933054387569427, -0.0233298372477293, -0.05048763006925583, -0.005530706141144037, 0.005203088279813528, 0.018846645951271057, 0.07683499902486801, -0.008341322652995586, 0.007789544761180878, -0.02007090300321579, 0.016751617193222046, -0.015173878520727158, -0.0622473880648613, 0.030089110136032104, 0.02143310382962227, 0.052005019038915634, 0.0637647733092308, -0.031192665919661522, 0.001038354472257197, -0.06290262192487717, 0.004853916820138693, 0.0600057914853096, -0.07773163914680481, -0.012630529701709747, -0.0237781573086977, -0.012251182459294796, 0.010216503404080868, 0.0035305132623761892, 0.02282978966832161, -0.055936433374881744, 0.054315585643053055, 0.05514325201511383, -0.016717130318284035, 0.044900886714458466, -0.056177835911512375, 0.09435393661260605, 0.038176096975803375, 0.12608113884925842, -0.0466596744954586, 0.01591532863676548, 0.026226669549942017, -0.034486085176467896, 0.0032266045454889536, -0.04769425839185715, -0.005284992977976799, 0.005927296355366707, -0.06707543879747391, -0.04286620765924454, -0.061281777918338776, -0.051349785178899765, 0.02539900317788124, 0.051108382642269135, 0.016699887812137604, 0.015311822295188904, -0.041452277451753616, -0.006811002269387245, 0.02953733317553997, -0.021036513149738312, -0.042107511311769485, -0.003347305813804269, 0.005569503176957369, -0.05286717042326927, -0.0016079137567430735, 0.03765880689024925, 0.033554963767528534, -0.005961782298982143, 0.03924516588449478, -0.025088628754019737, -0.03803815320134163, -0.035693101584911346, -0.042073026299476624, 0.0003871602239087224, 0.0059057422913610935, -0.01870870217680931, -0.0006724786944687366, -0.023916101083159447, 0.032658323645591736, -0.00652218097820878, -0.054108671844005585, -0.005091008730232716, 0.010552742518484592, -0.006970500107854605, 0.01107003353536129, 0.03091677650809288, -0.011518352665007114, -0.006173009518533945, -0.004621135536581278, -0.03758983314037323, 0.004254721105098724, 0.0004941209917888045, 0.017622390761971474, 0.04583200812339783, -0.030606402084231377, 0.0034895609132945538, -0.055039793252944946, -0.01888113282620907, -0.020208846777677536, 0.060454111546278, 0.01796725206077099, 0.049728937447071075, -0.01140627358108759, -0.0032761781476438046, 0.03431365638971329, 0.014897989109158516, -0.011897699907422066, 0.06335093826055527, 0.08380118757486343, -0.005496220197528601, -0.014346212148666382, 0.0031554768793284893, 0.027381952852010727, -0.04638378694653511, -0.010147531516849995, -0.03110644966363907, 0.04265929013490677, -0.04031423479318619, -0.0011951584601774812, 0.04893575608730316, -0.005793662741780281, -0.03248589485883713 ]
11,026
burnman.classes.layer
set_pressure_mode
Sets the pressure mode of the layer, which can either be 'user-defined', or 'self-consistent'. :param pressure_mode: This can be set to 'user-defined' or 'self-consistent'. 'user-defined' fixes the pressures with the profile input by the user in the 'pressures' argument. 'self-consistent' forces Layer to calculate pressures self-consistently. If this is selected, the user will need to supply values for the gravity_bottom [m/s^2] and pressure_top [Pa] arguments. :type pressure_mode: string :param pressures: Pressures [Pa] to set layer to (if the 'user-defined' pressure_mode has been selected). The array should be the same length as the layers user-defined radii array. :type pressures: array of floats :param pressure_top: Pressure [Pa] at the top of the layer. :type pressure_top: float :param gravity_bottom: Gravity [m/s^2] at the bottom of the layer. :type gravity_bottom: float :param n_max_iterations: Maximum number of iterations to reach self-consistent pressures. :type n_max_iterations: integer :param max_delta: Relative update to the highest pressure in the layer between iterations to stop iterations. :type max_delta: float
def set_pressure_mode( self, pressure_mode="self-consistent", pressures=None, gravity_bottom=None, pressure_top=None, n_max_iterations=50, max_delta=1.0e-5, ): """ Sets the pressure mode of the layer, which can either be 'user-defined', or 'self-consistent'. :param pressure_mode: This can be set to 'user-defined' or 'self-consistent'. 'user-defined' fixes the pressures with the profile input by the user in the 'pressures' argument. 'self-consistent' forces Layer to calculate pressures self-consistently. If this is selected, the user will need to supply values for the gravity_bottom [m/s^2] and pressure_top [Pa] arguments. :type pressure_mode: string :param pressures: Pressures [Pa] to set layer to (if the 'user-defined' pressure_mode has been selected). The array should be the same length as the layers user-defined radii array. :type pressures: array of floats :param pressure_top: Pressure [Pa] at the top of the layer. :type pressure_top: float :param gravity_bottom: Gravity [m/s^2] at the bottom of the layer. :type gravity_bottom: float :param n_max_iterations: Maximum number of iterations to reach self-consistent pressures. :type n_max_iterations: integer :param max_delta: Relative update to the highest pressure in the layer between iterations to stop iterations. :type max_delta: float """ self.reset() assert pressure_mode == "user-defined" or pressure_mode == "self-consistent" self.pressure_mode = pressure_mode assert gravity_bottom is not None self.gravity_bottom = gravity_bottom if pressure_mode == "user-defined": assert pressures is not None assert len(pressures) == len(self.radii) self.pressures = pressures warnings.warn( "By setting the pressures in Layer they " "are unlikely to be self-consistent" ) elif pressure_mode == "self-consistent": self.pressure_top = pressure_top self.n_max_iterations = n_max_iterations self.max_delta = max_delta else: raise NotImplementedError( f"pressure mode {pressure_mode} " "not recognised" )
(self, pressure_mode='self-consistent', pressures=None, gravity_bottom=None, pressure_top=None, n_max_iterations=50, max_delta=1e-05)
[ 0.011715241707861423, -0.0377710685133934, -0.043887462466955185, -0.0023395197931677103, -0.010924816131591797, 0.01949717290699482, -0.04441441223025322, -0.024296188727021217, -0.03801572322845459, -0.001099774264730513, -0.029095202684402466, -0.0003117007145192474, -0.001904314965941012, 0.04456496983766556, -0.021981369704008102, -0.007278505712747574, 0.00963566917926073, -0.0461081825196743, -0.003961539827287197, -0.05401244014501572, 0.041064511984586716, 0.00367924477905035, 0.02408917248249054, -0.005495342426002026, 0.0016149625880643725, -0.015874387696385384, 0.026102876290678978, 0.01615668274462223, -0.05431355535984039, 0.010228488594293594, -0.054915785789489746, 0.05803984776139259, -0.002287765732035041, 0.05273270234465599, 0.04531775414943695, 0.00004940162398270331, -0.011583504267036915, 0.07313322275876999, -0.03713120147585869, -0.026611007750034332, -0.028210679069161415, -0.018687928095459938, 0.007113833911716938, 0.026385171338915825, 0.00392860546708107, 0.029942087829113007, 0.02495487779378891, 0.015987306833267212, 0.046635132282972336, 0.018951402977108955, -0.019666550680994987, -0.02309172973036766, -0.010463734157383442, 0.0043144081719219685, -0.040311723947525024, 0.010717799887061119, 0.028342416509985924, 0.055894408375024796, -0.005368309561163187, -0.08837714791297913, -0.017314093187451363, 0.011498815380036831, -0.020118223503232002, -0.08212902396917343, -0.029847990721464157, -0.039295461028814316, -0.07091250270605087, 0.037394676357507706, 0.06289532035589218, 0.0354938879609108, -0.006605702918022871, -0.0018172740237787366, -0.027344973757863045, -0.001729056821204722, 0.007598440162837505, 0.031165366992354393, -0.03910726681351662, 0.010604881681501865, -0.042908839881420135, 0.009823865257203579, -0.019685370847582817, 0.044715527445077896, 0.06338463723659515, 0.02758963033556938, 0.04072575643658638, 0.011508225463330746, -0.006215194705873728, 0.016109634190797806, 0.0863446295261383, -0.033724840730428696, -0.010426094755530357, 0.0077819316647946835, 0.028323596343398094, 0.006643341854214668, 0.06097571551799774, 0.014340585097670555, -0.06033584848046303, -0.05077545717358589, -0.014867535792291164, -0.06918109208345413, -0.0026818024925887585, -0.027344973757863045, 0.009823865257203579, -0.03156058117747307, 0.03349900618195534, 0.0065680635161697865, 0.015799108892679214, 0.04497900232672691, 0.0038227445911616087, -0.0017443477408960462, 0.009541570208966732, 0.00034816382685676217, -0.019779467955231667, 0.009259275160729885, -0.05423827841877937, 0.016589535400271416, -0.027156777679920197, -0.018734976649284363, 0.033009693026542664, 0.00023377554316539317, -0.06093807891011238, 0.023411665111780167, 0.017031798139214516, 0.008285357616841793, 0.022847075015306473, 0.03402595594525337, 0.022997630760073662, 0.042984116822481155, 0.00510953925549984, -0.03344254568219185, 0.004827244207262993, 0.03794044628739357, -0.020061763003468513, -0.009311029687523842, 0.008525308221578598, -0.05261978507041931, -0.012693864293396473, 0.028022482991218567, 0.0054482934065163136, 0.0019007863011211157, 0.04625874012708664, 0.045844707638025284, -0.009946193546056747, 0.05984653905034065, -0.004754317924380302, 0.004319113213568926, 0.0351174958050251, -0.033800121396780014, -0.04004824906587601, 0.050323788076639175, -0.030337302014231682, 0.02670510672032833, 0.02698739990592003, 0.018198616802692413, 0.03445880860090256, -0.010416684672236443, -0.003037023590877652, 0.04354870691895485, -0.020663993433117867, 0.007447882555425167, -0.021586157381534576, 0.013042028062045574, 0.003827449632808566, 0.006906817201524973, -0.013324323110282421, -0.016128454357385635, -0.055103980004787445, -0.014660519547760487, 0.07407420128583908, 0.04144090414047241, 0.08370987325906754, -0.06624522060155869, 0.018838485702872276, -0.015168651007115841, 0.07038555294275284, 0.012712684459984303, 0.04795251041650772, -0.05461467057466507, -0.024333827197551727, 0.06394922733306885, 0.035531528294086456, -0.04226896911859512, -0.00963566917926073, 0.0066621615551412106, 0.012656224891543388, 0.0211909431964159, 0.038316838443279266, -0.02950923517346382, -0.04155382141470909, -0.03355546295642853, 0.016297830268740654, 0.004156793467700481, -0.015159240923821926, -0.020871009677648544, 0.036491330713033676, -0.013983012177050114, 0.09786226600408554, -0.05536745861172676, 0.07821453362703323, 0.05916902795433998, -0.043021757155656815, 0.0010703684529289603, 0.02497369609773159, 0.01628842018544674, 0.031108908355236053, -0.038335658609867096, 0.012515077367424965, -0.054915785789489746, 0.030977169051766396, 0.003149941563606262, 0.011329438537359238, -0.01625078171491623, 0.06037348881363869, 0.02691212296485901, 0.021435599774122238, -0.016909468919038773, 0.010087341070175171, 0.009108718484640121, -0.008689980953931808, 0.021736713126301765, -0.058754995465278625, 0.0004431443230714649, -0.02307290956377983, -0.022433042526245117, 0.013249044306576252, 0.013550159521400928, 0.003086425131186843, 0.0138795031234622, -0.0027617858722805977, 0.008661751635372639, -0.009786225855350494, 0.0037686380092054605, -0.07426240295171738, 0.011941078118979931, 0.040085889399051666, -0.06812719255685806, -0.011244750581681728, 0.001592614222317934, -0.036660708487033844, -0.04817834496498108, 0.04975919798016548, -0.006323407869786024, -0.013888913206756115, 0.010971865616738796, -0.08468849956989288, 0.006177555304020643, 0.016937699168920517, 0.022790614515542984, -0.003996826708316803, 0.029452776536345482, 0.046672772616147995, -0.03338608890771866, -0.038316838443279266, 0.060411129146814346, -0.013945372775197029, -0.035700906068086624, -0.033875398337841034, 0.025161894038319588, 0.014030060730874538, 0.0017761059571057558, -0.026385171338915825, -0.0631587952375412, -0.02691212296485901, 0.08739852905273438, 0.08920521289110184, -0.011799930594861507, 0.009433357045054436, -0.0633469969034195, -0.043021757155656815, -0.031127726659178734, -0.012223373167216778, 0.045016638934612274, 0.010491963475942612, -0.005321260541677475, -0.012929110787808895, 0.021492058411240578, 0.028869368135929108, 0.023788057267665863, 0.012430389411747456, -0.004093277268111706, 0.08566711843013763, -0.06556771695613861, 0.027307335287332535, 0.050399065017700195, -0.0022418927401304245, 0.004462613258510828, -0.021059205755591393, 0.042043134570121765, 0.06748732179403305, 0.005791752133518457, -0.016853010281920433, 0.07486463338136673, -0.002106626285240054, 0.04712444171309471, 0.0700467973947525, -0.018989043310284615, -0.03703710064291954, -0.04317231476306915, 0.042043134570121765, -0.053297292441129684, 0.06361047178506851, -0.029114022850990295, 0.02327992580831051, 0.0013797167921438813, 0.018179796636104584, 0.018650289624929428, 0.02576412260532379, -0.03304733335971832, 0.010040291585028172, 0.01663658395409584, 0.04418857395648956, -0.007132653146982193, -0.03635959327220917, 0.03221926838159561, 0.0006351637421175838, -0.060524046421051025, 0.06398686021566391, -0.03617139905691147, -0.0406128391623497, 0.023731598630547523, -0.007650194223970175, -0.0294339582324028, -0.02512425370514393, -0.03810982406139374, 0.00042432465124875307, 0.00839357078075409, 0.019967665895819664, 0.0012573889689520001, -0.0063751619309186935, -0.001189755741506815, -0.09635668992996216, 0.05299617722630501, 0.02117212489247322, 0.027514351531863213, -0.056910671293735504, -0.048630017787218094, 0.02408917248249054, -0.009616849012672901, 0.02407035231590271, -0.0170223880559206, 0.017916321754455566, 0.021793173626065254, -0.08822659403085709, 0.0015737945213913918, 0.028022482991218567, 0.03161703795194626, 0.022828254848718643, -0.04524247720837593, 0.10456206649541855, -0.02305409125983715, -0.04810306429862976, 0.0001359279704047367, 0.000005338977643987164, 0.05239395052194595, 0.01019084919244051, 0.01477343775331974, 0.008238309063017368, 0.004813129547983408, -0.004072105046361685, -0.058566801249980927, 0.040349364280700684, -0.03417651355266571, -0.006398686207830906, 0.028398875147104263, 0.004921342711895704, 0.0194218959659338, 0.010181439109146595, -0.0014361757785081863, -0.01621314138174057, 0.017323503270745277, 0.014255897141993046, -0.06575591117143631, -0.040198806673288345, 0.03357428312301636, -0.043849822133779526, 0.04049992188811302, -0.008896997198462486, 0.008821718394756317, 0.04727499932050705, -0.030356120318174362, 0.06775079667568207, -0.0028747038450092077, 0.003862736513838172, 0.0019537166226655245, 0.04990975558757782, -0.022884713485836983, -0.01944071426987648, -0.05721178278326988, 0.09138830006122589, -0.025481827557086945, 0.028530612587928772, 0.04196785390377045, 0.03630313649773598, -0.019704191014170647, 0.043925099074840546, 0.035456251353025436, -0.00972035713493824, 0.015563863329589367, -0.02220720611512661, 0.05348549038171768, -0.018687928095459938, -0.07866620272397995, 0.006078752223402262, 0.001750228926539421, 0.009583914652466774, -0.037564054131507874, 0.08777492493391037, 0.008200669661164284, -0.015497994609177113, 0.00009034910181071609, 0.024522025138139725, 0.038373298943042755, -0.07956954836845398, -0.006332817487418652, -0.0063751619309186935, -0.008153620176017284, -0.054087720811367035, -0.054125357419252396, 0.014415863901376724, 0.007095014210790396, 0.021492058411240578, 0.04727499932050705, 0.0018502083839848638, 0.06571827083826065, -0.001055077533237636, 0.005824686493724585, 0.0258958600461483, 0.03332962840795517, 0.006441030651330948, 0.07064902782440186, -0.04140326380729675, 0.017624616622924805, 0.008915816433727741, -0.0002037816884694621, 0.02040051855146885, 0.0166742242872715, 0.02134150080382824, 0.030243203043937683, -0.037469953298568726, -0.05615788325667381, 0.05939486622810364, -0.012618585489690304, -0.00871350523084402, 0.00873232539743185, 0.028888186439871788, -0.03355546295642853, -0.05209283530712128, 0.005104834213852882, -0.09387249499559402, 0.05378660559654236, -0.0315793976187706, 0.032783858478069305, 0.028492974117398262, -0.008605292066931725, 0.022037828341126442, -0.014180618338286877, -0.057889293879270554, 0.023524582386016846, -0.030864251777529716, -0.05852916091680527, 0.043962739408016205, -0.0009239279897883534, -0.005998768378049135, 0.026441629976034164, -0.017699895426630974, 0.020513435825705528, 0.015074552036821842, 0.010887176729738712, -0.03340490534901619, -0.0324639230966568, -0.009899144060909748, -0.007758407387882471, -0.014557011425495148, 0.022922353819012642, -0.06372338533401489, 0.02600877732038498, -0.02045697718858719, 0.06616994738578796, 0.018396222963929176, -0.04411329701542854, 0.011395307257771492, -0.014331175945699215, 0.011978717520833015, 0.02762726880609989, 0.0036910069175064564, -0.010454324074089527, -0.008172440342605114, 0.001429118332453072, -0.006506899371743202, -0.043887462466955185, -0.05947014316916466, -0.09116245806217194, 0.022865893319249153, 0.08626934885978699, -0.06018529087305069, 0.03587028384208679, 0.01339960191398859, -0.04908168688416481, -0.011743471026420593, 0.02220720611512661, 0.027382614091038704, 0.04441441223025322, 0.028060121461749077, -0.04753847420215607, 0.032802678644657135, -0.0025147779379040003, -0.024258548393845558, 0.028436515480279922, -0.0025218352675437927, 0.05145296826958656, 0.01659894548356533, -0.033009693026542664, 0.029283400624990463, -0.02960333414375782, 0.04065047949552536, 0.018236255273222923, 0.037432316690683365, -0.0278531052172184, -0.03694300353527069, -0.05457703024148941, -0.018396222963929176, 0.04998503252863884, 0.03393185883760452, 0.06458909064531326, 0.03432707116007805, 0.009118127636611462, 0.013380782678723335, -0.0517917200922966, 0.04467788711190224, 0.023806877434253693, 0.045844707638025284, -0.01434999518096447, -0.0031005400232970715, 0.040161166340112686, 0.005834096577018499, -0.05487814545631409, -0.04795251041650772, -0.05849152058362961, -0.04595762491226196, -0.047500837594270706, -0.025368910282850266, 0.01945953443646431, 0.05679775029420853, -0.06496548652648926, 0.03532451391220093, -0.012373929843306541, -0.015855569392442703, -0.04558122903108597, 0.024465566501021385, -0.021793173626065254, 0.0019396018469706178, -0.000239509652601555, -0.020532255992293358, -0.006092866882681847, 0.07140181213617325, 0.016495436429977417, 0.056007325649261475, 0.023844515904784203, -0.021943731233477592, -0.005382424220442772, -0.07019735127687454, -0.03790280595421791, 0.0005834096227772534, 0.03052549809217453, -0.011423537507653236, -0.07366017252206802, -0.05423827841877937, 0.042043134570121765, -0.00858647283166647, -0.002848826814442873, 0.04723736271262169, 0.0027829580940306187, 0.03317907080054283, -0.00963566917926073, 0.013550159521400928, -0.041139788925647736, 0.027307335287332535, 0.00794189888983965, -0.0034439987502992153, -0.011677602306008339, 0.014942814595997334, -0.012336291372776031, -0.009541570208966732, -0.06541715562343597, 0.009569800458848476, 0.0588679164648056, 0.024540843442082405, 0.03323553130030632, 0.005485932808369398, -0.030205564573407173, -0.011442356742918491, 0.006996210664510727, 0.0157896988093853, -0.06571827083826065, -0.04249480366706848, 0.03575736656785011, -0.023581041023135185, -0.056007325649261475, 0.07941898703575134, 0.0723804384469986, -0.04351106658577919, -0.01938425563275814, -0.039333101361989975, -0.005504752043634653, -0.019930025562644005, -0.06684745103120804, 0.014500552788376808, 0.06285768747329712, 0.009132242761552334, 0.00024965463671833277, 0.029057564213871956, -0.005452997982501984, -0.008967570960521698, -0.03635959327220917, -0.038467396050691605, 0.01199753675609827, -0.025237170979380608, 0.03583264350891113, 0.031936973333358765, -0.019610092043876648, -0.04170437902212143, 0.03794044628739357, -0.02781546674668789, 0.00871350523084402, -0.018010420724749565, -0.01717294566333294, -0.0021642616484314203, -0.10531485080718994, -0.03876851126551628, -0.050511982291936874, 0.0315793976187706, -0.025444189086556435, 0.0025924090296030045, -0.018989043310284615, -0.0220754686743021, -0.02698739990592003, 0.00848296470940113, 0.010868356563150883, 0.018396222963929176, -0.04136562719941139, 0.006224604323506355, -0.015159240923821926, 0.03609611839056015, -0.008948750793933868, 0.02136032097041607, 0.007927784696221352, 0.018396222963929176, 0.036434873938560486, 0.03214398771524429, -0.00555650657042861, -0.03348018601536751, -0.04144090414047241, 0.03216280788183212, 0.006930341944098473, -0.024540843442082405, 0.05645899847149849, 0.008854652754962444, -0.005914079956710339, 0.0007369075319729745, -0.0445273295044899, -0.08227957785129547, 0.015262749046087265, -0.002949982648715377, 0.06003473326563835, 0.01016261987388134, -0.0521681122481823, -0.020720452070236206, -0.06432561576366425, -0.03780870884656906, 0.09680835902690887, -0.013917142525315285, -0.07373545318841934, 0.01673068292438984, -0.020607534795999527, 0.041026871651411057, -0.006666866596788168, -0.033800121396780014, -0.0026488678995519876, -0.011668193154036999, 0.002733556553721428, -0.009475701488554478, 0.021755533292889595, -0.0315793976187706, 0.041252706199884415, 0.06312116235494614, 0.08333347737789154, -0.05062489956617355, 0.02503015473484993, 0.005020145792514086, 0.011583504267036915, -0.015413306653499603, -0.010877766646444798, -0.03058195672929287, -0.04874293506145477, -0.0360020212829113, -0.10689570009708405, -0.033687200397253036, 0.012505668215453625, 0.0480654276907444, -0.041930217295885086, -0.020061763003468513, -0.006676276680082083, -0.04272064194083214, -0.012835011817514896, -0.00643162103369832, 0.04708680510520935, -0.013568978756666183, -0.027457892894744873, 0.0009645078680478036, -0.04832890257239342, -0.049646276980638504, 0.0443391315639019, 0.03763933107256889, -0.08348403871059418, -0.04358634725213051, 0.03494811803102493, 0.005208342336118221, 0.01770930550992489, -0.04260772466659546, -0.022941172122955322, 0.019083140417933464, 0.06537952274084091, -0.020983926951885223, -0.06515368074178696, 0.012778553180396557, -0.037507593631744385, 0.04174201935529709, -0.012627995572984219, 0.05638371780514717, -0.01717294566333294, 0.026611007750034332, 0.06097571551799774, -0.021680254489183426, -0.03148530051112175, -0.024578483775258064, -0.01717294566333294, 0.02947159670293331, -0.0014714626595377922, 0.005791752133518457, 0.02964097447693348, -0.013484290800988674, -0.009550980292260647, -0.06620758771896362, -0.07046082615852356, -0.011301209218800068, 0.02301645092666149, -0.008266538381576538, -0.038316838443279266, -0.01014379970729351, -0.00018466796609573066, 0.004389686975628138, 0.0409892313182354, 0.020155861973762512, -0.0036674824077636003, 0.042118411511182785, -0.00670921104028821, 0.01156468503177166, 0.007739587686955929, -0.019666550680994987, -0.0329720564186573, -0.057738736271858215, -0.013060848228633404, 0.04817834496498108, 0.02395743504166603, 0.002686507301405072, 0.061502669006586075, 0.01350311003625393, -0.030732514336705208 ]
11,027
burnman.classes.layer
set_temperature_mode
Sets temperatures within the layer as user-defined values or as a (potentially perturbed) adiabat. :param temperature_mode: This can be set to 'user-defined', 'adiabatic', or 'perturbed-adiabatic'. 'user-defined' fixes the temperature with the profile input by the user. 'adiabatic' self-consistently computes the adiabat when setting the state of the layer. 'perturbed-adiabatic' adds the user input array to the adiabat. This allows the user to apply boundary layers (for example). :type temperature_mode: string :param temperatures: The desired fixed temperatures in [K]. Should have same length as defined radii in layer. :type temperatures: array of float :param temperature_top: Temperature at the top of the layer. Used if the temperature mode is chosen to be 'adiabatic' or 'perturbed-adiabatic'. If 'perturbed-adiabatic' is chosen as the temperature mode, temperature_top corresponds to the true temperature at the top of the layer, and the reference isentrope at this radius is defined to lie at a temperature of temperature_top - temperatures[-1]. :type temperature_top: float
def set_temperature_mode( self, temperature_mode="adiabatic", temperatures=None, temperature_top=None ): """ Sets temperatures within the layer as user-defined values or as a (potentially perturbed) adiabat. :param temperature_mode: This can be set to 'user-defined', 'adiabatic', or 'perturbed-adiabatic'. 'user-defined' fixes the temperature with the profile input by the user. 'adiabatic' self-consistently computes the adiabat when setting the state of the layer. 'perturbed-adiabatic' adds the user input array to the adiabat. This allows the user to apply boundary layers (for example). :type temperature_mode: string :param temperatures: The desired fixed temperatures in [K]. Should have same length as defined radii in layer. :type temperatures: array of float :param temperature_top: Temperature at the top of the layer. Used if the temperature mode is chosen to be 'adiabatic' or 'perturbed-adiabatic'. If 'perturbed-adiabatic' is chosen as the temperature mode, temperature_top corresponds to the true temperature at the top of the layer, and the reference isentrope at this radius is defined to lie at a temperature of temperature_top - temperatures[-1]. :type temperature_top: float """ self.reset() assert ( temperature_mode == "user-defined" or temperature_mode == "adiabatic" or temperature_mode == "perturbed-adiabatic" ) self.temperature_mode = temperature_mode if ( temperature_mode == "user-defined" or temperature_mode == "perturbed-adiabatic" ): assert len(temperatures) == len(self.radii) self.usertemperatures = temperatures else: self.usertemperatures = np.zeros_like(self.radii) if temperature_mode == "adiabatic" or temperature_mode == "perturbed-adiabatic": self.temperature_top = temperature_top else: self.temperature_top = None
(self, temperature_mode='adiabatic', temperatures=None, temperature_top=None)
[ 0.023739436641335487, -0.005459338892251253, 0.09861559420824051, -0.008902288973331451, 0.027744781225919724, -0.013982126489281654, -0.06456102430820465, 0.013726077042520046, -0.02156301774084568, -0.009080609306693077, -0.02280668541789055, 0.04415023326873779, -0.013470027595758438, 0.02108749747276306, -0.020996050909161568, 0.03293892741203308, -0.01389982458204031, 0.04722282662987709, -0.01819779723882675, -0.015061191283166409, 0.026482824236154556, -0.07725375890731812, -0.05183171480894089, 0.04195552319288254, 0.035005610436201096, 0.004629464354366064, -0.013396870344877243, 0.014695406891405582, 0.018874498084187508, -0.03125631436705589, -0.01989869587123394, 0.019350018352270126, -0.034566670656204224, 0.04758860915899277, 0.0041265105828642845, -0.07659535109996796, 0.005747394636273384, 0.09225094318389893, 0.00277539249509573, 0.02445271797478199, -0.018600160256028175, -0.03207933157682419, 0.018472135066986084, 0.044259969145059586, -0.025019684806466103, 0.015893351286649704, 0.016213413327932358, 0.014475936070084572, 0.01630485989153385, -0.02185564488172531, 0.019258571788668633, -0.025458626449108124, 0.011293607763946056, 0.04521100968122482, -0.03826109692454338, -0.007713488303124905, -0.005253585055470467, 0.010269409976899624, -0.03191472962498665, -0.06620705872774124, -0.05600166320800781, 0.025147708132863045, 0.0030497312545776367, -0.03976081311702728, -0.06156159192323685, -0.005633086897432804, -0.08120423555374146, 0.052782755345106125, 0.02629993110895157, 0.06137869879603386, -0.01869160681962967, 0.012089189141988754, 0.013735221698880196, -0.04045580327510834, 0.01956949010491371, 0.015289806760847569, -0.015856772661209106, 0.013927258551120758, -0.09759140014648438, -0.012930494733154774, -0.04151657968759537, 0.06265894323587418, 0.05914741009473801, 0.08895887434482574, 0.008966301567852497, 0.00516213895753026, -0.031091712415218353, 0.01960606873035431, 0.05062462389469147, -0.021197231486439705, -0.005605652928352356, -0.03473127260804176, -0.013552328571677208, 0.00985790230333805, 0.035005610436201096, 0.02567809633910656, -0.028183722868561745, -0.054319050163030624, -0.012482408434152603, -0.06309788674116135, -0.028787268325686455, -0.03829767554998398, 0.026994923129677773, -0.036359015852212906, 0.006675573531538248, -0.06119580566883087, -0.0394681841135025, 0.02628164179623127, 0.02095947228372097, -0.013095097616314888, -0.06251262873411179, 0.01989869587123394, 0.035920072346925735, 0.00824387650936842, -0.06723126024007797, -0.004345981404185295, 0.013552328571677208, 0.001483714790083468, -0.027891095727682114, -0.010269409976899624, -0.008541076444089413, -0.003287491388618946, 0.04052896052598953, 0.020410794764757156, 0.026647426187992096, 0.0759369358420372, 0.012546420097351074, 0.03068934939801693, -0.009167483076453209, -0.023666279390454292, -0.032115910202264786, 0.012354383245110512, 0.00925435684621334, 0.012061755172908306, -0.01842641271650791, -0.02081315778195858, -0.00438713189214468, 0.006538404151797295, -0.003591550048440695, 0.05380695313215256, 0.053989846259355545, 0.06368314474821091, -0.008893144316971302, 0.022733528167009354, -0.03381681069731712, -0.008765120059251785, -0.005852557718753815, -0.030652770772576332, 0.007786645088344812, 0.02809227630496025, -0.035901784896850586, 0.054757993668317795, -0.05494088679552078, 0.02629993110895157, 0.024727055802941322, -0.015125203877687454, 0.01989869587123394, 0.022824974730610847, 0.02110578678548336, -0.007452866528183222, -0.049307797104120255, -0.011037558317184448, 0.021910512819886208, 0.03542626276612282, -0.007256256882101297, 0.00005701099871657789, -0.02264208346605301, 0.0010224829893559217, 0.03738321363925934, 0.04045580327510834, 0.0296285729855299, -0.03990712761878967, 0.03659677505493164, 0.021691041067242622, 0.017667409032583237, -0.03173183649778366, 0.024251535534858704, -0.062073688954114914, 0.036541908979415894, 0.08281369507312775, 0.0027045218739658594, -0.000718424329534173, -0.08164317905902863, 0.07063305377960205, 0.027763070538640022, -0.0455767922103405, 0.0303601436316967, -0.029683440923690796, 0.009117187932133675, -0.012957928702235222, 0.03976081311702728, 0.002709094202145934, -0.019386596977710724, -0.005098126363009214, 0.002631364855915308, -0.002043822780251503, 0.06273210048675537, -0.08830046653747559, 0.04484522342681885, 0.03630414605140686, -0.04802755266427994, -0.023300494998693466, 0.05717217177152634, 0.015600724145770073, 0.06814572215080261, 0.014064427465200424, 0.030122382566332817, -0.03083566389977932, -0.0486128069460392, -0.013497461564838886, 0.0023913185577839613, -0.03476785123348236, 0.04590599983930588, 0.06313446909189224, 0.01542697660624981, -0.042284730821847916, -0.0349324531853199, 0.014283898286521435, 0.0019603781402111053, 0.040931325405836105, -0.03782215341925621, 0.007635758724063635, 0.025586649775505066, 0.005395326763391495, 0.04363813251256943, 0.02174590900540352, 0.014311332255601883, -0.01881963014602661, -0.050149105489254, 0.03891950845718384, 0.007548884954303503, -0.026318220421671867, -0.02615361660718918, -0.016542620956897736, 0.009876190684735775, 0.007759211119264364, 0.037931889295578, -0.03913898020982742, -0.02006329968571663, -0.03341444581747055, -0.01322312280535698, -0.021380124613642693, 0.06397577375173569, -0.030799085274338722, -0.07363249361515045, 0.016972417011857033, -0.0022164275869727135, 0.04148000106215477, -0.0667557343840599, -0.08932466059923172, 0.001822065794840455, 0.016963273286819458, 0.01945975422859192, 0.08522786945104599, 0.010671772994101048, -0.06620705872774124, 0.053697217255830765, 0.04784465953707695, -0.010223686695098877, -0.023318784311413765, -0.019642647355794907, -0.03451180085539818, -0.010754074901342392, 0.0926898792386055, 0.006748730782419443, -0.03811478242278099, -0.002955998759716749, -0.00283254636451602, -0.05863531306385994, -0.04243104159832001, 0.0025444908533245325, 0.07527852058410645, -0.023428520187735558, -0.0030543035827577114, -0.0010693491203710437, -0.004906089510768652, 0.046418096870183945, -0.041992101818323135, -0.06814572215080261, -0.04009002074599266, -0.030469877645373344, -0.05373379588127136, 0.012464119121432304, 0.08464261889457703, -0.04890543594956398, -0.06767019629478455, -0.013049374334514141, 0.024361271411180496, 0.0409679040312767, 0.004988390952348709, 0.003365220734849572, 0.037273477762937546, -0.019514622166752815, 0.03676137700676918, 0.0036464177537709475, -0.005944003816694021, -0.05084409564733505, -0.05698928236961365, 0.023300494998693466, -0.049454111605882645, 0.01584762893617153, -0.04846649244427681, 0.027287550270557404, 0.027909385040402412, 0.0029628572519868612, -0.012244648300111294, 0.033194974064826965, 0.01503375731408596, 0.04586942121386528, 0.054465364664793015, 0.0684017688035965, -0.04023633524775505, -0.030908821150660515, -0.0031480358447879553, -0.03357905149459839, -0.031494077295064926, 0.07092568278312683, -0.03738321363925934, 0.028512928634881973, 0.07681482285261154, -0.0005683953640982509, -0.045942578464746475, -0.02247747965157032, -0.015463555231690407, -0.004773492459207773, 0.02370285801589489, 0.04312603548169136, -0.025403758510947227, 0.01956949010491371, 0.03154894337058067, -0.09627457708120346, 0.051868293434381485, 0.028458062559366226, 0.03630414605140686, -0.03306695073843002, -0.007576318923383951, -0.03217077627778053, -0.011284463107585907, 0.03906582295894623, 0.021526439115405083, 0.003657848574221134, 0.06759703904390335, -0.05940346047282219, -0.005505062174052, 0.06704836338758469, 0.05285591259598732, 0.03859030082821846, 0.008230159059166908, 0.08018004149198532, 0.05746480077505112, -0.021489860489964485, 0.014613104984164238, -0.0019672366324812174, 0.02306273579597473, 0.024690477177500725, 0.029829755425453186, -0.013250556774437428, 0.03844399005174637, 0.030049225315451622, -0.02536717988550663, -0.0212520994246006, -0.07184014469385147, 0.011055847629904747, -0.013415159657597542, 0.007347703445702791, -0.02898845076560974, -0.0035183930303901434, 0.017557673156261444, 0.008408479392528534, -0.04725940525531769, 0.05058804526925087, -0.04140684753656387, 0.021947091445326805, -0.025732964277267456, 0.008275882340967655, 0.036962561309337616, -0.018060626462101936, -0.02536717988550663, 0.040638696402311325, 0.03990712761878967, 0.05603823810815811, -0.017767999321222305, -0.01276589184999466, 0.02898845076560974, 0.03657848387956619, -0.013972981832921505, -0.05102698877453804, -0.05252670496702194, 0.020758289843797684, 0.02037421613931656, 0.04934437572956085, 0.01869160681962967, 0.043199192732572556, -0.01459481567144394, 0.009428104385733604, 0.05113672465085983, -0.002196995308622718, 0.009030313231050968, -0.03158552199602127, 0.02509284019470215, -0.039102401584386826, -0.08405736088752747, 0.01389067992568016, 0.010370000265538692, 0.03873661532998085, 0.02873240038752556, 0.02904331684112549, 0.015555000863969326, -0.03231709077954292, -0.029500547796487808, 0.016167690977454185, 0.001194516196846962, -0.01748451590538025, 0.0212520994246006, -0.008189008571207523, 0.042467620223760605, -0.041845787316560745, -0.0016768949571996927, 0.011659392155706882, 0.006552121136337519, 0.032445117831230164, 0.039395030587911606, -0.02979317680001259, 0.05329485237598419, 0.016542620956897736, 0.01738392561674118, 0.04243104159832001, 0.036359015852212906, -0.018252665176987648, 0.051575664430856705, -0.045649949461221695, -0.007786645088344812, -0.016524331644177437, -0.023026157170534134, 0.015289806760847569, 0.012217214331030846, 0.013323713093996048, -0.036834534257650375, -0.03540797531604767, -0.026537692174315453, 0.04158973693847656, -0.0341460146009922, 0.012198925018310547, -0.009336658753454685, -0.05914741009473801, -0.028531217947602272, -0.03645046055316925, 0.05351432412862778, -0.06430497765541077, 0.017731420695781708, 0.03612125292420387, 0.02686689794063568, -0.01676209084689617, 0.00812956877052784, 0.018261808902025223, 0.021142365410923958, -0.051868293434381485, 0.023776015266776085, 0.01039743423461914, 0.014860009774565697, 0.050149105489254, 0.0010522030061110854, -0.056586917489767075, -0.022258007898926735, 0.00149057328235358, 0.03688940405845642, 0.03215248882770538, -0.03815136104822159, 0.0011099284747615457, -0.013369436375796795, -0.001098497654311359, -0.044442858546972275, -0.018124639987945557, 0.018371544778347015, -0.016963273286819458, 0.03341444581747055, 0.012134912423789501, 0.02977488748729229, -0.026921765878796577, -0.06214684620499611, -0.017356490716338158, -0.06496339291334152, -0.029390813782811165, 0.00649725366383791, 0.008394762873649597, 0.0036166978534311056, 0.003847599495202303, -0.017493661493062973, 0.01563730277121067, -0.053258273750543594, -0.05691612511873245, -0.05377037450671196, 0.011394198052585125, 0.03709058463573456, -0.046857040375471115, 0.003248626831918955, -0.019551200792193413, 0.0001638887624721974, -0.017667409032583237, 0.04133369028568268, -0.003993913531303406, 0.041699472814798355, -0.021599596366286278, -0.014978890307247639, 0.029134763404726982, 0.03025040775537491, -0.029226209968328476, -0.04173605144023895, -0.012272082269191742, -0.02929936721920967, 0.0033903683070093393, -0.007315697148442268, 0.04371128976345062, -0.010443157516419888, 0.018270954489707947, -0.015957364812493324, 0.014210741966962814, -0.014283898286521435, 0.010305988602340221, -0.04992963373661041, -0.044735487550497055, 0.04173605144023895, 0.026793740689754486, 0.05676981061697006, 0.029738308861851692, -0.0005466769216582179, 0.013652919791638851, -0.03052474558353424, -0.005692526698112488, 0.01927686110138893, 0.007123660296201706, 0.006204625591635704, -0.002731955610215664, 0.04894201457500458, 0.012052611447870731, -0.08983676135540009, -0.03251827508211136, -0.048393335193395615, -0.035298239439725876, -0.03628585860133171, -0.04462575167417526, 0.02048395201563835, 0.017749710008502007, -0.11141806840896606, 0.029354235157370567, -0.09188515692949295, -0.027250971645116806, -0.025550073012709618, -0.007023069076240063, -0.02308102510869503, -0.00015274375618901104, -0.020465662702918053, 0.000891600560862571, 0.05424589291214943, 0.0037995902821421623, -0.019350018352270126, 0.00197523832321167, 0.030378432944417, -0.040016863495111465, -0.01550013292580843, -0.048064131289720535, 0.0024736199993640184, 0.011549657210707664, 0.01945975422859192, 0.014265608973801136, -0.05512377619743347, -0.05823294818401337, 0.013149965554475784, -0.055379826575517654, -0.038809772580862045, -0.022440901026129723, 0.011010124348104, 0.02763504534959793, 0.020685134455561638, -0.03229880332946777, 0.006104034837335348, 0.05124645680189133, 0.005669665057212114, 0.03785873204469681, 0.0333961583673954, -0.006177191622555256, 0.02898845076560974, -0.039724234491586685, -0.04206525906920433, 0.07937531173229218, 0.047917816787958145, 0.0865446999669075, 0.10102977603673935, -0.034072861075401306, -0.049124907702207565, 0.028622664511203766, -0.009739021770656109, -0.008527358993887901, -0.05146592855453491, -0.06598758697509766, -0.011202161200344563, 0.0220385380089283, -0.040016863495111465, 0.06437813490629196, 0.06093975529074669, -0.08149686455726624, -0.040163177996873856, -0.0319330170750618, -0.06602416932582855, -0.02081315778195858, -0.031110001727938652, -0.01831667684018612, 0.03330470994114876, -0.03474956005811691, -0.017274189740419388, 0.03891950845718384, -0.025550073012709618, 0.006277782376855612, 0.015024612657725811, 0.019532911479473114, 0.009610997512936592, 0.0019169412553310394, -0.010616905055940151, 0.04583284258842468, -0.015747038647532463, -0.0864715427160263, 0.01945975422859192, -0.044881802052259445, 0.005020397249609232, -0.005514206830412149, 0.004476292058825493, -0.012189780361950397, -0.04477206617593765, -0.0242881141602993, 0.003193759126588702, 0.041553158313035965, 0.011732549406588078, -0.034987322986125946, -0.003989341203123331, -0.020721711218357086, -0.0022381460294127464, 0.013085952959954739, 0.023355362936854362, 0.040638696402311325, -0.02628164179623127, 0.02384917251765728, -0.0005881134420633316, 0.05223407596349716, 0.004629464354366064, 0.04019975662231445, -0.017703987658023834, 0.004960956983268261, 0.012674445286393166, 0.004965529311448336, 0.03401799127459526, -0.08332578837871552, -0.016048811376094818, -0.007887235842645168, 0.02341023087501526, 0.0036349869333207607, 0.03619441017508507, -0.01549098826944828, 0.007558029610663652, 0.028073986992239952, -0.0028485495131462812, -0.09737192839384079, 0.0380050465464592, -0.03998028486967087, 0.0425407774746418, 0.04634493961930275, -0.015079480595886707, -0.029957780614495277, -0.027086367830634117, -0.015747038647532463, 0.07337643951177597, -0.03310352936387062, -0.045028116554021835, 0.06328078359365463, 0.0033903683070093393, 0.03522508218884468, 0.030945397913455963, 0.001586591824889183, 0.02020961418747902, 0.023026157170534134, -0.0008824559627100825, 0.018124639987945557, 0.0592571459710598, 0.025550073012709618, 0.03694427013397217, 0.03694427013397217, 0.04191894456744194, -0.054611679166555405, 0.037145450711250305, -0.009830468334257603, -0.011385053396224976, -0.021672753617167473, -0.05501404404640198, -0.03826109692454338, -0.013140820898115635, -0.002078115241602063, -0.07849743217229843, -0.08405736088752747, 0.05501404404640198, 0.027287550270557404, 0.016496896743774414, 0.009112615138292313, 0.06258578598499298, -0.05676981061697006, 0.0166980791836977, 0.034420356154441833, -0.01542697660624981, -0.05651376023888588, 0.005349603481590748, 0.0044808643870055676, -0.038663458079099655, 0.02278839610517025, 0.061305541545152664, 0.014183307997882366, -0.025550073012709618, -0.059915561228990555, 0.0031114574521780014, -0.008499925956130028, -0.006483536679297686, -0.006981918588280678, 0.05377037450671196, 0.0045837415382266045, 0.0035503993276506662, 0.023739436641335487, -0.01193373091518879, 0.006328077986836433, -0.017100442200899124, -0.03688940405845642, 0.019697515293955803, -0.010296843945980072, -0.040638696402311325, 0.00303830043412745, 0.05574561282992363, -0.020282769575715065, 0.05574561282992363, -0.016853537410497665, -0.03129289299249649, 0.01320483349263668, -0.0002779107599053532, 0.02245919033885002, 0.05175855755805969, -0.021343545988202095, -0.052782755345106125, -0.08083845674991608, -0.015609868802130222, -0.007205961737781763, 0.029573705047369003, 0.003637273097410798, 0.0035183930303901434, -0.021617885679006577, 0.059476617723703384, -0.019350018352270126, -0.018142929300665855, -0.0004086502594873309, 0.013232267461717129, 0.09664035588502884, 0.011787417344748974, -0.012500697746872902, -0.0008247305522672832, 0.004723196849226952, -0.01679866947233677, -0.007141949143260717, -0.04265051335096359, 0.028915293514728546, 0.016972417011857033, 0.019990142434835434, 0.0394316092133522, -0.017850300297141075, 0.004686618689447641 ]
11,028
burnman.classes.material
Material
Base class for all materials. The main functionality is unroll() which returns a list of objects of type :class:`~burnman.Mineral` and their molar fractions. This class is available as ``burnman.Material``. The user needs to call set_method() (once in the beginning) and set_state() before querying the material with unroll() or density().
class Material(object): """ Base class for all materials. The main functionality is unroll() which returns a list of objects of type :class:`~burnman.Mineral` and their molar fractions. This class is available as ``burnman.Material``. The user needs to call set_method() (once in the beginning) and set_state() before querying the material with unroll() or density(). """ def __init__(self): self._pressure = None self._temperature = None if not hasattr(self, "name"): # if a derived class decides to set .name before calling this # constructor (I am looking at you, SLB_2011.py!), do not # overwrite the name here. self._name = self.__class__.__name__ self._cached = {} @property def name(self): """Human-readable name of this material. By default this will return the name of the class, but it can be set to an arbitrary string. Overriden in Mineral. """ return self._name @name.setter def name(self, value): self._name = value def set_method(self, method): """ Set the averaging method. See :doc:`averaging` for details. .. note:: Needs to be implemented in derived classes. """ raise NotImplementedError("need to implement set_method() in derived class!") def to_string(self): """ Returns a human-readable name of this material. The default implementation will return the name of the class, which is a reasonable default. :returns: A human-readable name of the material. :rtype: str """ return "'" + self.name + "'" def debug_print(self, indent=""): """ Print a human-readable representation of this Material. """ raise NotImplementedError( "Derived classes need to implement debug_print(). This is '" + self.__class__.__name__ + "'" ) def print_minerals_of_current_state(self): """ Print a human-readable representation of this Material at the current P, T as a list of minerals. This requires set_state() has been called before. """ (minerals, fractions) = self.unroll() if len(minerals) == 1: print(minerals[0].to_string()) else: print("Material %s:" % self.to_string()) for mineral, fraction in zip(minerals, fractions): print(" %g of phase %s" % (fraction, mineral.to_string())) def set_state(self, pressure, temperature): """ Set the material to the given pressure and temperature. :param pressure: The desired pressure in [Pa]. :type pressure: float :param temperature: The desired temperature in [K]. :type temperature: float """ if not hasattr(self, "_pressure"): raise Exception( "Material.set_state() could not find class member _pressure. " "Did you forget to call Material.__init__(self) in __init___?" ) self.reset() self._pressure = pressure self._temperature = temperature def set_state_with_volume( self, volume, temperature, pressure_guesses=[0.0e9, 10.0e9] ): """ This function acts similarly to set_state, but takes volume and temperature as input to find the pressure. In order to ensure self-consistency, this function does not use any pressure functions from the material classes, but instead finds the pressure using the brentq root-finding method. :param volume: The desired molar volume of the mineral [m^3]. :type volume: float :param temperature: The desired temperature of the mineral [K]. :type temperature: float :param pressure_guesses: A list of floats denoting the initial low and high guesses for bracketing of the pressure [Pa]. These guesses should preferably bound the correct pressure, but do not need to do so. More importantly, they should not lie outside the valid region of the equation of state. Defaults to [5.e9, 10.e9]. :type pressure_guesses: list """ def _delta_volume(pressure, volume, temperature): # Try to set the state with this pressure, # but if the pressure is too low most equations of state # fail. In this case, treat the molar_volume as infinite # and brentq will try a larger pressure. try: self.set_state(pressure, temperature) return volume - self.molar_volume except Exception: return -np.inf # we need to have a sign change in [a,b] to find a zero. args = (volume, temperature) try: sol = bracket(_delta_volume, pressure_guesses[0], pressure_guesses[1], args) except ValueError: raise Exception( "Cannot find a pressure, perhaps the volume or starting pressures " "are outside the range of validity for the equation of state?" ) pressure = brentq(_delta_volume, sol[0], sol[1], args=args) self.set_state(pressure, temperature) def reset(self): """ Resets all cached material properties. It is typically not required for the user to call this function. """ self._cached = {} def copy(self): return deepcopy(self) def unroll(self): """ Unroll this material into a list of :class:`burnman.Mineral` and their molar fractions. All averaging schemes then operate on this list of minerals. Note that the return value of this function may depend on the current state (temperature, pressure). .. note:: Needs to be implemented in derived classes. :returns: A list of molar fractions which should sum to 1.0, and a list of :class:`burnman.Mineral` objects containing the minerals in the material. :rtype: tuple """ raise NotImplementedError("need to implement unroll() in derived class!") def evaluate(self, vars_list, pressures, temperatures): """ Returns an array of material properties requested through a list of strings at given pressure and temperature conditions. At the end it resets the set_state to the original values. The user needs to call set_method() before. :param vars_list: Variables to be returned for given conditions :type vars_list: list of strings :param pressures: ndlist or ndarray of float of pressures in [Pa]. :type pressures: :class:`numpy.array`, n-dimensional :param temperatures: ndlist or ndarray of float of temperatures in [K]. :type temperatures: :class:`numpy.array`, n-dimensional :returns: Array returning all variables at given pressure/temperature values. output[i][j] is property vars_list[j] for temperatures[i] and pressures[i]. :rtype: :class:`numpy.array`, n-dimensional """ old_pressure = self.pressure old_temperature = self.temperature pressures = np.array(pressures) temperatures = np.array(temperatures) assert pressures.shape == temperatures.shape output = np.empty((len(vars_list),) + pressures.shape) for i, p in np.ndenumerate(pressures): self.set_state(p, temperatures[i]) for j in range(len(vars_list)): output[(j,) + i] = getattr(self, vars_list[j]) if old_pressure is None or old_temperature is None: # do not set_state if old values were None. Just reset to None # manually self._pressure = self._temperature = None self.reset() else: self.set_state(old_pressure, old_temperature) return output @property def pressure(self): """ Returns current pressure that was set with :func:
()
[ 0.06942019611597061, -0.04418396204710007, 0.01808459870517254, 0.015012271702289581, 0.01883469708263874, -0.04021767899394035, -0.05721309036016464, -0.032202914357185364, -0.03394972160458565, -0.01711871661245823, -0.04229329898953438, 0.046033523976802826, 0.007300628814846277, 0.08335355669260025, -0.07418795675039291, 0.02056095562875271, -0.01329628936946392, 0.03138088807463646, -0.018485335633158684, 0.004087016452103853, -0.032367318868637085, 0.0007982654497027397, 0.045293696224689484, 0.0948619395494461, -0.01590622588992119, 0.004593076650053263, 0.026017161086201668, -0.016265863552689552, -0.00005221959872869775, -0.03419633209705353, -0.03505945950746536, 0.03230566903948784, 0.011672786436975002, 0.003678571665659547, 0.021886473521590233, -0.05680207908153534, 0.044225063174963, 0.04307422414422035, -0.08072306960821152, 0.04212889447808266, 0.045828014612197876, -0.026325421407818794, 0.09913647919893265, -0.0048833549953997135, 0.005841530859470367, -0.012494812719523907, 0.02004718780517578, 0.01770441047847271, 0.01988278329372406, -0.033744215965270996, 0.03214126452803612, -0.00008445044659310952, 0.031195931136608124, 0.015834297984838486, 0.0007064295932650566, 0.04225219786167145, 0.05310295522212982, 0.009961942210793495, 0.04282761737704277, -0.03343595564365387, 0.003136547515168786, 0.01804349571466446, 0.019790304824709892, -0.07776377350091934, -0.027250200510025024, -0.06296728551387787, -0.010809657163918018, 0.024804670363664627, 0.006221718154847622, 0.06794054806232452, 0.031093178316950798, 0.007264665327966213, 0.043649643659591675, -0.01648164540529251, 0.014416301622986794, 0.007367418613284826, -0.0341552309691906, -0.05421269312500954, -0.007254390046000481, -0.04052593931555748, 0.010100658982992172, 0.035306066274642944, -0.0040921540930867195, -0.011117917485535145, -0.04087530076503754, -0.011991321109235287, 0.018444234505295753, 0.020119115710258484, 0.011662510223686695, -0.0472254604101181, -0.026613129302859306, 0.07032442837953568, 0.023818237707018852, 0.041841182857751846, 0.0370117723941803, -0.026366522535681725, -0.04192338511347771, -0.05223982781171799, 0.00120863679330796, -0.021845372393727303, -0.053842779248952866, 0.03016839735209942, -0.02268795110285282, -0.006062450353056192, -0.0031314098741859198, -0.0065813553519546986, -0.01786881498992443, 0.010064695030450821, 0.05063687264919281, -0.03234677016735077, -0.061734240502119064, 0.007721917703747749, -0.08339465409517288, -0.012361234053969383, -0.030805468559265137, 0.0012767110019922256, -0.041635677218437195, -0.0026998454704880714, 0.01019313745200634, -0.003930317237973213, 0.022831805050373077, 0.010521948337554932, -0.014210795052349567, 0.05626776069402695, 0.033333200961351395, 0.020406825467944145, 0.014693736098706722, 0.0015091905370354652, 0.03910794481635094, -0.04274541512131691, -0.05232203006744385, 0.05322625860571861, -0.03150419145822525, 0.043526340276002884, -0.010480846278369427, -0.010861034505069256, -0.04099860414862633, -0.039580609649419785, -0.014704011380672455, 0.0007674394291825593, 0.05832282826304436, 0.0019304794259369373, 0.012474262155592442, 0.0013280876446515322, -0.049691542983055115, 0.00952010229229927, 0.05285634845495224, 0.015361633151769638, -0.051911015063524246, -0.01837230660021305, -0.017776338383555412, -0.01073773019015789, 0.02155766263604164, -0.005713088903576136, 0.026736434549093246, -0.007156773936003447, -0.011087091639637947, -0.009658819064497948, -0.009252943098545074, 0.011960495263338089, -0.05548683553934097, -0.02566779963672161, 0.0036682963836938143, 0.014395751059055328, -0.04216999560594559, 0.03041500598192215, -0.02252354472875595, -0.08680607378482819, -0.0282366331666708, 0.011826915666460991, -0.006473463959991932, -0.06674860417842865, -0.06288507580757141, 0.030188947916030884, 0.009864326566457748, 0.05914485454559326, 0.0015143281780183315, -0.017293397337198257, -0.02755846083164215, 0.0007995498599484563, 0.0063809859566390514, -0.06099441647529602, -0.06337829679250717, -0.003747930284589529, -0.007244114764034748, -0.011868017725646496, 0.02815443091094494, -0.048992820084095, 0.04186173528432846, 0.0271474476903677, 0.009427623823285103, -0.023057863116264343, 0.001682586851529777, 0.022133082151412964, 0.018392859026789665, -0.008970371447503567, 0.04192338511347771, -0.04401955381035805, 0.07016001641750336, 0.030394455417990685, -0.03520331531763077, -0.01067607756704092, 0.03514166176319122, 0.018310654908418655, -0.015289705246686935, -0.013881984166800976, -0.013974461704492569, 0.010953512042760849, -0.005666849669069052, 0.023222267627716064, -0.015659617260098457, -0.019995810464024544, 0.022338587790727615, 0.04644453525543213, 0.029839586466550827, -0.08705268055200577, 0.11426177620887756, -0.012659218162298203, 0.031483642756938934, 0.0007969810394570231, 0.010460295714437962, -0.00943790003657341, -0.03968336060643196, 0.01766330935060978, -0.07353033125400543, 0.016224762424826622, -0.039827216416597366, 0.024722468107938766, -0.011868017725646496, 0.0020152509678155184, 0.02517458237707615, -0.03738168627023697, -0.013234637677669525, -0.004300229717046022, -0.013933360576629639, 0.022009776905179024, -0.017837990075349808, -0.0022836942225694656, -0.05437709763646126, 0.011415902525186539, -0.02940802276134491, -0.06292618066072464, 0.027496809139847755, -0.0010410203831270337, -0.012279030866920948, -0.012340683490037918, 0.06128212809562683, 0.04512929171323776, -0.07422905415296555, -0.013440144248306751, -0.010717179626226425, 0.009550928138196468, 0.002841131528839469, 0.017879091203212738, 0.01623503677546978, -0.0464034341275692, 0.016008978709578514, 0.03738168627023697, -0.0023222267627716064, -0.03596368804574013, -0.003133978694677353, -0.10883639752864838, 0.04517039284110069, 0.03553212434053421, -0.0024121359456330538, 0.015423284843564034, 0.006432362832129002, 0.021742619574069977, -0.0485818050801754, 0.007131085731089115, 0.0998762995004654, 0.011816640384495258, -0.0612410232424736, 0.02618156559765339, -0.05339066684246063, 0.0021950695663690567, 0.015824023634195328, -0.005872356705367565, -0.03493615612387657, -0.012875000946223736, -0.0005034916684962809, 0.0013332252856343985, 0.03413467854261398, 0.01652274653315544, -0.013820331543684006, -0.029839586466550827, -0.011446728371083736, -0.016882382333278656, 0.04323862865567207, -0.0009324870770797133, 0.017714686691761017, -0.007156773936003447, -0.00031163179664872587, -0.018156524747610092, 0.12988029420375824, -0.053678374737501144, -0.057911813259124756, 0.0023196579422801733, -0.005867219064384699, -0.047759778797626495, 0.03808040916919708, -0.04891061782836914, 0.0359225869178772, -0.0037453612312674522, -0.064241424202919, -0.02538008987903595, 0.05667877569794655, -0.0255855955183506, 0.015567139722406864, -0.023098964244127274, 0.06469354033470154, 0.05528132617473602, 0.03407302498817444, 0.03394972160458565, 0.032285116612911224, -0.07895570993423462, -0.009535515680909157, 0.009314595721662045, 0.030517758801579475, 0.06350159645080566, -0.006863927002996206, 0.0008965234155766666, 0.023263368755578995, 0.054171591997146606, 0.0046983989886939526, -0.008168894797563553, -0.01842368394136429, 0.015073923394083977, 0.006473463959991932, -0.038450323045253754, -0.10760335624217987, 0.011518656276166439, 0.03314824774861336, -0.002124426420778036, 0.02332502044737339, -0.021208301186561584, 0.013080507516860962, -0.05643216520547867, 0.009612580761313438, -0.06896807998418808, 0.11409737169742584, 0.04500598832964897, -0.02651037648320198, 0.022708501666784286, 0.024558061733841896, 0.0010468002874404192, 0.05639106407761574, -0.01899910345673561, 0.025811653584241867, 0.0396011583507061, -0.031010976061224937, 0.03154529258608818, -0.01593705266714096, 0.03762829303741455, 0.028257183730602264, -0.03703232482075691, -0.040299881249666214, -0.028853153809905052, -0.03621029853820801, 0.0023517683148384094, -0.00458280136808753, 0.0045417002402246, -0.06444693356752396, 0.043814048171043396, 0.011385076679289341, -0.09535515308380127, -0.028976459056138992, -0.007249252405017614, 0.021886473521590233, -0.0402793325483799, 0.02570890076458454, -0.07147525995969772, -0.06650199741125107, -0.011929669417440891, -0.0165330208837986, 0.008898444473743439, 0.009001197293400764, 0.024064846336841583, 0.04537590220570564, -0.010470570996403694, 0.08401117473840714, -0.022009776905179024, -0.055938947945833206, 0.03898463770747185, 0.02147546038031578, -0.01790991798043251, 0.02445530891418457, -0.015721268951892853, 0.032778333872556686, 0.014888967387378216, 0.014570431783795357, 0.005456205457448959, 0.017128990963101387, -0.01691320911049843, -0.015659617260098457, 0.029223065823316574, 0.051623307168483734, -0.008132931776344776, -0.07554429769515991, -0.00904229935258627, 0.009304320439696312, -0.069954514503479, -0.01174471341073513, 0.011570032685995102, -0.014693736098706722, -0.1046440601348877, 0.06674860417842865, 0.014467678032815456, -0.029469674453139305, -0.01235095877200365, 0.019687550142407417, 0.00533803878352046, -0.04118356108665466, -0.011518656276166439, -0.015341082587838173, -0.04837629944086075, 0.04484158381819725, -0.09206704795360565, 0.05902155116200447, 0.049568239599466324, 0.010100658982992172, 0.06128212809562683, 0.03840922191739082, 0.03902573883533478, -0.003234163159504533, -0.011991321109235287, -0.0450470894575119, 0.03183300420641899, -0.05540463328361511, 0.06979010999202728, 0.019851956516504288, -0.004189769737422466, -0.048992820084095, -0.03604589030146599, -0.006848514080047607, -0.034381285309791565, 0.006442638114094734, 0.010614425875246525, 0.0006553740240633488, -0.01652274653315544, 0.045786913484334946, 0.00801476463675499, 0.03411412984132767, 0.010563049465417862, -0.04124521464109421, -0.028750400990247726, 0.008461742661893368, 0.006571079604327679, -0.06132322922348976, 0.00803531613200903, -0.01845451071858406, 0.026572028174996376, -0.017149541527032852, -0.003611781867220998, 0.04052593931555748, 0.0142210703343153, 0.02005746401846409, -0.004867942072451115, -0.0004273899248801172, -0.009977354668080807, 0.03976556658744812, 0.04007382690906525, -0.016255587339401245, 0.04821189492940903, -0.02944912388920784, -0.012556465342640877, 0.010213688015937805, -0.02084866352379322, -0.02614046446979046, 0.02731185220181942, 0.03812151029706001, 0.006036762148141861, -0.02659257873892784, -0.03376476466655731, -0.05503471940755844, -0.0097975367680192, -0.053966082632541656, -0.01357372384518385, -0.032613929361104965, -0.06633759289979935, -0.009812949225306511, -0.017642758786678314, 0.033579811453819275, -0.00534831453114748, -0.0038275639526546, -0.0012580868788063526, 0.058158423751592636, -0.004161512479186058, 0.049321629106998444, -0.04451277107000351, -0.08195611089468002, -0.010203412733972073, 0.061693139374256134, 0.05893934890627861, -0.08639505505561829, 0.06366600841283798, -0.022893456742167473, -0.009956804104149342, 0.046074625104665756, -0.02860654518008232, 0.03775160014629364, 0.001462951535359025, -0.03281943500041962, 0.02667478285729885, 0.002540577668696642, -0.019142957404255867, -0.019060755148530006, 0.00549730658531189, 0.0321207121014595, 0.027928372845053673, 0.011919394135475159, -0.04652673751115799, 0.02634597197175026, 0.0020126821473240852, -0.03532661870121956, -0.03029170073568821, -0.03600478917360306, 0.06826935708522797, -0.02064315788447857, -0.018855247646570206, 0.02731185220181942, 0.04036153480410576, -0.013286014087498188, -0.04258100688457489, -0.03323045000433922, 0.02663367986679077, -0.03183300420641899, -0.05918595567345619, 0.021783720701932907, 0.01120012067258358, 0.003953436855226755, -0.02671588398516178, -0.018937451764941216, 0.028668198734521866, 0.017694134265184402, -0.017653033137321472, 0.049773745238780975, -0.06440582871437073, -0.02936692163348198, -0.02076646126806736, 0.020160216838121414, 0.031648047268390656, 0.047883082181215286, -0.03904629126191139, 0.02920251525938511, -0.016122007742524147, -0.0024031451903283596, -0.01824900321662426, -0.03193575516343117, -0.026284318417310715, 0.030003992840647697, -0.05113008990883827, -0.03444293886423111, -0.005584646947681904, 0.12067358940839767, -0.009026885963976383, 0.052157625555992126, 0.008970371447503567, 0.008086692541837692, 0.024989625439047813, -0.0015734113985672593, 0.0039071980863809586, 0.0035835248418152332, -0.017837990075349808, 0.006226855795830488, -0.005073449108749628, 0.013049681670963764, 0.03427853435277939, -0.03234677016735077, -0.04496488720178604, 0.018557263538241386, 0.05092458426952362, -0.002460943767800927, 0.02231803722679615, 0.014909517951309681, -0.017180368304252625, 0.006247406359761953, -0.02731185220181942, -0.0003300952957943082, -0.03992997109889984, 0.09395770728588104, 0.009864326566457748, -0.05104788765311241, -0.07052993029356003, 0.0446360744535923, 0.047759778797626495, -0.049732644110918045, 0.05137670040130615, 0.02272905223071575, -0.00029059944790787995, 0.003031225176528096, -0.014416301622986794, -0.006021349225193262, -0.06625539064407349, -0.010521948337554932, 0.040710896253585815, 0.025195132941007614, -0.04262210801243782, 0.004297660663723946, 0.025688350200653076, -0.02651037648320198, 0.0003474349214229733, -0.0036066442262381315, -0.03906683996319771, -0.006041899789124727, -0.02433200366795063, 0.05080128088593483, 0.01607063226401806, 0.020632881671190262, -0.0057285018265247345, -0.0020820407662540674, -0.043485239148139954, -0.020119115710258484, -0.014292997308075428, -0.021907024085521698, -0.02614046446979046, -0.043690744787454605, -0.0066327317617833614, 0.041635677218437195, 0.049814846366643906, -0.04307422414422035, 0.019831405952572823, -0.019225161522626877, -0.0038121510297060013, 0.011826915666460991, -0.02207143045961857, 0.0054767560213804245, -0.07854469865560532, 0.007778432220220566, -0.05733639746904373, 0.025154031813144684, -0.0048114280216395855, 0.05955586954951286, -0.023386674001812935, -0.017735237255692482, -0.003873803187161684, 0.03690902143716812, 0.015454110689461231, -0.0378338024020195, 0.021249402314424515, 0.019225161522626877, 0.017098166048526764, -0.00267415726557374, -0.004644453525543213, -0.041800081729888916, -0.02759956195950508, -0.01325518824160099, -0.004112704657018185, 0.04434836655855179, -0.011333699338138103, -0.04878731444478035, 0.03150419145822525, -0.025996610522270203, 0.02811332978308201, -0.02344832569360733, -0.01417996920645237, 0.026037711650133133, -0.01375867985188961, 0.0019831405952572823, 0.027044694870710373, -0.03608699142932892, 0.03621029853820801, -0.0029952614568173885, 0.01468346081674099, 0.04903392121195793, -0.02566779963672161, -0.013275738805532455, 0.04541700333356857, 0.028174981474876404, 0.06029569357633591, -0.020900040864944458, -0.03355925902724266, 0.038696929812431335, -0.05462370440363884, -0.03417577967047691, 0.037237830460071564, 0.02860654518008232, -0.003704260103404522, 0.03709397837519646, 0.032285116612911224, 0.0472254604101181, 0.061693139374256134, -0.014508780092000961, 0.061857543885707855, 0.07217398285865784, 0.09379330277442932, -0.05071907863020897, 0.007578063290566206, -0.012946927919983864, -0.008739176206290722, 0.0030569136142730713, -0.027414606884121895, 0.030764367431402206, -0.004413258284330368, 0.009412211365997791, -0.00029252609238028526, -0.05084238201379776, -0.027743417769670486, 0.017755787819623947, -0.06629649549722672, 0.03242897242307663, 0.000032531886972719803, -0.0007655128138139844, 0.023715484887361526, -0.0002584890171419829, -0.0021539682056754827, -0.0349772572517395, 0.017262570559978485, -0.003113427897915244, -0.03762829303741455, 0.03271668031811714, 0.07069433480501175, 0.010367818176746368, -0.023345572873950005, 0.06563887000083923, -0.03175079822540283, 0.030065644532442093, 0.003449945244938135, -0.03629250079393387, 0.011302873492240906, -0.02533898875117302, 0.002413420472294092, 0.027928372845053673, -0.006211442872881889, 0.0027049831114709377, 0.04644453525543213, 0.008102104999125004, -0.030065644532442093, -0.02663367986679077, -0.009186153300106525, -0.0014655203558504581, 0.05540463328361511, -0.021290503442287445, -0.03464844450354576, 0.038614727556705475, -0.07073543965816498, 0.051582206040620804, 0.04710215702652931, 0.0028051678091287613, 0.06563887000083923, -0.006586492992937565, -0.014128591865301132, -0.07159856706857681, -0.02001636102795601, 0.007316041737794876, 0.03941620513796806, 0.004027933347970247, 0.02977793477475643, -0.024989625439047813, -0.024229250848293304, 0.05039026588201523, 0.0008624863112345338, 0.009848913177847862, 0.033250998705625534, 0.06900918483734131, -0.01899910345673561, 0.008379539474844933, -0.032326217740774155, 0.008497705683112144, -0.06506345421075821, -0.03316879644989967, -0.03816261142492294, 0.040258780121803284, 0.05692538246512413, -0.006982093211263418, 0.07751716673374176, -0.04895171895623207, -0.019348464906215668 ]
11,029
burnman.classes.material
__init__
null
def __init__(self): self._pressure = None self._temperature = None if not hasattr(self, "name"): # if a derived class decides to set .name before calling this # constructor (I am looking at you, SLB_2011.py!), do not # overwrite the name here. self._name = self.__class__.__name__ self._cached = {}
(self)
[ 0.020173948258161545, -0.03011203743517399, -0.009612402878701687, 0.011575826443731785, -0.039752356708049774, -0.029795655980706215, -0.004336282145231962, 0.023133043199777603, 0.028083477169275284, -0.012022482231259346, -0.01896425522863865, 0.051663175225257874, -0.028455689549446106, 0.043660592287778854, -0.040608447045087814, 0.015995856374502182, 0.014665194787085056, 0.05940520763397217, -0.07191156595945358, -0.08091912418603897, -0.024603284895420074, 0.0052947308868169785, 0.006606781855225563, 0.0562041737139225, 0.020490329712629318, 0.06550949811935425, 0.019894788041710854, 0.0021483672317117453, 0.014655889943242073, -0.01752193085849285, -0.045223888009786606, 0.03997568413615227, -0.01336244959384203, 0.022798050194978714, 0.023207485675811768, -0.02834402583539486, -0.012943709269165993, 0.017596373334527016, -0.07514981925487518, 0.04488889500498772, 0.090671107172966, -0.04269284009933472, -0.0036709513515233994, -0.05140262469649315, 0.00924018956720829, 0.02957232855260372, 0.03683048486709595, 0.0005650077946484089, 0.0378168486058712, -0.040980659425258636, -0.021123092621564865, 0.024026354774832726, -0.0013806779170408845, 0.023933300748467445, -0.032512810081243515, 0.053226470947265625, 0.053226470947265625, 0.0919366255402565, -0.07727143168449402, 0.026687677949666977, -0.03493219614028931, 0.03844961151480675, 0.014544226229190826, -0.048462141305208206, -0.04842492192983627, -0.03230809420347214, -0.03048424981534481, -0.0025682703126221895, -0.01982034556567669, 0.046563856303691864, 0.035751067101955414, 0.009175051935017109, -0.029683992266654968, 0.021513914689421654, 0.03439248725771904, 0.014423256739974022, -0.03893348574638367, -0.029683992266654968, -0.011064033955335617, -0.031507834792137146, 0.007132533006370068, -0.0025938597973436117, -0.049802109599113464, -0.01166887953877449, 0.005234246142208576, -0.012087619863450527, -0.02143947221338749, -0.01866648532450199, 0.01628432236611843, 0.04686162620782852, -0.06390898674726486, 0.029851488769054413, 0.0051039718091487885, 0.04853658378124237, 0.04995099455118179, -0.03826350346207619, -0.02486383356153965, -0.03882182389497757, 0.016889167949557304, -0.0015493369428440928, -0.016023773699998856, -0.003496476449072361, -0.061564043164253235, -0.02944205328822136, -0.012618022970855236, -0.03900792822241783, 0.008393405005335808, -0.028083477169275284, 0.026259632781147957, -0.006099641788750887, -0.030316755175590515, 0.016982221975922585, -0.019969230517745018, 0.0582885667681694, -0.03176838532090187, -0.031228676438331604, -0.057804688811302185, 0.007258154917508364, 0.021513914689421654, 0.005936798639595509, -0.03826350346207619, 0.046266086399555206, -0.06524895131587982, 0.05657638609409332, 0.01871301233768463, -0.00018101769092027098, 0.01982034556567669, -0.03731435909867287, 0.01671236753463745, -0.008616732433438301, 0.04730828106403351, 0.015418926253914833, 0.001555152703076601, 0.02143947221338749, 0.01591210812330246, -0.027711262926459312, 0.027227386832237244, 0.04328837990760803, -0.02657601423561573, 0.02858596481382847, 0.029981762170791626, 0.0021786096040159464, 0.023188874125480652, -0.006769625470042229, 0.024566063657402992, 0.04797826334834099, 0.010449881665408611, 0.007188364863395691, -0.04719661921262741, -0.04034789651632309, -0.0036639724858105183, 0.003824489424005151, -0.011036117561161518, 0.008565553463995457, -0.008826102130115032, -0.06402064859867096, -0.03580689802765846, -0.009007556363940239, -0.056799713522195816, 0.005890272092074156, -0.017987197265028954, -0.017996501177549362, -0.021030038595199585, -0.10347523540258408, -0.026371296495199203, 0.01000322587788105, -0.01872231811285019, -0.08508791029453278, 0.020397275686264038, 0.009314632043242455, -0.037072423845529556, -0.04053400456905365, -0.016209879890084267, 0.02681795135140419, -0.0013155406340956688, 0.009537960402667522, 0.0009049430373124778, -0.007914180867373943, 0.020508939400315285, 0.0400129035115242, 0.03305252268910408, -0.05519919842481613, -0.09670095890760422, 0.008626038208603859, 0.011445552110671997, -0.0340016633272171, 0.04928101226687431, -0.0034220339730381966, 0.059702977538108826, 0.07284209877252579, 0.029702603816986084, 0.0013876568991690874, -0.04548443853855133, -0.009714760817587376, 0.07682477682828903, 0.007313986774533987, 0.03934292122721672, -0.03623494133353233, -0.03359223157167435, 0.09573320299386978, -0.053710345178842545, 0.010719736106693745, 0.002484522294253111, -0.022370005026459694, 0.013892852701246738, 0.033517785370349884, 0.010068363510072231, 0.012422611005604267, -0.03826350346207619, 0.02767404168844223, -0.02067643590271473, -0.0292001161724329, 0.03433665633201599, 0.05977742001414299, 0.007174407131969929, -0.04016179218888283, -0.007365166209638119, -0.01786622777581215, 0.03586272895336151, 0.0379285104572773, 0.05534808337688446, -0.011594437062740326, -0.008477152325212955, -0.0030521471053361893, -0.041799526661634445, -0.008872629143297672, 0.01457214169204235, 0.010710431262850761, -0.0560925118625164, -0.035509128123521805, 0.0036104668397456408, -0.02114170230925083, -0.006806846708059311, -0.004171112552285194, 0.037984345108270645, -0.003947785124182701, -0.009919478558003902, 0.01293440442532301, -0.08910781145095825, -0.07243266701698303, 0.0006234569009393454, -0.0007990949670784175, -0.0014551205094903708, -0.04801548644900322, -0.011975955218076706, -0.06923162937164307, -0.00028962831129319966, 0.08032358437776566, -0.0680033266544342, -0.02424968220293522, 0.014330203644931316, 0.007034827023744583, -0.021700022742152214, 0.011678185313940048, -0.011706100776791573, -0.09059666097164154, -0.019168972969055176, -0.0005519221886061132, 0.002938156947493553, -0.004829464480280876, -0.0367746502161026, -0.0007339576259255409, -0.021662801504135132, 0.07727143168449402, 0.023188874125480652, 0.01600516214966774, 0.01786622777581215, -0.016405291855335236, -0.07399595528841019, -0.014693111181259155, 0.14196206629276276, -0.031210066750645638, -0.01658209227025509, 0.024659115821123123, -0.03571384400129318, -0.06770555675029755, 0.005890272092074156, -0.013734661974012852, -0.050174321979284286, 0.02562686987221241, 0.05125373974442482, -0.0018063965253531933, 0.02871623821556568, 0.012162062339484692, -0.03463442623615265, -0.0486854687333107, -0.016647228971123695, -0.00720232306048274, -0.018936339765787125, -0.011966650374233723, -0.010300996713340282, 0.0025892071425914764, -0.016805419698357582, 0.036514103412628174, 0.056315839290618896, -0.01623779535293579, -0.04444224014878273, 0.009640318341553211, 0.027413493022322655, 0.0019541187211871147, 0.03137756139039993, -0.032847803086042404, 0.01435811910778284, 0.025161603465676308, -0.02895817719399929, -0.03390860930085182, 0.004389788024127483, 0.01235747430473566, 0.020899763330817223, 0.03225226327776909, 0.050844304263591766, 0.047606050968170166, 0.019783124327659607, 0.07503815740346909, 0.02663184516131878, -0.03731435909867287, 0.0033615492284297943, -0.0420973002910614, 0.002130919834598899, 0.09573320299386978, -0.03495080769062042, -0.020173948258161545, -0.01896425522863865, -0.016116825863718987, -0.007355860900133848, 0.020881153643131256, -0.014348814263939857, 0.012590107508003712, 0.025701312348246574, 0.0035430032294243574, -0.10392189025878906, 0.0006641676882281899, 0.005280773155391216, 0.012636633589863777, -0.025031330063939095, -0.028139308094978333, -0.015158377587795258, -0.030744800344109535, 0.005974019877612591, -0.07168823480606079, 0.027804316952824593, 0.013064678758382797, -0.06729612499475479, 0.026892393827438354, 0.018089555203914642, -0.011157087050378323, 0.048462141305208206, -0.05683693662285805, 0.07608035206794739, -0.02620379999279976, -0.06011241301894188, -0.008351530879735947, -0.020843932405114174, 0.06997605413198471, 0.08940558135509491, 0.0027962506283074617, -0.03805878758430481, 0.01671236753463745, -0.013250784948468208, 0.0020192558877170086, 0.06145237758755684, -0.004068754147738218, -0.049132127314805984, -0.001945976517163217, 0.006992952898144722, -0.03511830419301987, 0.022853882983326912, 0.0036430354230105877, 0.0009526328067295253, -0.04410725086927414, -0.037277139723300934, -0.054082561284303665, -0.017642900347709656, 0.00410830182954669, -0.037277139723300934, -0.019113142043352127, 0.04388391971588135, 0.03204754739999771, 0.012320253066718578, -0.039417363703250885, 0.015018797479569912, -0.004708495456725359, -0.019597018137574196, 0.016637925058603287, -0.02095559611916542, 0.0037314360961318016, 0.009919478558003902, -0.004229270853102207, 0.07831363379955292, 0.046936068683862686, -0.009235536679625511, -0.024659115821123123, 0.018108166754245758, -0.024789391085505486, 0.014292982406914234, 0.03604883700609207, 0.03214059770107269, -0.030465640127658844, -0.08188687264919281, 0.024752169847488403, 0.011278056539595127, -0.0768992230296135, -0.023747194558382034, 0.03800295293331146, -0.014637279324233532, -0.01781039498746395, 0.10005087405443192, -0.010738346725702286, 0.011519994586706161, -0.020136727020144463, -0.019029393792152405, -0.024044964462518692, -0.03725852817296982, -0.07756920158863068, -0.00034691422479227185, 0.00013529072748497128, 0.023468034341931343, -0.06856165081262589, 0.08434348553419113, 0.01976451463997364, -0.031842827796936035, 0.06863608956336975, -0.006778930779546499, 0.04075733199715614, -0.010635988786816597, 0.028213750571012497, -0.021700022742152214, 0.0222025103867054, 0.029851488769054413, 0.03848683089017868, -0.0605962872505188, 0.03919403627514839, -0.03714686632156372, -0.04306505247950554, 0.04548443853855133, -0.015632949769496918, 0.016824031248688698, -0.018601348623633385, -0.042841725051403046, 0.01312051061540842, -0.013641608878970146, 0.0058065238408744335, 0.03949180617928505, 0.0019168973667547107, -0.0016807746142148972, 0.006174084264785051, -0.013948684558272362, 0.03997568413615227, 0.0025519859045743942, -0.048648249357938766, 0.019317857921123505, 0.0221466775983572, -0.0020273979753255844, -0.043697815388441086, 0.011743322014808655, -0.029367610812187195, -0.025459373369812965, -0.021551137790083885, 0.030744800344109535, -0.016637925058603287, -0.03645826876163483, 0.06439286470413208, 0.012283031828701496, -0.010998896323144436, -0.025329099968075752, 0.026278242468833923, 0.04890879616141319, -0.033517785370349884, -0.012487748637795448, -0.010961675085127354, 0.039566248655319214, 0.043995585292577744, -0.013278701342642307, -0.049616001546382904, -0.10943064093589783, -0.0045875259675085545, -0.02761821076273918, 0.015065324492752552, 0.009547265246510506, -0.061564043164253235, 0.020657826215028763, -0.028176529332995415, 0.04168786481022835, 0.01866648532450199, 0.01461866870522499, -0.0007205812726169825, 0.0007153470069169998, -0.014283676631748676, 0.04328837990760803, -0.012990236282348633, -0.07269321382045746, 0.017224159091711044, -0.006913858000189066, 0.020360054448246956, -0.03487636521458626, 0.05531086400151253, 0.007295376155525446, 0.044367797672748566, 0.0032405799720436335, 0.005262162536382675, -0.010654599405825138, -0.03720269724726677, -0.004708495456725359, -0.010654599405825138, 0.017466098070144653, -0.036942146718502045, -0.0022786417976021767, 0.021458083763718605, -0.004268818534910679, 0.01648903824388981, 0.023709973320364952, -0.03230809420347214, 0.010542935691773891, -0.00534591032192111, 0.010282386094331741, -0.001171889598481357, -0.09431879222393036, 0.002068108879029751, -0.07254432886838913, 0.021848907694220543, 0.04462834820151329, 0.06033574044704437, 0.043697815388441086, -0.011827070266008377, -0.038561273366212845, 0.008653953671455383, 0.006448591593652964, 0.0024356693029403687, 0.033890001475811005, 0.034131940454244614, 0.003247559070587158, -0.07727143168449402, -0.057990796864032745, 0.016684450209140778, 0.03402027487754822, 0.02786014787852764, -0.0033615492284297943, -0.04261839762330055, -0.018443157896399498, -0.02938622236251831, 0.03952902927994728, -0.010943064466118813, 0.10972841084003448, -0.06681224703788757, 0.030651746317744255, -0.04016179218888283, -0.056278616189956665, 0.014469782821834087, -0.020974205806851387, -0.02101142704486847, 0.05341257527470589, -0.07764364778995514, -0.045223888009786606, -0.06681224703788757, 0.024138018488883972, -0.024454398080706596, 0.02315165288746357, -0.00577395549044013, 0.020229781046509743, 0.033796947449445724, 0.023319149389863014, 0.016898473724722862, 0.04682440310716629, 0.04142731428146362, -0.03433665633201599, -0.04019901156425476, -0.027283217757940292, 0.021178923547267914, -0.010570851154625416, -0.010468492284417152, 0.030130648985505104, -0.006355538032948971, 0.045223888009786606, 0.046266086399555206, -0.00881214439868927, 0.008370141498744488, 0.01909453049302101, 0.03299668803811073, 0.004494472872465849, -0.052184272557497025, 0.052221495658159256, 0.010114890523254871, -0.07016216218471527, -0.02300276793539524, -0.011138476431369781, -0.006448591593652964, -0.009863646700978279, 0.020881153643131256, 0.05110485479235649, -0.035416074097156525, -0.019597018137574196, -0.008011886849999428, 0.022035013884305954, -0.03439248725771904, -0.021123092621564865, 0.015186293050646782, 0.02733905054628849, -0.06178737059235573, -0.0005286588566377759, 0.015307262539863586, -0.032754749059677124, 0.03751907870173454, -0.023989131674170494, -0.0006217121263034642, -0.011836376041173935, -0.03664437681436539, -0.013864937238395214, 0.05523642152547836, 0.0006932468386366963, -0.0036267510149627924, 0.02205362543463707, -0.021830296143889427, 0.027711262926459312, 0.02229556255042553, 0.019224805757403374, -0.0044153775088489056, -0.00348949758335948, -0.03787267953157425, 0.019894788041710854, 0.010952369309961796, -0.04663829877972603, 0.014134791679680347, 0.014944355003535748, 0.0433628223836422, -0.03610466793179512, -0.007914180867373943, 0.030614525079727173, -0.08203575760126114, 0.006532339379191399, -0.03230809420347214, 0.023505255579948425, -0.028213750571012497, -0.01785692200064659, -0.047606050968170166, -0.04887157678604126, 0.06584449112415314, 0.014534920454025269, 0.023691361770033836, -0.0033662018831819296, 0.05486420542001724, -0.001529563101939857, 0.020173948258161545, 0.026352684944868088, 0.002540354151278734, -0.060856837779283524, -0.031265899538993835, 0.0002077704994007945, -0.02348664402961731, 0.05415700376033783, 0.010970979928970337, -0.03833794593811035, 0.030986737459897995, 0.043325603008270264, 0.038747381418943405, -0.0045037781819701195, 0.010300996713340282, -0.030707579106092453, 0.010449881665408611, 0.05445477366447449, -0.01250635925680399, -0.06364843249320984, 0.009696150198578835, 0.006946426350623369, 0.0013329880312085152, 0.07742031663656235, 0.005769302602857351, -0.04559610038995743, -0.03986401855945587, -0.0291442833840847, 0.03524857759475708, -0.03844961151480675, 0.04362337291240692, 0.062382910400629044, -0.05501309037208557, -0.05393367260694504, 0.022370005026459694, 0.02223973162472248, 0.009254147298634052, 0.04902046173810959, 0.028753459453582764, 0.048946019262075424, 0.04295338690280914, 0.020899763330817223, -0.034373875707387924, 0.03225226327776909, 0.09394657611846924, -0.04514944553375244, 0.013520640321075916, 0.011426941491663456, -0.029311779886484146, 0.008663259446620941, -0.021216144785284996, 0.010896537452936172, 0.029553718864917755, 0.007853696122765541, -0.029516495764255524, -0.02229556255042553, -0.023840246722102165, 0.05579473823308945, -0.03690492734313011, 0.016786810010671616, 0.03241975978016853, -0.010542935691773891, 0.0071139223873615265, 0.0024473010562360287, 0.010877926833927631, -0.041315652430057526, 0.025217436254024506, 0.03952902927994728, -0.0334247350692749, 0.006443938706070185, 0.05359868332743645, 0.0018587390659376979, -0.004389788024127483, 0.01623779535293579, 0.009258800186216831, 0.016926389187574387, 0.012366779148578644, -0.019652850925922394, 0.018992172554135323, 0.05330091342329979, 0.006355538032948971, 0.06119183078408241, 0.03182421624660492, 0.026706287637352943, 0.027171554043889046, -0.019559796899557114, -0.05467810109257698, -0.023933300748467445, 0.007439608685672283, -0.011808459646999836, 0.062047917395830154, -0.07269321382045746, 0.008351530879735947, 0.020657826215028763, -0.0529659204185009, 0.041129544377326965, 0.04883435368537903, 0.02987009845674038, 0.09223440289497375, -0.041464537382125854, -0.031265899538993835, -0.015372400172054768, 0.06439286470413208, -0.01615404710173607, -0.0012713402975350618, 0.04481445252895355, 0.024994106963276863, 0.007844390347599983, 0.028939565643668175, 0.025999082252383232, 0.003570919157937169, -0.012562191113829613, 0.018871203064918518, 0.01207831408828497, -0.0476432740688324, -0.02281666174530983, -0.004182744305580854, 0.02648296020925045, -0.03128450736403465, -0.05706026405096054, -0.08583233505487442, 0.03610466793179512, 0.048611026257276535, 0.02767404168844223, 0.040273454040288925, 0.041948411613702774, -0.008332920260727406 ]
11,040
burnman.classes.polytope
MaterialPolytope
A class that can be instantiated to create pycddlib polytope objects. These objects can be interrogated to provide the vertices satisfying the input constraints. This class is available as :class:`burnman.polytope.MaterialPolytope`.
class MaterialPolytope(object): """ A class that can be instantiated to create pycddlib polytope objects. These objects can be interrogated to provide the vertices satisfying the input constraints. This class is available as :class:`burnman.polytope.MaterialPolytope`. """ def __init__( self, equalities, inequalities, number_type="fraction", return_fractions=False, independent_endmember_occupancies=None, ): """ Initialization function for the MaterialPolytope class. Declares basis attributes of the class. :param equalities: A numpy array containing all the equalities defining the polytope. Each row should evaluate to 0. :type equalities: numpy.array (2D) :param inequalities: A numpy array containing all the inequalities defining the polytope. Each row should evaluate to <= 0. :type inequalities: numpy.array (2D) :param number_type: Whether pycddlib should read the input arrays as fractions or floats. Valid options are 'fraction' or 'float'. :type number_type: str :param return_fractions: Choose whether the generated polytope object should return fractions or floats. :type return_fractions: bool :param independent_endmember_occupancies: If specified, this array provides the independent endmember set against which the dependent endmembers are defined. :type independent_endmember_occupancies: numpy.array (2D) or None """ self.set_return_type(return_fractions) self.equality_matrix = equalities[:, 1:] self.equality_vector = -equalities[:, 0] self.polytope_matrix = cdd.Matrix( equalities, linear=True, number_type=number_type ) self.polytope_matrix.rep_type = cdd.RepType.INEQUALITY self.polytope_matrix.extend(inequalities, linear=False) self.polytope = cdd.Polyhedron(self.polytope_matrix) if independent_endmember_occupancies is not None: self.independent_endmember_occupancies = independent_endmember_occupancies def set_return_type(self, return_fractions=False): """ Sets the return_type for the polytope object. Also deletes the cached endmember_occupancies property. :param return_fractions: Choose whether the generated polytope object should return fractions or floats. :type return_fractions: bool """ try: del self.__dict__["endmember_occupancies"] except KeyError: pass self.return_fractions = return_fractions @cached_property def raw_vertices(self): """ Returns a list of the vertices of the polytope without any postprocessing. See also endmember_occupancies. """ return self.polytope.get_generators()[:] @cached_property def limits(self): """ Return the limits of the polytope (the set of bounding inequalities). """ return np.array(self.polytope.get_inequalities(), dtype=float) @cached_property def n_endmembers(self): """ Return the number of endmembers (the number of vertices of the polytope). """ return len(self.raw_vertices) @cached_property def endmember_occupancies(self): """ Return the endmember occupancies (a processed list of all of the vertex locations). """ if self.return_fractions: if self.polytope.number_type == "fraction": v = np.array( [[Fraction(value) for value in v] for v in self.raw_vertices] ) else: v = np.array( [ [Rational(value).limit_denominator(1000000) for value in v] for v in self.raw_vertices ] ) else: v = np.array([[float(value) for value in v] for v in self.raw_vertices]) if len(v.shape) == 1: raise ValueError( "The combined equality and positivity " "constraints result in a null polytope." ) return v[:, 1:] / v[:, 0, np.newaxis] @cached_property def independent_endmember_occupancies(self): """ Return an independent set of endmember occupancies (a linearly-independent set of vertex locations) """ arr = self.endmember_occupancies return arr[independent_row_indices(arr)] @cached_property def endmembers_as_independent_endmember_amounts(self): """ Return a list of all the endmembers as a linear sum of the independent endmembers. """ ind = self.independent_endmember_occupancies sol = ( np.linalg.lstsq( np.array(ind.T).astype(float), np.array(self.endmember_occupancies.T).astype(float), rcond=0, )[0] .round(decimals=12) .T ) return sol def _decompose_vertices_into_simplices(self, vertices): """ Decomposes a set of vertices into simplices by Delaunay triangulation. """ # Delaunay triangulation only works in dimensions > 1 # and we remove the nullspace (sum(fractions) = 1) if len(vertices) > 2: nulls = np.repeat(vertices[:, -1], vertices.shape[1]).reshape( vertices.shape ) tri = Delaunay((vertices - nulls)[:, :-1]) return tri.simplices else: return [[0, 1]] @cached_property def independent_endmember_polytope(self): """ Returns the polytope expressed in terms of proportions of the independent endmembers. The polytope involves the first n-1 independent endmembers. The last endmember proportion makes the sum equal to one. """ arr = self.endmembers_as_independent_endmember_amounts arr = np.hstack((np.ones((len(arr), 1)), arr[:, :-1])) M = cdd.Matrix(arr, number_type="fraction") M.rep_type = cdd.RepType.GENERATOR return cdd.Polyhedron(M) @cached_property def independent_endmember_limits(self): """ Gets the limits of the polytope as a function of the independent endmembers. """ return np.array( self.independent_endmember_polytope.get_inequalities(), dtype=float ) def subpolytope_from_independent_endmember_limits(self, limits): """ Returns a smaller polytope by applying additional limits to the amounts of the independent endmembers. """ modified_limits = self.independent_endmember_polytope.get_inequalities().copy() modified_limits.extend(limits, linear=False) return cdd.Polyhedron(modified_limits) def subpolytope_from_site_occupancy_limits(self, limits): """ Returns a smaller polytope by applying additional limits to the individual site occupancies. """ modified_limits = self.polytope_matrix.copy() modified_limits.extend(limits, linear=False) return cdd.Polyhedron(modified_limits) def grid( self, points_per_edge=2, unique_sorted=True, grid_type="independent endmember proportions", limits=None, ): """ Create a grid of points which span the polytope. :param points_per_edge: Number of points per edge of the polytope. :type points_per_edge: int :param unique_sorted: The gridding is done by splitting the polytope into a set of simplices. This means that points will be duplicated along vertices, faces etc. If unique_sorted is True, this function will sort and make the points unique. This is an expensive operation for large polytopes, and may not always be necessary. :type unique_sorted: bool :param grid_type: W
(equalities, inequalities, number_type='fraction', return_fractions=False, independent_endmember_occupancies=None)
[ 0.05942359194159508, -0.04152294993400574, -0.013272222131490707, 0.04622289165854454, -0.03813081979751587, -0.024194475263357162, -0.04242206737399101, -0.03479999303817749, -0.04205424711108208, -0.04221772402524948, -0.011218552477657795, 0.0043678791262209415, 0.006666762754321098, 0.031040038913488388, -0.047857653349637985, 0.03451390936970711, -0.005731883458793163, -0.03506563976407051, -0.01762477494776249, 0.013231352902948856, -0.04234033077955246, -0.033900871872901917, 0.036353014409542084, 0.06498178094625473, -0.03146916627883911, 0.015795886516571045, 0.006641219835728407, 0.012454841285943985, 0.009665529243648052, -0.0246440339833498, -0.035842154175043106, 0.009338576346635818, -0.06821043789386749, 0.004551789723336697, 0.06436874717473984, -0.022927533835172653, 0.06069053336977959, 0.04274902120232582, -0.05725753307342529, 0.06281572580337524, -0.009072927758097649, -0.012935052625834942, 0.06772001087665558, 0.017604341730475426, 0.020005397498607635, 0.0049451543018221855, 0.008919669315218925, 0.05500973388552666, -0.035842154175043106, -0.007903051562607288, 0.048715900629758835, -0.04507855698466301, 0.032429587095975876, 0.023336224257946014, -0.01108572818338871, 0.03159177303314209, 0.011862240731716156, 0.07466774433851242, 0.062080077826976776, -0.042381200939416885, -0.01339482981711626, -0.013098528608679771, 0.04148207977414131, -0.057339269667863846, -0.04409769922494888, 0.00037197215715423226, -0.02824050933122635, -0.011279856786131859, 0.04201337695121765, 0.04319858178496361, -0.008853256702423096, 0.01989300735294819, 0.0400516651570797, -0.009926069527864456, 0.05823839083313942, -0.005491777788847685, -0.006150791421532631, -0.0021686137188225985, 0.0072031691670417786, -0.06584002822637558, 0.009047385305166245, 0.01857498101890087, 0.01022236980497837, -0.01582653820514679, 0.05067761614918709, 0.04109382629394531, 0.048797640949487686, 0.02958918921649456, 0.006074161734431982, -0.048797640949487686, -0.004439400043338537, 0.010840514674782753, 0.006615676451474428, 0.04900198429822922, 0.03600562736392021, -0.03999036177992821, -0.03392130881547928, -0.06436874717473984, -0.0428716279566288, -0.02570663020014763, 0.0020498379599303007, 0.007519904524087906, -0.028955718502402306, 0.044506389647722244, 0.019463881850242615, 0.01102442480623722, -0.00434233620762825, -0.008694889023900032, 0.020557129755616188, -0.021129297092556953, -0.09383532404899597, 0.04589593783020973, -0.007647620048373938, -0.005675688851624727, -0.03479999303817749, 0.00310604739934206, -0.05791143700480461, -0.0071061053313314915, -0.0009502053144387901, -0.000942542334087193, 0.030100051313638687, 0.005706340540200472, -0.060077495872974396, 0.026830527931451797, 0.016265880316495895, -0.033635225147008896, 0.027750082314014435, 0.05030979588627815, 0.0214358139783144, -0.0649409145116806, 0.010523779317736626, 0.015877623111009598, -0.023397527635097504, 0.005573516245931387, -0.016551963984966278, 0.0015083232428878546, 0.05738013982772827, -0.03786516934633255, -0.049655888229608536, 0.03173481300473213, 0.04532377049326897, 0.015928709879517555, 0.025665760040283203, 0.0026922484394162893, -0.052516721189022064, 0.024930117651820183, 0.0021354076452553272, -0.015918493270874023, -0.03210263326764107, 0.023274920880794525, -0.03608736768364906, -0.05991401895880699, 0.010360303334891796, -0.02537967637181282, 0.04528290033340454, -0.038376033306121826, -0.012097237631678581, -0.007034584414213896, 0.011596591211855412, 0.03757908567786217, -0.09048406779766083, -0.031080909073352814, -0.023540569469332695, 0.0392751507461071, 0.002600292908027768, 0.018677152693271637, 0.04205424711108208, -0.10348042100667953, -0.04720374569296837, 0.02190580777823925, 0.003361478913575411, -0.029364408925175667, -0.06363310664892197, 0.028628766536712646, 0.021129297092556953, 0.027361825108528137, 0.036557361483573914, 0.022191891446709633, -0.01682782918214798, -0.02891485020518303, 0.022764058783650398, -0.02670792117714882, 0.01174985058605671, -0.009614442475140095, 0.032163940370082855, 0.06592176854610443, 0.05774796009063721, -0.020138222724199295, 0.07389122992753983, -0.025808801874518394, -0.018861064687371254, -0.025951843708753586, 0.016654135659337044, 0.03786516934633255, 0.004536463879048824, -0.013977213762700558, 0.035903457552194595, 0.01989300735294819, -0.045446377247571945, -0.00305496109649539, -0.06109922379255295, 0.00820956937968731, 0.035842154175043106, -0.055663637816905975, -0.004321901593357325, 0.028669634833931923, -0.02164015918970108, 0.009338576346635818, 0.0007209554896689951, 0.05803404375910759, 0.0013320754515007138, -0.03954080119729042, 0.010058893822133541, 0.0020460064988583326, 0.04054209217429161, -0.05161760374903679, -0.004143099300563335, -0.006319376174360514, 0.004819992929697037, 0.03312436118721962, 0.019882790744304657, -0.028485724702477455, -0.019341275095939636, -0.024092301726341248, -0.011249205097556114, -0.02331579104065895, -0.0075096869841217995, 0.08251459896564484, -0.004212066065520048, -0.07577121257781982, 0.028281379491090775, -0.04802112653851509, -0.039499931037425995, -0.007841748185455799, -0.02170146256685257, -0.01976018399000168, -0.02305014058947563, 0.027831818908452988, -0.031142212450504303, 0.005864707753062248, -0.045568984001874924, -0.051985424011945724, 0.028894415125250816, -0.006283615715801716, -0.044915080070495605, 0.023826653137803078, 0.09424401819705963, 0.023213617503643036, 0.016214793547987938, 0.02664661779999733, -0.03453434258699417, -0.02711661159992218, -0.03819212317466736, 0.004155870992690325, 0.003062624018639326, -0.0796537697315216, -0.029834402725100517, 0.0074228402227163315, 0.05321149528026581, -0.03187785670161247, -0.004955371841788292, -0.07180691510438919, 0.030937867239117622, 0.04213598370552063, 0.06310180574655533, 0.04356640204787254, -0.015806103125214577, 0.01221984438598156, -0.04728548601269722, -0.008608042262494564, -0.028138337656855583, 0.012822662480175495, -0.010871166363358498, 0.01372178178280592, -0.052516721189022064, 0.030672218650579453, -0.024991421028971672, -0.0054764519445598125, 0.015581323765218258, 0.030937867239117622, -0.007989898324012756, -0.014406338334083557, -0.01158637460321188, -0.012996356002986431, -0.02425577864050865, -0.029262235388159752, -0.003307838225737214, -0.01682782918214798, 0.03292001411318779, -0.007591424975544214, -0.057993173599243164, -0.02063886821269989, -0.0031520251650363207, -0.025216201320290565, 0.09399880468845367, 0.006457309238612652, 0.005384496878832579, -0.05644015222787857, -0.0016232674242928624, -0.045528117567300797, 0.016848264262080193, -0.0030472981743514538, 0.0821467787027359, -0.006467526312917471, -0.04262641444802284, -0.001365281525067985, 0.02752530202269554, -0.05349757894873619, 0.06261137872934341, -0.04855242744088173, -0.015622192062437534, -0.004235054831951857, -0.012802228331565857, 0.03680257499217987, 0.04466986656188965, 0.02010757103562355, -0.02824050933122635, -0.02838355116546154, 0.053824532777071, 0.06849651783704758, -0.042176853865385056, -0.02170146256685257, 0.034023478627204895, 0.01809477061033249, 0.034023478627204895, -0.030283963307738304, 0.021987546235322952, 0.03657779470086098, 0.061262696981430054, -0.007157191634178162, -0.06829217076301575, -0.026340099051594734, 0.0031520251650363207, 0.049655888229608536, -0.014099820517003536, -0.031898289918899536, 0.06220268830657005, -0.050391532480716705, 0.03085612878203392, -0.05505060404539108, 0.11230813711881638, 0.04887937754392624, -0.038764290511608124, -0.002361464546993375, 0.006702523212879896, -0.03919341415166855, 0.051862817257642746, -0.015683496370911598, 0.022621016949415207, 0.07123474776744843, -0.011228770017623901, 0.025808801874518394, 0.011841805651783943, 0.05026892572641373, 0.016449790447950363, -0.01495807059109211, -0.02570663020014763, -0.027034873142838478, -0.02129277214407921, 0.016316967085003853, 0.014682204462587833, 0.0007286184700205922, -0.021537987515330315, 0.019780617207288742, -0.03353305160999298, -0.05243498459458351, -0.01844215579330921, -0.01268983818590641, 0.039438627660274506, -0.022396236658096313, -0.024194475263357162, -0.05505060404539108, 0.0005664194468408823, -0.02537967637181282, 0.01589805819094181, 0.036169104278087616, -0.0050728702917695045, 0.05468278378248215, -0.035167813301086426, -0.01065660361200571, 0.018779326230287552, 0.0003084335767198354, -0.044383782893419266, 0.04953328147530556, -0.026564879342913628, 0.007121431175619364, 0.02452142722904682, 0.02652401104569435, 0.03657779470086098, 0.02417404018342495, 0.025829236954450607, 0.009966938756406307, 0.06420526653528214, -0.04095078259706497, -0.022191891446709633, 0.030672218650579453, 0.023663176223635674, 0.026483140885829926, -0.024398820474743843, 0.020485609769821167, 0.004597767721861601, -0.059873152524232864, 0.0005421534297056496, 0.04540551081299782, -0.030202224850654602, -0.07916334271430969, 0.08451718837022781, -0.031223950907588005, 0.026953134685754776, 0.040112968534231186, -0.014580031856894493, -0.018871281296014786, -0.005384496878832579, -0.0031826768536120653, -0.07413645088672638, -0.002604124369099736, -0.03731343895196915, -0.04810286685824394, 0.051985424011945724, 0.03318566456437111, 0.0500645786523819, 0.012281147763133049, 0.045037686824798584, 0.009353903122246265, -0.009665529243648052, -0.03868255019187927, -0.04013340175151825, 0.0038774507120251656, -0.0287922415882349, 0.027300521731376648, -0.009931177832186222, 0.006952846422791481, -0.014018082059919834, -0.05652188882231712, -0.017951728776097298, -0.016081970185041428, -0.005634819623082876, 0.016204576939344406, 0.03821255639195442, 0.017195651307702065, 0.03772212937474251, 0.05043240264058113, -0.013588957488536835, -0.03177568316459656, 0.0045824418775737286, -0.005532647017389536, -0.044915080070495605, -0.030161354690790176, -0.012996356002986431, 0.004914502613246441, 0.0722973421216011, 0.04736722260713577, 0.03232741355895996, -0.039581671357154846, -0.00975237600505352, -0.028812676668167114, 0.03079482540488243, -0.02443968877196312, -0.006447091698646545, -0.013813736848533154, 0.03210263326764107, 0.06171225756406784, 0.0006858336855657399, 0.029548319056630135, -0.03518824651837349, -0.000610481365583837, 0.04675418883562088, -0.0008314296137541533, -0.03099917061626911, 0.011647677980363369, 0.03218437358736992, -0.032429587095975876, -0.03330827131867409, -0.04614115133881569, 0.05468278378248215, 0.03594432398676872, -0.04753069952130318, 0.009987372905015945, 0.006508395541459322, -0.053742796182632446, 0.005655254237353802, -0.0008627200149931014, 0.027688778936862946, -0.0057778614573180676, -0.014150907285511494, 0.004623310640454292, 0.02470533736050129, 0.007218495011329651, -0.06273398548364639, -0.048266343772411346, -0.032633934170007706, 0.006396005395799875, 0.007361536845564842, 0.03825342655181885, -0.0118928924202919, 0.04409769922494888, 0.03829429671168327, -0.05341584235429764, 0.05243498459458351, -0.0557045079767704, 0.029507450759410858, 0.0003582427161745727, 0.01884062960743904, -0.02744356356561184, 0.03187785670161247, -0.003744626184925437, -0.009966938756406307, 0.010360303334891796, -0.02044473960995674, 0.02352013625204563, 0.008470109663903713, -0.048920247703790665, 0.06387832015752792, -0.005951554514467716, 0.015652844682335854, 0.07785552740097046, 0.004201848525553942, 0.01777803525328636, -0.02523663453757763, -0.03598519414663315, 0.02044473960995674, 0.04789851978421211, 0.003325718455016613, -0.0025300492998212576, 0.020986255258321762, 0.0419316403567791, -0.06714784353971481, -0.04977849870920181, 0.03692518174648285, 0.004950263071805239, 0.028424421325325966, -0.036026064306497574, 0.01108572818338871, 0.027423128485679626, 0.017461299896240234, 0.0036858769599348307, -0.0011564663145691156, -0.04307597503066063, 0.05075935274362564, -0.023295355960726738, 0.006365353707224131, 0.055254947394132614, 0.010135523043572903, -0.058810554444789886, 0.0046258652582764626, 0.03388043865561485, 0.07286950945854187, -0.016715439036488533, -0.013997647911310196, 0.008776627480983734, 0.056276675313711166, 0.014600466005504131, 0.033962175250053406, 0.007616968359798193, 0.04601854458451271, 0.02443968877196312, -0.006554373074322939, -0.03557650372385979, -0.0025875214487314224, 0.026891831308603287, -0.028547028079628944, -0.007341102231293917, 0.008316850289702415, -0.0332469679415226, -0.01118790078908205, 0.020608216524124146, 0.024827944114804268, 0.04560985416173935, -0.02258014678955078, -0.00353261805139482, -0.008674454875290394, 0.029487015679478645, -0.008383262902498245, 0.008602933958172798, -0.02078191004693508, -0.03420739248394966, -0.021599290892481804, -0.00895032100379467, 0.008613151498138905, -0.0951431393623352, 0.004676951561123133, 0.011780502274632454, 0.0019872572738677263, -0.05991401895880699, 0.0411551296710968, 0.051454126834869385, -0.03884602710604668, 0.051985424011945724, 0.04728548601269722, -0.01532589178532362, -0.02852659299969673, -0.00010017705062637106, -0.0035581612028181553, -0.07397297024726868, -0.02770921215415001, 0.05456017702817917, -0.039111677557229996, 0.026626182720065117, 0.0593009851872921, 0.008219786919653416, -0.04393422231078148, 0.026769224554300308, 0.013895475305616856, 0.01061573438346386, -0.011770284734666348, -0.02578836679458618, 0.013936344534158707, -0.0483480803668499, 0.01950475201010704, -0.00541003979742527, 0.0002468107268214226, 0.01915736496448517, -0.04082817584276199, -0.05942359194159508, -0.041829466819763184, -0.07548512518405914, -0.08333197981119156, 0.037906039506196976, 0.03774256259202957, 0.04039905220270157, -0.048266343772411346, 0.05402887612581253, 0.008199351839721203, 0.0006411331705749035, -0.0277705155313015, -0.006620785221457481, 0.06890521198511124, -0.06739305704832077, 0.019647793844342232, -0.03218437358736992, -0.007310450542718172, 0.007627185434103012, -0.020812561735510826, -0.03347174823284149, 0.021476684138178825, -0.03300175443291664, 0.016408922150731087, -0.009604225866496563, -0.00872043240815401, 0.0740138441324234, -0.04015383869409561, -0.016592832282185555, -0.011320725083351135, 0.02891485020518303, -0.058524470776319504, 0.013548088259994984, 0.02826094441115856, -0.05844273418188095, 0.051985424011945724, 0.005369171034544706, 0.003318055532872677, 0.05456017702817917, -0.007080561947077513, -0.05137239024043083, -0.0370069220662117, 0.0027944210451096296, -0.04189077019691467, -0.013159832917153835, -0.0029119194950908422, -0.007974572479724884, 0.02732095681130886, -0.01876910962164402, -0.0006136742304079235, -0.06130356714129448, 0.04446551948785782, -0.005016675218939781, 0.06894607841968536, 0.04560985416173935, -0.020403871312737465, 0.08365893363952637, -0.03146916627883911, -0.026544444262981415, -0.022396236658096313, 0.0029119194950908422, -0.030733522027730942, -0.0123220169916749, -0.026871398091316223, -0.008475217968225479, -0.05435582995414734, 0.0373951755464077, 0.08533456921577454, 0.03294045105576515, -0.03941819444298744, 0.010912034660577774, 0.038764290511608124, 0.051535867154598236, -0.0166234839707613, -0.04654984176158905, 0.038641683757305145, -0.06064966320991516, 0.009394771419465542, 0.00018151603580918163, 0.03253176063299179, 0.008383262902498245, 0.013507219031453133, -0.0323069803416729, -0.050187189131975174, 0.02358143962919712, 0.007744683884084225, -0.018053900450468063, 0.002066441113129258, -0.023826653137803078, -0.014549380168318748, 0.06371483951807022, -0.0031699053943157196, 0.05774796009063721, -0.032082200050354004, 0.006610568147152662, 0.06780174374580383, -0.045650724321603775, -0.002084321342408657, 0.08803192526102066, 0.04078730568289757, -0.0636739730834961, 0.0091137969866395, -0.031428296118974686, 0.009450966492295265, 0.06363310664892197, -0.02170146256685257, -0.025767933577299118, 0.022927533835172653, 0.05055500939488411, 0.02591097541153431, -0.025686195120215416, -0.02644227258861065, 0.030774390324950218, 0.02284579537808895, -0.0593009851872921, -0.03866211697459221, -0.03545389696955681, -0.027300521731376648, 0.07998072355985641, -0.02317274920642376, 0.02570663020014763, -0.003864679019898176, -0.022600581869482994, -0.018942803144454956, -0.009594008326530457, -0.0738503634929657, 0.04105295613408089, -0.036639098078012466, -0.009159774519503117, -0.04753069952130318, -0.0237040463835001, -0.012883966788649559, 0.09824918210506439, 0.0223758015781641, 0.0123220169916749, 0.02264145016670227, -0.07487209141254425, 0.03432999923825264, 0.029200932011008263, 0.0028582788072526455, 0.019463881850242615, 0.005961772054433823, -0.04095078259706497, 0.018799761310219765, -0.014018082059919834, -0.05635841190814972, -0.11582287400960922, -0.06232529506087303, 0.0015798440435901284, 0.008398588746786118, 0.049860235303640366, 0.011341160163283348, 0.06453222036361694, -0.012832880020141602, 0.04274902120232582 ]
11,041
burnman.classes.polytope
__init__
Initialization function for the MaterialPolytope class. Declares basis attributes of the class. :param equalities: A numpy array containing all the equalities defining the polytope. Each row should evaluate to 0. :type equalities: numpy.array (2D) :param inequalities: A numpy array containing all the inequalities defining the polytope. Each row should evaluate to <= 0. :type inequalities: numpy.array (2D) :param number_type: Whether pycddlib should read the input arrays as fractions or floats. Valid options are 'fraction' or 'float'. :type number_type: str :param return_fractions: Choose whether the generated polytope object should return fractions or floats. :type return_fractions: bool :param independent_endmember_occupancies: If specified, this array provides the independent endmember set against which the dependent endmembers are defined. :type independent_endmember_occupancies: numpy.array (2D) or None
def __init__( self, equalities, inequalities, number_type="fraction", return_fractions=False, independent_endmember_occupancies=None, ): """ Initialization function for the MaterialPolytope class. Declares basis attributes of the class. :param equalities: A numpy array containing all the equalities defining the polytope. Each row should evaluate to 0. :type equalities: numpy.array (2D) :param inequalities: A numpy array containing all the inequalities defining the polytope. Each row should evaluate to <= 0. :type inequalities: numpy.array (2D) :param number_type: Whether pycddlib should read the input arrays as fractions or floats. Valid options are 'fraction' or 'float'. :type number_type: str :param return_fractions: Choose whether the generated polytope object should return fractions or floats. :type return_fractions: bool :param independent_endmember_occupancies: If specified, this array provides the independent endmember set against which the dependent endmembers are defined. :type independent_endmember_occupancies: numpy.array (2D) or None """ self.set_return_type(return_fractions) self.equality_matrix = equalities[:, 1:] self.equality_vector = -equalities[:, 0] self.polytope_matrix = cdd.Matrix( equalities, linear=True, number_type=number_type ) self.polytope_matrix.rep_type = cdd.RepType.INEQUALITY self.polytope_matrix.extend(inequalities, linear=False) self.polytope = cdd.Polyhedron(self.polytope_matrix) if independent_endmember_occupancies is not None: self.independent_endmember_occupancies = independent_endmember_occupancies
(self, equalities, inequalities, number_type='fraction', return_fractions=False, independent_endmember_occupancies=None)
[ 0.04885457456111908, -0.018292367458343506, 0.017505599185824394, 0.024577148258686066, -0.04537031427025795, -0.03474894165992737, -0.052750952541828156, -0.005910129752010107, -0.04735596850514412, -0.025064196437597275, 0.018329832702875137, 0.02143007516860962, -0.0011602493468672037, 0.03298807889223099, -0.03847672417759895, 0.005732170306146145, -0.020924294367432594, -0.025232788175344467, -0.017449401319026947, 0.0030112627428025007, -0.011267648078501225, 0.024483485147356987, 0.02423996292054653, 0.04956641420722008, -0.023078542202711105, 0.011314479634165764, -0.0036528536584228277, 0.00766162620857358, 0.01239160355180502, -0.03403710201382637, -0.0648147389292717, 0.05009092763066292, -0.07654133439064026, 0.057996075600385666, 0.04143647477030754, -0.015613608062267303, 0.0642152950167656, 0.04064970463514328, -0.04855485260486603, 0.08032531291246414, 0.002244397532194853, -0.003453820012509823, 0.08317266404628754, 0.0020594133529812098, 0.00667816586792469, 0.0027560312300920486, -0.020605841651558876, 0.019238362088799477, -0.04083703085780144, -0.009586399421095848, 0.04877964407205582, -0.02742450125515461, 0.05690958723425865, -0.002828619908541441, -0.03585416451096535, 0.03945082053542137, 0.02944762073457241, 0.037764888256788254, 0.03231370449066162, 0.0015372425550594926, -0.06361585110425949, 0.016606435179710388, 0.023209670558571815, -0.06747476011514664, -0.04068716987967491, 0.009431855753064156, -0.04143647477030754, -0.012335405685007572, 0.07260748744010925, 0.07995066046714783, 0.022741355001926422, 0.004697195254266262, 0.011408142745494843, -0.003821446793153882, 0.10542697459459305, 0.00271622440777719, -0.017027918249368668, -0.0022092738654464483, -0.004556700587272644, -0.04836753010749817, -0.037502631545066833, 0.03469274193048477, 0.009057203307747841, 0.0321076475083828, 0.04154886677861214, 0.030983692035079002, 0.03495499864220619, 0.012382237240672112, 0.008162722922861576, -0.026974918320775032, -0.0402001217007637, -0.01386211160570383, -0.03907616809010506, 0.011726596392691135, 0.06192991882562637, -0.02208571508526802, -0.0023673302493989468, -0.03596656024456024, -0.049791205674409866, 0.006111504975706339, 0.020793166011571884, -0.011014758609235287, 0.003549824468791485, 0.01791771501302719, 0.0036786110140383244, -0.03409330174326897, -0.007670992519706488, 0.014864304102957249, 0.013890210539102554, -0.026600267738103867, -0.08272308856248856, 0.06852378696203232, -0.021280214190483093, -0.0083547318354249, -0.043497055768966675, -0.0055682603269815445, -0.043721847236156464, -0.02423996292054653, 0.0017596919788047671, -0.05312560498714447, 0.017646092921495438, 0.01327203493565321, -0.035423312336206436, 0.05750902742147446, 0.01983780600130558, -0.010396583005785942, 0.015969526022672653, 0.019950199872255325, 0.020118793472647667, -0.061442870646715164, -0.003088534576818347, 0.005591676104813814, -0.04181112349033356, -0.00038606682210229337, 0.0019891660194844007, -0.0058820308186113834, 0.02843606099486351, -0.03922602906823158, -0.033831045031547546, 0.050765298306941986, 0.06237950176000595, 0.010396583005785942, 0.0075585972517728806, 0.006111504975706339, -0.08796820789575577, 0.04345959052443504, -0.021355144679546356, -0.03787728399038315, -0.07084662467241287, 0.052226439118385315, -0.06904830038547516, -0.01869511790573597, -0.004441963508725166, -0.033044274896383286, 0.046494271606206894, -0.03266962245106697, 0.023528123274445534, -0.025382649153470993, 0.03836432844400406, 0.04368438199162483, -0.04679398983716965, 0.029391422867774963, -0.0054277656599879265, 0.04758075997233391, 0.008209554478526115, 0.01654087007045746, 0.003896377282217145, -0.1377219408750534, -0.0347302071750164, 0.002983163809403777, -0.0008622842142358422, -0.049791205674409866, -0.0151640260592103, 0.008968223817646503, 0.007436835207045078, -0.01611938700079918, 0.03465527668595314, 0.034992463886737823, -0.014751909300684929, -0.03162059932947159, 0.038738980889320374, -0.0024118199944496155, 0.00016069044067990035, 0.07110888510942459, 0.0422232411801815, 0.03774615377187729, 0.031227216124534607, -0.0009483370231464505, 0.07133367657661438, -0.053275465965270996, 0.013918308541178703, -0.0004923156811855733, -0.009403756819665432, 0.0593448206782341, 0.02041851542890072, -0.03328780084848404, 0.06822406500577927, -0.003524067113175988, -0.03739023581147194, 0.0593448206782341, -0.04694385081529617, -0.004172682762145996, 0.02706858143210411, -0.03885137662291527, 0.012775621376931667, 0.009853338822722435, 0.009099352173507214, 0.02107415534555912, -0.03135834261775017, 0.03225750848650932, 0.03446795046329498, -0.036135151982307434, 0.027049848809838295, -0.00035416288301348686, 0.04323480278253555, -0.07223284244537354, -0.0038495457265526056, -0.024577148258686066, -0.016213050112128258, 0.03677206113934517, 0.01687805727124214, 0.01758989505469799, -0.026656465604901314, -0.008921392261981964, -0.03847672417759895, 0.016035091131925583, -0.031807925552129745, 0.07890164107084274, -0.03448668494820595, -0.04297254607081413, -0.0054980129934847355, -0.028585921972990036, -0.0402001217007637, -0.01599762588739395, -0.02472700923681259, -0.019819073379039764, -0.021673597395420074, 0.021636132150888443, -0.08114954829216003, -0.005624458193778992, -0.022029517218470573, -0.007881734520196915, 0.06852378696203232, 0.019631747156381607, 0.00023620616411790252, -0.004137559328228235, 0.07092155516147614, 0.034992463886737823, 0.007675675675272942, 0.02094302698969841, -0.012532098218798637, -0.045482710003852844, -0.029428888112306595, 0.001312451553530991, 0.01615685224533081, -0.06466487795114517, -0.01651277206838131, -0.03403710201382637, 0.052001651376485825, -0.033437661826610565, -0.005718120839446783, -0.05252616107463837, 0.07762782275676727, 0.04540777951478958, 0.04855485260486603, -0.0032290290109813213, -0.039750538766384125, 0.021092887967824936, -0.03840179368853569, 0.006027208641171455, -0.008794947527348995, 0.008448394946753979, 0.01271942351013422, 0.012354138307273388, -0.051252346485853195, 0.00045485052396543324, -0.01580093428492546, -0.02058710902929306, 0.005994426552206278, 0.04503312706947327, -0.005188925191760063, -0.02547631226480007, -0.014143100008368492, 0.004636314231902361, -0.02768675796687603, -0.03227623924612999, 0.003800372825935483, 0.018938641995191574, 0.03885137662291527, -0.009619181044399738, -0.06436515599489212, 0.03847672417759895, -0.012073149904608727, -0.027874082326889038, 0.08909216523170471, -0.030852563679218292, 0.008228287100791931, -0.03163933381438255, 0.011988853104412556, -0.029747340828180313, 0.008584205992519855, -0.00998446624726057, 0.04068716987967491, -0.00965664628893137, -0.092763751745224, -0.01252273190766573, 0.03298807889223099, -0.03222004324197769, 0.04016265645623207, 0.0013499167980626225, 0.02328460104763508, 0.05361265316605568, -0.01612875424325466, 0.055261120200157166, 0.023865310475230217, 0.04664413258433342, -0.008701284416019917, -0.006837392691522837, 0.03945082053542137, 0.08639467507600784, -0.024633346125483513, -0.03986293449997902, 0.017243342474102974, -0.00476275896653533, 0.03225750848650932, -0.041061822324991226, -0.01183899212628603, -0.0014283594209700823, 0.09246402978897095, 0.020755700767040253, -0.06893590092658997, 0.018414128571748734, 0.012073149904608727, 0.013815280050039291, 0.00776933878660202, -0.04761822521686554, 0.03787728399038315, -0.07785261422395706, 0.0008435515919700265, -0.035067394375801086, 0.08557043969631195, 0.024314891546964645, -0.051214881241321564, -0.04057477414608002, -0.032032717019319534, -0.038158271461725235, 0.028866909444332123, -0.03742770105600357, 0.015510578639805317, 0.09313840419054031, -0.015107828192412853, 0.06166766211390495, 0.04064970463514328, 0.05181432515382767, 0.01226047519594431, 0.003179855877533555, -0.037764888256788254, -0.0074181025847792625, -0.018039477989077568, 0.006045941263437271, 0.05383744090795517, 0.006458058021962643, 0.00805969350039959, 0.02371544949710369, -0.03782108426094055, -0.08107461780309677, -0.02032485231757164, -0.012625760398805141, 0.020924294367432594, 0.0064674243330955505, -0.02407136932015419, -0.03562937304377556, -0.03933842480182648, -0.04211084544658661, 0.004060287494212389, 0.003961941227316856, -0.04334719479084015, 0.053987301886081696, -0.017280807718634605, -0.025850964710116386, -0.016896789893507957, -0.0422232411801815, -0.054249558597803116, 0.02944762073457241, -0.08257322758436203, -0.005839882884174585, 0.032126378268003464, 0.03458034619688988, 0.05305067449808121, 0.05878284573554993, 0.03933842480182648, -0.0019259436521679163, 0.05181432515382767, -0.03135834261775017, 0.0020278021693229675, 0.014086902141571045, 0.025382649153470993, 0.005287271458655596, -0.019650479778647423, 0.023172205314040184, -0.00013295742974150926, -0.06575136631727219, 0.018198704347014427, 0.04196098446846008, -0.02019372396171093, -0.05953214690089226, 0.047992877662181854, -0.03778361901640892, 0.017084116116166115, -0.009188331663608551, 0.018095673993229866, -0.012045050971210003, -0.0026553436182439327, 0.003252444788813591, -0.061705127358436584, -0.012953581288456917, -0.007277608383446932, -0.07586695998907089, 0.02654406987130642, 0.039750538766384125, 0.03325033560395241, 0.012223009951412678, 0.05338786169886589, 0.010808700695633888, 0.01921962946653366, -0.027855349704623222, 0.007141797337681055, 0.03424316272139549, -0.015519944950938225, 0.009853338822722435, -0.03739023581147194, 0.03725910559296608, -0.017056016251444817, -0.032070182263851166, 0.007956664077937603, 0.009061886928975582, -0.009562983177602291, 0.018386030569672585, 0.022891215980052948, 0.033831045031547546, 0.02410883456468582, 0.016943620517849922, -0.00657045328989625, -0.02680632658302784, -0.04795541241765022, -0.014770641922950745, -0.007404053118079901, -0.031002424657344818, -0.026375476270914078, 0.018994837999343872, 0.07545484602451324, 0.06369078159332275, 0.023340798914432526, -0.03870151564478874, 0.019519351422786713, -0.03650980442762375, 0.03458034619688988, -0.041249148547649384, 0.03223877400159836, -0.03160186856985092, 0.04510805755853653, 0.03645360469818115, -0.008204870857298374, 0.004062628839164972, -0.0368095263838768, 0.003177514299750328, 0.03933842480182648, 0.002484408672899008, -0.016531504690647125, -0.0163535438477993, 0.03827066719532013, -0.005956961307674646, -0.016859324648976326, -0.016962353140115738, 0.025850964710116386, 0.034411754459142685, -0.0545867457985878, 0.00021586375078186393, -0.014920501969754696, -0.05413716286420822, -0.011501805856823921, -0.026881257072091103, 0.028735781088471413, -0.006420592777431011, -0.02914789877831936, -0.00345616159029305, 0.015754101797938347, -0.0163535438477993, -0.03469274193048477, -0.039975330233573914, -0.05653493478894234, 0.023659251630306244, -0.008218920789659023, 0.0687485784292221, 0.009506785310804844, 0.05683465674519539, 0.008710650727152824, -0.0551861897110939, -0.012578928843140602, -0.028286200016736984, 0.04537031427025795, 0.028679583221673965, 0.014405355788767338, -0.030964959412813187, 0.01452711783349514, -0.004842372611165047, -0.02746196649968624, -0.006458058021962643, -0.00890734326094389, 0.017440034076571465, 0.01573536917567253, -0.03759629279375076, 0.03576049953699112, 0.009534884244203568, -0.0029737974982708693, 0.05679719150066376, -0.025776034221053123, 0.021149085834622383, -0.039563216269016266, -0.010012565180659294, 0.008897976949810982, 0.06342852860689163, 0.0030206290539354086, -0.011501805856823921, 0.0007902808138169348, 0.011408142745494843, -0.09426235407590866, -0.057958610355854034, 0.055972956120967865, 0.02703111618757248, 0.006411226466298103, -0.06309133768081665, -0.01579156704246998, 0.02768675796687603, -0.017411936074495316, 0.024258695542812347, 0.002990188542753458, 0.007881734520196915, 0.03783981874585152, -0.043047476559877396, -0.00649084011092782, 0.04488326981663704, 0.03594782575964928, -0.07406863570213318, 0.0045239184983074665, 0.029072968289256096, 0.05335039645433426, 0.00438810745254159, -0.010096861980855465, 0.026169417425990105, 0.057434096932411194, -0.0024024536833167076, -0.010153059847652912, 0.02195458672940731, 0.06387810409069061, 0.06620094925165176, 0.0360976867377758, -0.05192672088742256, -0.0032290290109813213, 0.0167375635355711, 0.00478851655498147, 0.021317679435014725, 0.02305980958044529, 0.009464637376368046, -0.019950199872255325, 0.011913922615349293, 0.051252346485853195, 0.03310047462582588, -0.013759082183241844, -0.026169417425990105, -0.0003336741356179118, 0.002047705464065075, -0.029841003939509392, 0.04559510573744774, -0.025232788175344467, -0.03574176877737045, -0.006420592777431011, -0.0011087347520515323, -0.008766848593950272, -0.06657560169696808, 0.0040485793724656105, 0.014714444056153297, -0.01563234068453312, -0.07039704918861389, 0.05166446417570114, 0.012616394087672234, -0.03521725535392761, 0.021673597395420074, 0.05855805426836014, -0.04334719479084015, -0.004959451500326395, -0.01095856074243784, -0.030103260651230812, -0.05170192942023277, -0.049753740429878235, 0.022554028779268265, -0.023078542202711105, 0.006945105269551277, 0.027499431744217873, 0.03488006815314293, -0.03358751907944679, 0.02543884702026844, 0.01216681208461523, 0.018030110746622086, 0.0049219862557947636, -0.039038702845573425, 0.006097455509006977, -0.03302554413676262, -0.006874857936054468, -0.004968817345798016, 0.034542880952358246, -0.011932655237615108, -0.03986293449997902, -0.06916069239377975, -0.010199891403317451, -0.0714835375547409, -0.10055650770664215, 0.008120574988424778, 0.03945082053542137, 0.041249148547649384, -0.03495499864220619, 0.036135151982307434, 0.0018404762959107757, 0.018554622307419777, -0.011876457370817661, 0.007029401604086161, 0.04488326981663704, -0.08504592627286911, 0.023209670558571815, -0.041024357080459595, 0.05207657814025879, 0.03015945851802826, -0.0001302499877056107, -0.040050260722637177, -0.007713140919804573, -0.01684059202671051, 0.015950793400406837, 0.0005294881411828101, 0.020868096500635147, 0.08144927024841309, -0.041511401534080505, -0.011651666834950447, -0.006303513888269663, -0.0013370381202548742, -0.04443368688225746, -0.0151640260592103, 0.012569563463330269, -0.06106821820139885, 0.01693425513803959, -0.02156120352447033, -0.012485266663134098, 0.04630694538354874, -0.001990336924791336, -0.04072463512420654, -0.019200896844267845, -0.017571162432432175, -0.047505829483270645, -0.012513365596532822, -0.01049024611711502, 0.02371544949710369, -0.003961941227316856, 0.0020102402195334435, 0.013000412844121456, -0.03922602906823158, 0.055935490876436234, -0.03559190779924393, 0.06533924490213394, 0.013112807646393776, -0.027874082326889038, 0.08002559095621109, -0.016690731048583984, -0.01798328012228012, -0.020568376407027245, -0.0012960605090484023, -0.01664390042424202, 0.006799927446991205, 0.002545289695262909, -0.024446019902825356, 0.015295153483748436, 0.06125554442405701, 0.05735916644334793, 0.05537351593375206, -0.027143511921167374, 0.012007585726678371, 0.04788048192858696, 0.036491069942712784, -0.021767260506749153, 0.008125257678329945, -0.014808106236159801, -0.07500526309013367, 0.012597661465406418, 0.019332025200128555, 0.005231073591858149, -0.027930280193686485, -0.012784987688064575, -0.022554028779268265, -0.0866943895816803, -0.008303217589855194, 0.005221707280725241, 0.01444282103329897, -0.009469320997595787, 0.0004185561556369066, -0.01444282103329897, 0.07942614704370499, 0.00271622440777719, 0.01931329257786274, -0.008888610638678074, -0.0008295021834783256, 0.04847992584109306, -0.06271668523550034, 0.004964134190231562, 0.09995706379413605, 0.041024357080459595, -0.09531138092279434, -0.007249509450048208, -0.024352356791496277, 0.023041076958179474, 0.06432768702507019, -0.017449401319026947, -0.03971307352185249, 0.005109312012791634, 0.011052223853766918, 0.055935490876436234, -0.04072463512420654, 0.001684761606156826, 0.03015945851802826, -0.010218624025583267, -0.044808339327573776, -0.03677206113934517, -0.039300959557294846, -0.015716636553406715, 0.0654141753911972, -0.017664825543761253, -0.002835644641891122, 0.00688890740275383, -0.03986293449997902, -0.035610638558864594, -0.015004798769950867, -0.02755562961101532, 0.05559830367565155, -0.05990679934620857, -0.004308493807911873, -0.015857132151722908, 0.0005725145456381142, -0.025626173242926598, 0.08099968731403351, 0.007221410516649485, 0.035910360515117645, 0.023396994918584824, -0.0655265748500824, 0.008457761257886887, 0.01402133796364069, 0.03158313408493996, -0.006116188131272793, 0.020830631256103516, -0.05211404338479042, 0.024408554658293724, -0.01872321590781212, -0.036434873938560486, -0.07601682096719742, -0.05406223237514496, 0.025588707998394966, 0.024745741859078407, 0.05305067449808121, 0.005160826724022627, 0.08129940927028656, -0.0012749864254146814, 0.017636727541685104 ]
11,042
burnman.classes.polytope
_decompose_vertices_into_simplices
Decomposes a set of vertices into simplices by Delaunay triangulation.
def _decompose_vertices_into_simplices(self, vertices): """ Decomposes a set of vertices into simplices by Delaunay triangulation. """ # Delaunay triangulation only works in dimensions > 1 # and we remove the nullspace (sum(fractions) = 1) if len(vertices) > 2: nulls = np.repeat(vertices[:, -1], vertices.shape[1]).reshape( vertices.shape ) tri = Delaunay((vertices - nulls)[:, :-1]) return tri.simplices else: return [[0, 1]]
(self, vertices)
[ -0.025118231773376465, -0.013137958012521267, 0.000353554030880332, -0.03174860402941704, -0.03837897256016731, -0.00680577801540494, 0.02581985853612423, 0.010182355530560017, 0.04002779722213745, 0.03330972045660019, -0.02111895941197872, 0.005985751748085022, -0.0649004578590393, -0.023820223286747932, -0.024855121970176697, 0.0053937542252242565, -0.01545332558453083, -0.007283761166036129, 0.01319057960063219, 0.03518657386302948, -0.011892570182681084, -0.06293590366840363, 0.034730516374111176, 0.08615974336862564, -0.0353444404900074, -0.01468153577297926, 0.008647548034787178, -0.021522395312786102, 0.008656318299472332, -0.04679849371314049, -0.015655042603611946, 0.04967516288161278, -0.0050473264418542385, -0.002771425060927868, 0.015690123662352562, 0.09528089314699173, 0.021259285509586334, 0.020768146961927414, -0.022574834525585175, 0.04795617610216141, 0.012725751847028732, -0.05353410914540291, 0.022346805781126022, -0.017216162756085396, 0.048798128962516785, 0.04346576705574989, 0.06181330233812332, 0.013339675031602383, -0.04462344944477081, 0.01784762553870678, 0.04136088863015175, -0.023329084739089012, 0.02843341790139675, 0.05697207897901535, -0.011454054154455662, -0.02778441272675991, 0.025960182771086693, 0.07388127595186234, 0.00969998724758625, 0.0370108038187027, 0.005687560420483351, -0.04490410163998604, 0.007125895004719496, 0.01676887460052967, -0.00847214087843895, -0.01866326667368412, 0.01834753528237343, -0.013295823708176613, -0.04693881794810295, -0.02385530434548855, -0.011357580311596394, 0.041816942393779755, -0.047324713319540024, -0.010848901234567165, 0.03995763510465622, 0.005310436245054007, 0.04557064548134804, 0.03395872563123703, -0.0018417697865515947, -0.047219470143318176, 0.030292727053165436, -0.049605000764131546, -0.03320447728037834, 0.015970775857567787, 0.054797034710645676, 0.0343446210026741, 0.02622329257428646, 0.02795981988310814, -0.0853879526257515, 0.005165725480765104, 0.011787327006459236, 0.016400521621108055, -0.01643560267984867, 0.06753155589103699, -0.0006172121502459049, 0.01652330532670021, -0.05086792632937431, -0.0508328452706337, 0.021732883527874947, -0.0338885635137558, 0.027573924511671066, -0.03108205832540989, -0.13786962628364563, 0.008287964388728142, -0.008647548034787178, 0.0018658882472664118, 0.04300970956683159, -0.023627275601029396, 0.021592557430267334, -0.030766325071454048, 0.007761743851006031, 0.05276231840252876, 0.0231887586414814, 0.026995083317160606, -0.026346078142523766, -0.039501577615737915, 0.047886013984680176, -0.020908471196889877, -0.02555674873292446, -0.0023131752386689186, -0.04209759458899498, 0.005946285091340542, -0.0539550855755806, 0.008415133692324162, -0.01717231050133705, -0.0169442817568779, 0.021154042333364487, 0.004564958158880472, -0.0032822969369590282, 0.019943736493587494, 0.0338885635137558, 0.022399429231882095, -0.0419221892952919, 0.025767236948013306, -0.019838491454720497, -0.02843341790139675, 0.025048069655895233, -0.014207938686013222, 0.016988134011626244, -0.03495854511857033, -0.0649004578590393, -0.020926013588905334, -0.004043123219162226, 0.11092716455459595, -0.030941732227802277, -0.010910293087363243, 0.06447948515415192, 0.003124430775642395, -0.009989408776164055, -0.0009587069507688284, -0.016418062150478363, 0.03648458048701286, 0.02524101547896862, -0.0827217772603035, 0.019259650260210037, -0.09780674427747726, -0.055463582277297974, -0.01990865357220173, 0.01569889485836029, 0.02836325392127037, -0.044833939522504807, -0.001141239539720118, -0.02646886371076107, 0.04399198666214943, -0.04844731464982033, 0.00040425750194117427, 0.05763862282037735, -0.02466217428445816, -0.06188346445560455, 0.011752245016396046, 0.03683539479970932, 0.043956905603408813, -0.11387399584054947, 0.003861138829961419, 0.03397626802325249, -0.017409110441803932, 0.039256006479263306, 0.007489863783121109, -0.004753520246595144, -0.017075836658477783, -0.0219609122723341, -0.01274329237639904, -0.004288692492991686, -0.015979545190930367, 0.03981730714440346, 0.041150398552417755, 0.05360427126288414, -0.027065245434641838, 0.036309175193309784, -0.0338885635137558, -0.04062417894601822, 0.021311907097697258, 0.025205934420228004, 0.06504078209400177, 0.028714068233966827, -0.013848355039954185, -0.03230990469455719, -0.00542883574962616, -0.0938776358962059, -0.07303933054208755, -0.05897171422839165, -0.042062513530254364, 0.038133405148983, -0.007932765409350395, 0.009892934933304787, 0.03504624590277672, -0.025135772302746773, -0.011953962966799736, 0.03373069688677788, 0.038519300520420074, 0.011006766930222511, -0.03978222608566284, 0.035730332136154175, -0.05469179153442383, -0.031783685088157654, -0.04406214877963066, 0.047149308025836945, 0.009191308170557022, 0.03450248762965202, -0.012243383564054966, -0.03238006681203842, -0.003135393839329481, 0.0029424463864415884, -0.030292727053165436, -0.02532871998846531, -0.04037861153483391, 0.01319057960063219, -0.010287599638104439, -0.014427196234464645, -0.0686892420053482, 0.00734076788648963, -0.0728989988565445, -0.016172492876648903, -0.04202743247151375, -0.02268007956445217, 0.0206278208643198, -0.01055947970598936, -0.07472322881221771, 0.07132034003734589, -0.013120417483150959, -0.029047340154647827, -0.08433551341295242, 0.032941367477178574, -0.003157319501042366, -0.01890883594751358, 0.04293954744935036, -0.0035892585292458534, -0.03929108753800392, -0.019610462710261345, 0.024188576266169548, -0.05416557192802429, 0.0002770876744762063, 0.0126555897295475, -0.0142693305388093, 0.03627409413456917, -0.07317965477705002, 0.011532986536622047, -0.016988134011626244, -0.020820768550038338, 0.000020726762159029022, -0.034572649747133255, -0.049605000764131546, 0.012585426680743694, 0.03795799985527992, 0.045009344816207886, -0.021399611607193947, 0.04269397631287575, 0.02015422284603119, 0.006748770829290152, 0.011682082898914814, 0.03560755029320717, -0.002111457521095872, 0.0009088256629183888, -0.03116976097226143, 0.009200078435242176, 0.020101601257920265, -0.023960547521710396, 0.002653025556355715, 0.05416557192802429, 0.028100144118070602, -0.04406214877963066, -0.0034467405639588833, -0.026118049398064613, 0.009849082678556442, -0.02096109464764595, -0.009621054865419865, 0.03248530998826027, -0.07040822505950928, 0.0026267145294696093, -0.002422804245725274, 0.037607185542583466, -0.015479636378586292, 0.002206834964454174, -0.04223791882395744, -0.008055550046265125, 0.010805048979818821, -0.005301665980368853, -0.03480067849159241, 0.019031621515750885, -0.02696000225841999, 0.019628003239631653, -0.020838309079408646, 0.01643560267984867, -0.00953335128724575, 0.03837897256016731, -0.03651966527104378, -0.03788783401250839, -0.042623814195394516, 0.006297098472714424, -0.06440932303667068, -0.054621629416942596, -0.06402342766523361, -0.0457109734416008, -0.009594743140041828, 0.002154212910681963, 0.013348445296287537, -0.025205934420228004, 0.03257301449775696, 0.039080601185560226, 0.0680226981639862, -0.0021947757340967655, 0.023662356659770012, -0.05178004130721092, 0.07738941162824631, -0.04651784151792526, 0.0940881222486496, 0.009349173866212368, -0.025521667674183846, -0.006099766120314598, 0.001579756150022149, -0.018628185614943504, 0.05300788953900337, -0.011804867535829544, 0.03541460260748863, -0.045500483363866806, -0.01917194575071335, 0.09128161519765854, 0.0030104166362434626, -0.024188576266169548, -0.03743177652359009, 0.06714566051959991, -0.021645180881023407, 0.0340113490819931, 0.015234067104756832, 0.03264317661523819, 0.03229236230254173, -0.025749696418642998, -0.041395969688892365, 0.053639352321624756, 0.015751516446471214, 0.0006407824112102389, -0.0007646633312106133, -0.027661627158522606, 0.07310949265956879, 0.010305140167474747, 0.03855438157916069, 0.0030674238223582506, 0.0187334306538105, -0.0176722202450037, 0.03795799985527992, 0.04802633821964264, 0.015225296840071678, 0.019294731318950653, -0.007866987958550453, 0.059813667088747025, -0.03816848620772362, 0.0066391415894031525, -0.03008223883807659, -0.026275916025042534, -0.004534261766821146, -0.03518657386302948, 0.019382433965802193, 0.013059024699032307, 0.02467971481382847, -0.027977360412478447, 0.0034379702992737293, 0.012217072769999504, 0.043711334466934204, 0.0005108718760311604, 0.04153629392385483, -0.026819676160812378, -0.020013898611068726, 0.04581621661782265, 0.008068705908954144, 0.01890883594751358, 0.017689760774374008, -0.06437423825263977, -0.011778555810451508, -0.029380613937973976, -0.005744567606598139, -0.028222929686307907, -0.0025543593801558018, 0.0006714785704389215, -0.04907878115773201, 0.007735433056950569, -0.0025609370786696672, 0.005893663503229618, 0.016260195523500443, -0.0017365257954224944, 0.024942824617028236, -0.011462824419140816, -0.07528453320264816, -0.030713703483343124, 0.04900861531496048, -0.0657774955034256, -0.04588637873530388, 0.05202561244368553, 0.0008518185350112617, 0.06307622790336609, -0.03204679489135742, 0.1027882918715477, 0.05946285277605057, 0.02096109464764595, -0.027433598414063454, 0.035730332136154175, 0.03166089951992035, -0.0477106086909771, 0.04209759458899498, 0.032520391047000885, 0.037361614406108856, 0.04907878115773201, 0.05532325431704521, -0.0013988680439069867, -0.033590372651815414, -0.010743657127022743, -0.030310267582535744, -0.0686892420053482, 0.011357580311596394, 0.02646886371076107, 0.059076957404613495, 0.0363442562520504, -0.07303933054208755, 0.00023022122331894934, -0.10889244824647903, -0.027591465041041374, 0.029240287840366364, 0.04644767940044403, 0.034660354256629944, 0.03287120535969734, 0.0370108038187027, 0.0501663014292717, 0.045746054500341415, -0.018558023497462273, -0.0778103843331337, 0.06349720805883408, -0.03134516626596451, -0.04027336463332176, -0.00530605111271143, 0.0015709857689216733, 0.010726116597652435, 0.022820403799414635, -0.0013473422732204199, 0.024732336401939392, -0.07788055390119553, -0.0067750816233456135, 0.03616885095834732, 0.06686501204967499, 0.028889475390315056, -0.05848057568073273, 0.019610462710261345, 0.10061325132846832, 0.007638959214091301, 0.00018171031842939556, 0.015751516446471214, 0.016260195523500443, -0.008406363427639008, -0.0026354847941547632, -0.002602596068754792, -0.03795799985527992, 0.026293456554412842, 0.07009249180555344, -0.022662539035081863, -0.021750424057245255, -0.01917194575071335, 0.04343068599700928, 0.012199532240629196, -0.01834753528237343, 0.019505219534039497, 0.03446740657091141, -0.009936786256730556, -0.0789329931139946, 0.015742747113108635, -0.019364893436431885, 0.023416787385940552, -0.022574834525585175, 0.03320447728037834, -0.038799948990345, -0.005696330685168505, 0.008665088564157486, -0.037361614406108856, 0.022960729897022247, 0.010199896059930325, -0.0026289070956408978, 0.014646454714238644, 0.03569525107741356, 0.04985056817531586, 0.0017606442561373115, -0.03541460260748863, 0.076266810297966, 0.016146181151270866, 0.00977892056107521, -0.03841405361890793, 0.02532871998846531, -0.030520755797624588, -0.007349538616836071, -0.029819129034876823, 0.0889662504196167, 0.037537023425102234, -0.023539571091532707, -0.014014991000294685, -0.04367625340819359, 0.0006511971587315202, -0.04030844569206238, 0.04167661815881729, 0.014260560274124146, 0.06255000829696655, 0.0009592550923116505, 0.0067619262263178825, -0.036624908447265625, 0.011155862361192703, 0.0222941841930151, 0.026539025828242302, -0.031380247324705124, 0.088755764067173, -0.051920365542173386, -0.005748952738940716, -0.029205206781625748, -0.0297665074467659, 0.013927287422120571, 0.013760651461780071, -0.022750241681933403, -0.004040930420160294, 0.015435785055160522, 0.020189305767416954, 0.03420429676771164, 0.003878679359331727, -0.05409540981054306, -0.057007160037755966, 0.003747124457731843, 0.002946831751614809, 0.03453756868839264, 0.058340251445770264, -0.06416375190019608, -0.019628003239631653, -0.007831906899809837, -0.027766872197389603, 0.02729327417910099, 0.03764226660132408, -0.03238006681203842, 0.0069724139757454395, -0.016304047778248787, -0.004179063253104687, 0.023294001817703247, -0.010164815001189709, 0.034818220883607864, -0.027275733649730682, -0.030450593680143356, -0.019277190789580345, -0.05788419395685196, 0.03208187595009804, -0.025100691244006157, -0.0457109734416008, 0.029906833544373512, 0.02829309180378914, -0.014067612588405609, 0.050096139311790466, 0.062269359827041626, 0.017812544479966164, -0.0022737085819244385, -0.0005689752870239317, 0.0035848733969032764, -0.06714566051959991, -0.011927652172744274, 0.02802998200058937, -0.006358490791171789, -0.03562508895993233, 0.014304411597549915, -0.06707549840211868, 0.0051131038926541805, -0.02031208947300911, -0.007884528487920761, 0.01422547921538353, -0.03311677649617195, 0.019592922180891037, 0.018522942438721657, 0.026679350063204765, 0.004692127928137779, 0.009849082678556442, 0.027644086629152298, -0.004211951978504658, -0.004714053589850664, -0.05034170672297478, 0.018873754888772964, 0.010594561696052551, -0.00883611012250185, -0.011945192702114582, 0.008415133692324162, -0.004163715057075024, -0.011866259388625622, -0.009033442474901676, -0.018470318987965584, 0.03280104324221611, 0.06409358978271484, 0.04876304790377617, 0.0005401976522989571, -0.05427081510424614, -0.0306610818952322, -0.05925236642360687, 0.03936124965548515, 0.004207566846162081, -0.000754248583689332, 0.035818036645650864, 0.008599311113357544, 0.00624886155128479, -0.05392000451683998, 0.01619003340601921, -0.05086792632937431, -0.00542883574962616, -0.003229674883186817, 0.04985056817531586, -0.010533168911933899, -0.00637164618819952, -0.007020650897175074, -0.021522395312786102, -0.026433780789375305, 0.025012986734509468, 0.05483211576938629, -0.031853847205638885, 0.013813273049890995, -0.011410201899707317, 0.013322134502232075, -0.04823682829737663, 0.037361614406108856, 0.045675888657569885, -0.03420429676771164, -0.04199235141277313, -0.0432552769780159, 0.015225296840071678, -0.0039049903862178326, 0.02401316910982132, 0.0026793365832418203, -0.0037361616268754005, 0.008779102936387062, -0.03173106163740158, 0.026924919337034225, -0.04662308469414711, -0.015356851741671562, -0.04935942962765694, 0.009401796385645866, 0.06584765762090683, -0.02096109464764595, 0.057112403213977814, -0.011989044025540352, 0.046237193048000336, -0.028573742136359215, 0.07500388473272324, 0.003709850599989295, -0.01783008500933647, -0.035151492804288864, -0.017382798716425896, 0.04872796684503555, -0.016172492876648903, 0.04486902058124542, -0.025223474949598312, 0.06963644176721573, 0.03897535800933838, 0.022259103134274483, 0.03616885095834732, -0.0033897333778440952, -0.022873027250170708, -0.012716981582343578, 0.011568068526685238, 0.01908424310386181, -0.0053279767744243145, 0.01784762553870678, 0.0030893494840711355, 0.006047144066542387, -0.014181626960635185, -0.061708059161901474, -0.014330723322927952, 0.019628003239631653, -0.04430771991610527, -0.005617397837340832, -0.034888383001089096, -0.049043696373701096, -0.05690191686153412, -0.023486949503421783, -0.07942412793636322, -0.0011620690347626805, -0.005683175288140774, 0.05255183205008507, -0.017216162756085396, 0.05497244372963905, 0.02383776381611824, -0.004477254580706358, 0.022995810955762863, 0.030871570110321045, 0.0052709695883095264, 0.016751334071159363, 0.02795981988310814, 0.035309359431266785, -0.02827555127441883, -0.03904552012681961, 0.029082421213388443, 0.03841405361890793, 0.031134679913520813, -0.009094834327697754, -0.01237493846565485, 0.022066155448555946, 0.007581952027976513, -0.007323227357119322, 0.00793715100735426, 0.004192218650132418, -0.010401614010334015, -0.007647729944437742, -0.02483758144080639, -0.06854891777038574, 0.02843341790139675, 0.007450397126376629, 0.025854939594864845, -0.03553738817572594, 0.006652296986430883, 0.01678641512989998, 0.008998360484838486, -0.028240470215678215, 0.01955784112215042, 0.060971349477767944, -0.013322134502232075, -0.06388310343027115, -0.03641441836953163, -0.03180122375488281, 0.04858764261007309, -0.017689760774374008, 0.0419221892952919, 0.005240273661911488, 0.024644633755087852, -0.0020434875041246414, 0.020434875041246414, -0.02936307154595852, 0.007608263287693262, -0.005573546048253775, -0.03430953994393349, -0.02276778221130371, 0.0376773476600647, -0.015356851741671562, -0.027609005570411682, 0.08103787153959274, 0.017689760774374008, -0.03872978687286377, -0.05679666996002197, 0.013129187747836113, 0.06830334663391113, -0.07061871886253357, -0.04020320251584053, -0.01390097662806511, -0.050692521035671234, -0.004586883820593357, -0.008366896770894527, -0.07710876315832138, -0.102577805519104, -0.043290361762046814, 0.07633697241544724, 0.027994900941848755, 0.039501577615737915, -0.013672947883605957, 0.04430771991610527, 0.03437970206141472, 0.03395872563123703 ]
11,043
burnman.classes.polytope
grid
Create a grid of points which span the polytope. :param points_per_edge: Number of points per edge of the polytope. :type points_per_edge: int :param unique_sorted: The gridding is done by splitting the polytope into a set of simplices. This means that points will be duplicated along vertices, faces etc. If unique_sorted is True, this function will sort and make the points unique. This is an expensive operation for large polytopes, and may not always be necessary. :type unique_sorted: bool :param grid_type: Whether to grid the polytope in terms of independent endmember proportions or site occupancies. Choices are 'independent endmember proportions' or 'site occupancies' :type grid_type: str :param limits: Additional inequalities restricting the gridded area of the polytope. :type limits: numpy.array (2D) :returns: A list of points gridding the polytope. :rtype: numpy.array (2D)
def grid( self, points_per_edge=2, unique_sorted=True, grid_type="independent endmember proportions", limits=None, ): """ Create a grid of points which span the polytope. :param points_per_edge: Number of points per edge of the polytope. :type points_per_edge: int :param unique_sorted: The gridding is done by splitting the polytope into a set of simplices. This means that points will be duplicated along vertices, faces etc. If unique_sorted is True, this function will sort and make the points unique. This is an expensive operation for large polytopes, and may not always be necessary. :type unique_sorted: bool :param grid_type: Whether to grid the polytope in terms of independent endmember proportions or site occupancies. Choices are 'independent endmember proportions' or 'site occupancies' :type grid_type: str :param limits: Additional inequalities restricting the gridded area of the polytope. :type limits: numpy.array (2D) :returns: A list of points gridding the polytope. :rtype: numpy.array (2D) """ if limits is None: if grid_type == "independent endmember proportions": f_occ = self.endmembers_as_independent_endmember_amounts / ( points_per_edge - 1 ) elif grid_type == "site occupancies": f_occ = self.endmember_occupancies / (points_per_edge - 1) else: raise Exception( "grid type not recognised. Should be one of " "independent endmember proportions " "or site occupancies" ) simplices = self._decompose_vertices_into_simplices( self.endmembers_as_independent_endmember_amounts ) else: if grid_type == "independent endmember proportions": ppns = np.array( self.subpolytope_from_independent_endmember_limits( limits ).get_generators()[:] )[:, 1:] last_ppn = np.array([1.0 - sum(p) for p in ppns]).reshape( (len(ppns), 1) ) vertices_as_independent_endmember_proportions = np.hstack( (ppns, last_ppn) ) f_occ = vertices_as_independent_endmember_proportions / ( points_per_edge - 1 ) elif grid_type == "site occupancies": occ = np.array( self.subpolytope_from_site_occupancy_limits( limits ).get_generators()[:] )[:, 1:] f_occ = occ / (points_per_edge - 1) ind = self.independent_endmember_occupancies vertices_as_independent_endmember_proportions = ( np.linalg.lstsq( np.array(ind.T).astype(float), np.array(occ.T).astype(float), rcond=None, )[0] .round(decimals=12) .T ) else: raise Exception( "grid_type not recognised. " "Should be one of " "independent endmember proportions " "or site occupancies" ) simplices = self._decompose_vertices_into_simplices( vertices_as_independent_endmember_proportions ) n_ind = f_occ.shape[1] n_simplices = len(simplices) dim = len(simplices[0]) simplex_grid = SimplexGrid(dim, points_per_edge) grid = simplex_grid.grid("array") points_per_simplex = simplex_grid.n_points() n_points = n_simplices * points_per_simplex points = np.empty((n_points, n_ind)) idx = 0 for i in range(0, n_simplices): points[idx : idx + points_per_simplex] = grid.dot(f_occ[simplices[i]]) idx += points_per_simplex if unique_sorted: points = np.unique(points, axis=0) return points
(self, points_per_edge=2, unique_sorted=True, grid_type='independent endmember proportions', limits=None)
[ 0.036990731954574585, -0.01704656332731247, -0.044717688113451004, 0.026037365198135376, -0.058198753744363785, -0.0020794442389160395, -0.008569519966840744, -0.040895309299230576, -0.05355435982346535, -0.013696846552193165, 0.0010686211753636599, -0.02396177500486374, -0.003629715647548437, 0.014549688436090946, -0.03172982856631279, 0.025215350091457367, 0.03483293950557709, -0.06859725713729858, -0.025297552347183228, 0.013594094663858414, -0.027763599529862404, -0.05273234471678734, 0.06650111824274063, 0.03653862327337265, 0.005420169793069363, 0.017149314284324646, 0.0064168646931648254, 0.03992944210767746, 0.01517647597938776, -0.04907437413930893, -0.04512869566679001, -0.02558525651693344, -0.03401092439889908, 0.01785830408334732, 0.07513228803873062, -0.00217320560477674, 0.011456851847469807, 0.06271984428167343, -0.06469268351793289, 0.06719983369112015, -0.007064202334731817, -0.04541639983654022, 0.022256091237068176, 0.05560940131545067, 0.019903069362044334, 0.011600704863667488, 0.052362438291311264, 0.028955524787306786, -0.05593821033835411, -0.005368793848901987, -0.008944564498960972, -0.03177092969417572, 0.02420837990939617, 0.021187469363212585, 0.0015014641685411334, 0.01348106749355793, -0.007228605914860964, 0.03232578933238983, 0.075913205742836, -0.04780024662613869, -0.012659050524234772, -0.040299348533153534, 0.015022347681224346, -0.03982669115066528, -0.0002592883538454771, 0.015279227867722511, -0.05384206771850586, -0.025667458772659302, 0.02751699462532997, 0.04833455756306648, 0.008723648265004158, 0.04989638924598694, 0.030044695362448692, -0.014868219383060932, 0.031359922140836716, 0.03799770399928093, 0.028832221403717995, 0.03481239080429077, 0.03740173950791359, -0.06707652658224106, 0.013840699568390846, 0.061116911470890045, 0.014631889760494232, -0.008944564498960972, 0.04792355000972748, 0.05474628508090973, 0.02133132331073284, 0.040854208171367645, -0.018135733902454376, -0.04812905564904213, 0.008569519966840744, 0.0016658673994243145, 0.010444744490087032, 0.019974995404481888, 0.036518074572086334, -0.05371876433491707, -0.028873322531580925, -0.019563987851142883, -0.03477128967642784, -0.06239103525876999, -0.0019317383412271738, -0.04747144132852554, -0.03594266250729561, 0.03357936441898346, 0.025749661028385162, -0.033230010420084, 0.021927284076809883, 0.01773500069975853, -0.030106347054243088, -0.003272652393206954, -0.0859007015824318, 0.08762693405151367, -0.00021256828040350229, 0.007927319966256618, -0.017745276913046837, 0.02231774292886257, -0.040463753044605255, 0.015864914283156395, 0.016471151262521744, -0.0015554089331999421, 0.0034036613069474697, 0.0034576060716062784, -0.04549860209226608, 0.015834089368581772, 0.0028051305562257767, -0.03980613872408867, 0.012987857684493065, 0.01820766180753708, -0.003033753950148821, -0.07689962536096573, 0.0002605727349873632, -0.0012850426137447357, -0.024413883686065674, -0.0048730154521763325, -0.03645642101764679, -0.017056837677955627, 0.04266264662146568, -0.020170224830508232, -0.03929238021373749, -0.02250269614160061, 0.035572756081819534, 0.023817922919988632, 0.008708234876394272, 0.0254619549959898, -0.01425170712172985, 0.01255629863590002, 0.01330638863146305, 0.022132787853479385, 0.024064527824521065, 0.004983473569154739, -0.03639477118849754, -0.04870446398854256, 0.03429862856864929, -0.03583991155028343, 0.012854279950261116, -0.03353826329112053, 0.002347884001210332, 0.04508759453892708, 0.030517354607582092, 0.023900123313069344, -0.08072199672460556, -0.011292449198663235, -0.020714810118079185, 0.05491068959236145, -0.0059442054480314255, 0.03489459306001663, 0.037936050444841385, -0.06555579602718353, -0.0027177913580089808, -0.0010243093129247427, -0.007778329309076071, -0.0136762959882617, -0.06522699445486069, 0.015464181080460548, 0.004803657531738281, 0.014991521835327148, 0.05856866016983986, 0.02313975803554058, -0.0031776067335158587, 0.024886542931199074, 0.03341496363282204, -0.03542890399694443, 0.03666192665696144, -0.05560940131545067, 0.016070418059825897, 0.08142071217298508, 0.0995461717247963, -0.0282979104667902, -0.004256503190845251, -0.02274930104613304, -0.039949990808963776, -0.0005034849746152759, -0.00024018288240768015, 0.05071840435266495, 0.0014757760800421238, 0.018741970881819725, -0.020190775394439697, 0.05297895148396492, -0.0659257099032402, -0.005486958660185337, -0.02825680933892727, 0.020334627479314804, 0.0175603237003088, -0.06304865330457687, -0.008667134679853916, 0.028626717627048492, -0.010033736005425453, -0.02889387309551239, 0.05865086242556572, 0.0795711800456047, 0.03631256893277168, -0.047594744712114334, 0.020704535767436028, 0.002990084234625101, 0.03386707231402397, 0.02400287613272667, -0.017765827476978302, 0.002412104047834873, -0.018022706732153893, 0.018731696531176567, 0.02194783464074135, -0.056349217891693115, -0.010275203734636307, -0.04212833568453789, 0.035490553826093674, -0.028195159509778023, -0.02176288142800331, 0.015988217666745186, -0.0069100745022296906, -0.059061869978904724, 0.023838471621274948, -0.06140461564064026, -0.000231673737289384, -0.0016042161732912064, -0.022831503301858902, -0.009406949393451214, -0.029633687809109688, 0.01644032634794712, 0.006586405448615551, 0.0669943243265152, -0.02408507652580738, -0.04800575226545334, -0.03298340365290642, -0.03086671233177185, -0.04130632057785988, 0.04504649341106415, 0.043772365897893906, 0.032387442886829376, 0.031154418364167213, 0.008620895445346832, 0.0002091967180604115, -0.005114482715725899, -0.04186118021607399, -0.023283611983060837, -0.010018323548138142, -0.04434777796268463, -0.04447108134627342, -0.01401537749916315, 0.04615621641278267, -0.01002346072345972, 0.013368040323257446, -0.03370266780257225, 0.03267514705657959, 0.020509306341409683, 0.05696572735905647, 0.026510026305913925, -0.04927987605333328, 0.026859382167458534, -0.0011842171661555767, -0.003036322770640254, -0.1362902969121933, 0.030065245926380157, 0.026941584423184395, -0.0002722929057199508, 0.0027126537170261145, 0.03343551233410835, -0.022646548226475716, -0.023201409727334976, 0.011908961459994316, -0.009432637132704258, -0.00205504079349339, -0.01718014106154442, 0.003624578006565571, 0.010054286569356918, -0.020704535767436028, -0.01653280295431614, 0.0062986998818814754, 0.01614234410226345, 0.040032193064689636, -0.02687993273139, -0.07336495071649551, -0.017118489369750023, -0.02353021688759327, -0.002484030555933714, 0.05178702622652054, 0.020149674266576767, 0.041203565895557404, -0.04784134775400162, 0.002205315511673689, -0.04599181190133095, 0.05096501111984253, -0.0055897110141813755, 0.038100454956293106, -0.00037183394306339324, 0.024064527824521065, 0.019553713500499725, 0.03637422248721123, -0.07587210088968277, 0.06707652658224106, -0.08688712120056152, -0.03066120855510235, -0.0015155925648286939, 0.010264928452670574, 0.0370112843811512, 0.03910742700099945, -0.016799958422780037, -0.028133507817983627, -0.01566968485713005, 0.021701229736208916, 0.03341496363282204, -0.03138047084212303, 0.015227851457893848, 0.05967838317155838, 0.01772472634911537, 0.03982669115066528, 0.02581131085753441, 0.0021231139544397593, 0.024742690846323967, 0.030640657991170883, 0.0230986587703228, -0.02443443424999714, -0.01644032634794712, 0.01906050369143486, 0.06050039827823639, -0.02387957274913788, 0.009648416191339493, 0.05491068959236145, 0.012124740518629551, 0.05552719905972481, -0.061034709215164185, 0.050389599055051804, 0.010054286569356918, -0.02207113802433014, -0.013439966365695, -0.010943091474473476, -0.022995905950665474, -0.011251348070800304, -0.014878494665026665, 0.03775109723210335, 0.05852755904197693, -0.0012227492406964302, -0.024290582165122032, 0.017282892018556595, 0.012227492406964302, -0.01670748181641102, 0.011857585050165653, -0.021701229736208916, 0.0014166936744004488, 0.006077783182263374, 0.015001797117292881, -0.008271538652479649, -0.033332761377096176, 0.009715205058455467, 0.016173170879483223, -0.032346341758966446, -0.022420493885874748, 0.009699792601168156, 0.03148322552442551, 0.03113386780023575, 0.011497952975332737, -0.02227664180099964, -0.015947116538882256, 0.009299059398472309, -0.015083999373018742, 0.011888410896062851, 0.060171592980623245, -0.023817922919988632, 0.04266264662146568, -0.039518434554338455, -0.03705238550901413, 0.05162262171506882, 0.02455773763358593, 0.01764252409338951, 0.04586850851774216, 0.015895739197731018, -0.019697565585374832, 0.047676943242549896, 0.025708559900522232, 0.020375728607177734, -0.015166200697422028, -0.024311132729053497, 0.031606525182724, 0.04516979679465294, -0.007495760917663574, -0.006262736860662699, -0.031401023268699646, 0.01834123767912388, 0.02313975803554058, -0.02387957274913788, 0.033599916845560074, -0.01081978902220726, -0.01600876823067665, 0.008528418838977814, 0.01648142747581005, -0.030681757256388664, -0.06448718160390854, 0.023160308599472046, -0.02778415009379387, 0.026201769709587097, -0.002067884663119912, 0.0013704552548006177, 0.011312998831272125, -0.008271538652479649, -0.026818281039595604, -0.05285564810037613, 0.04344356060028076, -0.0649803876876831, 0.03396982327103615, 0.05971948429942131, -0.010871165432035923, 0.0603770986199379, -0.009540526196360588, 0.009324747137725353, 0.00017724726058077067, -0.028441764414310455, -0.021886182948946953, -0.04800575226545334, -0.05885636806488037, -0.022379392758011818, 0.03949788212776184, -0.05289674922823906, -0.018146010115742683, -0.004569896962493658, -0.018567293882369995, 0.023817922919988632, -0.03362046554684639, -0.006406589411199093, 0.010634835809469223, 0.005831178277730942, 0.001443666173145175, 0.03867586702108383, 0.052444640547037125, -0.0259346142411232, -0.031668178737163544, 0.028996624052524567, -0.016635553911328316, -0.08318804949522018, -0.04508759453892708, -0.014220882207155228, -0.02258489839732647, 0.058486457914114, 0.05112941190600395, 0.06461048126220703, -0.059061869978904724, -0.006319250445812941, -0.029633687809109688, -0.010038874112069607, 0.004369530361145735, 0.00411008158698678, 0.029428184032440186, 0.020663434639573097, 0.028626717627048492, 0.0031133866868913174, 0.03575770929455757, -0.030948912724852562, -0.05647251754999161, 0.029551485553383827, 0.010604009963572025, -0.022214990109205246, -0.00150274857878685, 0.041203565895557404, -0.05482848733663559, -0.03267514705657959, -0.01828986220061779, 0.02459883689880371, 0.03834706172347069, -0.02026270143687725, 0.03879917040467262, 0.051458220928907394, -0.04356686398386955, -0.046608325093984604, 0.028195159509778023, 0.004569896962493658, -0.004993748851120472, -0.016799958422780037, 0.0010172451147809625, 0.015083999373018742, 0.004338704980909824, -0.10365625470876694, -0.03396982327103615, 0.008600345812737942, -0.027743050828576088, -0.010891715995967388, 0.056225914508104324, -0.0038300822488963604, 0.04899217188358307, 0.06345965713262558, -0.03442193195223808, 0.04182007908821106, -0.04977308586239815, 0.039395131170749664, -0.007521449122577906, 0.057171232998371124, -0.04829345643520355, 0.031606525182724, 0.00039109995122998953, 0.023776821792125702, 0.03668247535824776, -0.05162262171506882, 0.02443443424999714, 0.014806568622589111, -0.038532014936208725, 0.04603291302919388, 0.004641823470592499, 0.05219803377985954, 0.07007689028978348, 0.043772365897893906, -0.002692103385925293, -0.02412617765367031, 0.005250629037618637, 0.058198753744363785, -0.003121093148365617, 0.004688061773777008, 0.06958367675542831, 0.018515916541218758, 0.05766444280743599, -0.008297227323055267, 0.009355572983622551, 0.0023607281036674976, 0.0038917334750294685, 0.02838011272251606, 0.0010320157743990421, 0.017139039933681488, 0.023838471621274948, 0.020026372745633125, 0.010973917320370674, -0.045786306262016296, -0.03279845044016838, 0.10045038908720016, 0.01885499805212021, -0.018659770488739014, 0.029099376872181892, -0.041491273790597916, -0.045786306262016296, -0.005466408561915159, -0.0021616460289806128, 0.07562550157308578, -0.025605807080864906, 0.009232270531356335, -0.03150377422571182, 0.06461048126220703, 0.010953366756439209, 0.04344356060028076, -0.0022464164067059755, 0.031606525182724, 0.022214990109205246, -0.046690523624420166, -0.01079923938959837, -0.025667458772659302, 0.02215333841741085, -0.08248933404684067, -0.013748222962021828, 0.0022220127284526825, 0.01423115748912096, -0.03886082023382187, 0.029983043670654297, 0.0014911888865754008, 0.06588460505008698, -0.038100454956293106, -0.0124946478754282, -0.02180398255586624, 0.048663362860679626, -0.028873322531580925, -0.0547051839530468, 0.015012072399258614, -0.024249481037259102, -0.000131972148665227, -0.006021269131451845, 0.010069699957966805, -0.05018409341573715, -0.042744848877191544, 0.009653554297983646, 0.01884472370147705, -0.0382237583398819, -0.023468565195798874, 0.0438956692814827, -0.04607401415705681, 0.027578646317124367, 0.04738923907279968, 0.01066566165536642, 0.005183840170502663, 0.022646548226475716, 0.04442998021841049, -0.0443066768348217, -0.04882776737213135, 0.02550305612385273, -0.02227664180099964, 0.0030568731017410755, 0.022338293492794037, -0.02696213498711586, -0.053266655653715134, 0.06382956355810165, 0.015834089368581772, -0.010686212219297886, 0.01834123767912388, -0.0745568796992302, -0.011878135614097118, -0.051540423184633255, -0.01695408672094345, 0.04451218247413635, 0.013183086179196835, 0.02207113802433014, -0.028585616499185562, -0.05881526693701744, -0.036045413464307785, -0.011754833161830902, -0.06230883672833443, 0.05215693265199661, 0.019677015021443367, -0.02133132331073284, -0.04112136363983154, 0.05121161416172981, 0.014672990888357162, 0.007151541765779257, -0.03859366476535797, -0.00002751426654867828, 0.06744644045829773, -0.08137961477041245, 0.02632507123053074, 0.020170224830508232, -0.03980613872408867, -0.03292175382375717, -0.011477402411401272, -0.03212028741836548, 0.020447654649615288, -0.05552719905972481, 0.0033137532882392406, -0.0062986998818814754, -0.012987857684493065, 0.020026372745633125, -0.002663846593350172, -0.007819429971277714, 0.000384356826543808, 0.013090609572827816, -0.015094274654984474, 0.016686931252479553, 0.052526842802762985, -0.01180620864033699, 0.05786994844675064, 0.0019599951338022947, 0.019697565585374832, 0.04927987605333328, -0.03639477118849754, -0.03236689046025276, -0.06428167223930359, 0.012987857684493065, -0.05014299228787422, -0.0033548539504408836, 0.007475210819393396, -0.03688798099756241, 0.033230010420084, -0.0009234839235432446, 0.011107495054602623, -0.060335997492074966, -0.0370112843811512, 0.04258044436573982, 0.057253435254096985, 0.062226634472608566, -0.06177452579140663, 0.07731062918901443, -0.0023119207471609116, -0.042785946279764175, -0.031791478395462036, -0.003139074658975005, -0.004831914324313402, 0.0016992618329823017, -0.07973557710647583, -0.014539413154125214, -0.13957837224006653, 0.04911547526717186, 0.04364906623959541, -0.002663846593350172, -0.07003578543663025, -0.008163649588823318, 0.02313975803554058, 0.047553643584251404, 0.014508587308228016, -0.046731624752283096, 0.02872946858406067, -0.01011080015450716, 0.002674121642485261, 0.01862894371151924, 0.012946756556630135, 0.014570239000022411, 0.016152620315551758, -0.03623036667704582, -0.021269671618938446, -0.03164762631058693, 0.004757419228553772, 0.004739437717944384, 0.0012253180611878633, -0.03232578933238983, 0.0046906303614377975, 0.06572020053863525, 0.0021757744252681732, 0.03388762101531029, -0.029777539893984795, 0.02581131085753441, 0.053513262420892715, -0.011600704863667488, -0.0297158882021904, 0.02648947574198246, 0.0509239099919796, -0.08109191060066223, -0.020406555384397507, -0.0019343070453032851, 0.03240799158811569, 0.0867227166891098, -0.03777164965867996, -0.009972085244953632, 0.015659410506486893, 0.04027879983186722, 0.020118849352002144, -0.06851505488157272, -0.009108968079090118, 0.03830596059560776, 0.02597571536898613, -0.03279845044016838, -0.009504563175141811, -0.05314335227012634, -0.051334917545318604, 0.031401023268699646, -0.03142157196998596, 0.05782884731888771, -0.013892075046896935, 0.0008753188885748386, -0.019163254648447037, 0.028359562158584595, -0.0688849687576294, -0.018906375393271446, -0.012104189954698086, 0.0047548506408929825, -0.051376018673181534, -0.05560940131545067, -0.03637422248721123, 0.07583100348711014, 0.05191032961010933, -0.039908889681100845, 0.0004524300748016685, -0.062021128833293915, 0.015268952585756779, 0.04198448359966278, 0.023838471621274948, 0.0076961275190114975, -0.05404756963253021, -0.01980031654238701, 0.017056837677955627, -0.019861968234181404, -0.07389926165342331, -0.09165481477975845, -0.057212334126234055, 0.07961227744817734, -0.01863921992480755, 0.05203363299369812, -0.011025293730199337, 0.06387066841125488, 0.03253129497170448, 0.04332025721669197 ]