Struct Galaxy::FieldStar

Nested Relationships

This struct is a nested type of Class Galaxy.

Struct Documentation

struct FieldStar

A single non-clustered, individually-tracked (field) star.

Represents one star drawn from the stochastically-treated share of the non-clustered population – mass at or above SimControls::minStochMass(), but never folded into any individual Cluster object, since it formed outside SimControls::fCluster()’s own clustered fraction – see Galaxy::advance()’s own comment for how these are drawn, alongside the purely continuous (below minStochMass) share Specsyn::specCts()/specAndLbolCts() integrate directly, with no individual FieldStar of its own.

Public Members

double mass_

Initial (birth) mass, in Msun

double feh_

[Fe/H]

double formTime_

Formation time, in yr

double deathTime_

Time this star dies, in yr (formTime_ + SimControls::tracks()’s own starLifetime(mass_, feh_))

double aV_

V-band extinction, in magnitudes, drawn from SimControls::avDistField() at formation (see Galaxy::advance()’s own comment) – unlike a bound cluster (Cluster::aV_, shared by every star in it), each field star draws its own, independent value, since field stars are not physically clustered together; not currently read for spec()/specExtinct(), which instead attenuate every field star by the same expected extinction as the purely continuous population (see addContinuousSpec()’s own comment)