17 void coalescenceSource(
double *sc,
double *we,
double *vi,
int &nNodes,
int *mOrder,
double &beta0)
27 while(counter<2*nNodes)
30 k =
static_cast<double>(mOrder[counter]);
40 sc[counter] += 0.5*beta0*(vi[i]+vi[j])*we[i]*we[j]*(-1.0);
61 sc[counter] += 0.5*beta0*(vi[i]+vi[j])*we[i]*we[j]*(pow((vi[i]+vi[j]),k)-pow(vi[i],k)-pow(vi[j],k));
void coalescenceSource(double *, double *, double *, int &, int *, double &)