100 |
((StockPredator*)predator)->getMaxConsumption(area)); |
((StockPredator*)predator)->getMaxConsumption(area)); |
101 |
else |
else |
102 |
grower->calcGrowth(area, Area, TimeInfo); |
grower->calcGrowth(area, Area, TimeInfo); |
|
|
|
103 |
int inarea = this->areaNum(area); |
int inarea = this->areaNum(area); |
104 |
if (grower->getFixedWeights()) { |
if (grower->getFixedWeights()) { |
105 |
//Weights at length are fixed to the value in the input file |
//Weights at length are fixed to the value in the input file |
113 |
//New weights at length are calculated |
//New weights at length are calculated |
114 |
grower->implementGrowth(area, tmpPopulation[inarea], LgrpDiv); |
grower->implementGrowth(area, tmpPopulation[inarea], LgrpDiv); |
115 |
if (doesmature && maturity->isMaturationStep(TimeInfo)) |
if (doesmature && maturity->isMaturationStep(TimeInfo)) |
116 |
|
{ |
117 |
Alkeys[inarea].Grow(grower->getLengthIncrease(area), grower->getWeightIncrease(area), maturity, area); |
Alkeys[inarea].Grow(grower->getLengthIncrease(area), grower->getWeightIncrease(area), maturity, area); |
118 |
|
} |
119 |
else |
else |
120 |
Alkeys[inarea].Grow(grower->getLengthIncrease(area), grower->getWeightIncrease(area)); |
Alkeys[inarea].Grow(grower->getLengthIncrease(area), grower->getWeightIncrease(area)); |
121 |
} |
} |
126 |
else |
else |
127 |
tagAlkeys[inarea].Grow(grower->getLengthIncrease(area), Alkeys[inarea]); |
tagAlkeys[inarea].Grow(grower->getLengthIncrease(area), Alkeys[inarea]); |
128 |
} |
} |
129 |
|
|
130 |
|
|
131 |
} |
} |
132 |
|
|
133 |
//----------------------------------------------------------------------- |
//----------------------------------------------------------------------- |