1 #ifndef IMPACTPARAMETERMODEL_H
2 #define IMPACTPARAMETERMODEL_H
21 if (Nchg <= 0. || Nchg == 0)
23 else if (Nchg >=
static_cast<int>(
bfromN.size()))
30 if (Nchg <= 0. || Nchg == 0)
32 else if (Nchg >=
static_cast<int>(
bfromN.size()))
39 if (Nchg <= 0. || Nchg == 0.)
41 else if (Nchg >=
bfromN.size())
44 int Nchg1 =
static_cast<int>(Nchg);
45 int Nchg2 = Nchg1 + 1;
46 double w = (Nchg - Nchg1);
52 if (Nchg <= 0. || Nchg == 0.)
54 else if (Nchg >=
bfromN.size())
57 int Nchg1 =
static_cast<int>(Nchg);
58 int Nchg2 = Nchg1 + 1;
59 double w = (Nchg - Nchg1);