#define XERR
#include "tumor.ih"

extern size_t g_caseIdx;
extern size_t g_err;

double Tumor::functionF(double years) const
{
    return years <= 0 ?
                1
            :
                exp(-functionQ(years) *
                     pow(d_diameter, functionZ(years)));
}
