Planetary Orbital Evolution due to Tides
Orbital evolution of two objects experiencing tides
mass_feh_interp.h File Reference

Define a single function performing mass-[Fe/H] interpolations. More...

#include "../Core/SharedLibraryExportMacros.h"
#include "../third_party_libs/alglib/alglib/src/interpolation.h"
#include <cassert>
+ Include dependency graph for mass_feh_interp.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

double StellarEvolution::mass_feh_interp ( const alglib::real_1d_array &interp_masses, const alglib::real_1d_array &interp_feh, const alglib::real_1d_array &interp_values, double stellar_mass, double stellar_feh)
 Perform a bi-cubic spline interpolation of a single quantity. More...
 

Detailed Description

Define a single function performing mass-[Fe/H] interpolations.

Definition in file mass_feh_interp.h.

Function Documentation

◆ mass_feh_interp()

double StellarEvolution::mass_feh_interp ( const alglib::real_1d_array &  interp_masses,
const alglib::real_1d_array &  interp_feh,
const alglib::real_1d_array &  interp_values,
double  stellar_mass,
double  stellar_feh 
)

Perform a bi-cubic spline interpolation of a single quantity.

Parameters
interp_massesThe masses of the stelar models on which to base the interpolation in \(M_\odot\)
interp_fehThe [Fe/H] of the stellar models on which to base the interpolation.
interp_valuesThe values of the quantity being interpolated on the grid defined by interp_masses and interp_feh.
stellar_massThe stellar mass to which to interpolate in \(M_\odot\).
stellar_fehThe stellar \([Fe/H]\) to which to interpolate.

Definition at line 6 of file mass_feh_interp.cpp.