Comment on ModelDecayFunctions in openmalaria

25 views
Skip to first unread message

openm...@googlecode.com

unread,
Mar 24, 2014, 9:31:37 AM3/24/14
to openm...@googlegroups.com
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
Reply all
Reply to author
Forward
0 new messages