You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -726,7 +726,7 @@ FUNCTION void get_growth2(const int y)
726
726
}
727
727
elseif (lin_grow(g, ALK_idx, a) == -1.0) // first time point beyond AFIX; lin_grow will stay at -1 for all remaining subseas of this season
728
728
{
729
-
Ave_Size(t + 1, 1, g, k2) = Cohort_Lmin(gp, y, a) + (Cohort_Lmin(gp, y, a) - L_inf(gp)) * (mfexp(VBK(gp, a) * VBK_seas(s) * (real_age(g, ALK_idx2, k2) - AFIX)) - 1.0) * Cohort_Growth(y, a);
729
+
Ave_Size(t + 1, 1, g, k2) = Cohort_Lmin(gp, y, a) + (Cohort_Lmin(gp, y, a) - L_inf(gp)) * (mfexp(VBK(gp, a) * VBK_seas(s) * seasdur(s) * (real_age(g, ALK_idx2, k2) - AFIX)) - 1.0) * Cohort_Growth(y, a);
730
730
}
731
731
else // in linear phase
732
732
{
@@ -817,7 +817,7 @@ FUNCTION void get_growth3(const int y, const int t, const int s, const int subse
817
817
gp = GP(g);
818
818
switch (Grow_type)
819
819
{
820
-
case 1: // regular von B
820
+
case 1: // standard von Bertallanfy inseason growth
821
821
{
822
822
for (a = 0; a <= nages; a++)
823
823
{
@@ -842,7 +842,7 @@ FUNCTION void get_growth3(const int y, const int t, const int s, const int subse
842
842
// NOTE: there is no seasonal interpolation, age-specific K uses calendar age, not real age. Maybe someday....
843
843
elseif (lin_grow(g, ALK_idx, a) == -1.0) // first time point beyond AFIX; lin_grow will stay at -1 for all remaining subseas of this season
844
844
{
845
-
Ave_Size(t, subseas, g, a) = Cohort_Lmin(gp, y, a) + (Cohort_Lmin(gp, y, a) - L_inf(gp)) * (mfexp(VBK(gp, 0) * VBK_seas(s) * (real_age(g, ALK_idx, a) - AFIX)) - 1.0) * Cohort_Growth(y, a);
845
+
Ave_Size(t, subseas, g, a) = Cohort_Lmin(gp, y, a) + (Cohort_Lmin(gp, y, a) - L_inf(gp)) * (mfexp(VBK(gp, 0) * VBK_seas(s) * seasdur(s) * (real_age(g, ALK_idx, a) - AFIX)) - 1.0) * Cohort_Growth(y, a);
846
846
}
847
847
}
848
848
break;
@@ -873,7 +873,7 @@ FUNCTION void get_growth3(const int y, const int t, const int s, const int subse
873
873
else if (lin_grow(g, ALK_idx, a) == -1.0) // first time point beyond AFIX; lin_grow will stay at -1 for all remaining subseas of this season
Ave_Size(t, subseas, g, a) = pow(temp, inv_Richards);
878
878
}
879
879
} // done ageloop
@@ -923,7 +923,7 @@ FUNCTION void get_growth3(const int y, const int t, const int s, const int subse
923
923
// NOTE: there is no seasonal interpolation, age-specific K uses calendar age, not real age. Maybe someday....
924
924
elseif (lin_grow(g, ALK_idx, a) == -1.0) // first time point beyond AFIX; lin_grow will stay at -1 for all remaining subseas of this season
925
925
{
926
-
Ave_Size(t, subseas, g, a) = Cohort_Lmin(gp, y, a) + (Cohort_Lmin(gp, y, a) - L_inf(gp)) * (mfexp(VBK(gp, a) * VBK_seas(s) * (real_age(g, ALK_idx, a) - AFIX) ) - 1.0) * Cohort_Growth(y, a);
926
+
Ave_Size(t, subseas, g, a) = Cohort_Lmin(gp, y, a) + (Cohort_Lmin(gp, y, a) - L_inf(gp)) * (mfexp(VBK(gp, a) * VBK_seas(s) * seasdur(s) * (real_age(g, ALK_idx, a) - AFIX) ) - 1.0) * Cohort_Growth(y, a);
0 commit comments