20 void growthSource(
double *,
double *,
double *,
double *,
int &,
int *,
double &,
double &,
double &,
double &,
double &,
double &,
double *,
double *);
24 double *sgBA,
double *sgCO2,
double *we,
double *vi,
int &nNodes,
int *mOrder,
25 double &CO2_l_val,
double &L_l_val,
double &tmp_val,
double &wCO2_Max,
26 double &cc1_val,
double &LMAX,
27 double *volumeGrowthBA,
double *volumeGrowthCO2
43 while (counter < 2*nNodes)
49 k =
static_cast<double>(mOrder[counter]);
56 else if (counter == 1)
58 for (i = 0; i < nNodes; i++)
62 sgBA[counter] += volumeGrowthBA[i]*we[i];
63 sgCO2[counter] += volumeGrowthCO2[i]*we[i];
67 sgBA[counter] = sgBA[counter];
68 sgCO2[counter] = sgCO2[counter];
74 for (i = 0; i < nNodes; i++)
78 sgBA[counter] += k*volumeGrowthBA[i]*we[i]*Foam::pow(vi[i], k - 1);
79 sgCO2[counter] += k*volumeGrowthCO2[i]*we[i]*Foam::pow(vi[i], k - 1);
83 sgBA[counter] = sgBA[counter];
84 sgCO2[counter] = sgCO2[counter];
void growthSource(double *, double *, double *, double *, int &, int *, double &, double &, double &, double &, double &, double &, double *, double *)