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... | |
Define a single function performing mass-[Fe/H] interpolations.
Definition in file mass_feh_interp.h.
| 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.
| interp_masses | The masses of the stelar models on which to base the interpolation in \(M_\odot\) |
| interp_feh | The [Fe/H] of the stellar models on which to base the interpolation. |
| interp_values | The values of the quantity being interpolated on the grid defined by interp_masses and interp_feh. |
| stellar_mass | The stellar mass to which to interpolate in \(M_\odot\). |
| stellar_feh | The stellar \([Fe/H]\) to which to interpolate. |
Definition at line 6 of file mass_feh_interp.cpp.