Planetary Orbital Evolution due to Tides
Orbital evolution of two objects experiencing tides
StellarEvolution::MESA Namespace Reference

A namespace to isolate all MESA related entities, in order to avoid conflicts with other StellarEvolution implentations (e.g. YREC). More...

Classes

class  CompareAges
 Used as comparison when sorting quantities by age. More...
 
class  EvolutionIterator
 An iterator over the list of extracted tracks. More...
 
class  Header
 A class which parses the header of a MESA evolution track. More...
 
class  Interpolator
 A stellar evolution interpolator based on the MESA tracks. More...
 

Enumerations

enum  Column {
  MTRACK, AGE, LOG_RSTAR, RSTAR,
  LOG_LSTAR, LSTAR, MRAD, RRAD,
  ICONV, IRAD, NUM_COLUMNS
}
 Names for the interesting columns in a MESA track. More...
 

Functions

double metallicity_from_feh (double feh)
 Return the metallicity interpolation parameter corresponding to the given [Fe/H] value. More...
 
double feh_from_metallicity (double metallicity)
 Return the [Fe/H] value corresponding to the given metallicity. More...
 

Variables

const double scaling = Yprotosun - Yprimordial + Zprotosun
 A scaling constant used when transforming between different metallicity quantities. More...
 
const double Yprimordial = 0.249
 The primordial Helium fraction of the universe. More...
 
const double Yprotosun = 0.2612
 The Helium fraction with which the Sun formed. More...
 
const double Zprotosun = 0.0150
 The metal fraction with which the Sun formed. More...
 
const double Xprotosun = 1.0 - Yprotosun - Zprotosun
 The hydrogen fraction with which the Sun formed. More...
 

Detailed Description

A namespace to isolate all MESA related entities, in order to avoid conflicts with other StellarEvolution implentations (e.g. YREC).

Todo:
Tune default nodes and smoothing for good interpolation.

Enumeration Type Documentation

◆ Column

Names for the interesting columns in a MESA track.

Enumerator
MTRACK 

The total mass of the star in \(M_\odot\).

AGE 

Stellar age in years.

LOG_RSTAR 

Log10 of the radius of the star in \(R_\odot\).

RSTAR 

The radius of the star in \(R_\odot\).

LOG_LSTAR 

Log10 of the luminosity of the star in \(\L_\odot\).

LSTAR 

The luminosity of the star in \(\L_\odot\).

MRAD 

Mass of the radiative core in \(M_\odot\).

RRAD 

Radius of the radiative core in \(R_\odot\).

ICONV 

Moment of inertia of the convective envelope in \(\mathrm{kg}\cdot\mathrm{m}^2\cdot\mathrm{rad}/\mathrm{s}\).

IRAD 

Moment of inertia of the radiative core in \(\mathrm{kg}\cdot\mathrm{m}^2\cdot\mathrm{rad}/\mathrm{s}\).

NUM_COLUMNS 

The total number of interesting columns.

Definition at line 60 of file MESAIO.h.

Variable Documentation

◆ scaling

const double StellarEvolution::MESA::scaling = Yprotosun - Yprimordial + Zprotosun

A scaling constant used when transforming between different metallicity quantities.

Definition at line 26 of file MESAIO.cpp.

◆ Xprotosun

const double StellarEvolution::MESA::Xprotosun = 1.0 - Yprotosun - Zprotosun

The hydrogen fraction with which the Sun formed.

Definition at line 49 of file MESAIO.h.

◆ Yprimordial

const double StellarEvolution::MESA::Yprimordial = 0.249

The primordial Helium fraction of the universe.

Definition at line 40 of file MESAIO.h.

◆ Yprotosun

const double StellarEvolution::MESA::Yprotosun = 0.2612

The Helium fraction with which the Sun formed.

Definition at line 43 of file MESAIO.h.

◆ Zprotosun

const double StellarEvolution::MESA::Zprotosun = 0.0150

The metal fraction with which the Sun formed.

Definition at line 46 of file MESAIO.h.