Comment by
n.vandev...@gmail.com:
Hi,
I just downloaded a master today openmalaria-7d07dbfb51f7.
When I am looking in the code:
(1) static const TimeStep never -> is for an event which has never happened
(2) In class ConstantDecayFunction : public DecayFunction
TimeStep sampleAgeOfDecay () const{
return TimeStep::never;
}
(3) and in HumanITN::HumanITN
disposalTime = TimeStep::simulation +
params.attritionOfNets->sampleAgeOfDecay();
I think you should change "never" for "future" because I think no decay in
your code means immediate decay.
Nicolas.
For more information:
http://code.google.com/p/openmalaria/wiki/ModelDecayFunctions