ecsendmail / MultiverseContagion

1 stars 3 forks source link

Hazard Radius #5

Closed ashlinrichardson closed 3 years ago

ashlinrichardson commented 3 years ago

Hi Ash: The Hazard Radius exists for every person...see L1062 function initPerson( )...

You will see that there are two "sizes" .....P.baseSize and P.currSize...

P.baseSize is a stochastic value from the function call stochast(VLradius,0.05) which returns the VLradius+/- 5% drawn from a random number * 5% of VLradius..

So VLradius is a global L795 set to 5 However, the GUI in the FixedUniverse view permits the use to set this value to something else eg 2.3 (real number, not just integer)...in L1612 function showPRadius

Note that this function sets the new baseSize for P but changes the new currSize to be similar to the ratio of the previous currSize to baseSize prior to resetting them....so there is a new currSize as well, whenever the VLradius is reset.

The P.currSize is determined by the viral load x base Size in the function, and is used to draw the size, as well as in determining transmission...

Is the currSize ever reset to the baseSize? or vice versa? Not at this point

Note that limits have been set in the determination of size vs viral load so that the size does not overwhelm the arena....L2218 in reSizeAll( )

Ernie