carmapy.Element

Contents

carmapy.Element#

class carmapy.Element(name, ielem, group, rho, proc, igas)#

An object representing a single species in a Group. Note that element refers not to chemical elements, but to components of the group (ie TiO2 Core or MgSiO2 Mantle).

Parameters:
  • name (str) – The name of the element

  • ielem (int) – The index of the element in the Carma simulation

  • group (Group) – The group the element is part of

  • rho (float) – The density of the element

  • proc (str) –

    Flag that describes the element type. Currently supported types are:

    • ”Volatile”: Homogeneously nucleating elements or the outer element in a heterogeneously nucleating group

    • ”Core Mass”: The inner element in a heterogeneously nucleating group

  • igas (int) – The index of the gas which the element grows from and evaporates to in the Carma simulation