parameters: (self,
                   name = '',
                   dim = 3,
                   elements = '',
                   species = '',
                   note = '',
                   reactions = 'none',
                   initial_state = None,
                   options = [])
docstring: :param name:
              A string to identify the phase. Must be unique among the phase
              names within the file.
          :param elements:
              The elements. A string of element symbols.
          :param species:
              The species. A string or sequence of strings in the format
              described in `Defining the Species
              <https://cantera.org/tutorials/cti/phases.html#defining-the-species>`__.
          :param note:
              A user-defined comment. Not evaluated by Cantera itself.
          :param reactions:
              The homogeneous reactions. If omitted, no reactions will be
              included. A string or sequence of strings in the format described
              in `Declaring the Reactions
              <https://cantera.org/tutorials/cti/phases.html#declaring-the-reactions>`__.
              This field is not allowed for ``stoichiometric_solid`` and
              ``stoichiometric_liquid`` entries.
          :param kinetics:
              The kinetics model. Optional; if omitted, the default model for the
              phase type will be used.
          :param transport:
              The transport property model. Optional. If omitted, transport
              property calculation will be disabled.
          :param initial_state:
              Initial thermodynamic state, specified with an embedded state entry.
          :param options:
              Special processing options. Optional.
docstring_summary: :param name:
              A string to identify the phase. Must be unique among the phase
              names within the file.
          :param elements:
              The elements. A string of element symbols.
          :param species:
              The species. A string or sequence of strings in the format
              described in `Defining the Species
              <https://cantera.org/tutorials/cti/phases.html#defining-the-species>`__.
          :param note:
              A user-defined comment. Not evaluated by Cantera itself.
          :param reactions:
              The homogeneous reactions. If omitted, no reactions will be
              included. A string or sequence of strings in the format described
              in `Declaring the Reactions
              <https://cantera.org/tutorials/cti/phases.html#declaring-the-reactions>`__.
              This field is not allowed for ``stoichiometric_solid`` and
              ``stoichiometric_liquid`` entries.
          :param kinetics:
              The kinetics model. Optional; if omitted, the default model for the
              phase type will be used.
          :param transport:
              The transport property model. Optional. If omitted, transport
              property calculation will be disabled.
          :param initial_state:
              Initial thermodynamic state, specified with an embedded state entry.
          :param options:
              Special processing options. Optional.
docstring_tokens: : param name : A string to identify the phase . Must be unique among the phase names within the file . : param elements : The elements . A string of element symbols . : param species : The species . A string or sequence of strings in the format described in Defining the Species <https : // cantera . org / tutorials / cti / phases . html#defining - the - species > __ . : param note : A user - defined comment . Not evaluated by Cantera itself . : param reactions : The homogeneous reactions . If omitted no reactions will be included . A string or sequence of strings in the format described in Declaring the Reactions <https : // cantera . org / tutorials / cti / phases . html#declaring - the - reactions > __ . This field is not allowed for stoichiometric_solid and stoichiometric_liquid entries . : param kinetics : The kinetics model . Optional ; if omitted the default model for the phase type will be used . : param transport : The transport property model . Optional . If omitted transport property calculation will be disabled . : param initial_state : Initial thermodynamic state specified with an embedded state entry . : param options : Special processing options . Optional .
function: def __init__(self,
                   name = '',
                   dim = 3,
                   elements = '',
                   species = '',
                   note = '',
                   reactions = 'none',
                   initial_state = None,
                   options = []):
          """
          :param name:
              A string to identify the phase. Must be unique among the phase
              names within the file.
          :param elements:
              The elements. A string of element symbols.
          :param species:
              The species. A string or sequence of strings in the format
              described in `Defining the Species
              <https://cantera.org/tutorials/cti/phases.html#defining-the-species>`__.
          :param note:
              A user-defined comment. Not evaluated by Cantera itself.
          :param reactions:
              The homogeneous reactions. If omitted, no reactions will be
              included. A string or sequence of strings in the format described
              in `Declaring the Reactions
              <https://cantera.org/tutorials/cti/phases.html#declaring-the-reactions>`__.
              This field is not allowed for ``stoichiometric_solid`` and
              ``stoichiometric_liquid`` entries.
          :param kinetics:
              The kinetics model. Optional; if omitted, the default model for the
              phase type will be used.
          :param transport:
              The transport property model. Optional. If omitted, transport
              property calculation will be disabled.
          :param initial_state:
              Initial thermodynamic state, specified with an embedded state entry.
          :param options:
              Special processing options. Optional.
          """
  
          self._name = name
          self._dim = dim
          self._el = elements
          self._sp = []
          self._rx = []
          self._comment = note
  
          if isinstance(options, str):
              self._options = [options]
          else:
              self._options = options
  
          self.debug = 0
          if 'debug' in options:
              self.debug = 1
  
          #--------------------------------
          #        process species
          #--------------------------------
  
          # if a single string is entered, make it a list
          if isinstance(species, str):
              self._species = [species]
          else:
              self._species = species
  
          self._skip = 0
  
          # dictionary of species names
          self._spmap = {}
  
          self._rxns = reactions
  
          # and that only one species is declared if it is a pure phase
          if self.is_pure() and len(self._spmap) > 1:
              raise CTI_Error('Stoichiometric phases must  declare exactly one species, \n'+
                                 'but phase '+self._name+' declares '+str(len(self._spmap))+'.')
  
          self._initial = initial_state
  
          # add this phase to the global phase list
          _phases.append(self)
function_tokens: def __init__ ( self , name = '' , dim = 3 , elements = '' , species = '' , note = '' , reactions = 'none' , initial_state = None , options = [ ] ) : self . _name = name self . _dim = dim self . _el = elements self . _sp = [ ] self . _rx = [ ] self . _comment = note if isinstance ( options , str ) : self . _options = [ options ] else : self . _options = options self . debug = 0 if 'debug' in options : self . debug = 1 #-------------------------------- #        process species #-------------------------------- # if a single string is entered, make it a list if isinstance ( species , str ) : self . _species = [ species ] else : self . _species = species self . _skip = 0 # dictionary of species names self . _spmap = { } self . _rxns = reactions # and that only one species is declared if it is a pure phase if self . is_pure ( ) and len ( self . _spmap ) > 1 : raise CTI_Error ( 'Stoichiometric phases must  declare exactly one species, \n' + 'but phase ' + self . _name + ' declares ' + str ( len ( self . _spmap ) ) + '.' ) self . _initial = initial_state # add this phase to the global phase list _phases . append ( self )