DrylandEcology / STEPWAT2

folder
4 stars 5 forks source link

Investigate maxCells - set but not used #515

Closed kpalmqui closed 1 year ago

kpalmqui commented 2 years ago

Look into maxCells and whether it is needed. It is being defined but never used.

alexisBelt commented 1 year ago

maxCells seems to calculate the max number of cells that can disperse seeds (a guess because there's no documentation). It's given a value but never used. The program still runs gridded and un-gridded mode if taken out. MAXDP is initialized also, but is only used to calculate maxCells, so it doesn't seem needed either.

alexisBelt commented 1 year ago

It seems that the Seed_Dispersal branch has already updated this problem. The whole of the void initDispersalParameters(void) function has been deleted, taking maxCells and MAXDP with it. This was done in 84d0a4b6be00fe2675403c305febb1b95bd13a71