20 void growthSource(
double *,
double *,
double *,
double *,
int &,
int *,
double &,
double &,
double &,
double *,
double *);
22 void growthSource(
double *sgBA,
double *sgCO2,
double *we,
double *vi,
int &nNodes,
int *mOrder,
double &CO2_l,
double &L_l,
double &tmp,
double *volumeGrowthBA,
double *volumeGrowthCO2)
29 while(counter<2*nNodes)
35 k =
static_cast<double>(mOrder[counter]);
48 sgBA[counter] += volumeGrowthBA[i]*we[i];
49 sgCO2[counter] += volumeGrowthCO2[i]*we[i];
54 sgBA[counter] = sgBA[counter];
55 sgCO2[counter] = sgCO2[counter];
67 sgBA[counter] += k*volumeGrowthBA[i]*we[i]*(pow(vi[i], (k-1)));
68 sgCO2[counter] += k*volumeGrowthCO2[i]*we[i]*(pow(vi[i], (k-1)));
72 sgBA[counter] = sgBA[counter];
73 sgCO2[counter] = sgCO2[counter];
void growthSource(double *, double *, double *, double *, int &, int *, double &, double &, double &, double *, double *)