17 double *sc,
double *we,
double *vi,
int &nNodes,
int *mOrder
23 double coalescenceRate;
24 while (counter < 2*nNodes)
27 k =
static_cast<double>(mOrder[counter]);
33 for (i = 0; i < nNodes; i++)
35 for (j = 0; j < nNodes; j++)
41 coalescenceRate*(vi[i] + vi[j])*we[i]*we[j]*(-1.0)
51 else if (counter == 1)
57 for (i = 0; i < nNodes; i++)
59 for (j = 0; j < nNodes; j++)
65 coalescenceRate*(vi[i] + vi[j])*we[i]*we[j]
66 *(Foam::pow((vi[i] + vi[j]),k)
67 - Foam::pow(vi[i],k) - Foam::pow(vi[j],k))
void coalescenceSource(double *, double *, double *, int &, int *)
double coalescenceKernel()