Esempio n. 1
0
    def __init__(self, src="", root=None):
        
        self.ckin = 0
        self._owner = 0
        self.verbose = 1

        # get the 'phase' element
        s = XML.find_XML(src=src, root=root, name="phase")

        # get the equation of state model
        ThermoPhase.__init__(self, xml_phase=s)

        # get the kinetics model
        Kinetics.__init__(self, xml_phase=s, phases=[self])

        SolidTransport.__init__(self, phase=self)
Esempio n. 2
0
    def __init__(self, src="", root=None):

        self.ckin = 0
        self._owner = 0
        self.verbose = 1

        # get the 'phase' element
        s = XML.find_XML(src=src, root=root, name="phase")

        # get the equation of state model
        ThermoPhase.__init__(self, xml_phase=s)

        # get the kinetics model
        Kinetics.__init__(self, xml_phase=s, phases=[self])

        SolidTransport.__init__(self, phase=self)