Program Listing for File mass_feh_interp.h

Return to documentation for file (/home/kpenev/projects/git/poet/poet_src/StellarEvolution/mass_feh_interp.h)

#ifndef __MASS_METALLICITY_INTERP
#define __MASS_METALLICITY_INTERP

#include "../Core/SharedLibraryExportMacros.h"
#include "../third_party_libs/alglib/alglib/src/interpolation.h"
#include <cassert>

namespace StellarEvolution {

    LIB_LOCAL double 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
    );

}

#endif