Stellar Populations¶
Class providing stellar populations—composite descriptions of a coeval group of stars formed with a given initial mass function, metallicity, and age. For a given population, implementations return the mass recycled back to the ISM per unit stellar mass formed, the metal yield, and the energy input rate from stellar evolution as a function of age interval. Both explicit (time-resolved) and instantaneous recycling approximations are supported. The spectra method returns the associated stellarPopulationSpectraClass object for computing integrated luminosities.
Default implementation: stellarPopulationStandard
Methods¶
rateRecycling→double precisionReturn the rate of mass recycling (per unit initial stellar mass formed, per unit time) from this stellar population back to the ISM over the age interval \([\mathrm{ageMinimum}, \mathrm{ageMaximum}]\) for the given elemental abundances.
type(abundances) abundances_[in]double precision ageMinimum[in]double precision ageMaximum[in]
uniqueID→integer(c_size_t)Return the unique integer identifier assigned to this stellar population, which distinguishes populations with different IMFs, metallicities, or other properties and is used to cache pre-computed integrals.
rateYield→double precisionReturn the rate of metal (element) yield (per unit initial stellar mass formed, per unit time) from this stellar population over the age interval \([\mathrm{ageMinimum}, \mathrm{ageMaximum}]\), optionally restricted to a specific element index.
type(abundances) abundances_[in]double precision ageMinimum[in]double precision ageMaximum[in]integer elementIndex(optional) [in]
rateEnergy→double precisionReturn the rate of mechanical energy input (per unit initial stellar mass formed, per unit time) from stellar evolution processes (supernovae, winds) in this population over the age interval \([\mathrm{ageMinimum}, \mathrm{ageMaximum}]\).
type(abundances) abundances_[in]double precision ageMinimum[in]double precision ageMaximum[in]
recycledFractionInstantaneous→double precisionReturn the recycled fraction from this population in the instantaneous approximation.
yieldInstantaneous→double precisionReturn the metal yield from this population in the instantaneous approximation.
spectra→class(stellarPopulationSpectraClass)Return the
stellarPopulationSpectraClassobject associated with this stellar population, which provides methods to compute the integrated spectral energy distribution as a function of wavelength and age.
stellarPopulationStandard¶
A standard stellar population class, which uses a fully non-instantaneous, metal-dependent calculation of recycling, metal production and rates. These rates are determined from the stellarPopulationClass object provided by a stellarPopulationSelectorClass.
It is possible to force this method to operate in the instantaneous recycling approximation limit (which can be useful for testing and comparison) by setting:
<stellarPopulations value="standard">
<!-- Force the calculation of recycling, yields etc. to -->
<!-- be done assuming instantaneous recycling -->
<instantaneousRecyclingApproximation value="true"/>
<!-- Set the recycled fraction and yield -->
<recycledFraction value="0.35"/>
<metalYield value="0.02"/>
</stellarPopulationProperties>
where the recycled fraction and metal yield are specified directly, or
<stellarPopulations value="standard">
<!-- Force the calculation of recycling to be done -->
<!-- assuming the instantaneous recycling approximation -->
<instantaneousRecyclingApproximation value="true"/>
<!-- Set the mass of stars which should be used as the -->
<!-- dividing line between long-lived and instantaneously -->
<!-- evolving in this approximation. -->
<massLongLived value="1.0"/>
<!-- Set the effective age of populations to use in this -->
<!-- approximation when computing SNe numbers. -->
<ageEffective value="13.8"/>
</stellarPopulationProperties>
in which case the recycled fraction and metal yield will be computed that all stars with mass greater than massLongLived have fully evolved, and energy input (from stellar winds and supernovae) will be computed assuming that stellar populations instantaneously reach an age of ageEffective.
Similar options are available to control whether metal yields and energy input from stellar populations are computed using the fully non-instantaneous or instantaneous approximations, e.g.:
<stellarPopulations value="standard">
<!-- Force the calculation of recycling to be done -->
<!-- assuming the instantaneous recycling approximation -->
<instantaneousRecyclingApproximation value="true"/>
<!-- Force the calculation of yields to be done -->
<!-- assuming the instantaneous recycling approximation -->
<instantaneousYieldApproximation value="true"/>
<!-- Force the calculation of energy input to be done -->
<!-- assuming the instantaneous recycling approximation -->
<instantaneousEnergyInputApproximation value="true"/>
<!-- Set the mass of stars which should be used as the -->
<!-- dividing line between long-lived and instantaneously -->
<!-- evolving in this approximation. -->
<massLongLived value="1.0"/>
<!-- Set the effective age of populations to use in this -->
<!-- approximation when computing SNe numbers. -->
<ageEffective value="13.8"/>
</stellarPopulationProperties>
(Default implementation)
Methods
assignment(=)Assign postprocessor list objects.
class(populationTable) from[in]
starIsEvolved→logicalReturn true if the star of given initial mass and metallicity has evolved off of the main sequence by the given age.
double precision massInitial[in]double precision metallicity[in]double precision age[in]
interpolate→double precisionInterpolate in the given property to return the mean rate of production of that property from the stellar population between the given minimum and maximum ages.
type(abundances) abundances_[in]double precision ageMinimum[in]double precision ageMaximum[in]type(populationTable) property[inout]
Parameters
[instantaneousRecyclingApproximation](boolean; default.false.) — If true, then use an instantaneous recycling approximation when computing recycling rates.[instantaneousYieldApproximation](boolean; default.false.) — If true, then use an instantaneous recycling approximation when computing yield rates.[instantaneousEnergyInputApproximation](boolean; default.false.) — If true, then use an instantaneous recycling approximation when computing energy input rates.[massLongLived](real; default1.0d0) — The mass below which stars are assumed to be infinitely long-lived in the instantaneous approximation for stellar evolution.[ageEffective](real; default13.8d0) — The effective age to use for computing SNeIa yield when using the instantaneous stellar evolution approximation.[recycledFraction](real; default0.0d0) — The recycled fraction to use in the instantaneous stellar evolution approximation. (If not specified it will be computed internally.)[metalYield](real; default0.0d0) — The metal yield to use in the instantaneous stellar evolution approximation. (If not specified it will be computed internally.)